Link: Mac’s DigitalColor Meter.app
This is a great tool to learn if you’re on a Mac. It’s also an easy replacement for the ColorZilla Firefox addon.
Link: Mac’s DigitalColor Meter.app
This is a great tool to learn if you’re on a Mac. It’s also an easy replacement for the ColorZilla Firefox addon.
Things, a task management app that’s still in development, does a great job letting users know about its unimplemented features. If you try to drag a task from a project into the ‘Scheduled’ area, for example, you’ll get this popup:

Every action I’ve performed in Things has either worked as I expected or popped up one of these helpful messages. That’s awesome! It feels good to know that they’re moving in the right direction and makes me more confident in their ability to make a great product.
Just found two helpful programs in OS X; pbcopy and pbpaste (man page). They let you write and read from the OS X clipboard and allow you do to things like:
$ cat file.txt | pbcopy
That’s a lot faster than opening the file, selecting everything, and copying it!
$ pbpaste > example.css
Quicker than firing up emacs/TextMate/whatever.
Of course you can even do fancier things like:
$ tail -n 10 /var/log/messages | pbcopy
So good!
There are lots of articles out there explaining how to make an iPhone ringtone from a song using GarageBand but it’s also possible to create them using only iTunes. Here’s how:
Update (2008-6-14): This also works in iTunes on Windows!
The JavaScript Tools bundle for TextMate automatically runs JavaScript Lint on your files when saving and shows a little tooltip if there are any errors (like the missing semicolon below).

It’s very easy to enable similar functionality for PHP files. The default TextMate PHP bundle already comes with a ‘Validate Syntax’ command but it’s bound to Ctrl+Shift+V. Here’s what you need to change:
Below is an example of what you’ll see when saving. It will even move your cursor to the line with the error!

Update (2008-5-23): You can prevent the tooltip from displaying when there are no syntax errors by changing the command to:
#!/usr/bin/env ruby
require ENV['TM_SUPPORT_PATH'] + '/lib/textmate'
version = %x{#{ENV['TM_PHP'] || 'php'} -v}.split[0..2].join(' ')
#puts "Running syntax check with " + version + "…"
result = `#{ENV['TM_PHP'] || 'php'} -d display_errors=on -l`
puts result.gsub('in -', '') unless result =~ /No syntax errors/
TextMate.go_to :line => $1 if result =~ /line (\d+)/