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. (more…)
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. (more…)
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
Ah bugger. I was playing with the wordpress app on my phone on the way home and I accidentally set a random theme on this site. This overwrote the theme I’d customised for my site and now I’ve just got a default theme. Dang. Well I was thinking of revising my layout anyway. So for the next little while the site will probably flux till I get it in order.
Well that’s weird. I took a quiz back in 2009 and was personality matched to the programming language COBOL (old and stodgy but reliable). I came across the link and had another go and this time I got:
And what’s wierd is that I’m currently working in PHP. Ain’t that funny?