Update: I am going. Yay. And I made some virtual scrap paper for Conway’s Game of Life.
There’s a senior / junior hack night on tomorrow night. They’ll be doing Conway’s Game of Life. I wish I could make it, but I gotta look after my babies.
Anyway...
read moreHere’s a little code snippet I never remember, and often find myself looking for in past projects. Figured it’d save me some time to paste it here.
Instantiate a model and execute some SQL (or do whatever you want) after a migraton has run:
public...
read more
Great question (or rather, great answer) here
read moreI came across an issue where the server would send email fine, except if it was sending the email to the same domain as the website it was being sent from (eg. sending from the www.clientsdomain.com.au website to info@clientsdomain.com.au or similar...
read moreRubyists across the globe will no doubt be flocking to my blog by the millions to read my wrap up of day 1. Not really. But my business paid for my ticket, so I should make some notes or something.
Here’s the talks I went to, and the main points I...
read moreBefore I started unit testing, back when I knew it was all the rage but just hadn’t got around to learning it, or wasn’t sure if it’d be worthwhile for me, I wrote down these questions. It took me a while to get round to it, but I finally wrote answers...
read moreHere are my goals for 2014. Overall I think they’re kinda conservative, but given I’ve got twin babies, I wanted to set something realistic considering the little free time I have.
I’ve been developing almost 10 years, but have relatively recently...
read moreJust sharing a quick tip I recieved at the last Ruby on Rails Dev Hub: declare your javascript functions as variables.
Rather than declaring your javascript functions like this:
function sayHello($name){
alert('hello ' + $name);
}
declare them...
read moreI’m writing down my thoughts after a discussion with @gregmcintyre and others at RailsCamp Sydney regarding how to help newbies get more out of RailsCamp, and other events (eg. DevHub). ‘Newbies’ mainly refers to people who have had a basic intro through...
read moreI was looking for a way to:
a) Run regular MySQL database backups, keeping eg. daily copies for the past week, monthly for the past year, etc.
b) Backup the database prior to each capistrano deployment, and download a copy of the backup to my own...
read more