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
#!/usr/bin/env python | |
import urllib2, sys | |
urlstr = sys.argv[1] | |
fname = urlstr.split('/')[-1] | |
response = urllib2.urlopen(urlstr) | |
f = open(fname, "w") | |
f.write(response.read()) | |
f.close() | |
print "written " + fname |
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
travis enable | |
travis init | |
travis settings -s yes builds_only_with_travis_yml |
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
worker_processes 10; | |
pid /tmp/nginx.pid; | |
error_log /tmp/error.log; | |
events { | |
worker_connections 768; | |
} | |
http { |
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
wk:~> sudo bash | |
Password: | |
bashrc | |
bash: /Users/root/.travis/travis.sh: No such file or directory | |
bash-3.2# brew uninstall | |
This command requires a keg argument | |
bash-3.2# | |
bash-3.2# brew uninstall postgres | |
Uninstalling /usr/local/Cellar/postgresql/9.4.5... (3021 files, 40M) | |
bash-3.2# ps axuw | grep postgres |
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/sh | |
set -x | |
convert -size 1000x1000 canvas:white date1.png | |
sleep 2 | |
convert -size 1000x1000 canvas:white date2.png | |
sleep 2 | |
convert -size 1000x1000 canvas:white date1.jpg |
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/sh | |
set -x | |
convert -size 1000x1000 canvas:white date1.png | |
sleep 2 | |
convert -size 1000x1000 canvas:white date2.png | |
sleep 2 | |
convert -size 1000x1000 canvas:white date1.jpg |
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
http://proquest.safaribooksonline.com.ezproxy.plsinfo.org:2048/book/programming/ruby/9780133487954/firstchapter#X2ludGVybmFsX0h0bWxWaWV3P3htbGlkPTk3ODAxMzM0ODc5NTQlMkZjaDAxX2h0bWwmcXVlcnk9 |
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
<?php | |
$beuwulf = "zxcv1234bnm,1234asdf1234ghjk1234qwer1234rtyu1234uiop1234"; | |
header("Content-Type: text/plain; charset=UTF-8"); | |
header_remove("Content-Length"); | |
header("Transfer-Encoding: chunked"); | |
ob_start(); |
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
npm install -g --no-shrinkwrap appium-ios-driver@1.11.1 | |
/usr/local/lib | |
└─┬ appium-ios-driver@1.11.1 | |
├── adm-zip@0.4.7 | |
├─┬ appium-base-driver@1.4.1 | |
│ ├─┬ request@2.70.0 | |
│ │ ├── aws-sign2@0.6.0 | |
│ │ ├─┬ aws4@1.3.2 | |
│ │ │ └─┬ lru-cache@4.0.1 | |
│ │ │ ├── pseudomap@1.0.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
[Appium] Welcome to Appium v1.5.1 (REV d5085edce0b5482771c66cfe3e2c013ee3ca90f6) | |
[Appium] Appium REST http interface listener started on 0.0.0.0:4723 | |
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"deviceName":"iPhone 6","nativeInstrumentsLib":true,"appName":"kitchensink","udid":"8dba6102d06d797316af744475b4fd6212d925b1","app":"/Users/wkoszek/r/autotest/ios/Kitchensink/build/KitchenSink.ipa","noReset":true,"autoLaunch":false,"newCommandTimeout":0,"platformVersion":"9.3","fullReset":false,"platformName":"iOS","showIOSLog":true}} | |
[MJSONWP] Calling AppiumDriver.createSession() with args: [{"deviceName":"iPhone 6","nativeInstrumentsLib":true,"appName":"kitchensink","udid":"8dba6102d06d797316af744475b4fd6212d925b1","app":"/Users/wkosz... | |
[Appium] Creating new IosDriver session | |
[Appium] Capabilities: | |
[Appium] deviceName: 'iPhone 6' | |
[Appium] nativeInstrumentsLib: true | |
[Appium] appName: 'kitchensink' | |
[Appium] udid: '8dba6102d06d797316af744475b4fd6212d925b1' |
OlderNewer