I hereby claim:
- I am glsignal on github.
- I am glsignal (https://keybase.io/glsignal) on keybase.
- I have a public key whose fingerprint is 7859 5B92 BDDB B592 D883 C243 2DAA 0884 BE89 5380
To claim this, I am signing this object:
| function asyncSleep(timeout) { | |
| return new Promise(function (resolve) { | |
| setTimeout(function () { | |
| resolve(); | |
| }, timeout + Math.random() * 300 /* jitter */); | |
| }); | |
| } | |
| async function removeFollows() { | |
| console.log("Looking for targets"); |
| # Tweaked from the snipped linked to in https://medium.com/@lmindler/using-sketch-3-and-a-bit-of-fairy-dust-for-a-better-android-workflow-f667d0048855 | |
| # Edit the array of densities below depending on what you export. | |
| # Just add in the qualifier (i.e. 'm' for mdpi) - the dpi is | |
| # added automatically | |
| for density in {l,m,h,xh,xxh,xxxh}dpi; do | |
| mkdir drawable-$density | |
| for file in `find . -type f -iname "*-$density*"`; do | |
| mv "$file" "drawable-$density/${file/-$density/}" | |
| done | |
| done |
I hereby claim:
To claim this, I am signing this object:
| heroku apps | sed -e "s/^===.*$//" | sed "/^$/d" | cut -d " " -f 1 | while read f; do echo $f && heroku addons:add pgbackups --app $f ; heroku pgbackups:capture --app $f && curl -o "${f} $(date).pgbackup" $(heroku pgbackups:url --app $f); done |
| python=$(which python) | |
| if [ -n "$python" ]; then | |
| python_major=$(python -V 2>&1 | cut -d " " -f 2 | cut -d "." -f 1) | |
| if [ $python_major -lt 3 ]; then | |
| alias webme='python -m SimpleHTTPServer' | |
| else | |
| alias webme='python -m http.server' | |
| fi | |
| fi |