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 | |
#strip non-existent files from monodevelop project file | |
projectFile=$1 #first arg should be the .mdp file to process | |
if [ "$1" == "" ] | |
then | |
echo "usage: $0 project.mdp" | |
exit 1 | |
fi | |
#set IFS to allow processing of files with spaces. | |
#ref http://tldp.org/LDP/abs/html/internalvariables.html |
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 | |
#environment setup for grails on ubuntu 9.10 | |
#use the source "$ source env.sh" | |
export GRAILS_HOME=/home/tim/programs/grails-1.3.1 | |
export PATH=$PATH:$GRAILS_HOME/bin | |
export JAVA_HOME=/usr/lib/jvm/default-java |
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 | |
#scan revision list for bug #s in the comments | |
#convert into comma separated values | |
bugs=`git log $1..$2 --pretty=oneline | grep -o " bug *[0-9]*" | \ | |
cut -d " " -f 3 | sort -n | uniq | while read x; do echo -n $x,; done;` | |
#strip final comma | |
bugs=${bugs%,} |
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 | |
# convert new tango files to gpx files | |
# relies on convert2gpx to do actual conversion http://www.tangogps.org/downloads/convert2gpx.pl | |
# folder layout: | |
# first arg - source files from tangogps logging | |
# second arg - output folder | |
input="$1" | |
output="$2" |
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 x in `ls` | |
do identify -format '%f %w %h' $x | awk '{if ($2>$3) print $2/$3 "\t" $1; else print $3/$2 "\t" $1; }' | |
done | sort -n |
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/sh | |
if [ -z "$1" ] | |
then | |
rev="HEAD" | |
else | |
rev=$1 | |
fi | |
wd=`pwd` | |
basepath=`basename $wd` | |
desc=$(git describe --always "$rev") |
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/sh | |
# use "dephunter.sh -v" for verbose mode | |
verbose=false | |
if [ "$1" == "-v" ] | |
then | |
verbose=true | |
echo verbose mode | |
fi |
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
@echo off | |
REM See: http://timwise.blogspot.com/2011/11/multiple-working-folders-for-git-on.html | |
if not "%2" == "" goto start | |
:usage | |
echo. | |
echo Usage: %0 SOURCE TARGET | |
echo. | |
echo Creates a new linked working copy from an existing working copy so you can work on multiple branches simultaneously whilst sharing history. |
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
@echo off | |
REM See: http://timwise.blogspot.com/2011/11/multiple-working-folders-for-git-on.html | |
if not "%1" == "" goto start | |
:usage | |
echo. | |
echo Usage: %0 TARGET | |
echo. | |
echo Removes a git linked working copy, safely removing NTFS symbolic links |
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
net stop OracleServiceXE || net start OracleServiceXE |
OlderNewer