this does not use the traditional "RRRGGGBB" 256 colour palette for no authenticity
-
put filter.svg at the root of the web site
-
paste the contents of style.css into your css
/* | |
born to queue | |
sidekiq is a fuck | |
retry all 1989 | |
i am task man | |
*/ | |
@-moz-document regexp(".*/sidekiq(?:$|/.*)") { | |
a[href$="/morgue"] span.desc::after { | |
content: " cops"; |
import pickle | |
from mastodon import Mastodon | |
INSTANCE = 'http://localhost:3000' | |
with open('app_credentials.pickle', 'ab+') as f: | |
try: | |
f.seek(0) | |
(client_id, client_secret) = pickle.load(f) | |
except Exception: |
["According to all known laws of aviation, there is no way a bee should be able to fly.", | |
"Its wings are too small to get its fat little body off the ground.", | |
"The bee, of course, flies anyway because bees don't care what humans think is impossible.", | |
"Yellow, black.", | |
"Yellow, black.", | |
"Yellow, black.", | |
"Yellow, black.", | |
"Ooh, black and yellow!", | |
"Let's shake it up a little.", | |
"Barry!", |
According to all known laws | |
of aviation, | |
there is no way a bee | |
should be able to fly. | |
Its wings are too small to get | |
its fat little body off the ground. | |
The bee, of course, flies anyway |
#!/bin/bash | |
set -eufo pipefail | |
SIZE=0 | |
F=$(mktemp --tmpdir b2-bucket-size.json.XXXX) | |
b2 list-file-versions $1 > $F | |
while true; do | |
SIZE=$[$SIZE + $(jq -r '[.files[].contentLength] | add' $F)] |
from threading import Thread | |
from functools import wraps | |
def background(fun): | |
@wraps(fun) | |
def wrapper(*args, **kwargs): | |
Thread(target=fun, args=args, kwargs=kwargs).start() | |
return wrapper |
let pico8_gpio = Array(128); | |
(() => { | |
let clock_start = Date.now(); | |
function update_clock(){ | |
let t = Date.now() - clock_start; | |
for(let i = 0; i < 6; i++){ | |
pico8_gpio[i] = Math.floor(((t / 100) % Math.pow(256, i+1)) / Math.pow(256, i)) | |
} | |
requestAnimationFrame(update_clock); | |
} |