Tag Archives: macos x

Fixing Perl after MacOS X Security Update 2009-001

Apple's first security update of 2009 for MacOS X may solve some security issues in the OS but it also seriously breaks Perl by installing old versions of some modules along with Perl. It looks like Perl works okay for things that MacOS X uses it for, but if you do development using it or have installed other modules than what it came bundled with you may find that it no longer works.

…You'll probably need to download it from CPAN by hand as the CPAN shell itself is broken by the update.

The current version (as of the time I'm writing this article) is 1.2301 – you can find it at http://search.cpan.org/~gbarr/IO-1.2301/IO.pm
Continue reading

Posted in Code, Computers, Macintosh, Perl | Tagged , , , , , | Leave a comment

Use sudo Without a Password on Your Mac

Usually you’ll use it to execute a single command: sudo dmesg or to start a shell: sudo -s sudo is similar to the su command – the su command also allows you to become another user (most likely root). … Next, load /etc/sudoers in your favorite text editor, and add a line to it that looks like this: USERNAME ALL=(ALL) NOPASSWD: ALL Replace USERNAME with your short username (so in my case, my username is romkey or johnromkey rather than ‘John Romkey’ ). You can find your username with the who command – but if you don’t already know what it is or who to find it, you probably shouldn’t be disabling passwords on sudo in the first place. … There are other ways to do this (in particular, there are ways to say that anyone in a particular UNIX group can become use sudo without a password), but this is the simplest way to let a single user do this. Continue reading

Posted in Computers, Macintosh | Tagged , , , | Leave a comment

Offline jQuery Documentation for MacOS X

I don’t always have reliable online access when I’m coding – in particular, I was on a bus today for a couple of hours and didn’t always have Internet access. There are a couple of dashboard widgets for MacOS X which I found that helped out on the jQuery documentation front. … This widget is designed for browsing… click around in it, but don’t expect to search it. … This widget is designed for searching – if you know what you’re looking for, you can find it quickly. Continue reading

Posted in Ajax, Code, Macintosh | Tagged , , , , | Leave a comment