Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am setupminimal on github.
  • I am setupminimal (https://keybase.io/setupminimal) on keybase.
  • I have a public key ASDZmEqaOFR6V4KwdYtr6cA-nJ1uSoBhkXkWRSyDthd6aQo

To claim this, I am signing this object:

@setupminimal
setupminimal / main.py
Created January 13, 2018 16:10
A program to make 'dueling watercolors'
import numpy
from PIL import Image
import random
import os
WIDTH, HEIGHT = 30, 30
SCALE = 10
randData = numpy.random.rand(WIDTH, HEIGHT, 3) * 255
@setupminimal
setupminimal / Test.txt
Created August 13, 2016 14:22
A test, to allow me to play around with the github api.
This is a test to allow me to play around with the github api.
@setupminimal
setupminimal / reverse.rkt
Created June 5, 2015 14:23
A module language that reverses s-expressions.
#lang racket
(provide (except-out (all-from-out racket)
#%module-begin)
(rename-out [module-begin #%module-begin]))
(define-syntax-rule (module-begin expr ...)
(#%module-begin
(eval (reverse-all '(expr ... begin)))))
@setupminimal
setupminimal / rpn.rkt
Created May 31, 2015 16:42
Racket RPN Transformation
#lang racket
(require syntax/strip-context)
; A '#lang reader' language must provide read and read-syntax, which return a module form
; The idea is that "3 4 +:2 7 eq?:2" gets turned into '(module anything racket (eq? (+ 3 4) 7))
(provide (rename-out [rpn-read read]
[rpn-read-syntax read-syntax]))