Recovering data from an old encrypted home

Need to copy files from an old home encrypted with ecryptfs? Whether you’re doing it off a livecd or a new installation, at least in Ubuntu 14.04 it’s simple. First, install ecryptfs-recover-private $ sudo apt-get install ecryptfs-recover-private Now, ensure the device you want to recover from is mounted: /dev/sdXY is continue reading…

Learning to be careful!

When programming you sometimes need to watch out a bit. Suppose that (in javascript) you have the following: var a = [ 4, 5, 6 ]; Now, say you want, for whatever reason, to create a copy of that array and perform operations on the copy. For example, you have continue reading…

Play dvds on ubuntu

Note: You may want to make sure this is legal in your country, first… I absolutely love free and open source software and use it as much as possible, sometimes even contribute to it! So, when my dad brought me a DVD today I wanted to be able to play continue reading…

base36!

Are you making any piece of software that receives an ID from user input and returns a {post, image, whatever}? May I suggest: base 36? Just look at this: http://example.invalid/?a=1000000 http://example.invalid/?a=lfls What looks better? Thought so. You can convert between bases easily in any language, so you have no excuse continue reading…