Astonj - astonj.com - (via @AstonJ)

Latest News:

Capistrano/Whenever gem reporting OptionParser::InvalidOption on deploy 9 Jan 2013 | 04:40 am

If you’re getting this error (probably after a bundle update), all you need to do is comment out: require "whenever/capistrano" Form your deploy.rb file, then deploy as usual, then uncomment it, and d...

How to recover or reset a lost Postgresql password 20 Dec 2012 | 08:45 am

This has been doing my head in all day – so hopefully it will save some of you the trouble. I’m on a CentOS box. First thing you want to do is check which version of postgres you have, with: psql --ve...

How to install Vips on CentOS (libvips) 7 Sep 2012 | 09:47 pm

Vips is a brilliant new image processing library that is reported to be far more efficient than most other image processing libraries out there (such as ImageMagick). To install on CentOS simply: Get ...

How to create a user, database, and assign the user to the db in PostgreSQL 11 Aug 2012 | 05:53 am

Here’s a quick reference on how to create a user, a database and grant the user all privileges to the database (on Mac OS X). If you haven’t yet installed PostgreSQL, look here: How to install Postgre...

How to install PostgreSQL on Mac OS X 10 Aug 2012 | 11:53 pm

There are a number of ways to install Postgres on Mac, here’s three. While these instructions are for a clean install of Lion, they may work for Mountain Lion. Postgresapp The easy option! Simply go t...

Learning Vim 3 Jul 2012 | 09:22 am

If you’re interested in learning Vim you’re in luck – because there are some great resources out there. In this post I’m going to document the ones I’ve been using, in a step-by-step kinda way – hopef...

Vim for Ruby on Rails (and a sexy theme!) 28 Jun 2012 | 09:47 am

This post started off as a small guide mainly for my own reference, but it’s grown into a good overview of why Vim is so great for Rails development – if you’re unconvinced, just read through the kill...

How to get Capistrano to ignore upload directories (Carrierwave) 24 Jun 2012 | 02:29 am

As you probably know, Capistrano creates a fresh directory for your app every time you deploy a new version. So if you want some directories (or files) to be carried through to each version, such as f...

Apple did not invent ‘Retina’ displays – we did 11 Jun 2012 | 11:50 pm

Some of us have been running ‘retina’ displays long before Apple dreamed of them, and here’s how you can too. What you need A monitor with a tiny dot pitch and large enough resolution (and size) and...

Intro to Git – 5 mins to see why it’s awesome 9 Jun 2012 | 08:41 am

This is more a handy reference for myself, but it also acts as a very quick intro to why git is awesome and well worth using. The main difference here is I remind you what the state of your working di...

Recently parsed news:

Recent searches: