I hereby claim:
- I am michaelbitard on github.
- I am michaelbitard (https://keybase.io/michaelbitard) on keybase.
- I have a public key ASBGNVFgnC0eAJ9XEWoRpa0pQckKsIXFZUWOBVcZni3Bsgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| #Delete all images without a container | |
| docker rmi $(docker images --no-trunc | tail -n+2 | grep -v $(docker ps -a --format '{{.Image}}') | awk '{ print $3 }') |
| JEKYLL = docker run -ti --rm -v "$(shell pwd):/srv/jekyll" -p 4000:4000 jekyll/jekyll:pages | |
| RUNNER = `whoami` | |
| COMMIT = `git rev-parse --short HEAD` | |
| test: | |
| @${JEKYLL} jekyll serve --watch -H 0.0.0.0 --drafts | |
| deploy: | |
| @echo "Building site" | |
| @${JEKYLL} jekyll build |
| ENV PHANTOM_JS_TAG 2.0.0 | |
| RUN \ | |
| echo "deb http://ppa.launchpad.net/git-core/ppa/ubuntu $(lsb_release -cs) main" \ | |
| | tee /etc/apt/sources.list.d/git.list && \ | |
| DEBIAN_FRONTEND=noniteractive \ | |
| apt-key adv --keyserver hkp://hkps.pool.sks-keyservers.net --recv-keys E1DF1F24 && \ | |
| apt-get update && \ | |
| DEBIAN_FRONTEND=noninteractive \ | |
| apt-get -y --no-install-recommends install git && \ |
| --- | |
| - hosts: java_main_deploy | |
| tasks: | |
| - pip: name=docker-py | |
| - docker: image=java7_maven publish_all_ports=true | |
| sudo: yes | |
| - debug: msg="{{docker_containers[0]['NetworkSettings']['Ports']['22/tcp'][0]['HostPort']}}" |
| # prefix is CTRL-B and CTRL-X | |
| set -g prefix C-b | |
| set -g prefix2 C-x | |
| # enable CTRL-B and CTRL-X under other programs (like vim) - you'll have to press twice le combination to have the old one | |
| bind C-b send-prefix | |
| bind C-x send-prefix | |
| # UTF-8 | |
| set -g status-utf8 on |
| xrandr --fb 2646x800 --output LVDS1 --panning 2626x0+0+0/1366x768+0+0 | |
| x11vnc -clip 1280x800+1367+0 |
| #!/bin/sh | |
| # Edit these values for your subversion repository | |
| jenkins_user=user | |
| jenkins_passwd=password | |
| repository_url="http://your_svn_dir/" | |
| cd /your/jenkins/path | |
| # make sure we're in a svn working directory | |
| if [ ! -d .svn ]; then |
| ACTION=="add", ATTR{idProduct}=="2030", RUN+="/usr/bin/set_typematrix_dvorak_mapping" |