Posted in Personal by: sean
No Comments
30 Jun
This site is hosted on a Linode 768 VPS, and has been for a couple of years now, along with some other domains. I have hosted it at home, and also on a GoDaddy VPS which didn’t end up being all that good, but am now very happy with Linode. I host a combination of [...]
Posted in Ruby on Rails by: sean
1 Comment
16 Jun
I have been playing with the Freshbooks API and the Twilio API as part of a contest that Twilio is running. It’s a great excuse to try something I’ve been meaning to do for a while. I ran into a few problems. The freshbooks gem doesn’t work under 1.9.2, which I found out after trying [...]
Posted in Ruby on Rails by: sean
No Comments
10 Jun
I have an administration panel for my Rails application that shows various information. I’ve found it helpful to show the last few commits along with a link to the repository. Here’s the code: Controller: @commits = Array.new git = `git log -15 –abbrev-commit –pretty=format:”%H – %cr – %s – %d”` git.split(/\n/).each do |commit| elements = [...]