Posts tagged default

Sep02

JavaScript optional parameter hash with default values

default values javascript optional parameter hash | comments

I have dealt with optional parameters with default values in JavaScript plenty of times in the past. But for some reason it wasn’t immediately obvious to me how to create a nice options hash like I use so frequently when writing my Ruby code. It really is quite simple.

Continue reading »

Apr27

Change default text editor on OS X

OS X default text editor OS X default text editor | comments

I am a Mac OS X rookie, and it shows. I struggled for about 20 minutes trying to figure out how to change my default text editor for TXT files from TextEdit to TextMate. Finally, it is done, and it was mostly easy.

Continue reading »