Utils is a collection of config files and scripts that I've written and collected over the years.
Warning
Some of these files were NOT tested enough to my standards. I've noted the files you should be careful with in the files list below.
- .vimrc: I did not write this. I downloaded this years ago, and unfortunately, I've lost the name of the original author.
- .zshrc: Customises the ZSH environment (prompt design, extensions, &c.) to my liking.
- Microsoft.PowerShell_profile.ps1: [NOTE:
gcm
(git commit -m
) requiresRemove-Alias
introduced in PowerShell 6.0+.] Customises PowerShell in my Windows systems.
- compi: Automatically compresses image into different levels. Featured in Automated Image Compression for Web Development with Python.
- compv: Automatically compresses videos for low data transfers. See docs in file.
- journey: Submodule to Journey, a BASH-enabled journal/diary system.
- erase-all-forge-keybindings.sh†: Deletes all the keybinding for the Forge extension on GNOME. This one is niche, imo.
- extractall†: Extract all compressed packages into their own directories. I've only used this for extracting arrays of IMG files (this is how a lot of retro software is packaged) on Linux.
- git-myinit: Typical
git init
but it autoadds an ignore file. - git-rebaseall‡: Rebase multiple branches into the current branch.
- git-update: Fetches and prints the status
- json2csv: Automatically converts JSONs to CSVs, if compatible. Really unstable.
- mkfile:
touch
with support for directories - ts2mp4: Converts all TSs in the current directory and converts them to MP4.
Notes:
† Are not tested well enough for my standards.
‡ Tested well enough but still may produce unexpected results due to the use of wildcards. (My regex skills suck).
- Copy with repo to your machine:
git clone https://github.com/noahdominic/utils.git
- Done.
- Edit
setup-git.sh
to change my details to yours in the config params. If you're me, reader, you don't have to do this step. - Run
setup-git.sh
. You may need to enable execution permissions withchmod +x setup-git.sh
. - Done.
- Run
setup-zsh.sh
. You may need to enable execution permissions withchmod +x setup-zsh.sh
. - Done.
- Add the location of your local machine's copy of this repo,
scripts/
, and all subdirectories to yourPATH
. If you use zsh, this setting is already in .zshrc .
This repo is primarily maintained for personal use, and contributions are not actively sought. However, if you encounter issues or identify bugs, your corrections and bug fixes are welcomed and appreciated 😊
Thank you for understanding and contributing to the quality of this repository.
compi
, compv
, journal
, and any other file whose source code or directory contains a notice indicating it to be so, are licensed under the European Union Public Licence v1.2.
Unless indicated to not be the case, this repo's files are licensed under the BSD Licence 2.0 ('3-clause BSD Licence', 'Revised BSD Licence', 'New BSD Licence', or 'Modified BSD Licence').