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
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
#!/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
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
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
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
#!/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 |
NewerOlder