Easily load YAML fixtures to your rails app (including relations)
posted on 27/05/2016, tagged While creating a semi-CMS rails skeleton/template (see shle), I've been looking into ways of loading app data during development (and to kick off the production database). Currently, there are no good options for loading complex data structures including relations. That's what led me to writing a custom lib for the task.
Fork this article
posted on 15/05/2016, tagged The code for this blog is now on github
Delete branch in SublimeGit
posted on 07/07/2015, tagged Sublimegit can't delete branches
Installing the bda R package on Ubuntu
posted on 08/04/2015, tagged Installing the bda package in R fails by default on Ubuntu
Control spotify client via keyboard shortcuts
posted on 31/12/2014, tagged Since there's no official way to control the spotify client by keyboard, I've written a script that does that
Running custom command on file/folder in Sublime
posted on 10/10/2014, tagged Ever needed to run a command on currently editting file/folder? I've made a simple plugin to do just that
Prefix bootstrap's less files
posted on 10/10/2014, tagged I've created a simple npm tool to prefix bootstrap CSS classes
Using Sublimegit with Vintage
posted on 08/05/2014, tagged Sublimegit is great, but doesn't play well with Vintage
Better close window command for Sublime Text
posted on 07/05/2014, tagged I got fed up with sublime opening the last project and a new window when closed and being launched. This super-simple plugin offers a single better_close_window
command, which closes the project and then the window
Easily export Backbone-relational models
posted on 02/02/2014, tagged To export a Backbone-relational model we can extend the original Backbone-relational model with three attributes and an export method
Fast Clementine music selection via dmenu
posted on 01/02/2014, tagged If you prefer keyboard over mouse like I do, you'll probably want a keyboard way of selecting music to be played
Toggle laptop lid close action in Xubuntu via keyboard
posted on 20/01/2014, tagged If you need to change the lid close action now and then a don't like clicking through the menus, you can use a script I wrote
High CPU usage running Clementine 1.2
posted on 28/12/2013, tagged Is most likely caused by the Moodbars feature. Fortunately, it's possible to turn it off
Global bootstrap-modal callback
posted on 19/08/2013, tagged If you are in need of a global callback for bootstrap modals, you can use the fired events
Dealing with slow backbone-relational models cloning
posted on 20/07/2013, tagged Be careful when working with backbone-relational and cloning elements
SVG clientWidth in Firefox
posted on 17/07/2013, tagged Be careful when playing with clientWidth
and masking SVG elements
Window snapping via wmctrl in Ubuntu
posted on 25/06/2013, tagged Xubuntu 13.04 which I'm using makes it easy to snap windows via mouse.
But there are no keyboard shortcuts for it! Luckily, there's wmctrl
which we'll use to create our own
Lightning fast window switching in ubuntu
posted on 24/06/2013, tagged A tutorial on how to switch windows in Ubuntu really fast
Building the main file from sub-files in Sublime Text
posted on 23/06/2013, tagged How to build a master file when working with sub-files? I've encountered this question on IRC and superuser often enough to create a post about it