Skip to content

Instantly share code, notes, and snippets.

@desantis
desantis / keybase.txt
Created March 28, 2019 15:49
[keybase.io/home] <-> [simpsonms.org]
==================================================================
https://keybase.io/home
--------------------------------------------------------------------
I hereby claim:
* I am an admin of https://simpsonms.org
* I am home (https://keybase.io/home) on keybase.
* I have a public key ASCXK7tAzySlIwBarJ6n2BMrZp_d4Mftc9B3Nvof0TF-igo
@desantis
desantis / keybase.md
Created March 28, 2019 13:14
keybase.md

Keybase proof

I hereby claim:

  • I am desantis on github.
  • I am home (https://keybase.io/home) on keybase.
  • I have a public key ASCXK7tAzySlIwBarJ6n2BMrZp_d4Mftc9B3Nvof0TF-igo

To claim this, I am signing this object:

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: SKS 1.1.6
Comment: Hostname: pgp.mit.edu
mQINBFdQq7oBEADEVhyRiaL8dEjMPlI/idO8tA7adjhfvejxrJ3Axxi9YIuIKhWU5hNjDjZA
iV9iSCMfJN3TjC3EDA+7nFyU6nDKeAMkXPbaPk7ti+Tb1nA4TJsBfBlmCC14aGWLItpp8sI0
0FUzorxLWRmU4kOkrRUJCq2kAMzbYWmHs0hHkWmvj8gGu6mJWU3sDIjvdsm3hlgtqr9grPEn
j+gA7xetGs3oIfp6YDKymGAV49HZmVAvSeoqfL1ppEKlNQ1aO9uNfHLdx6+4pS1miyo7D1s7
ru2IcqhTDhg40cHTL/VldC3d8vXRFLIiUo2tFZ6J1jyQP5c1K4rTpw3UNVne3ob7uCME+T1+
ePeuM5Y/cpcCvAhJhO0rrlr0dP3lOKrVdZg4qhtFAspC85ivcuxWNWnfTOBrgnvxCA1fmBX+
@desantis
desantis / blocktoimg.py
Created September 16, 2018 09:18 — forked from laanwj/blocktoimg.py
tools to write (block) data to png files and vice versa
#!/usr/bin/env python3
# Distributed under the MIT software license
import binascii, struct, sys, io, argparse
from PIL import Image
IMG_WIDTH = 512 # could be made adaptive...
MIN_HEIGHT = 4 # minimum height of image; twitter won't let us upload anything smaller
BYTES_PER_PIXEL = 4 # RGBA, 8 bit
def div_roundup(x,y):
@desantis
desantis / gitian.md
Created September 16, 2018 09:18 — forked from laanwj/gitian.md
gitian buildling on debian 9.5

Some changes are needed to build on debian because of the switch of the guest OS to bionic.

lxc that comes with debian is not high enough version to support bionic (the minimum is 2.1.1), so need to build from scratch.

debootstrap that comes with debian will give the following error:

    $ bin/make-base-vm --lxc --suite bionic --arch amd64                                                                                              
 E: No such script: /usr/share/debootstrap/scripts/bionic
! Action Spaces
CoalMine, WheatField, GoldMine: [Current(2), Addition(5), Maximum(10), SpaceTaken(0)].
CoalMine'Addition(2).
WheatField'Addition(3).
GoldMine'Addition(1).
! Player info
PlayerCoal(0).
PlayerWheat(0).

Keybase proof

I hereby claim:

  • I am desantis on github.
  • I am atd (https://keybase.io/atd) on keybase.
  • I have a public key ASDSe9Y5ZiacZylF16ERmLpWu8qHa-sP6TUhJfzx1lPg5Qo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am desantis on github.
  • I am atd (https://keybase.io/atd) on keybase.
  • I have a public key whose fingerprint is 9798 5F15 4FFB EA6C D43F B7CC 49A3 FB77 FD1B 9FC6

To claim this, I am signing this object:

/*
* Copyright (c) 2013-2016 Andrew DeSantis
* Copyright (c) 2016 DeSantis Inc.
*/
/* ATD Library */
#include "deArray.h"
#ifdef __cplusplus
extern "C" {
@desantis
desantis / keybase.txt
Created September 18, 2016 11:30
andrewdesantis.com/keybase.txt
==================================================================
https://keybase.io/atd
--------------------------------------------------------------------
I hereby claim:
* I am an admin of https://andrewdesantis.com
* I am atd (https://keybase.io/atd) on keybase.
* I have a public key with fingerprint AC41 133F 4F51 7262 42EA D8CA DFCF EC9D 8C97 C8C8