bin folder
This commit is contained in:
1 parent
ffcf8e41ba
commit
bfe214e548
5 files changed
+2
No files matched your search
@@ -0,0 +1 @@
|
||||
clear && watch -c -t -n 5 'clear && cat logs/xptimers.log'
|
||||
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
clear && while true; do
|
||||
output=$(clear; cat logs/groupshields.log);
|
||||
echo "$output";
|
||||
sleep 0.5;
|
||||
done
|
||||
Executable
+10
@@ -0,0 +1,10 @@
|
||||
sed -i "1s?^?cd "`pwd`"\n?" Discworld
|
||||
|
||||
mkdir logs
|
||||
|
||||
if [[ $PREFIX = *"com.termux"* ]]; then
|
||||
ln -s "$(pwd)/Discworld" $PREFIX/bin/disc;
|
||||
else
|
||||
mkdir -p ~/bin
|
||||
ln -s "$(pwd)/Discworld" ~/bin/disc;
|
||||
fi
|
||||
@@ -0,0 +1,24 @@
|
||||
#!/bin/sh
|
||||
|
||||
# clear && watch --color -t -n 0.4 'python src/mdtparse.py logs/mapdoortext.log | tail -n `tput lines`'
|
||||
|
||||
clear && while true; do
|
||||
output=$(printf "\ec"; python src/mdtparse.py logs/mapdoortext.log | tail -n `tput lines`);
|
||||
echo "$output";
|
||||
sleep 0.5;
|
||||
done
|
||||
|
||||
# HOME=$(tput cup 0 0)
|
||||
# ED=$(tput ed)
|
||||
# EL=$(tput el)
|
||||
# printf '%s%s' "$HOME" "$ED"
|
||||
# while true; do
|
||||
# ROWS=$(tput lines)
|
||||
# COLS=$(tput cols)
|
||||
# CMD="python src/mdtparse.py logs/mapdoortext.log"
|
||||
# ${SHELL:=sh} -c "$CMD" | tail -n $ROWS | while IFS= read LINE; do
|
||||
# printf '%-*.*s%s\n' $COLS $COLS "$LINE" "$EL"
|
||||
# done
|
||||
# printf '%s%s' "$ED" "$HOME"
|
||||
# sleep 0.3;
|
||||
# done
|
||||
Reference in new issue
Block a user