I hereby claim:
- I am metakirby5 on github.
- I am metakirby5 (https://keybase.io/metakirby5) on keybase.
- I have a public key whose fingerprint is 32EC AE2C 76AB C51F 7FF8 8DAC 3930 78BC A9F2 EED8
To claim this, I am signing this object:
0484ca2609859308d59772a02b1ee0c6d014d367c315fe6d8965d791ff011a444b05ca5c8e8f1245c1b0173a49e46be8750a305bd37522c54ece22afdcfe46af4f;IsaiahN |
// Open the sticker menu in a chat box, then paste this into the console. | |
// This will output a space-seperated and quoted list of sticker URLs. | |
// You can then download them with `wget`. | |
Array.prototype.map.call(document.getElementsByClassName('_5r8i'), (e) => { | |
return e.style.backgroundImage.slice(4, -1) | |
}).join(' ') |
#!/usr/bin/env bash | |
# Updates nginx letsencrypt domains by server_name. | |
/opt/letsencrypt/letsencrypt-auto \ | |
certonly -a webroot --webroot-path=/var/www/ssl \ | |
$(grep -hro '^\s*server_name\s\+[a-zA-Z0-9.-]\+' /etc/nginx/ | | |
sort | uniq | awk '{print "-d", $2}') |
I hereby claim:
To claim this, I am signing this object:
import os, sys, subprocess, pty, select, re | |
BUFSIZ = 1024 | |
MAGIC = '\004\004' # ctrl-D x2 | |
escape = re.compile(r'(\x9B|\x1B\[)[0-?]*[ -\/]*[@-~]') | |
data = '\n'.join([ | |
'1 + 1', | |
'2000', | |
'(function() {})', |
This shit has been bugging me for too long, so I went on a hunt and found a workaround.
The Symptoms are as follows:
PressAndHold[<pid>]: IMKServer Stall detected
is present in /var/log/system.log
at the time of the hang.It appears to be to do with the PressAndHold helper - the thing that shows an IOS style selection of accents when you hold a key down.
" Settings | |
let lastactivetablimit = 50; | |
let lastclosedtablimit = 50; | |
let blacklists = ["*://trello.com/*", "*://youtube.com/*", "*://inbox.google.com/*", "*://hackerrank.com/*"] | |
" Keys | |
let mapleader = "space" | |
map "up" scrollUp | |
map "down" scrollDown | |
map "left" scrollLeft |
@-webkit-keyframes fadein { | |
from { | |
opacity: 0; | |
} | |
to { | |
opacity: 1; | |
} | |
} | |
#sVim-command { |
._._._._._._._._._.E. | |
| ._._._. | . ._._. | | |
|_._. |_. |_| | . | | | |
|_. |_. |_._._| |_._| | |
| |_._._| . ._| |_. | | |
| ._._._. |_| ._| ._| | |
| | ._. |_| ._|_._. | | |
| ._| |_. |_._._. | | | |
|_._. | | | ._. |_. | | |
| ._|_. | | | |_. | | |