August 2009
1 post
July 2009
1 post
May 2009
1 post
February 2009
2 posts
January 2008
3 posts
Rubular →
A Ruby regular expression editor that lets you preview what your regexes will match - very slick!
Customising Colours in Leopard Terminal →
Have started using TerminalColors now, instead of ColorTerminaleopard (previously mentioned) as the latter wasn’t playing nice with screen (which I use on a daily basis).
TerminalColoreopard →
I’ve used TerminalColoreopard to customise Leopard’s ANSI colors (creating a nice “Vibrant Ink”-ish colour scheme). No more squinting at that blue on black…
December 2007
6 posts
ModalBox →
ModalBox is a JavaScript technique for creating modern (Web 2.0-style) modal dialogs or even wizards (sequences of dialogs) without using conventional popups and page reloads. It’s inspired by Mac OS X modal dialogs.
Rak →
Rak is a grep replacement in pure Ruby. It accepts Ruby syntax regular expressions and automatically recurses directories, skipping .svn/, .cvs/, pkg/ and more things you don’t care about.
Pimping up Camino
Camino is my default browser now; the memory and CPU hog that is Firefox has been relegated to times when using FireBug is absolutely necessary.
There are a few things however that make Camino feel a bit more “Firefoxesque” :
Open up System Preferences > Keyboard & Mouse > Keyboard Shortcuts and add these for Camino :
“Bookmark Current...
Action Mailer Layouts. →
CardboardRocket’s action_mailer_layouts plugin helps keep your email templates nice and DRY.
GimmeSomeTune →
I love seeing the floating window with cover art and track info while I work - I’ve removed GrowlTunes, preferring to have the window always visible and have removed Last.fm because GimmeSomeTune scrobbles!
1 tag
SynergyKM GUI and Keyboard shortcuts for switching...
There has been one thing that has been missing for me from the excellent SynergyKM GUI for mac : keyboard shortcuts to switch screens.
Today, Lorenz Schori, one of the core developers let me in on this hack :
Navigate to Library/Preferences and open net.sourceforge.synergy2.synergyd.plist either with the “Property List Editor” if you have developer tools installed or with...
November 2007
7 posts
1 tag
Sogudi Beta for Leopard →
This plugin brings Safari a little bit closer to Firefox with keyworded bookmarks. Yay!
Eye-opening documentaries →
Three free documentaries exposing the manipulation of a select few over the masses. Whether you believe the facts or not, the “evidence” is compelling.
1 tag
Ruby on Rails Finite State Machine Plugin:...
Note: This is a summary of this article - the page is unaccessible at the time of writing
Installing Finite State Machine
./script/plugin install \
http://elitists.textdriven.com/svn/plugins/acts_as_state_machine/trunk/
Using Finite State Machine
class Person < ActiveRecord::Base
acts_as_state_machine :initial => :sleeping
state :sleeping
state :showering
state :working
state...
1 tag
Disable Leopard Spotlight from the menu bar
If you want to get rid of Leopard’s Spotlight from the menu bar, simply open terminal and run:
sudo chmod 0 /System/Library/CoreServices/Spotlight.app
To re-enable it you just have to run:
sudo chmod 755 /System/Library/CoreServices/Spotlight.app
SSHKeychain not needed in Leopard →
Terminal in Leopard
I’m loving the new terminal in Leopard. We finally have tabs! Time to say goodbye to iTerm …
1 tag
Finite State Machine Plugin →
For managing models that have a “state” - the transitions between different states look neat.
April 2007
1 post
Fix backspace in remote shells in iTerm
The backspace key seems bust by default when in an ssh session. To fix, run this command in iTerm : defaults write com.apple.Terminal TermCapString xterm Thanks atomized Update : a simpler ways is to add this line to your .profileexport TERM=xterm
March 2007
5 posts
Turning on vi-style editing in script/console
You can turn on vi-style by entering the following line in your ~/.inputrc file :
set editing-mode vi
Thanks slash7!
Using double quotes for HTML attributes in HAML
For some obscure reason, HAML uses single quotes to surround HTML attributes by default. Of course, you probably want double-quotes in your HTML files ;-) Just paste this line in config/environment.rbHaml::Template.options[:attr_wrapper] = '"'
TextMate GetBundle Bundle →
The easiest way by far to install and update bundles in Textmate is to use the GetBundle Bundle. Once installed, it provides a GUI for browsing and installing bundles from the Textmate bundle repository.
Convert a table's character set and collation to...
Character encoding is probably my singlest biggest gripe with MySQL. To force a table’s character set and collation to UTF-8, use this command : ALTER TABLE tbl_name CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
Quick developer reference for CSS, HTML,... →
Gotapi is a cool little ajaxified api hub - it’s deadly having so many good resources in one place.