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
find . -name "*.JPG" -mtime -1 -exec mv '{}' ~/repos/house/kitchen-floor \; |
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
import urllib2 | |
proxy = urllib2.ProxyHandler({'http': 'localhost:8888'}) | |
opener = urllib2.build_opener(proxy) | |
urllib2.install_opener(opener) | |
response = urllib2.urlopen('http://url.com/to/request') | |
response.read() | |
import httplib | |
conn = httplib.HTTPConnection('localhost', 8888) | |
conn.request('GET', 'http://url.com/to/request') |
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
Fri Jun 17 13:12:27 UTC 2016 |
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
// Jasmine spec runner | |
(function () { | |
var jasmineEnv = jasmine.getEnv(); | |
jasmineEnv.updateInterval = 1000; | |
var trivialReporter = new jasmine.TrivialReporter(); | |
jasmineEnv.addReporter(trivialReporter); | |
jasmineEnv.specFilter = function (spec) { |