Shell ( and some times bash ) script that make my day easier!
CONTEXT: I use Arch Linux with dwm, hence most of the scripts use dmenu. I also don't like to use GUI programs (expect Chromium), so many of the scripts, fill the gap.
If you like to know more about my Setup, My Dearest Dotfiles
Here are some of the scripts,
Runs multiple testcases for me, dectects filetype and can handle TLE
s. Comes
in handy while doing Competative Programming.
Play songs from youtube playlists in the background, without frying my CPU.
I dont have any app to diplay docx format, so i compile them to HTML using
pandoc
and view them instead.
ffmpeg script used for making compilation video from images
its a one liner that provides all the emojis i need at my fingertips
How I Met Your Mother is a web series i watch, it was avaliable on youtube in short clips. so i used yt-dlp to get all video ids and got sequence of episodes from wikipedia and now use this script to watch them serially.
I watch mit open course ware lectures, so i wrote this script that automated the whole process (keeping track of what lecture i watched, getting id of next lecture, getting notes and other resources from comfort of dmenu etc.)
This is frontend for mocp so that it is compatible with the format i use to store music. with other features like playing songs according to class or languge.
This script download songs from youtube, extracts audio and stores them organised in a format which i use.
helps me revisor my notes
for taking full or cropped screenshots and screen recordings. uses slop
and
scrot
This is script adds 5 commits every day to my github to keep the stats green.
These commands use github api for task i am lazy to do myself.
commands | function |
---|---|
create-repo | create github repos |
rm-repo | remove github repo |
merge-release-master | merges release branch into master branch |
update-remote | updates git remote for personal acccess tokens |
g | add, commits and pushes changes to origin |
I wrote this script to store ip and port of devices i ssh into. it can mount remote server as local directory using sshfs.
I dont use any file managers, so this script mounts and dismounts external devices.
scripts i wrote for audio, video processing
scripts | functions |
---|---|
extractaudio | extract audio from video files |
cutmedia | crop audio, video files |
replaceaudio | replace audio stream |