I hereby claim:
- I am fourkbomb on github.
- I am forkbomb (https://keybase.io/forkbomb) on keybase.
- I have a public key whose fingerprint is 4F98 1269 CD18 D0FC 9E52 5758 218B 5314 6B8C FF77
To claim this, I am signing this object:
// gcc -l X11 conway.c | |
#include <X11/XKBlib.h> | |
#include <X11/Xlib.h> | |
#include <X11/keysym.h> | |
#include <inttypes.h> | |
#include <stdbool.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <time.h> |
with open('in') as f: | |
R, C = map(int, f.readline().split()) | |
tramp = [] | |
for line in f: | |
tramp.append(list(map(int, f.readline().split()))) | |
q = [((0, 0))] | |
done = set() | |
while q: | |
cur = q.pop() |
I hereby claim:
To claim this, I am signing this object:
#!/bin/sh | |
# this requires jshon, awk and sed | |
if ip addr | grep wlan0 | grep UP 2>&1 >/dev/null; then | |
# we have wifi | |
URL=$(curl http://c.xkcd.com/random/comic/ --dump-header - | grep Location | awk '{print $2}' | sed 's/\r//g') | |
JSON=`curl "$URL"info.0.json` | |
wget $(echo $JSON | jshon -e img | sed 's/"//g' | sed 's/\\//g') -O $HOME/.xkcd.png | |
fi | |
i3lock -i ~/.xkcd.png -c 000000 -t |