I hereby claim:
- I am mathewpeterson on github.
- I am mathewpeterson (https://keybase.io/mathewpeterson) on keybase.
- I have a public key whose fingerprint is DB70 A3E3 E399 1194 048B A2C2 EB4C AC07 EA86 56A9
To claim this, I am signing this object:
sudo apt-get install libfakekey-dev libpng-dev libxft-dev autoconf libtool -y | |
sudo mkdir -p /usr/local/src/matchbox-keyboard | |
git clone https://github.com/xlab/matchbox-keyboard.git /usr/local/src/matchbox-keyboard | |
cd /usr/local/src/matchbox-keyboard && ./autogen.sh && make && sudo make install | |
sudo apt-get install libmatchbox1 -y | |
cat << EOF | sudo tee /usr/bin/toggle-matchbox-keyboard.sh | |
#!/bin/bash | |
#This script toggle the virtual keyboard |
I hereby claim:
To claim this, I am signing this object:
for file in `find . -type f | grep -i "\.EXT"; do git checkout OTHERBRANCH "${file}"; done |
hardstatus on | |
hardstatus alwayslastline | |
hardstatus string "%{.bW}%-w%{.rW}%n %t%{-}%+w %=%{..G} %H %{..Y} %m/%d %C%a " | |
#terminfo and termcap for nice 256 color terminal | |
# allow bold colors - necessary for some reason | |
attrcolor b ".I" | |
# tell screen how to set colors. AB = background, AF=foreground | |
termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm' | |
# erase background with current bg color | |
defbce "on" |
#!/bin/bash | |
SVN_USERNAME=$1 | |
SVN_REVISION=$2 | |
svn log -v -r $SVN_REVISION:HEAD | awk "/^r[0-9]+ / {user=\$3} /trunk/ {if (user==\"$SVN_USERNAME\") {print \$2}}" | sort | uniq |
#!/bin/bash | |
SVN_USERNAME=$1 | |
SVN_REVISION=$2 | |
svn log -v -r $SVN_REVISION:HEAD | awk "/^r[0-9]+ / {user=\$3} /trunk/ {if (user==\"$SVN_USERNAME\") {print \$2}}" | sort | uniq | |
#!/usr/bin/ruby -d | |
#### | |
# | |
# create_unhashed_links.rb | |
# | |
# Creates links that are unhashed to the Gitorious repositories. | |
# Helps link the repositories to Redmine. | |
# | |
# Spaces in project names are replaced with underscores. |
#!/bin/bash | |
perl -e 'printf "00:16:3E:%02X:%02X:%02X\n", rand 0xFF, rand 0xFF, rand 0xFF' |
#!/bin/bash | |
SRC_PATH='' | |
DEST_PATH='' | |
FILES_LIST=`cat $1` | |
for file in $FILES_LIST | |
do | |
cd ${DEST_PATH} && cp -R ${SRC_PATH}/${file} ${file} |
[alias] | |
update = !git fetch origin && git rebase origin/master | |
addall = !git add -A && git status | |
done = !git fetch && git rebase origin/master && git checkout master && git merge @{-1} && git push | |
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative | |
ir = !git rebase -i origin/master | |
unstage = reset HEAD | |
[color] | |
ui = auto |