Skip to content

Instantly share code, notes, and snippets.

@awd
awd / gist:1529838
Created December 28, 2011 21:28 — forked from datwright/gist:1355453
SOCKS Proxy for remote FTP server
OH NO! It turns out that simple one-port SSH Tunnels won't work for FTP since it uses another random port to actually transfer data. No problem! SOCKS Proxy to the rescue!
This assumes that you have SSH access to a server that can successfully connect to the FTP server you want access to.
On your local execute (if you have a woople ssh alias setup):
ssh -ND 1234 woople
You'll need an FTP client that supports SOCKS Proxies. I recommend Filezilla. Enter localhost:1234 as your SOCKS proxy server and connect to the FTP server using its regular internet address (as though you were connecting from your production server). SWEEEET!
@awd
awd / org.apache.solr.plist
Created October 27, 2011 14:40 — forked from santosh79/solr.plist
org.apache.solr.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>org.apache.solr</string>
<key>OnDemand</key>
<true/>
<key>ProgramArguments</key>
<array>
@awd
awd / org.apache.solr.plist
Created October 27, 2011 14:34 — forked from gcachet/org.apache.solr.plist
plist to launch solr with launchd on mac os X
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC
"-//Apple Computer//DTD PLIST 1.0//EN" "
http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>org.apache.solr</string>
<key>ProgramArguments</key>
<array>