Lots of new cli apps added

This commit is contained in:
z3rOR0ne 2022-09-04 20:11:39 -07:00
parent 17311b6f23
commit b950139fde
7 changed files with 146 additions and 32 deletions

20
aliases
View file

@ -55,7 +55,10 @@ alias iumnt="doas umount /home/brian/iphone"
alias kmnt="doas mount /dev/sda /mnt/media/kobo" alias kmnt="doas mount /dev/sda /mnt/media/kobo"
alias kumnt="doas umount /dev/sda /mnt/media/kobo" alias kumnt="doas umount /dev/sda /mnt/media/kobo"
alias rm="newrm -vi" alias rm="newrm -vi"
alias calendar="calcurse"
alias cal="newcal" alias cal="newcal"
# simple tool for math, see https://github.com/metadelta/mdlt
alias math="mdlt simplify"
alias mv="mv -v" alias mv="mv -v"
alias ln="ln -i" alias ln="ln -i"
alias xtract-tgz='tar zxvf ${1}' alias xtract-tgz='tar zxvf ${1}'
@ -79,7 +82,9 @@ alias leetcode="/usr/bin/chromium --incognito --disable-search-engine-collection
alias gimp="gimp --no-splash" alias gimp="gimp --no-splash"
alias krita="krita --nosplash" alias krita="krita --nosplash"
alias toonz="opentoonz" alias toonz="opentoonz"
alias {sq,sql,sqlite}="sqlcipher" alias {sqlite,sql}="sqlite3"
alias {sqcipher,sqc}="sqlcipher"
alias sq-cli="litecli" # doesn't work with sqlcipher
# alias view="kitty +kitten icat" # alias view="kitty +kitten icat"
alias view="sxiv" alias view="sxiv"
alias viewer="feh -F -Z -x" alias viewer="feh -F -Z -x"
@ -108,7 +113,9 @@ alias drafts="cd ~/Documents/Code/leafbytes_drafts && ls"
alias mon="nodemon" alias mon="nodemon"
alias localhost="librewolf localhost:3000 &" alias localhost="librewolf localhost:3000 &"
alias {mi,mic}="micro" alias {mi,mic}="micro"
alias {mysql,maria,mdb}="mariadb" alias {maria,mysql,mdb}="mariadb"
alias {maria-cli,mariacli}="mycli"
alias {psql-cli,psqlcli}="pgcli"
alias rsm="doas rsm" alias rsm="doas rsm"
alias updatedb="doas updatedb" alias updatedb="doas updatedb"
alias iftop-w="doas iftop -i wlan0 -P" alias iftop-w="doas iftop -i wlan0 -P"
@ -148,7 +155,7 @@ alias {mop,market,stonks,stocks}="cd ~/aur_packages/mop && go run ./cmd/mop/main
alias {reddit,rd}="tuir" alias {reddit,rd}="tuir"
alias {sub,subreddit,subrd}="tuir -s" alias {sub,subreddit,subrd}="tuir -s"
alias qwiki="wik -i" alias qwiki="wik -i"
alias tldr="tldr" alias toolongdidntread="tldr"
alias cheatsheet="cheat" alias cheatsheet="cheat"
alias stallman="vrms" alias stallman="vrms"
alias {trans,translate}="gtktranslate" alias {trans,translate}="gtktranslate"
@ -177,7 +184,8 @@ alias {cl,cls}="clear"
alias shutdown="shutdown.sh" alias shutdown="shutdown.sh"
alias reboot="reboot.sh" alias reboot="reboot.sh"
alias curltime="curl -w \"@$HOME/Documents/notes/curl-format.txt\" -o /dev/null -s" alias curltime="curl -w \"@$HOME/Documents/notes/curl-format.txt\" -o /dev/null -s"
alias inxi-w="inxi --weather-location 90004" source ~/.zip_code
alias inxi-w="inxi --weather-location "${ZIPCODE}""
alias forecast="curl -s 'http://wttr.in/losangeles'" alias forecast="curl -s 'http://wttr.in/losangeles'"
alias pf="pfetch" alias pf="pfetch"
alias ipaddr="curl ifconfig.me/all.json | jq" alias ipaddr="curl ifconfig.me/all.json | jq"
@ -192,6 +200,7 @@ alias rust_upgrade="rustup update"
alias nb="newsboat" alias nb="newsboat"
alias slink="streamlink" alias slink="streamlink"
alias scrot="scrot --count --delay" alias scrot="scrot --count --delay"
alias grip="grip 6969"
alias sudoku="sku" alias sudoku="sku"
# pip list and pip freeze command list pip packages # pip list and pip freeze command list pip packages
@ -270,6 +279,7 @@ alias hackernoon="librewolf https://hackernoon.com/ &"
alias theregister="librewolf https://www.theregister.com &" alias theregister="librewolf https://www.theregister.com &"
alias apnews="links https://apnews.com" alias apnews="links https://apnews.com"
alias sheldonbrown="links https://sheldonbrown.com" alias sheldonbrown="links https://sheldonbrown.com"
alias somafm="links https://somafm.com"
alias {viruscomix,subnormality}="librewolf https://viruscomix.com/subnormality.html &" alias {viruscomix,subnormality}="librewolf https://viruscomix.com/subnormality.html &"
alias morningmark="librewolf https://twitter.com/MoringmarkMark &" alias morningmark="librewolf https://twitter.com/MoringmarkMark &"
# sustainable clothing brands (shoes and underwear) # sustainable clothing brands (shoes and underwear)
@ -362,6 +372,8 @@ alias opengroup="librewolf https://publications.opengroup.org/ &"
alias hugo="librewolf https://gohugo.io/ &" alias hugo="librewolf https://gohugo.io/ &"
# for downloading web fonts # for downloading web fonts
alias gfontshelper="librewolf https://google-webfonts-helper.herokuapp.com/fonts &" alias gfontshelper="librewolf https://google-webfonts-helper.herokuapp.com/fonts &"
#gfi is a utility that downloads google fonts from the cli:
alias google-font-installer="gfi"
# for icons(use svg codes as they are faster) alias iconify="librewolf https://iconify.design/ &" for domain names # for icons(use svg codes as they are faster) alias iconify="librewolf https://iconify.design/ &" for domain names
alias namecheap="librewolf https://namecheap.com/ &" alias namecheap="librewolf https://namecheap.com/ &"
# a great introduction to tls/ssl practices and rules of thumb: # a great introduction to tls/ssl practices and rules of thumb:

33
calcurse/conf Normal file
View file

@ -0,0 +1,33 @@
appearance.calendarview=monthly
appearance.compactpanels=no
appearance.defaultpanel=calendar
appearance.layout=1
appearance.headerline=yes
appearance.eventseparator=yes
appearance.dayseparator=yes
appearance.emptyline=yes
appearance.emptyday=--
appearance.notifybar=yes
appearance.sidebarwidth=38
appearance.theme=blue on default
appearance.todoview=hide-completed
appearance.headingpos=right-justified
daemon.enable=no
daemon.log=no
format.inputdate=1
format.notifydate=%a %F
format.notifytime=%T
format.appointmenttime=%H:%M
format.outputdate=%D
format.dayheading=%B %e, %Y
general.autogc=no
general.autosave=yes
general.confirmdelete=yes
general.confirmquit=yes
general.firstdayofweek=monday
general.multipledays=yes
general.periodicsave=0
general.systemevents=yes
notification.command=printf '\a'
notification.notifyall=flagged-only
notification.warning=300

File diff suppressed because one or more lines are too long

View file

@ -1,8 +1,30 @@
/home/brian/.nvm/versions/node/v17.0.1/lib /usr/lib/node_modules
├── @chemzqm/neovim@5.7.9 remark-language-server
├── corepack@0.10.0 semver
├── live-server@1.2.2 wallpaper-cli
├── npm@8.15.0 nopt
├── nvm@0.0.4 updates
└── speed-test@3.0.0 @volar
rome
node-gyp
remark
uglifycss
lighthouse
corepack
vscode-langservers-extracted
.bin
pyright
@captainsafia
prettier
mdlt
google-font-installer
npm
dockerfile-language-server-nodejs
uglifyjs
grammarly-languageserver
emmet-ls
.package-lock.json
nodemon
jest
uglify-js
bash-language-server

File diff suppressed because one or more lines are too long

View file

@ -12,6 +12,7 @@ argcomplete 2.0.0
attrs 22.1.0 attrs 22.1.0
autocommand 2.2.1 autocommand 2.2.1
Babel 2.9.1 Babel 2.9.1
backports.csv 1.0.7
Beaker 1.11.0 Beaker 1.11.0
beautifulsoup4 4.11.1 beautifulsoup4 4.11.1
btrfsutil 5.19 btrfsutil 5.19
@ -21,6 +22,7 @@ certifi 2021.10.8
cffi 1.15.1 cffi 1.15.1
chardet 3.0.4 chardet 3.0.4
charset-normalizer 2.1.1 charset-normalizer 2.1.1
cli-helpers 2.2.1
click 7.1.2 click 7.1.2
colorama 0.4.5 colorama 0.4.5
commonmark 0.9.1 commonmark 0.9.1
@ -28,7 +30,7 @@ ConfigArgParse 1.5.1
configobj 5.1.0.dev0 configobj 5.1.0.dev0
configparser 5.2.0 configparser 5.2.0
contextlib2 21.6.0 contextlib2 21.6.0
cryptography 37.0.4 cryptography 36.0.2
cssselect 1.1.0 cssselect 1.1.0
ctranslate2 2.10.1 ctranslate2 2.10.1
cycler 0.11.0 cycler 0.11.0
@ -43,6 +45,7 @@ dotty-dict 1.3.1
entrypoints 0.4 entrypoints 0.4
evdev 1.6.0 evdev 1.6.0
fail2ban 0.11.2 fail2ban 0.11.2
Flask 2.1.3
flit_core 3.7.1 flit_core 3.7.1
fonttools 4.37.1 fonttools 4.37.1
future 0.18.2 future 0.18.2
@ -50,6 +53,7 @@ gitdb 4.0.9
GitPython 3.1.27 GitPython 3.1.27
googletrans 3.0.0 googletrans 3.0.0
greenlet 1.1.2 greenlet 1.1.2
grip 4.6.1
gTTS 2.2.3 gTTS 2.2.3
h11 0.9.0 h11 0.9.0
h2 3.2.0 h2 3.2.0
@ -61,13 +65,16 @@ hstspreload 2021.12.1
html5lib 1.1 html5lib 1.1
httpcore 0.9.1 httpcore 0.9.1
httpx 0.13.3 httpx 0.13.3
humanize 3.1.0
hyperframe 5.2.0 hyperframe 5.2.0
idna 2.10 idna 2.10
imagesize 1.3.0 imagesize 1.3.0
importlib-metadata 4.8.2 importlib-metadata 4.8.2
importlib-resources 5.9.0
inflect 6.0.0 inflect 6.0.0
injector 0.19.0 injector 0.19.0
isodate 0.6.1 isodate 0.6.1
itsdangerous 2.1.2
jaraco.context 4.1.2 jaraco.context 4.1.2
jaraco.functools 3.5.1 jaraco.functools 3.5.1
jaraco.text 3.9.1 jaraco.text 3.9.1
@ -84,6 +91,7 @@ LibAppArmor 3.1.1
libfdt 1.6.1 libfdt 1.6.1
libvirt-python 8.7.0 libvirt-python 8.7.0
lit 14.0.6.dev0 lit 14.0.6.dev0
litecli 1.8.0
log-symbols 0.0.14 log-symbols 0.0.14
louis 3.22.0 louis 3.22.0
lxml 4.9.1 lxml 4.9.1
@ -97,6 +105,7 @@ meson 0.63.1
milc 1.6.6 milc 1.6.6
more-itertools 8.13.0 more-itertools 8.13.0
msgpack 1.0.4 msgpack 1.0.4
mycli 1.25.0
neovim 0.3.1 neovim 0.3.1
netsnmp-python 1.0a1 netsnmp-python 1.0a1
nodeenv 1.6.0 nodeenv 1.6.0
@ -106,17 +115,25 @@ numpy 1.23.2
ordered-set 4.1.0 ordered-set 4.1.0
packaging 21.3 packaging 21.3
parsedatetime 2.6 parsedatetime 2.6
path-and-address 2.0.1
peewee 3.15.2 peewee 3.15.2
pendulum 2.1.2
pep517 0.13.0 pep517 0.13.0
pgcli 3.4.1
pgspecial 2.0.1
Pillow 9.2.0 Pillow 9.2.0
pip 22.2.2 pip 22.2.2
platformdirs 2.5.2 platformdirs 2.5.2
ply 3.11 ply 3.11
progress 1.6 progress 1.6
protobuf 4.21.4 prompt-toolkit 3.0.31
protobuf 4.21.5
protonup 0.1.4 protonup 0.1.4
psutil 5.9.0 psutil 5.9.0
psycopg 3.1
psycopg2 2.9.3
py3nvml 0.2.7 py3nvml 0.2.7
pyaes 1.6.1
pyalpm 0.10.6 pyalpm 0.10.6
pybind11 2.10.0 pybind11 2.10.0
pycairo 1.21.0 pycairo 1.21.0
@ -127,10 +144,12 @@ pydantic 1.10.1
Pygments 2.13.0 Pygments 2.13.0
PyGObject 3.42.2 PyGObject 3.42.2
pyinotify 0.9.6 pyinotify 0.9.6
PyMySQL 1.0.2
pynput 1.7.6 pynput 1.7.6
pynvim 0.4.3 pynvim 0.4.3
pyOpenSSL 22.0.0 pyOpenSSL 22.0.0
pyparsing 3.0.9 pyparsing 3.0.9
pyperclip 1.8.2
PyQt5 5.15.7 PyQt5 5.15.7
PyQt5-Qt5 5.15.2 PyQt5-Qt5 5.15.2
PyQt5-sip 12.9.0 PyQt5-sip 12.9.0
@ -144,6 +163,7 @@ python-dateutil 2.8.2
python-xlib 0.31 python-xlib 0.31
pythondialog 3.5.3 pythondialog 3.5.3
pytz 2021.3 pytz 2021.3
pytzdata 2020.1
pyusb 1.2.1 pyusb 1.2.1
pyxdg 0.28 pyxdg 0.28
pyxel 1.6.1 pyxel 1.6.1
@ -161,7 +181,8 @@ Rx 3.2.0
screenkey 1.5 screenkey 1.5
SecretStorage 3.3.3 SecretStorage 3.3.3
sentencepiece 0.1.96 sentencepiece 0.1.96
setuptools 62.3.3 setproctitle 1.3.1
setuptools 62.3.4
shellingham 1.4.0 shellingham 1.4.0
shtab 1.5.5 shtab 1.5.5
six 1.16.0 six 1.16.0
@ -179,12 +200,16 @@ sphinxcontrib-jsmath 1.0.1
sphinxcontrib-qthelp 1.0.3 sphinxcontrib-qthelp 1.0.3
sphinxcontrib-serializinghtml 1.1.5 sphinxcontrib-serializinghtml 1.1.5
spinners 0.0.24 spinners 0.0.24
sqlglot 5.3.1
sqlparse 0.4.2
stanza 0.3 stanza 0.3
streamlink 4.3.0 streamlink 4.3.0
tabulate 0.8.10
TBB 0.2 TBB 0.2
team 1.0 team 1.0
tenacity 8.0.1 tenacity 8.0.1
termcolor 1.1.0 termcolor 1.1.0
terminaltables 3.1.0
thefuck 3.32 thefuck 3.32
tldr 3.1.0 tldr 3.1.0
toml 0.10.2 toml 0.10.2
@ -200,12 +225,13 @@ ufw 0.36.1
urllib3 1.26.12 urllib3 1.26.12
urwid 2.1.2 urwid 2.1.2
validate 5.1.0.dev0 validate 5.1.0.dev0
validate-pyproject 0.9 validate-pyproject 0.10.1
vrms-arch 1.0 vrms-arch 1.0
wcwidth 0.2.5 wcwidth 0.2.5
webcolors 1.12 webcolors 1.12
webencodings 0.5.1 webencodings 0.5.1
websocket-client 1.4.0 websocket-client 1.4.0
Werkzeug 2.2.1
wheel 0.37.1 wheel 0.37.1
wik 1.1.0 wik 1.1.0
xmltodict 0.12.0 xmltodict 0.12.0

View file

@ -25,30 +25,51 @@ Download and install in virtmanager Windows 10 iso (for purposes of software tes
Use this site (microsoft only has .exe now... 64 bit, version 21H2) Use this site (microsoft only has .exe now... 64 bit, version 21H2)
https://www.itechtics.com/windows-10-download-iso/ https://www.itechtics.com/windows-10-download-iso/
Install various file compressors/decompressors To understand google-font-installer(gfi): visit: https://github.com/lordgiotto/google-font-installer
doas pacman -S pax lzip Install legit (generic license generator):
paru rzip doas npm install -g @captainsafia/legit
Install certbot Install mycli (syntax highlighter/autocompleter for mariadb)
doas pacman -S certbot paru mycli
Install uglify-js and uglifycss: Install pgcli (same for mycli, but for postgres)
doas npm install -g uglify-js uglifycss paru pgcli (you may need to also install psycopg)
Uninstall speed-test and install speedtest (i know...) pip install psycopg
doas npm uninstall -g speed-test To test, you should create a test table(you don't use psql that often, so create a table to test this out):
paru speedtest-cli Install litecli(same as mycli, but for sqlite)
Install python seoanalyzer: paru litecli
pip3 install pyseoanalyzer Install updates for npm (checks if dependencies in local directory are up to date)
doas npm i -g updates
Install lighthouse into Ungoogled Chromium(chrome webstore and crxextractor.com) and via npm: Install calcurse (ncurses calendar app)
doas npm install -g lighthouse paru calcurse
cp ~/Documents/notes/calcurse/conf ~/.config/calcurse/
Install wallpaper-cli (alternative to feh for wallpaper fill)
doas npm i -g wallpaper-cli
Install google-font-installer:
doas npm install -g google-font-installer
Install grip (markdown previewer specifically for github)
paru grip (check, should be 4)
Install mdlt (command line calculator)
doas npm i -g mdlt
create a .zip_code file with ZIPCODE=
in .aliases, above inxi-w alias:
source .zip_code