Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block xsenechal

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
View Deis_workflow_minikube
# install kubectl
curl -Lo kubectl && chmod +x kubectl && sudo mv kubectl /usr/local/bin/
# install minikube
curl -Lo minikube && chmod +x minikube && sudo mv minikube /usr/local/bin/
mkdir deisv2 && cd deisv2
# install deis cli
curl -sSL | bash
cp deis ~/bin/deisv2
ln -fs ~/bin/deisv2 /usr/local/bin/deis
# install helmc (kubernetes package manager)
curl -s | bash
cp helmc ~/bin/helmc
xsenechal / parseWadl.groovy
Last active Sep 8, 2015
Application wadl to CSV
View parseWadl.groovy
def parser = new XmlParser()
def result = parser.parseText("<?xml ...</application>")
def lst = []
def url = "/rest"
def url2
def url3
def httpMethod
def javaMethod
def responseType
xsenechal / gist:1792c51a0ba3c2c3123a
Last active Aug 29, 2015
Jenkins continuous deploy for nodejs
View gist:1792c51a0ba3c2c3123a
#install NodeJS plugin, then in the global settings, create a NodeJS install
#in the job config check the box "Provide Node & npm bin/ folder to PATH"
export http_proxy="http://user:pwd@domain:8080"
export https_proxy="http://user:pwd@domain:8080"
echo $path
node --version
bower --version
npm install
xsenechal /
Last active Jan 18, 2019
Linux stuff
#keyboard layout
dpkg-reconfigure keyboard-configuration
#change user password
sudo passwd user
#install xorg & dwm (a dynamic window manager for Xorg)
wget **tar.gz
tar -xvf *.tar.gz
View GroovyCollection.groovy
assert [] != null
assert [] instanceof ArrayList
assert ![]
assert [1, 2]
assert [1, 2] + [3, 4] == [1, 2, 3, 4]
assert [1, 2] != [2, 1]
You can’t perform that action at this time.