Review of the 2015 Apple Macbook

TL;DR Many people turned up their noses on the new 2015 Macbook specs. My first reaction was "skip", after reading the specs and trying the keyboard. Now, I'm loving it. Looking for a new machine The timing for the 2015 Macbook model was as right as it…

Time based triggers in Ember.JS

Sometimes you want to poll an API for new data periodically. Sometimes you depend on properties that change over time, but are out of Ember's control. Fear not, Ember's run.later has you covered. If you want to re-evaluate a computed property on a schedule, you need to depend that…

Simple file encryption on the command line

If you quickly want to encrypt a file using the command line, you don't want to go all fancy with PGP and public keys and stuff. Your preinstalled openssl and a password is all you need. Few people are aware of the fact that openssl can encrypt files, and fewer…

reptyr: Resume running processes in screen or tmux

reptyr is a wonderful little utility for Linux systems which enables you to reattach long running processes in screen or tmux. Great if you started something and have to close ssh. In order to install, you need to clone the repository, run make and copy the reptyr binary to some…

Introduction to strace

Thinking that you have pretty profound UNIX knowledge? Think again if you don't know how to strace. This introduction to strace by Chad Fowler finally persuaded me to check out this little UNIX tool. I made several attempts in the past, but each time I attached it to a running…

Why I roll my own authentication

This is what got me started writing this post: In the Rails world, we are holding up the DRY principle high. One outcome of this is that people do put stuff that has to be done for many applications into gems, to be reused. Authentication is such a case, as…