I hereby claim:
- I am dschep on github.
- I am dschep (https://keybase.io/dschep) on keybase.
- I have a public key whose fingerprint is 583B 5A11 0703 B4F5 C5F8 A28D 1D09 8FA6 AE40 D301
To claim this, I am signing this object:
sudo -n dmidecode -s bios-version | grep VirtualBox |
# detect monitor [un]plug events, and call autorandr | |
SUBSYSTEM=="drm", ACTION=="change", RUN+="/bin/bash -c 'DISPLAY=:0 sudo -u $(who|sed -nre s/\(.*\)\\s:0.*/\\1/p) /usr/bin/autorandr -c'" |
set -o vi | |
bind -m vi-insert "\C-l":clear-screen | |
PS1='[\u@\h:\W] \$ ' # plain & static liquidprompt-esque prompt |
#!/bin/bash | |
USER='Your username, Duh.' | |
TOKEN='An access token that has access to notifications, make one here: https://github.com/settings/tokens' | |
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
API_URL=https://api.github.com | |
date= | |
while sleep 30; do | |
curl -u $USER:$TOKEN $API_URL/notifications?since=$date |\ |
xmodmap -e 'keycode 9 = Escape asciitilde Escape' |
CLASSPATH=$(pkg=$(pm path com.koushikdutta.backup);echo ${pkg#*:}) app_process /system/bin com.koushikdutta.shellproxy.ShellRunner2 |
I hereby claim:
To claim this, I am signing this object:
- name: Compute Vagrant latest version | |
sudo: no | |
shell: wget -qO - https://dl.bintray.com/mitchellh/vagrant/|sed -n 's/.*href=\"\([^"]*\).*/\1/p'|grep x86_64\.deb|tail -1|cut -d'%' -f2 | |
register: vagrant_file_name | |
- name: Download Vagrant latest version | |
sudo: no | |
get_url: url="https://dl.bintray.com/mitchellh/vagrant/{{ vagrant_file_name.stdout }}" dest="/tmp/{{ vagrant_file_name.stdout }}" | |
- name: Install Vagrant latest version |
#!/bin/bash | |
echo 2 | sudo tee /sys/module/hid_apple/parameters/fnmode | |
echo 1 | sudo tee /sys/module/hid_apple/parameters/swap_opt_cmd |
function docker() { | |
if [ "$1" == 'compose' ] ; then | |
docker-compose "${@:2}" | |
else | |
env docker "${@:1}" | |
fi | |
} |