This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for file in `find . -type f | grep -i "\.EXT"; do git checkout OTHERBRANCH "${file}"; done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
perl -e 'printf "00:16:3E:%02X:%02X:%02X\n", rand 0xFF, rand 0xFF, rand 0xFF' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[alias] | |
update = !git fetch origin && git rebase origin/master | |
add-all = !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 | |
log-branch = log origin/master.. | |
undo-commit = reset --soft HEAD^ | |
branch-name = !git for-each-ref --format='%(refname:short)' `git symbolic-ref HEAD` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Automatically generated make config: don't edit | |
# Linux/x86_64 3.0.4 Kernel Configuration | |
# | |
CONFIG_64BIT=y | |
# CONFIG_X86_32 is not set |
OlderNewer