Usage: jrpc [OPTIONS]
Simple CLI tool for testing output from JSON RPC 2.0 services.
OPTIONS
-V, --version Prints the version of this script.
This file contains 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
ldwallpaper() { | |
if [ $# -lt 3 ] || [ "$1" = "-h" ] || [ "$1" = "--help" ]; then | |
echo "Creates a light and dark wallpaper for macOS." | |
echo "Usage: ldwallpaper [-h] [--help] light_image dark_image out_heic" | |
echo "" | |
return 129 | |
fi | |
command -v "exiv2" >/dev/null 2>&1 || { echo "exiv2 is not installed." >&2; return 1; } | |
command -v "heif-enc" >/dev/null 2>&1 || { echo "libheif is not installed." >&2; return 1; } | |
test -s "$1" || { echo "Light image does not exist." >&2; return 1; } |
Usage: vs [COMMAND] [REPO] [OPTIONS]
Adds, updates or deletes git source files of third party vendors in the local source storage at $HOME/.sources/.vendor.
This tool is meant to clone third party sources to compile or use without further modification.
It will try to checkout the latest tag and fallback to the latest branch, unless a prefered branch/tag is given.
If you want to load a workspace, consider forking and cloning using the normal git utility instead.
This file contains 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
#!/usr/bin/env python3 | |
from fileinput import input as fileinput | |
from xml.etree import ElementTree | |
root = ElementTree.fromstring("".join(list(fileinput()))) | |
for keyboardAction in root.findall('.//keyboardAction'): | |
keyboardActionType = keyboardAction.find('keyboardActionType') | |
movementSequence = keyboardAction.find('movementSequence') |
This file contains 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
#!/usr/bin/env sh | |
# TODO: Install nodejs | |
read npmv < <(echo $(node -e "fetch('https://nodejs.org/dist/index.json').then(r=>r.json()).then(e=>console.info(e.filter(a=>a.version=='$(node -v)')[0].npm))")) | |
# TODO: Install npm version $npmv |
This file contains 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
#!/usr/bin/env bash | |
hello() { | |
echo Hello World! | |
} | |
echo It worked! | |
echo '' | |
echo Arguments: $@ |
This file contains 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
// .stglobalignore | |
// These prevent SyncThing from trying to sync data that's locked, constantly changing, going to be thrown out, unimportant, etc. | |
// Lots of conflicts/issues disappeared using these ignores, but do check to prevent major disappointment! | |
// *.log and *cache* are in there, just so you know.. but firefox' startupCache and offlineCache will be synced. | |
// Decided to stop categorizing these. Sorting them Lexicographically from now on. Ignores are case sensitive. | |
$RECYCLE.BIN | |
$WINDOWS.~BT | |
*.!Sync |
This file contains 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
window.showBSModal = function self(options) { | |
var options = $.extend({ | |
title : '', | |
body : '', | |
remote : false, | |
backdrop : 'static', | |
size : false, | |
onShow : false, | |
onHide : false, |
This file contains 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
APT::Default-Release "testing"; |
This file has been truncated, but you can view the full file.
This file contains 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
[2021-11-21 02:30:37] xcloner_scheduler.INFO: New schedule hash is -a7718 [] [] | |
[2021-11-21 02:30:37] xcloner_scheduler.INFO: Starting backup profile 'Tägliches Backup' ["CRON"] [] | |
[2021-11-21 02:30:37] xcloner_file_system.INFO: Starting the filesystem scanner on root folder /homepages/25/d4295016535/htdocs/my-homepage-com [] [] | |
[2021-11-21 02:30:37] xcloner_file_system.INFO: Adding .htaccess to the filesystem list ["FILESYSTEM SCAN","INCLUDE"] [] | |
[2021-11-21 02:30:37] xcloner_file_system.INFO: Adding index.php to the filesystem list ["FILESYSTEM SCAN","INCLUDE"] [] | |
[2021-11-21 02:30:37] xcloner_file_system.INFO: Adding license.txt to the filesystem list ["FILESYSTEM SCAN","INCLUDE"] [] | |
[2021-11-21 02:30:37] xcloner_file_system.INFO: Adding liesmich.html to the filesystem list ["FILESYSTEM SCAN","INCLUDE"] [] | |
[2021-11-21 02:30:37] xcloner_file_system.INFO: Adding php.ini to the filesystem list ["FILESYSTEM SCAN","INCLUDE"] [] | |
[2021-11-21 02:30:37] xcloner_file_system.INFO: Adding readme.html to the filesystem |
NewerOlder