chopmode.wordpress.com
Firing up a new project in 5 secs | chop-mode
https://chopmode.wordpress.com/2011/09/08/firing-up-a-new-project-in-5-secs
Emacs stuff. Programming stuff. Tech stuff. Firing up a new project in 5 secs. September 8, 2011. I’m running Gitosis. On my home Linux server. I like to keep everything under source control, and this setup allows me to have dozens of small projects with very little overhead. This is really convenient, except every time I start a new project I have to. Add it to gitosis-admin, commit and push. Set up the initial Git repo for the project. Touch, add and commit a README. My name is Jacob Poulsgaard Tjørnho...
chopmode.wordpress.com
September | 2011 | chop-mode
https://chopmode.wordpress.com/2011/09
Emacs stuff. Programming stuff. Tech stuff. Making the active tab in Chrome stand out. September 16, 2011. I’ve long found it annoying that the active tab in Google Chrome has almost the same color as the inactive ones. This can be easily fixed by installing a custom theme such as this one. The active tab in this theme is dark and the inactive ones light. The contrast makes it possible for me to see in my peripheral vision where I am when switching between tabs. Firing up a new project in 5 secs. Gitosis...
chopmode.wordpress.com
August | 2011 | chop-mode
https://chopmode.wordpress.com/2011/08
Emacs stuff. Programming stuff. Tech stuff. August 29, 2011. Here is a very simple helper script I came up with today:. Bin/sh grep $1 /.bash history uniq. I’m currently using Maven on a client project and I keep forgetting the various invocations of mvn. So this helps remind me. This is handy for those cases where I want an overview of all ways in which I’ve recently used a command. If I just want to recall a specific command, I use bash’s Ctrl-R and whichever few letters of the command I remember:.
chopmode.wordpress.com
Xoom review | chop-mode
https://chopmode.wordpress.com/2011/09/01/xoom-review
Emacs stuff. Programming stuff. Tech stuff. September 1, 2011. For some reason, I have completely neglected to write about my favourite gadget of the year: The Motorola Xoom. It has more storage space that I’m going to need anytime soon (32GB I think), it has Wifi of course, excellent battery life, nice and responsive screen. In short, the hardware is great and the build quality feels good. BeyondPod really stands out, they have done an excellent job of adapting their phone version (which I like a lot) t...
chopmode.wordpress.com
November | 2011 | chop-mode
https://chopmode.wordpress.com/2011/11
Emacs stuff. Programming stuff. Tech stuff. The ‘backup’ gem needs a HOME. November 15, 2011. Contains a bug that causes it to crash when the HOME environment variable is not set. Notably, this is the case when jobs are started by ‘god’. I have patched this. And will soon send a pull request to the authors of the gem. Read on to get a few hints on how to track down issues like this one. The story of a painful bug hunt. On several projects I’m using god. Num workers = rails env = 'production'? However, it...
chopmode.wordpress.com
Scheduled jobs for your Rails app | chop-mode
https://chopmode.wordpress.com/2011/11/10/scheduled-jobs
Emacs stuff. Programming stuff. Tech stuff. Scheduled jobs for your Rails app. November 10, 2011. If you need to run scheduled jobs in your Rails app (! Background jobs as in Resque), you should use the excellent whenever. However, one detail that is really easy to miss is which shell environment the cron job actually runs under. Bundle: command not found. And an easy way to confuse yourself even further is by trying to debug issues in this area by:. Logging into your server as the deployment user. Anoth...
chopmode.wordpress.com
June | 2011 | chop-mode
https://chopmode.wordpress.com/2011/06
Emacs stuff. Programming stuff. Tech stuff. Problems with no elegant solution. June 9, 2011. One of the things that bothers me the most in software development is when you come across a problem for which there simply is no nice solution to be found. You come up with some ugly hack and get the job done, but the nagging feeling of having fallen short lingers for days. Http:/ epay.dk/proxy.cgi/http:/ myshop.com/payment. I first tried a few different routes:. Override url for and set :path only = false. ...
chopmode.wordpress.com
The ‘backup’ gem needs a HOME | chop-mode
https://chopmode.wordpress.com/2011/11/15/the-backup-gem-needs-a-home
Emacs stuff. Programming stuff. Tech stuff. The ‘backup’ gem needs a HOME. November 15, 2011. Contains a bug that causes it to crash when the HOME environment variable is not set. Notably, this is the case when jobs are started by ‘god’. I have patched this. And will soon send a pull request to the authors of the gem. Read on to get a few hints on how to track down issues like this one. The story of a painful bug hunt. On several projects I’m using god. Num workers = rails env = 'production'? However, it...
chopmode.wordpress.com
Making the active tab in Chrome stand out | chop-mode
https://chopmode.wordpress.com/2011/09/16/making-the-active-tab-in-chrome-stand-out
Emacs stuff. Programming stuff. Tech stuff. Making the active tab in Chrome stand out. September 16, 2011. I’ve long found it annoying that the active tab in Google Chrome has almost the same color as the inactive ones. This can be easily fixed by installing a custom theme such as this one. The active tab in this theme is dark and the inactive ones light. The contrast makes it possible for me to see in my peripheral vision where I am when switching between tabs. Firing up a new project in 5 secs.
SOCIAL ENGAGEMENT