brew install gdbm
brew install python --universal --framework # install python2.7
mkdir work
cd work
virtualenv -p python2.7 .
source bin/activate
wget http://cvs2svn.tigris.org/files/documents/1462/46528/cvs2svn-2.3.0.tar.gz
| import java.io.IOException; | |
| import java.net.InetAddress; | |
| import java.net.Socket; | |
| import java.net.UnknownHostException; | |
| import java.security.GeneralSecurityException; | |
| import java.security.cert.CertificateException; | |
| import java.security.cert.X509Certificate; | |
| import javax.net.ssl.SSLContext; | |
| import javax.net.ssl.SSLSocketFactory; |
| language: erlang | |
| otp_release: | |
| - R15B | |
| - R14B04 | |
| - R14B03 | |
| - R14B02 | |
| notifications: | |
| disabled: true |
| private static boolean isShutdownHookRunning() { | |
| for (Thread thread : Thread.getAllStackTraces().keySet()) { | |
| if (!"DestroyJavaVM".equals(thread.getName())) { continue; } | |
| for (StackTraceElement element : thread.getStackTrace()) { | |
| if ("java.lang.ApplicationShutdownHooks".equals(element.getClassName())) { | |
| return true; | |
| } | |
| } | |
| } | |
| return false; |
| mvn clean compile -pl com.ksauss.name:app-sample-project |
| require 'java' | |
| dirname = File.expand_path File.dirname(__FILE__) | |
| Dir.glob("#{dirname}/jars/*.jar").each {|jar| $CLASSPATH << jar } | |
| import 'com.ksauzz.ClassName' |
| gizzmo -s -T 0 create-table --source-type="INT UNSIGNED" --dest-type="INT UNSIGNED" --shards=15 --concrete="com.twitter.flockdb.SqlShard" --base-name=backward 1 localhost |
brew install gdbm
brew install python --universal --framework # install python2.7
mkdir work
cd work
virtualenv -p python2.7 .
source bin/activate
wget http://cvs2svn.tigris.org/files/documents/1462/46528/cvs2svn-2.3.0.tar.gz
| cat <<"EOS" | ssh username@hostname 'bash' | |
| # ref: http://backreference.org/2011/08/10/running-local-script-remotely-with-arguments/ | |
| hostname | |
| EOS |