added streamlinks as more feature rich video streamer API, and added aliases more as reminders

This commit is contained in:
tomit4 2022-06-18 19:14:31 -07:00
parent 9d7b7abfc2
commit f6600a848b
3 changed files with 10 additions and 8 deletions

View file

@ -177,12 +177,16 @@ alias npm_upgrade="doas npm install --location=global npm@latest"
alias npm_list="npm list -g --depth=0" alias npm_list="npm list -g --depth=0"
alias pip_upgrade="python -m pip install --upgrade pip" alias pip_upgrade="python -m pip install --upgrade pip"
alias nb="newsboat" alias nb="newsboat"
alias slink="streamlink"
alias sudoku="sku" alias sudoku="sku"
# pip list and pip freeze command list pip packages # pip list and pip freeze command list pip packages
#Particularly useful commands more to remember than to use as alias: #Particularly useful commands more to remember than to use as alias:
alias optimalbufsize= 'stat -c "%o"' # followed by filename will give you the optimal read/write BUFSIZE for a file alias optimalbufsize= 'stat -c "%o"' # followed by filename will give you the optimal read/write BUFSIZE for a file
alias {rcrm,rrm}="doas xargs -d\\n rm -r -v" # when piped after locate or find command, recursively removes outputted files alias {rcrm,rrm}="doas xargs -d\\n rm -r -v" # when piped after locate or find command, recursively removes outputted files
alias athena="athena-jot"
alias view-in-tty="fim"
alias cprogrammingtags="ctags"
# get top process eating memory # get top process eating memory
alias psmem="ps auxf | sort -nr -k 4 | head -5" alias psmem="ps auxf | sort -nr -k 4 | head -5"

2
streamlink/config Normal file
View file

@ -0,0 +1,2 @@
player=mpv
twitch-disable-ads

View file

@ -14,15 +14,11 @@ add notation about using pick to parse through output, and pipe that using xargs
example: example:
ls | pick | xargs bat # will give you a choice of the files from ls, pick displays a menu to "pick" the file, which then is parsed to xargs bat (invokes bat on choice from ls | pick) ls | pick | xargs bat # will give you a choice of the files from ls, pick displays a menu to "pick" the file, which then is parsed to xargs bat (invokes bat on choice from ls | pick)
Install fim (allows viewing of images in tty environment) Install streamlinks
Also install ctags for better traversing in our C programs.
doas pacman -S streamlinks
paru fim copy streamlinks config directory for streamlinks into ~/.config/
doas pacman -S ctags cp -r ~/Documents/notes/streamlinks ~/.config/
Install athena-jot
paru athena-jot (generates random data)