This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
autocmd FileType python set tabstop=4|set shiftwidth=4|set expandtab|set softtabstop=4 | |
autocmd FileType ruby,eruby,yaml set tabstop=2|set shiftwidth=2|set expandtab|set softtabstop=2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
traceroute to shelbybark.com (72.10.39.124), 64 hops max, 52 byte packets | |
1 * 192.168.72.1 (192.168.72.1) 2.307 ms 1.113 ms | |
2 73.12.95.1 (73.12.95.1) 9.207 ms 8.158 ms 8.623 ms | |
3 te-8-2-ur01.tuscaloosa.al.tusca.comcast.net (68.85.205.161) 10.741 ms 8.773 ms 10.249 ms | |
4 te-7-1-ar01.huntsville.al.hunts.comcast.net (68.85.205.45) 14.740 ms 13.646 ms 13.967 ms | |
5 xe-4-1-3-0-ar03.nashville.tn.nash.comcast.net (68.85.232.109) 18.177 ms 18.345 ms 17.920 ms | |
6 pos-3-7-0-0-cr01.chicago.il.ibone.comcast.net (68.86.90.73) 34.411 ms | |
pos-3-9-0-0-cr01.chicago.il.ibone.comcast.net (68.86.95.209) 34.450 ms 32.214 ms | |
7 pos-1-12-0-0-cr01.350ecermak.il.ibone.comcast.net (68.86.88.90) 32.985 ms 32.627 ms 38.647 ms | |
8 pos-1-0-0-0-pe01.350ecermak.il.ibone.comcast.net (68.86.86.34) 32.882 ms 36.282 ms 32.607 ms |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from fabric.api import env, run, sudo | |
def production(): | |
env.hosts = ['serveraddress.com'] | |
env.user = 'my_username' | |
def deploy(): | |
run('cd /home/username/code/website; git fetch && git merge origin/master;') | |
sudo('sudo svc -du /etc/service/website') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function FindProxyForURL(url, host) { | |
if (url.match(/:9080\//)) { | |
return "PROXY localhost:3129"; | |
} | |
if (url.match(/\biago\b/) || | |
url.match(/\babla\b/) || | |
url.match(/\brove\b/) || | |
url.match(/\bphpmyadmin\b/) || | |
url.match(/\bcoptix\.lan\b/) || | |
shExpMatch(url, "http://errors.flash.hosts.coptix.com/*") || |