I hereby claim:
- I am seltyk on github.
- I am wundrweapon (https://keybase.io/wundrweapon) on keybase.
- I have a public key ASAU093QBdQ7IRAAlysSWwz-lX4a80Nc04FQ0PG0jTft-go
To claim this, I am signing this object:
#!/bin/zsh | |
# Nuclear option: kill any program whose process/command matches a PCRE. | |
# Options for `kill` are passed directly to it, e.g. `nuke -9 foo` runs `kill -9 pidof_foo`. | |
# Note: a more portable alternative to $@[-1] may be to `eval last=\$$#` then use `$last`. | |
# Note: making $@[1,-2] more portable might be a bit harder. I have no clue how it'd be done. | |
[[ $# -eq 0 ]] && echo "Usage: nuke [KILLOPTS] PROG" && return 1 || ps ax | grep -iP "^(?!.*grep).*$@[-1]" | awk '{print $1}' | xargs -I {} kill $@[1,-2] {} |
I hereby claim:
To claim this, I am signing this object:
// ==UserScript== | |
// @name No YouTube Shorts | |
// @match https://*.?youtube.com/shorts/* | |
// @version 1 | |
// ==/UserScript== | |
url = window.location.href | |
window.location.href = url.replace(/shorts\//, "watch?v=") |
// ==UserScript== | |
// @name Gmail HTML view | |
// @match https://mail.google.com/mail/* | |
// @version 1 | |
// ==/UserScript== | |
url = window.location.href | |
if(!url.includes("/h/")) window.location.href = url + "/h/" |
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
mQINBF88YEkBEAC6CjgvItyl5LCj8xcz7x0KvYh4pvk8DZmHwLFtmWrvIzfvBN0z | |
c5tRvVb+0cCEXgEnFq0oP18hqZVWuTpdVSxMKqwx0dxI9FH+HkNMZB5VgdZNwCOW | |
xS90svAU1r2Nby6Zku5LEBUdq/KVQ4Kvw6Q7ohv0WoJYxDA1Bb5M5/nXsJsZPvMC | |
ZloUM1+7srmYwrBHrTjwBe8CzC9AZxJbPduJrw3k9mbovKvgiIhaJAEVe6KBmP7n | |
EItmNLcmx2/LeXKH9on/sA/PvdSl4Szodc6kWhSBJF2nf+scSjTOyDXvyotENBn2 | |
D9K63mNacFLr68Kmd95IhuTXPUD4lAVWbSPh+JMG2a7etZAKfcm6EuC6k0b/V+B4 | |
JRGk/oTz4XLwuAjTQvYC1tnYi14P+otawERAYgo0s3wbsPYT0ANEJDBvQjHBJ93P | |
YjoPZgD6oWfpwr96ELeyqdDtHD3P9Ugrvl2As6h/628azG80TeyjR3FwcJItvu17 |