How to: Install CoffeeScript and Node.js
There seems to be a lot of buzz surrounding Node.js and CoffeeScript recently so let's see how easy it is to get installed.
I like to draw things and write code
There seems to be a lot of buzz surrounding Node.js and CoffeeScript recently so let's see how easy it is to get installed.
A handy feature of Ruby is that it lets you assign multiple variables at once. While doing this all the time is not encouraged, where it makes the code more readable/understandable it is certainly something to try.
I came across this the other day and had a bit of trouble finding out what it meant. Luckily, I managed to get an explanation from Bo Jeanes. It turns out that '~>' means 'up to the next major version'.
It's also on sale for a short time ![]()
If you have been using Ruby for a while you may have quite a large collection of gems. And, chances are, you have a number of different versions of each gem. There is a simple way to clean out any old versions of gems.
A fun little 'guess the colour' game using hexadecimal notation.
After attending the JavaScript Meetup last Monday I thought it might be interesting to have a look at a few examples of JavaScript's sometimes unexpected behaviour. I've covered a few things before, like the difference between substr and substring and the problem with parseInt() so here are some other interesting discoveries.
The first Brisbane JavaScript Meetup will be held tomorrow (the 7th of June, 2010). I was asked by the organiser, Nigel to do up a banner for the group. After a bit of back-and-forth with Nigel, this is what we ended up with:
Standards aren’t add-ons to the web. They are the web.
No blue legos in sight.
It's so easy to output JSON from Sinatra it will take longer to read this post than to actually do it ![]()