Skip to content

Instantly share code, notes, and snippets.

View dasmithii's full-sized avatar

Adam Smith dasmithii

View GitHub Profile
@dasmithii
dasmithii / example.json
Created February 16, 2014 07:47
An example return value from the Scribe image processor.
{
"xpos":0,
"ypos":0,
"width":1,
"height":1,
"children":[
{
"xpos":0.0163399,
"ypos":0.487931,
"width":0.952614,
@dasmithii
dasmithii / brainfuck addition
Last active July 9, 2018 15:38
Implementation of unsigned integer addition in Brainfuck. Assumes pointer placement to be at byte zero, and the following eight bytes to represent two four-byte integers.
=====================================================================================================
=====================================================================================================
===================================| Perform Addition: |========================================
=====================================================================================================
=====================================================================================================
FOR EACH UNIT IN BYTE 5:
>>>>[-<<<<
INCREMENT BYTE 1:
+ B1
@dasmithii
dasmithii / _SpringerMATH
Last active September 13, 2022 10:23
A list of a bunch of math textbooks recently made free by Springer, plus some code to batch download them all. Put all these files in in a directory. Run downloader.go. Then you'll have ###.pdf's all over the place. Run mut.py to generate an index of PDF's. Then move 'em wherever you'd like. Sorry for ugliness....
...
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: SKS 1.1.5
Comment: Hostname: pgp.mit.edu
mQINBFaYDyABEADfrsUZmfNfdQ8vfxk8qcnZTHvHjSpiVY1N/FZHthlYsPMy3NGsMTkNrAA/
DBfmyRDDXmtHdNey+wl0jnW0DJ19f4CmlVZhTZHwJvHguliH+hjXWBED8p0H68Z5yKPDkSU3
atD5umZH+IfafXF6nyd8CTf44JpzAdoLbZTFpRjiKeSnBU5zAV3z76nyiNqrf6t19Y09FLFe
tPRFIdkkDDi+wS1Eg+Pxrlvusuvb777yKrQEIs6M3ZdoDAfueZbEP13vtZTHahVJxongZm/N
8shIAiK7yVxSGukx628dBAKKTUXxflBjJNv035fxabTdB7AAcBuULBKW6T/TKNZHAbAEbNpt
foIhwgQhZpnS6ovTtS9/V2CpiRo26qV0DWhrgT9zRSoBPm/XHuVaev4zuPSbPKzf44d+Ctak