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
/* | |
* A white-list based PAC without regexp, by @janlay | |
* It's just simple and fast. | |
* Last update: Dec 9, 2013 | |
* Special thanks to @Paveo | |
*/ | |
function FindProxyForURL(url, host) { | |
var PROXY = "PROXY 127.0.0.1:8800;SOCKS 127.0.0.1:8801"; | |
var DEFAULT = "DIRECT"; |
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
#!/bin/bash | |
sudo date 03050001 | |
# Replace the following line with any application you need to run | |
open /Applications/Merriam-Webster\ 4.0/Merriam-Webster\ Dictionary.app | |
# sleep 60 | |
# Set back to the current time using apple service (network needed) | |
sudo ntpdate -u time.apple.com |