Snow in the trees

GitHub

My personal GitHub account is here.

SOCKS proxy via SSH Tunnel

A simple Python script that creates an SSH tunnel and uses “networksetup” on Mac OS X to create a SOCKS proxy using the tunnel. Run the script in a terminal window with a command line option for the network interface (e.g. “Wi-Fi”, “Ethernet”). Quit with Control+C to end the tunnel. The script also resets your network settings if the SSH tunnel closes due to loss of connectivity.

For Mac OS 10.8+, run as root (e.g., sudo setproxy.py --off) to avoid multiple admin password dialogs.

BibDesk

  • Fork of Zot2Bib — When Zotero downloads a reference and PDF, Zot2Bib transfers only the reference to BibDesk. This fork also attaches the PDF to the BibTeX entry.
  • Perl script to toggle between full journal titles and abbreviations, plus AppleScripts to do this in BibDesk (similar to JabRef):