September 2008
6 posts
1 tag
Why MooTools (or Why not JQuery)
I’ve been toying around with MooTools a bit lately, and I’ve found the experience quite enjoyable and refreshing. Naturally, I twittered about it and went along my merry way. Moments later (and much to my surprise), I had a direct message from John Resig himself asking “Why, what’s wrong with jQuery?”. I was pretty taken aback that he would take time from his surely...
Sep 30th
1 note
Sep 30th
1 tag
Highlight link based on current page in rails
This is common pattern in website navigation, where it highlights the link (usually by setting class=”active”) that took you to the current page while you are on that page. First, define a helper: def is_active?(page_name) "active" if params[:action] == page_name end Then call it in your link_to’s in your layout as such: link_to 'Home', '/', :class =>...
Sep 28th
Git Server tutorial
good git server tutorial, http://blog.commonthread.com/2008/4/14/setting-up-a-git-server
Sep 27th
No way.
I’m sure we’ve all been in a variant of this situation… Me: I'd like to talk to you about something... Him: Let me guess - you want to use Smalltalk. Me: Er, no... Him: Lisp? Me: Right. Him: No way. Taken from here
Sep 15th
Sep 8th