Skip to content

Instantly share code, notes, and snippets.

View echohack's full-sized avatar
🎥
twitch.tv/echohack

echohack echohack

🎥
twitch.tv/echohack
View GitHub Profile
@echohack
echohack / shellcheck.sh
Created November 9, 2020 18:44
Shellcheck CI Cycle
#!/bin/bash
set -euo pipefail
# Run shellcheck against any files that appear to be shell script based on
# filename or `file` output
# Exclude *.ps1 files because shellcheck doesn't support them
# Exclude hooks and config because the handlebars syntax confuses shellcheck
# Exclude the following shellcheck issues since they're pervasive and innocuous:
# https://github.com/koalaman/shellcheck/wiki/SC1008
sudo kmutil load -p /Library/Extensions/UAD2System.kext
@echohack
echohack / password_paste.js
Created December 6, 2021 18:20
Allow me to paste into any password field
var allowPaste = function(e){
e.stopImmediatePropagation();
return true;
};
document.addEventListener('paste', allowPaste, true);