First open your favorite text editor (Except for TextEdit or Microsoft Word) and save a file called lockscreen with the contents below. I saved mine in a directory called ~/bin/, but you can put yours anywhere. (Note: ignore the text wrap below—there is no line break in the command)

#!/bin/sh

/System/Library/CoreServices/”Menu Extras”/User.menu/Contents/Resources/CGSession -suspend

/bin/sh kill -3 $(ps wax | grep “[T]erminal.app” | awk ‘{print $1}’)

osascript -e ‘tell application “Terminal” to quit’

Now, we have to make the lockscreen file executable. In Terminal, type:

chmod 754 ~/bin/lockscreen

Set up a Quicksilver trigger

The built-in keyboard shortcut system in OS X can’t easily trigger a command-line script like our lockscreen script. We’ll set up a trigger in Quicksilver to accomplish the same effect.

In Quicksilver, go to the Catalog and add a your lockscreen script.

Next, go the Triggers section in Quicksilver. Add a new HotKey under the Custom Triggers section. Type lockscreen under ‘Select an item’ and click Save (it should automatically find this from the catalog). Then click on the Trigger column to set the keyboard shortcut. I went with Ctrl+Option+Command+L, but choose whichever combination you like.

That’s it—close the Quicksilver window and try out your new keyboard shortcut!

(Modified version from here)

Apr
12
Video Compilation
VN:F [1.1.7_509]


I took all the iPhone videos that I have shot for the past year and spliced random seconds of them together with this trippy song. Fun stuff, so many memories.

Apr
12
Hail Storm Size
VN:F [1.1.7_509]

Apr
12
Old Chiodos Video of Me
VN:F [1.1.7_509]

Apr
08
My Apple Products Refreshed
VN:F [1.1.7_509]

I just updated all of my apple products to their latest versions: 120GB iPod Classic, iPhone 3G, MBP 15” 4GB, 2.93GHz, 320GB @ 7200RPM,

Mar
22
iDF Forum Concept
VN:F [1.1.7_509]

idfconcept

I have been contemplating re-designing iPhoneDevForums.com for some time now. It is too busy and hardly useable at all. There are way to many  images and this uses up a lot of bandwidth from just day-to-day users. So I whipped up this quick concept today in PS which I think takes a much cleaner and easier approach than the usual forum design. I feel that forums are one of the biggest problems in terms of design, often overlooked, mainly because of the difficulty in editing the complex and interwoven templates that systems such as vBulletin use. It is not an easy task in  the slightest, but one that I feel is most essential.

Feb
05
Guitar Flipz
VN:F [1.1.7_509]

I just decided to post the most interesting part of the previous video to save you the trouble of having to watch all of it!


Amp or no amp, I still rock out. Oh and the scarf was to prevent neck burn, not some sort of weird fashion thing, hah.

If you get this error when trying to install windows 7 64bit on your Mac, then follow this guide.

“Select CD-Rom Boot Type:_”

Steps:

0 - create 3 folders c:\windows7iso c:\windows7exe c:\windows7dvd
1 - download this .exe file and put into c:\windows7exe
2 - put the windows 7 .iso you downloaded from ms into c:\windows7iso and unzip the contents with imgburn
3 - move .iso file out of c:\windows7iso
4 - 
open a dos prompt in c:\windows7exe and type exactly as shown (Or copy/paste): 

oscdimg -n -m -bc:\windows7iso\boot\etfsboot.com c:\windows7iso c:\windows7dvd\windows7dvd.iso

Now burn the windows7dvd.iso file to a DVD and proceed to install windows 7 on your mac!

Jan
20
Dorm Room Dance!
VN:F [1.1.7_509]