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 |
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
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
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
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
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
ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile (default-compile) on project neo4j-backup: Compilation failure: Compilation failure: | |
[ERROR] /jenkins/workspace/neo4j-1.9-outreach/enterprise/backup/src/main/java/org/neo4j/backup/OnlineBackupKernelExtension.java:[147,89] getHostString() is not public in java.net.InetSocketAddress; cannot be accessed from outside package | |
[ERROR] /jenkins/workspace/neo4j-1.9-outreach/enterprise/backup/src/main/java/org/neo4j/backup/OnlineBackupKernelExtension.java:[147,164] getHostString() is not public in java.net.InetSocketAddress; cannot be accessed from outside package | |
[ERROR] /jenkins/workspace/neo4j-1.9-outreach/enterprise/backup/src/main/java/org/neo4j/backup/OnlineBackupKernelExtension.java:[169,89] getHostString() is not public in java.net.InetSocketAddress; cannot be accessed from outside package | |
[ERROR] /jenkins/workspace/neo4j-1.9-outreach/enterprise/backup/src/main/java/org/neo4j/backup/OnlineBackupKernelExtension.java:[169,16 |
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
= This is an Asciidoc Article | |
Srsly. | |
https://twitter.com/nawroth[Anders] knows Asciidoc. | |
== Another Title | |
This document is written in Asciidoc. It's published to WordPress using 'blogpost.py'. | |
== Another Pointless Title |
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
jsimpson$ while true; do curl -sv http://repo.maven.apache.org/maven2/org/apache/maven/maven-parent/11/maven-parent-11.pom 2>&1 | grep X-Served-By; sleep 1; done | |
< X-Served-By: cache-iad2126-IAD, cache-sjc3129-SJC | |
< X-Served-By: cache-iad2126-IAD, cache-sjc3127-SJC | |
< X-Served-By: cache-iad2126-IAD, cache-sjc3129-SJC | |
< X-Served-By: cache-iad2126-IAD, cache-sjc3135-SJC | |
< X-Served-By: cache-iad2126-IAD, cache-sjc3134-SJC | |
< X-Served-By: cache-iad2126-IAD, cache-sjc3128-SJC | |
< X-Served-By: cache-iad2126-IAD, cache-sjc3133-SJC | |
< X-Served-By: cache-iad2126-IAD, cache-sjc3130-SJC | |
< X-Served-By: cache-iad2126-IAD, cache-sjc3127-SJC |
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
FROM centos:centos6 | |
# Would prefer headless, but not available in CentOS6 | |
RUN yum -y install wget java-1.7.0-openjdk scl-utils redhat-lsb-core | |
RUN wget -qO- http://dev.centos.org/centos/6/SCL/scl.repo >> /etc/yum.repos.d/centos.scl.repo | |
RUN yum -y install python27-python python27-python-setuptools | |
### Neo4j RPM | |
RUN wget http://debian.neo4j.org/neotechnology.gpg.key -O /tmp/neo4j.key && rpm --import /tmp/neo4j.key && rm -f /tmp/neo4j.key | |
RUN echo '[neo4j]' > /etc/yum.repos.d/neo4j.repo && echo 'name=Neo4j Yum Repo' >> /etc/yum.repos.d/neo4j.repo && echo 'baseurl=http://yum.neo4j.org' >> /etc/yum.repos.d/neo4j.repo && echo 'enabled=1' >> /etc/yum.repos.d/neo4j.repo && echo 'gpgcheck=1' >> /etc/yum.repos.d/neo4j.repo && yum -y install neo4j |
OlderNewer