View karabiner.json
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
{ | |
"global": { | |
"ask_for_confirmation_before_quitting": true, | |
"check_for_updates_on_startup": true, | |
"show_in_menu_bar": true, | |
"show_profile_name_in_menu_bar": false, | |
"unsafe_ui": false | |
}, | |
"profiles": [ | |
{ |
View install_node_suite.sh
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 |
View .zshrc
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
if [ -s "$HOME/.nvm/nvm.sh" ]; then | |
export NVM_DIR="$HOME/.nvm" | |
nvm() { | |
unset -f nvm | |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | |
nvm $@ | |
} | |
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" | |
DEFAULT_NODE_VER="$(cat "$NVM_DIR/alias/default" 2> /dev/null)" | |
while [ -s "$NVM_DIR/alias/$DEFAULT_NODE_VER" ] && [ ! -z "$DEFAULT_NODE_VER" ]; do |
View curl_wget_test.sh
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: $@ |
View de_regular_german_kjoetoms-time-moves-1_mb-h4cker-edition_de60-en40_ext.txt
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
e (E) = C T L C | |
d (D) = C T L B C | |
z (Z) = C T L B R C | |
q (Q) = C T L B R T C | |
s (S) = C R T C | |
g (G) = C R T L C | |
v (V) = C R T L B C | |
x (X) = C R T L B R C | |
c (C) = C B R C | |
u (U) = C B R T C |
View 8vim2txt.py
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') |
View .stglobalignore
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 |
View gist:7c401af831e35343474e6a6aa69c11cc
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
[ 0.000000] Linux version 5.4.174-2-pve (build@proxmox) (gcc version 8.3.0 (Debian 8.3.0-6)) #1 SMP PVE 5.4.174-2 (Thu, 10 Mar 2022 15:58:44 +0100) () | |
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-5.4.174-2-pve root=/dev/mapper/pve-root ro quiet | |
[ 0.000000] KERNEL supported cpus: | |
[ 0.000000] Intel GenuineIntel | |
[ 0.000000] AMD AuthenticAMD | |
[ 0.000000] Hygon HygonGenuine | |
[ 0.000000] Centaur CentaurHauls | |
[ 0.000000] zhaoxin Shanghai | |
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers' | |
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers' |
View bootstrap.model.wrapper.js
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, |
View 00default-release
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"; |
NewerOlder