Recently I’ve been getting into classic vintage surf rock. People like Dick Dale, The Astronauts and The Ventures. This has come about from getting back into the Dead Kennedys and noticing a very surf/rockabilly sound to the guitar work. I did… More
In my skilling up in Rails application I was wanting to add in the feature to allow a user’s comment/post, if it contained a URL, to make that URL clickable. A fairly simple change but one with a bit of a trick on Rails as it turns out. Continue reading “HTML safe and escaped text in a rails view”
As with most vim users above beginner I used to have my customised vimrc file. Since being off vim for a while and changing machines a couple of times, I now can’t find where I had stored my previously developed vimrc file so I’m building a new one. Also in common with many other developers I’ve made a github repo to store it so next time I need to find it I’ll know exactly where it is. So if you are interested to see what’s in it and how it develops, you can find it there.
I’ve been a fan of the standing workspace for some time now having started trying out standing arrangements in late 2012. After reading about the idea off and on for a couple of years before I was finally convinced to give it a try myself when I read this article. I’ve found a lot of benefits from working at a standing desk and find it now my preferred set-up. I’ve even read that standing for an extra three hours every weekday for a year can expend the same energy as running 10 marathons. So here is a round-up of my standing desk efforts to date. Continue reading “My standing workspaces”
I’ve been building a sample web site/application in Ruby on Rails. I’ve been following the, what I think is, rather excellent tutorial by Micheal Hartl. I’ve finished the base tutorial and am now looking to expand the site with some improvements and fixes I think it needs and then use it as a base to fork into other projects.
Anyone who wants to have a look, give it a try, and send back some feedback is welcome to.
I was researching a programming issue today and came across this fantastic quote from a usenet post in 1991, still good advice today:
“Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. Code for readability.”
– John F Woods