Skip to content

Instantly share code, notes, and snippets.

Richard Kettelerij rkettelerij

  • Mindloops
  • The Netherlands
Block or report user

Report or block rkettelerij

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@rkettelerij
rkettelerij / LaunchJenkinsSlave.bat
Created Aug 23, 2016
Launch a Jenkins slave on a Windows node and authenticate against a Jenkins master
View LaunchJenkinsSlave.bat
SET slaveName=<hostname of current server>
SET slaveSecret=<secret>
SET masterName=<hostname of Jenkins master node>
SET masterPort=8080
:: Download slave.jar
bitsadmin.exe /transfer "Downloading Jenkins slave.jar, please wait" http://%masterName%:%masterPort%/jnlpJars/slave.jar C:\slave.jar
:: Start slave
View loggc.txt
-verbose:gc -XX:+PrintGCDateStamps -XX:+PrintGCDetails -Xloggc:"/path/to/gc.log" -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=10 -XX:GCLogFileSize=100M
@rkettelerij
rkettelerij / gist:2ddc60018cee1155acbe
Created Aug 14, 2015
Add boot2docker IP to your hosts file
View gist:2ddc60018cee1155acbe
echo "$(boot2docker ip 2> /dev/null)" dockerhost | sudo tee -a /private/etc/hosts
@rkettelerij
rkettelerij / gist:7427673
Created Nov 12, 2013
OrientDB feature for Apache Karaf
View gist:7427673
<?xml version="1.0" encoding="UTF-8"?>
<features name="features" xmlns="http://karaf.apache.org/xmlns/features/v1.0.0">
<feature name='orientdb' version='1.6'>
<bundle>mvn:com.orientechnologies/orient-commons/1.6</bundle>
<bundle>mvn:net.java.dev.jna/jna/4.0.0</bundle>
<bundle>mvn:org.apache.geronimo.specs/geronimo-jpa_2.0_spec/1.1</bundle>
<bundle>mvn:org.javassist/javassist/3.18.1-GA</bundle>
<bundle>mvn:com.orientechnologies/orientdb-nativeos/1.6</bundle>
<bundle>mvn:com.orientechnologies/orientdb-core/1.6</bundle>
<bundle>mvn:com.orientechnologies/orientdb-object/1.6/bundle</bundle>
View gist:2027990
<cache name="httpResponses"
maxElementsInMemory="1"
eternal="true"
overflowToDisk="false"
diskPersistent="false"
memoryStoreEvictionPolicy="LFU"/>
View gist:1466100
<bean class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">
<property name="targetClass" value="java.lang.System"/>
<property name="targetMethod" value="setProperty"/>
<property name="arguments">
<list>
<value>logsDir</value>
<value>${logs.dir}</value>
</list>
</property>
</bean>
View environment.plist
{
"M2_HOME"="/usr/share/maven";
M2="/usr/share/maven/bin";
}
You can’t perform that action at this time.