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
[gc] | |
auto = 1 | |
[user] | |
email = | |
name = npeters | |
[alias] | |
st = status | |
ci = commit | |
br = branch | |
co = checkout |
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
git ls-files --other --exclude-standard | |
~/bin/git-st-mvn.sh | |
moduleList=$(git st | grep src | sed "s/#//" | sed "s/.*://" |sed "s/\s//g" | egrep -o .*src | awk '{print substr($_,0,length($_)-4)}' | sort | uniq) | |
echo $moduleList | sed "s/ /,/g" | |
ou | |
moduleList=$(git st | grep src | sed -r "s/^#.*:\s*(.*)\/src.*/\1/g") | |
echo $moduleList | sed "s/ /,/g" |
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
xmllint.exe --format --noout pom.xml |
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
[tig] | |
line-graphics = ascii | |
show-author = abbreviated # Show abbreviated author names. | |
show-date = local # Show relative commit date. | |
show-rev-graph = yes # Show revision graph? | |
show-refs = yes # Show references? | |
commit-order = topo # Order commits topologically | |
read-git-colors = no # Do not read Git's color settings. | |
show-line-numbers = no # Show line numbers? | |
line-number-interval = 2 # Interval between line numbers |
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
URL_HTML=$1 | |
OUT=$2 | |
if [ "x$URL_HTML"="x" || "x$OUT"="x" ] | |
then | |
echo "$0 html outfile" | |
exit 1 | |
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
ls *.txt | xargs.exe -I{} sh -c "tail -f {} | sed 's/\(.*\)/{} \1/g' &" |
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
[Credentials] | |
aws_access_key_id = ----- | |
aws_secret_access_key = ------ | |
[Boto] | |
ec2_version = 2012-12-01 | |
ec2_region_name = eu-west-1 |
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
# script instance | |
echo 172.23.113.5 vod-rpm >> /etc/hosts | |
sed -i 's/name=/enabled=0\nname=/g' /etc/yum.repos.d/*.repo | |
#add repo | |
cat << EOF > /etc/yum.repos.d/vod-centos6.repo | |
[VodCentos6-Repository] | |
name=Vod Centos6 - Local | |
baseurl=http://vod-rpm/centos6/Packages |
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
IFS=$(echo -en "\n\b") | |
echo > bash_encode.bat | |
for f in `find -type f -name '*.MOV'`; | |
do | |
SRC=`cygpath -wa $f` | |
ARCHIVE_TMP=$(dirname $(echo $f | sed 's#\./#../archives/#g')) | |
ARCHIVE=$(cygpath -wa $ARCHIVE_TMP) | |
DST=$(echo $SRC | sed 's/MOV/mp4/g') | |
if [ ! -f $DST ] | |
then |
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 -ne '##### (33%)\r' | |
sleep 1 | |
echo -ne '############# (66%)\r' | |
sleep 1 | |
echo -ne '####################### (100%)\r' | |
echo -ne '\n' |
OlderNewer