Skip to content

{ Tag Archives } OS X

Tunnelling a connection through 2 servers via ssh

This took a bit of head-scratching, so for future reference, or anyone else looking:
Say I am working outside the office firewall, on a machine called home, and I need to get into a MySQL server inside it. (Doesn’t have to be MySQL, but just for argument’s sake.)
There’s a machine called gateway I can ssh to [...]

Also tagged

Things to try when VirtualBox networking messes up

This is really a note-to-self but it might help other people too.
I have two network interfaces in my Ubuntu guest (on OS X 10.4 host), one NAT, one host-only.
Sometimes one of them doesn’t get an IP address — in ifconfig it has an inet6 address but not an inet address.
Today I tried
sudo dhclient eth1
and it [...]

Also tagged ,

How to make sure your media disk is mounted before starting iTunes

This is an Apple Annoyance that’s been bugging me for a while — if your iTunes library is on an external HD, and you start iTunes without it mounted, the bloody thing can seriously mangle its own library index (under Tiger at least).
So I’ve replaced my iTunes Dock icon with a little AppleScript that checks [...]

Also tagged

MacBook keyboard hacks for # (hash/pound/numbersign)

One of the few annoying things about my oldish MacBook Pro is its keyboard, for example a few unresponsive keys, but particularly the lack of a # key. It’s a UK keyboard, and has £ for shift-3, and # is hidden in alt-3 (not labelled).
This is fine in native desktop apps, but less fine in [...]

Also tagged , , ,

Running RasMol from Firefox and Finder in OS X

A colleague asked me today, how can we set up someone’s Mac to open .pdb files in RasMol when clicking a .pdb link in Firefox. This turned out to be a non-trivial operation. Here’s how I did it, with RasMol 2.7.2 and Firefox 3.0.7 on OS X 10.4.

Also tagged , ,