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
*.pyc |
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
➜ wechat git:(master) ✗ ./gradlew -b test.gradle npm -S | |
:npm FAILED | |
FAILURE: Build failed with an exception. | |
* What went wrong: | |
Execution failed for task ':npm'. | |
> A problem occurred starting process 'command 'npm'' | |
* Try: |
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
# defaults for VME wechat server | |
# pulled in from the init script; makes things easier. | |
NAME=vme-wechat | |
# location of java | |
JAVA=/home/jenkins/jenkins-home/tools/hudson.model.JDK/java-1.8/bin/java | |
# arguments to pass to java | |
JAVA_ARGS="-Dspring.profiles.active=svt" # specify active profile for spring boot |
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
docker stop vme-jenkins | |
docker rm vme-jenkins | |
export HOST_IP=`/sbin/ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}'` | |
docker run --name vme-jenkins -p $HOST_IP:8080:8080 -p 50000:50000 -e "JAVA_OPTS=-Duser.timezone=Asia/Hong_Kong" -v /home/zxkane/jenkins:/var/jenkins_home -d jenkins |
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
ssh -q -N -o stricthostkeychecking=no -R 10002:localhost:22 -R 5900:localhost:5900 -R 6500:localhost:6500 username@mydomain.gicp.net& |
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
javax.servlet | |
javax.transaction | |
org.eclipse.equinox.http.jetty | |
org.eclipse.equinox.http.servlet | |
org.eclipse.osgi.services | |
org.eclipse.osgi | |
org.mortbay.jetty.server | |
org.mortbay.jetty.util |
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
public static void main(String[] args) throws JSONException { | |
JSONObject obj = new JSONObject( | |
"{}"); //$NON-NLS-1$ | |
dump(0, "", obj); | |
} | |
private static void dump(int level, String name, Object obj) throws JSONException { | |
for (int i = 0; i < level; i++) | |
System.out.print("\t"); | |
if (obj instanceof JSONObject) { |
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
ocalhost% brew unlink ossp-uuid && brew link ossp-uuid -- INSERT -- | |
Unlinking /usr/local/Cellar/ossp-uuid/1.6.2... 8 links removed | |
Linking /usr/local/Cellar/ossp-uuid/1.6.2... 8 symlinks created | |
localhost% HOMEBREW_MAKE_JOBS=1 VERBOSE=1 brew install postgresql --32-bit --universal -- INSERT -- | |
==> Downloading http://ftp.postgresql.org/pub/source/v9.1.4/postgresql-9.1.4.tar.bz2 | |
Already downloaded: /Library/Caches/Homebrew/postgresql-9.1.4.tar.bz2 | |
/usr/bin/tar xf /Library/Caches/Homebrew/postgresql-9.1.4.tar.bz2 | |
==> Patching | |
/usr/bin/patch -f -p1 -i 000-homebrew.diff | |
patching file src/pl/plpython/Makefile |
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
*.pyc | |
.settings/ |
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
./eclipse --launcher.suppressErrors -nosplash -data ws -application org.eclipse.ant.core.antRunner -buildfile mirror.xml |
OlderNewer