kilabit.info
| AmA | Build | Email | GitHub | Mastodon | Projects | SourceHut

A collection of shell scripts.

Scripts

chmod-x.sh:: Script to recursively scan directory and remove executable-bit from file that may not an executable.

git-update-all.sh:: Script fetch the latest commits from all git repositories under a directory.

jwt-decode.sh:: Script to decode JWT with optional secret to check for signature.

tmux-session.sh:: Script to open new tmux session with start directory based on configuration in ~/.tmux.session.

wg-activate.sh:: Script that activate only one wireguard connection from list of configuration in /etc/wireguard/*.conf or turning off all of them if no parameter is given.

Installation

Clone the repository,

$ git clone https://git.sr.ht/~shulhan/bin.sh

Go to inside the cloned repository and run

$ sudo make install

To uninstall it, run

$ sudo make uninstall

Development

https://git.sr.ht/~shulhan/bin.sh

Link to the source code.