3 Blog Entries tagged: mac os x


Installing Django on Leopard (Mac OS 10.5)

  • November 14th, 2007 (2 years, 8 months ago)

I wrote these step-by-step instructions for my work for our new Mac desktop machines. I'm posting here as well in the case that they're useful...

MacPorts

Get MacPorts with the version 10.5 in it:

http://svn.macosforge.org/repository/macports/downloads/MacPorts-1.5.0/MacPorts-1.5.0-10.5.dmg

Install it, and follow this command line history...

First check if Macports has any updates...

$ sudo port selfupdate

Python

Install Python 2.4 with readline support. I chose Python 2.4 because it's the default in MacPorts when installed other libraries...

$ sudo port install readline
$ sudo port ...

Read the rest »

About this entry

Date Posted:
November 14th 2007 at 3:11:00 PM

Tagged:
django, mac os x


MacPorts and removing fink

  • November 6th, 2006 (3 years, 8 months ago)

I discovered MacPorts (nee DarwinPorts) this weekend and for some reason I like the way DarwinPorts works over how Fink works. So I set out to remove Fink and install MacPorts. Then ran into some troubles...

First was how to uninstall Fink? I found this blog post which got me most of the way. I ran this command found there to remove most packages successfully:

fink list | perl -lne '/^\s*i\s+(\S+)/ and print $1' | xargs fink purge

When that completed, I simply removed the /sw directory:

sudo rm -rf /sw

Next I installed MacPorts and attempted to selfupdate ...

Read the rest »

About this entry

Date Posted:
November 6th 2006 at 9:11:00 AM

Tagged:
mac os x


Safari's Hidden Debug Menu

  • July 7th, 2006 (4 years ago)

I just discovered that Safari has a hidden debug menu that you can enable with the following command in Terminal:

defaults write com.apple.safari IncludeDebugMenu -bool true

After restarting Safair there is now a "Debug" menu with lots of functionality. Things like:

  • Show DOM tree
  • Turn On/Off RSS Support
  • Log Javascript Exceptions
  • Show Javascript Console
  • A bookmark to the Shortcuts page at file:///Applications/Safari.app/Contents/Resources/Shortcuts.html
  • Import bookmarks from NS/IE/Mozilla
  • Open page with an alternate browser
  • User Agent settings
  • Change the supported protocols (http:, ftp:, etc)

Read the rest »

About this entry

Date Posted:
July 7th 2006 at 8:07:00 AM

Tagged:
mac os x