08 May 2014 by Ralph von der Heyden

Wrapping localStorage and other POJOs with Ember.Object

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

Read more
26 March 2014 by Ralph von der Heyden

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

Read more
24 March 2014 by Ralph von der Heyden

Rails middleware to enable History API for your Single Page Apps

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, your server

Read more
01 February 2014 by Ralph von der Heyden

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

Read more
12 January 2012 by Ralph von der Heyden on rails

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

Read more