Skip to content

Instantly share code, notes, and snippets.

Andrew D'Angelo ardangelo

Block or report user

Report or block ardangelo

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
@ardangelo
ardangelo / m3_plot.cpp
Last active Jun 3, 2018
Kvasir GBA demo
View m3_plot.cpp
#include <tonc.h>
#include <Register/Utility.hpp>
#include <Chip/Unknown/Nintendo/GBA.hpp>
#include <Register/Register.hpp>
using namespace Kvasir::Register;
/* RGB15-specific types */
enum class RGB15ComponentName : std::uint8_t {
View darksky-cli.py
#!/usr/bin/python3
import sys
key = 'API_KEY'
if len(sys.argv) > 1 and sys.argv[1] == 'cli':
zipcode = sys.argv[2]
else:
import cgi, cgitb, os, codecs
View nock.hs
import Text.ParserCombinators.Parsec
import Control.Monad
import System.IO (hFlush, hPutStr, hPutStrLn, hGetLine, stdin, stdout)
-- Parser
data Val = Op Char Val
| Atom Int
| Cell Val Val
View keybase.md

Keybase proof

I hereby claim:

  • I am excelangue on github.
  • I am excel (https://keybase.io/excel) on keybase.
  • I have a public key whose fingerprint is 61CA 64F8 7D8A 9211 0021 24D5 3F58 0230 7F0B AC98

To claim this, I am signing this object:

View gbasend.py
#!/usr/bin/python
# arduino rpi
# 8 -> 13 (gpio 3)
# 9 (pwm) -> 33 (pwm1)
# 10 (pwm ss) -> 23 (gpio 14)
# 11 (pwm mosi) -> 19 (gpio 12)
# view from front of CABLE
# annotated with colors of crappy $1 ebay link cable
View gbasend.c
// view from front of CABLE
// annotated with colors of crappy $1 ebay link cable
// T
// 1 3 5 1 3v, xxx 3 SI, wht 5 SC, red
// 2 4 6 2 SO, blk 4 SD, grn 6 GN, xxx
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <unistd.h>
@ardangelo
ardangelo / scheme.py
Last active Feb 20, 2016
World's worst Scheme interpreter (for porting to 3DS SmileBASIC)
View scheme.py
# https://gist.github.com/excelangue/f57822e37a9aa20f3168
# types
nil = 0
tnum = 1
tcons = 2
tsym = 3
tproc = 4
tfastcall = 5
You can’t perform that action at this time.