Skip to content

Instantly share code, notes, and snippets.

View ankailou's full-sized avatar

Ankai Lou ankailou

  • Ohio State University
  • United States
View GitHub Profile
@ankailou
ankailou / interpreter-makefile
Created April 2, 2015 22:48
makefile for core interpreter
JC = javac
.SUFFIXES: .java .class
.java.class:
$(JC) $*.java
CLASSES = \
Tokenizer.java \
Scanner.java \
Parser.java \
Printer.java \
Executor.java \
@ankailou
ankailou / pandas.py
Created February 1, 2017 20:41
Example of agg
import pandas as pd
df = pd.DataFrame({ 'color' : ['Blue', 'Blue', 'Green'], 'name' : ['Bernard', 'Bernard', 'Bernard']})
print df.groupby(['name']).agg(lambda x:x.value_counts().index[0])

Using O2D to Program Duck PCBs

Special Thanks to KacKLaPPen23 and iNViSiBiLiTi for making this guide possible and being generally excellent people!

Programming Duck PCBs with O2D is a notoriously shitty experience.

Luckily with O2D 1.10 and this guide it will be less shitty!

Prerequisites