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 Makefile
blink.hex: blink.elf
avr-objcopy -O ihex blink.elf blink.hex
blink.elf: blink.o
avr-gcc -DF_CPU=16000000 -mmcu=atmega328 -o blink.elf blink.o
blink.o: blink.c
avr-gcc -DF_CPU=16000000 -mmcu=atmega328 -o blink.o -c blink.c
flash: blink.hex
cellularmitosis /
Created May 16, 2020
A flashcard deck about Compilers.

format: retainn-md-1


Some flashcards about compilers.

In SSA, what is a phi function?

cellularmitosis / .gitignore
Last active May 8, 2020
Flask "Hello, world!" using mod_wsgi-express
View .gitignore

QEMU PowerPC G4 OS X Tiger (10.4) setup

Here are some notes on how I set up an installation of OS X Tiger (10.4) on an emulated PowerPC G4 using QEMU, on a modern x86_64 Mac.

This setup was performed using QEMU 5.0.0 (obtained via brew install qemu).

Note: at some point during this process -cdrom /dev/cdrom seems to have stopped working, but -cdrom /dev/disk2 works.


Building Janet from source

Debian and macOS (Homebrew)

Here's a script I use to install Janet from source on Linux machines:


set -e -o pipefail

Identify Raspberry Pi model from the command line

Thanks to the API at, this is a one-liner:

$ curl -L$(awk '/^Revision/ { print $3 }' /proc/cpuinfo)
Revision : a02082
Model    : 3 Model B
Memory   : 1 GB
Overvolt : No
cellularmitosis /
Last active May 1, 2020
Installing Python 2 and 3 on various systems

Installing Python 2 and 3 on various systems

Reminder to self about how to install and invoke Python 2 vs. 3 on the various platforms I use.

See also

cellularmitosis /
Last active May 1, 2020
One-time sshd on Windows/MSYS2

One-time sshd on Windows/MSYS2

Need to ssh into your Windows machine? Open up an MSYS2 terminal and run:

$ ssh-keygen -A
$ /usr/bin/sshd -D

This runs sshd in the foreground. Press Control-C when finished.

cellularmitosis /
Last active Apr 30, 2020
Log of tigerbrew build errors on my eMac
You can’t perform that action at this time.