Monthly Archives: November 2014

Fantasy Life Item Duping/Duplication

There is a simple way to duplicate any item that is stackable by using the streetpass functionality built into Fantasy Life for Nintendo 3DS.


Fantasy Life’s Streetpass revolves around choosing an item you wish to give to passers-by. However, it does not take the item from you….

It’s been found that you can choose multiples of an item to give away. Let’s start low… how about a stack of gold ore? Well now you and your friend has that stack of gold ore. I’m sure you can see where this is going! How about some Life Cures? They’ll come in handy no doubt. Rare ores like magic or, marine ore, maybe something from the DLC (which I’ve yet to bother buying) are all pretty good ideas. Mine or buy a stack of 99 of them, and voila. You’ll soon have 198 or them.

See what your friends want, and tell them what you want and you can be rich together!


SSH Login Notifications using Pushbullet

Pushbullet is a great app that allows you to share notifications to and from your phone/computer. I recently saw Dead Man’s Snitch (a service which alerts you about cron jobs) and figured I could probably replicate the most important functionality for me using Pushbullet. After all, being a poor student is all about saving as much money as possible!

Playing around with the Pushbullet API whilst setting up backup notifications for my servers, I wondered if I could get a push notification every time (hopefully) just me logged in via SSH.

I ended up with the following bash script that can be added to your bash login script (~/.bash_profile)

string="SSH Login from $IP for $name"
/home/admin/pushbullet/pushbullet push all note "$string"

It uses this library from Github, but could do it without the library at all if you’re not as lazy as I am. More Pushbullet goodness soon!


Namecheap SSL Tutorial (Lighttpd)

Namecheap’s cheap SSL certificates work great on desktop, but are missing the root cert therefore gave me an untrusted error on Android (and I assume iOS).

I spend a while trying to figure out how to fix this, and I finally have!

From the zip file they send you, combine the files using cat like this. The order is important for the mobile devices.

cat COMODORSADomainValidationSecureServerCA.crt COMODORSAAddTrustCA.crt AddTrustExternalCARoot.crt > bundle

Add your private key and certificate from Namecheap (domain_tld.crt file) to a single file, too.

cat privatekeyhere.key domain_tld.crt > certificate.pem

Use whatever names you want for the outputted files. Just make them consistent. You should probably make sure only your web-server/root user can read them to keep them secure.

Finally in your lighttpd.conf add something like the following to enable SSL globally for your server.

$SERVER["socket"] == "ip.address:443" 

server.document-root = "/var/www/"
ssl.engine = "enable"

ssl.use-sslv2 = "disable"
ssl.use-sslv3 = "disable" = "/path/to/bundle"
ssl.pemfile = "/path/to/certificate.pem"


To force SSL connections only, you’ll want to add something like this:

$SERVER["socket"] == ":80" 
        $HTTP["host"] =~ "(.*)" 
                url.redirect = ( "^/(.*)" => "https://%1/$1" )

Thanks to Ben Green, SSL247, and Bill Patrianakos for all pointing me in the right direction 🙂