Skip to content

Instantly share code, notes, and snippets.

Anders Kaseorg andersk

Block or report user

Report or block andersk

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@andersk
andersk / check-ubuntu-version-monotonicity.py
Last active Jul 6, 2018
check-ubuntu-version-monotonicity
View check-ubuntu-version-monotonicity.py
#!/usr/bin/python3
import apt_pkg
import debian.deb822
import gzip
import sys
from io import BytesIO
from ubuntutools.lp.lpapicache import Distribution
from urllib.request import urlopen
COMPONENTS = ["main", "restricted", "universe", "multiverse"]
View blockstack.txt
Verifying my Blockstack ID is secured with the address 1CeTh4qPiCrs57JwpeQuWYM9spvCdungNp https://explorer.blockstack.org/address/1CeTh4qPiCrs57JwpeQuWYM9spvCdungNp
View flowsnake.hs
-- http://codegolf.stackexchange.com/questions/50521/ascii-art-of-the-day-2-flow-snakes
import Control.Applicative -- not needed in GHC 7.10
(?)=div
(%)=mod
t[a,b]=[3*a+b,2*b-a]
_#[0,0]=0
0#_=3
n#p=[352,6497,2466,-1]!!((n-1)#t[(s+3)?7|s<-p])?(4^p!!0%7)%4
View onename.txt
Verifying that +andersk is my Bitcoin username. You can send me #bitcoin here: https://onename.io/andersk
View keybase.md

Keybase proof

I hereby claim:

  • I am andersk on github.
  • I am andersk (https://keybase.io/andersk) on keybase.
  • I have a public key whose fingerprint is 6A3C 67D7 F011 900C C539 248B DFF3 AB37 4F16 F73A

To claim this, I am signing this object:

You can’t perform that action at this time.