This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# OH-MY-ZSH (https://ohmyz.sh/) terminal theme | |
local black=$fg[black] | |
local red=$fg[red] | |
local blue=$fg[blue] | |
local green=$fg[green] | |
local yellow=$fg[yellow] | |
local magenta=$fg[magenta] | |
local cyan=$fg[cyan] | |
local white=$fg[white] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Enable the use of userChrome.css and userContent.css | |
user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true); // default is false | |
// Disable Telemetry | |
user_pref("browser.urlbar.trimURLs","false"); | |
user_pref("browser.newtabpage.activity-stream.feeds.telemetry browser.newtabpage.activity-stream.telemetry","false"); | |
user_pref("browser.pingcentre.telemetry","false"); | |
user_pref("devtools.onboarding.telemetry-logged","false"); | |
user_pref("media.wmf.deblacklisting-for-telemetry-in-gpu-process","false"); | |
user_pref("toolkit.telemetry.archive.enabled","false"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Internet connection check and take note | |
# of the roundtrip time to specified host. | |
# | |
# For use on a panel. | |
# | |
HOST="4.2.2.2" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Extracts today's Firefox link history and leverages Rofi | |
# to present them to the user. | |
# Find all profiles' places.sqlite files. | |
dbPaths=$(find ~/.mozilla/firefox/ -type f -name "places.sqlite" -mindepth 2 -maxdepth 2 2>/dev/null) | |
for dbPath in $dbPaths; | |
do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# * * * * * <command to execute> | |
# │ │ │ │ │ | |
# │ │ │ │ │ | |
# │ │ │ │ └───── day of week (0 - 6) (0 to 6 are Sunday to Saturday, or use names; 7 is Sunday, the same as 0) | |
# │ │ │ └────────── month (1 - 12) | |
# │ │ └─────────────── day of month (1 - 31) | |
# │ └──────────────────── hour (0 - 23) | |
# └───────────────────────── min (0 - 59) | |
# --- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"Bash script header template": { | |
"prefix": "bashhead", | |
"body": [ | |
"#!/usr/bin/env bash", | |
"#", | |
"# Desc: ${1:description}", | |
"#", | |
"# Version: ${2:versionNumber}", | |
"#", | |
"# Usage: ${3:ScriptName} [${4:options}] ${5:args}", |