How to write a Snow Leopard service that toggles hidden files.

Written by Aaron on 11.09.2009 | Uncategorized

There appears to be no easy way to toggle visibility of hidden files or folders in OS X. This video describes a possible solution that makes use of Automator, Snow Leopard Services, and a small bash script.

Here’s the code that I used.
show_status=`defaults read com.apple.Finder AppleShowAllFiles`
if [ $show_status == 'NO' ]; then
show_status=’YES’
else
show_status=’NO’
fi
defaults write com.apple.Finder AppleShowAllFiles $show_status
killall [...]

Comments Off so far | Read On »

If you believe in the power of Twitter, you know it can’t last.

Written by Aaron on 09.05.2009 | Uncategorized

It took quite some time, but I have finally started to find value in twitter. It’s short messages, sent and delivered in near-realtime with less of the mechanical feel of RSS. It’s great…but it won’t last.
Twitter as a tool, WILL grow beyond Twitter the company. It’s quickly becoming a communication mechanism that won’t be controlled [...]

Legacy code is good!

Written by Aaron on 26.03.2009 | Uncategorized

DHH delivers a great talk about legacy software and why you should be happy when you see it.
http://itc.conversationsnetwork.org/shows/detail3987.html

What Monster.com should have said about their security breach

Written by Aaron on 27.01.2009 | Uncategorized

Late last week Monster.com admitted that its database was “illegally accessed” and that its member’s names and passwords were likely stolen. Monster.com the smallest amount of advice it could, “Please change your password”. But they should have included the following in their press release:
Since our organization does not encrypt our members’ passwords, the individual(s) who [...]

Links

Light Reading