Skip to content

Instantly share code, notes, and snippets.

Jason Pepas cellularmitosis

Block or report user

Report or block cellularmitosis

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
View README.md

Blog 2019/10/13

<- previous | index

An alternative syntax for C, part 1: type declarations

I'm toying around with making an alternative syntax for C. The intention is to eventually create a "CoffeeScript for C".

View README.md

Blog 2019/10/2

<- previous | index | next ->

Puzzle: "Given a list of words and a string made up of those words..."

This was the puzzle for this week's Puzzles Guild:

View Deps1.swift
// Deps1.playground
import UIKit
// Design issues / decisions:
//
// - should "providing" protocols use funcs or vars?
// - i.e. `var serviceA` vs `func serviceA()`
//
// - for deps which themselves have deps ("internal nodes of the deps tree"),
View README.md

Blog 2019/9/25

<- previous | index | next ->

5GHz USB Wifi for older Raspberry Pi's

I recently made a k3s cluster of Raspberry Pi 3's, which only have 2.4GHz wifi. Unfortunately, the network where I work is 5GHz only.

View README.md
View Dockerfile
FROM debian:buster
RUN apt-get update && \
apt-get -y dist-upgrade && \
apt-get -y install wget build-essential file libgdbm-dev && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* && \
cd /tmp && \
wget -O - http://sam.zoy.org/elk/elk-3.99.8.tar.gz | gunzip | tar x && \
cd elk-3.99.8 && \
./configure && \
View README.md
View README.md

Blog 2019/9/7

<- previous | index | next ->

Lisp-like interpreter tutorial (in Python), steps 1 through 3

As I'm learning to write an interpreter, what better way to solidify my knowledge than to write a tutorial!

View README.md

Learning to write a Lisp-like interpreter (in Python), step 3

Let's learn how to implement a Lisp or Scheme-like language by writing a series of increasingly capable interpreters.

Step 3: Evaluation

sicp

View README.md

Learning to write a Lisp-like interpreter (in Python), step 2

Let's learn how to implement a Lisp or Scheme-like language by writing a series of increasingly capable interpreters.

Step 2: Recursive descent parsing

You can’t perform that action at this time.