many changes i made in the last weeks
This commit is contained in:
10
mybin/mvn
10
mybin/mvn
@@ -50,6 +50,16 @@ fi
|
||||
|
||||
|
||||
if [ "$1" == "up" ]
|
||||
then
|
||||
echo "-----------------------------------------------------------------"
|
||||
svn st | grep ^? | cut -c 9- | sed 's/^/"/' | sed 's/$/"@/' | xargs svn add
|
||||
svn st | grep ^! | cut -c 9- | sed 's/^/"/' | sed 's/$/"@/' | xargs svn rm
|
||||
echo "-----------------------------------------------------------------"
|
||||
svn ci -m "$2"
|
||||
|
||||
fi
|
||||
|
||||
if [ "$1" == "fix" ]
|
||||
then
|
||||
echo "-----------------------------------------------------------------"
|
||||
svn st | grep ^? | cut -c 9- | sed 's/^/"/' | sed 's/$/"@/' | xargs svn add
|
||||
|
||||
@@ -42,7 +42,7 @@ build_from_local(){
|
||||
|
||||
build_remote () {
|
||||
|
||||
rsync -r -v $HOME/work/config/* $host:my-nixos-config --exclude=.git --exclude=gitignore
|
||||
rsync -r -v $HOME/work/config/* $host:my-nixos-config --exclude=.git --exclude=target --exclude=gitignore
|
||||
|
||||
return 0;
|
||||
|
||||
|
||||
9
mybin/ru
9
mybin/ru
@@ -8,9 +8,14 @@ elif [ "$1" == "rm-last-char" ]
|
||||
then
|
||||
truncate -s-1 $2
|
||||
|
||||
# total rubish
|
||||
# cat $1 | xxd -ps | sed '$ s/.$//' $2 | xxd -r -ps > /tmp/1234; mv /tmp/1234 $2
|
||||
|
||||
elif [ "$1" == "rnd" ]
|
||||
then
|
||||
xxd -ps /dev/random | head -c $2
|
||||
|
||||
elif [ "$1" == "ns" ]
|
||||
then
|
||||
sudo netbird-ppc status -d | less
|
||||
|
||||
elif [ "$1" == "rm-tab-cur" ]
|
||||
then
|
||||
|
||||
Reference in New Issue
Block a user