Simple scripts in different langages to handle basic day to day functions.
Search for specific docker image tags
$ dtagsearch.sh debian
bullseye-20200224
unstable-20200130-slim
unstable-20200130
testing-20200130-slim
testing-20200130
stretch-20200130-slim
...
Returns a docker image size able of looking for specific tag
$ dimgsize.sh debian buster-20200224
49Mi
Fix subtitle files encoding problem -> convert to utf-8. Script contains commented usecase.
Creates a list of packages installed from a specific category
pkgs-from.sh universe
Safely unmont and poweroff an external drive
-
syncs everything on buffers
-
Unmounts all partitions on selected device
-
Then poweroff the block device
$ unmount.sh start syncing... ------------------ sda SE600R 246G sdb SW700L 485G ------------------ Enter device name: (sd[b-z])
Converts Gregorian & Jalali
$ gjc.py 2020/04/10
Shows the details of currently playing track in Clementine music player
# While nothing is playing
$ now_playing_clementine.py
.:: ♪♪♪ ::..
vimcat from vim, to cat files in a colorful way
Prints out the persian day of the week
Request a new IP address
Softly blocks/unblocks wifi using nmcli
Softly enable/disable touchpad using xinput
Run multiple mount command cause I'm too lazy to do it myself.
This repository is available both at github and gitlab: