A mix of bash environment config, other misc config, backups, and random (personal) scripts. Needs heavy cleanup.
-
get-baby-names: Pulls the top 8077 baby names in 2017, for boys, from NameCensus, and writes them to a text file. The site's routes were restructured, so this script no longer functions.
-
git-sync: pushes local changes to a remote git repository. It assumes that I work from multiple computers and forget about the changes I push, so makes sure to pull remote changes; stash them; and then push the current local changes. It needs refactoring, particularly building guards using the
trap
builtin. To be used with acron
job or asystemd timer
. -
init-dimm-sensors: instantiates an i2c dimm device so that the
sensor-temps
script, listed below, is able to parse temprature data about my laptop's ram. To be used with asystemd service
. -
sensor-temps: uses
lm_sensors
,jq
, andhddtemps
to provide hardware temprature data and fan speeds for pretty printing in the Gnome top bar. Depends on the Gnome Shell Extension Executor. Here's what the output looks like when run: -
touchpad-button-config: Removes middle click functionality from the Dell XPS 13 Developer Edition laptop, since middle click had closed tabs in Firefox (wrote this up for my SO). I believe this only works on that machine with X11 running.
-
gen-translate-urls: Generates a bookmarks file for Firefox, and functions for command line execution, allowing omnibar bookmark and command line based translate from any DeepL supported language to any DeepL suported language.
-
translate: this is the resultant
rc
file generated bygen-search-urls
, which provides command line DeepL translate functions when sourced. -
fedora-28-jss-autosnapshot: creates VirtualBox backups of a Fedora 28 based Jamf Pro instance.
-
gen-patched-kgpe-d16-bios: This script downloads all bios versions for the ASUS KGPE-D16 dual socket Opteron motherboard, and patches the earlies bios with the next latest bios, successively, generating a bios patched against all the newest bioses. I wrote this script because the motherboard didn't support my cpus and I was too lazy to figure out which bios I needed and if I'd need to install all the bioses, from earlies to latest, in order for my cups to be supported. This script has it's own repo, so you can get more detail there.