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…

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…

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…

While working in Ember.Object land, you benefit from all the binding and computed property magic EmberJS has to offer. But what to do when you have to step outside its doors? It's actually fairly easy to wrap any JavaScript object using Ember.Object. You just have to make sure…

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…

Everybody loves single page apps, but paths containing a pound sign ("#") are a little odd. This is why I like using the History API in my EmberJS powered apps. Turning on History API in Ember is just the matter of switching an attribute. But on the backend side,…

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…

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…

I am currently working on a project that requires me to scope nearly all database queries by customer_id, because, you probably get the idea, each and every customer has its own set of data. Furthermore, the Customer class does not inherit from ActiveRecord::Base, nor is it an ActiveModel…