many changes i made in the last weeks

This commit is contained in:
Sebastian Moser
2026-07-31 00:51:01 +02:00
parent 5b895c54dc
commit 180af16d35
64 changed files with 11633 additions and 1364 deletions

View File

@@ -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

View File

@@ -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;

View File

@@ -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