I hereby claim:
- I am vensder on github.
- I am vensder (https://keybase.io/vensder) on keybase.
- I have a public key ASCmwtMaQfXcqgxHam7fBoq8HZ93oQqJDqFmHaxwPlBgIAo
To claim this, I am signing this object:
----- Esc ----- | |
Quick change directory: Esc + c | |
Quick change directory history: Esc + c and then Esc + h | |
Quick change directory previous entry: Esc + c and then Esc + p | |
Command line history: Esc + h | |
Command line previous command: Esc + p | |
View change: Esc + t (each time you do this shortcut a new directory view will appear) | |
Print current working directory in command line: Esc + a | |
Print currently selected filename in command line: Esc + Enter | |
Switch between background command line and MC: Ctrl + o |
# Create a promise: | |
myCoolPromise = new Promise (resolve, reject) -> | |
# do a thing | |
success = true | |
if success | |
resolve 'stuff worked' | |
else | |
reject Error 'it broke' |
I hereby claim:
To claim this, I am signing this object:
sed ':a;N;$!ba;s/\n/\\n/g' my_key.pem | |
or in vi | |
:%s/\n/\\n/ | |
https://tickets.opscode.com/browse/CHEF-3540 |
... | |
action_with_slack_notification = %(banaction)s[name=%(__name__)s, port="%(port)s"] | |
slack[name=%(__name__)s] | |
action = %(action_with_slack_notification)s | |
... |
#!/bin/bash | |
# place script in hooks dir in repo, rename post-receive-jenkins to post-receive, chmod +x file | |
# Gitolite [https://github.com/sitaramc/gitolite] | |
# Jenkins Git Plugin [https://wiki.jenkins-ci.org/display/JENKINS/Git+Plugin] | |
# GL_REPO will contain the short relative path of the repository being pushed to, e.g. "projects/component-1", so transform it into the Git URL format that your Jenkins build jobs follow: | |
REPOSITORY_URL=git@gitolite.example.com:$GL_REPO | |
# Jenkins Git plugin notification URL -- update host as appropriate: |
# install java | |
apt-get install -y software-properties-common | |
apt-add-repository -y ppa:webupd8team/java | |
apt-get update | |
apt-get install -y oracle-java8-installer | |
# download latest android sdk | |
# http://developer.android.com/sdk/index.html#Other | |
cd /opt | |
wget http://dl.google.com/android/android-sdk_r24.4.1-linux.tgz |