Useful code snippets and scripts
Don't F&_k with Paste// Prevents websites from blocking copy/paste
var allowPaste = function(e){
e.stopImmediatePropagation();
return true;
};
document.addEventListener('paste', allowPaste, true);
Get the current IPv4 addresscurl -s https://api.ipify.org
Get the current IPv6 addresscurl -s https://api6.ipify.org
List the available versions of a PyPi packagecurl -s https://pypi.org/pypi/<package>/json | jq '.releases | keys | .[]'