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
ab -n 1000 -c 10 http://www.build-doctor.com/ | |
This is ApacheBench, Version 2.3 <$Revision: 655654 $> | |
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ | |
Licensed to The Apache Software Foundation, http://www.apache.org/ | |
Benchmarking www.build-doctor.com (be patient) | |
Completed 100 requests | |
Completed 200 requests | |
Completed 300 requests | |
Completed 400 requests |
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
knox:tmp jsimpson$ ./bad | |
a | |
a | |
a | |
b | |
a | |
b | |
b | |
knox:tmp jsimpson$ ./bad | uniq | |
a |
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
awk '{print $1}' /var/log/apache2/access.log | sort -u | while read host; do | |
host $host; | |
done |
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
mkdir -p "/var/lib/jenkins/jobs/manual/workspace/target/manpages" | |
# shell | |
"/var/lib/jenkins/jobs/manual/workspace/src/bin/asciidoc/a2x.py" -k -f manpage -d manpage -D "/var/lib/jenkins/jobs/manual/workspace/target/manpages" "/var/lib/jenkins/jobs/manual/workspace/target/docs/neo4j-shell-docs-jar/man/neo4j-shell.1.txt" | |
a2x: ERROR: xmllint --nonet --noout --valid /var/lib/jenkins/jobs/manual/workspace/target/manpages/neo4j-shell.1.xml returned non-zero exit status 127 | |
make: *** [manpages] Error 1 |
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
desc "Check for tabs and trailing spaces" | |
task :crapcheck do | |
Dir["public/**/*.js"].each do |f| | |
next if f.match(/^lib|resources/) | |
text = File.read(f) | |
raise "Tabs found in #{f}" if text.match(/\t/) | |
raise "Trailing spaces found in #{f}" if text.match(/ $| $/) | |
end | |
end |
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
julian-simpsons-macbook:oneclick jsimpson$ cap staging deploy | |
* executing `staging' | |
triggering start callbacks for `deploy' | |
* executing `multistage:ensure' | |
* executing `deploy' | |
triggering before callbacks for `deploy' | |
* executing `deploy:notify:start' | |
* executing "curl -X POST -d \"application=oneclick\" http://weather.engineyard.com/`hostname`/deploy_start -fs" | |
servers: ["74.201.254.36"] | |
[74.201.254.36:8209] executing command |
NewerOlder