I hereby claim:
- I am lherich on github.
- I am lherich (https://keybase.io/lherich) on keybase.
- I have a public key ASALobkLp6qdsZ7USXHeGdB_AxeJOySGtzylzLzTiDw3eQo
To claim this, I am signing this object:
#!/bin/bash | |
#!/bin/bash | |
# | |
# ssh into a machine and automatically set the background | |
# color of Mac OS X Terminal depending on the hostname. | |
# | |
# Installation: | |
# 1. Save this script to /usr/local/bin/ssh-host-color | |
# 2. chmod 755 /usr/local/bin/ssh-host-color | |
# 3. alias ssh=/usr/local/bin/ssh-host-color |
#!/bin/bash | |
# | |
# Replace default git user and email by a specified value | |
# for all *.github.com repositories. | |
# | |
# Installation: | |
# 1. Save this script to /usr/local/bin/set-github-user-and-email | |
# 2. Replace PUT_YOUR_NAME_HERE and PUT_YOUR_EMAIL_HERE | |
# 3. chmod 755 /usr/local/bin/set-github-user-and-email | |
# 4. alias git=/usr/local/bin/set-github-user-and-email |
git rm $(git ls-files --deleted) | |
git add $(git ls-files --modified) |
# source: http://stackoverflow.com/a/2514279 | |
for k in `git branch -r | perl -pe 's/^..(.*?)( ->.*)?$/\1/'`; do echo -e `git show --pretty=format:"%Cgreen%ci %Cblue%cr%Creset" $k -- | head -n 1`\\t$k; done | sort -r |
alias gitcheck=gitcheckFunc | |
gitcheckFunc() { | |
git branch | grep $1 | xargs git checkout | |
} |
I hereby claim:
To claim this, I am signing this object:
gpg2 --card-status
set subkeyId (gpg2 --list-secret-keys | grep '\[A\]' | cut -d'/' -f 2 | cut -d' ' -f 1)