Skip to content

Instantly share code, notes, and snippets.

Avatar

Jason Pepas cellularmitosis

View GitHub Profile
@cellularmitosis
cellularmitosis / README.md
Created Jan 13, 2021
GridNotes iOS App Privacy Policy
View README.md

Privacy Policy version 1.0 for the GridNotes iOS app

The GridNotes iOS app does not collect any user data of any kind. The app does not access the Internet at all.

It is just a musical instrument.

If you wish to verify this for yourself, see the source code at https://github.com/pepaslabs/GridNotes

@cellularmitosis
cellularmitosis / README.md
Last active Jan 9, 2021
Understanding the half-tone structure of musical scales
View README.md

Blog 2021/1/9

<- previous | index

Understanding the half-tone structure of musical scales

Here's an attempt at understanding the structure of musical scales.

Disclaimer: I am a music-theory newb, I have no idea what I'm doing!

@cellularmitosis
cellularmitosis / AppDelegate.swift
Last active Jan 13, 2021
Half-step Grid-based Piano (iPad app)
View AppDelegate.swift
//
// AppDelegate.swift
// GridNotes
//
// Created by Jason Pepas on 1/6/21.
//
import UIKit
@main
@cellularmitosis
cellularmitosis / README.md
Last active Jan 6, 2021
Cheap TO-220 heat sink performance measurements
View README.md

Blog 2020/10/3

<- previous | index | next ->

Cheap TO-220 heat sink performance measurements

I saw these cute little adhesive heat sinks on eBay:

@cellularmitosis
cellularmitosis / README.md
Last active Oct 4, 2020
Zener+BJT constant current sinks and sources
View README.md
@cellularmitosis
cellularmitosis / README.md
Last active Oct 3, 2020
Basic Zener diode voltage regulator
View README.md
View haskell-syntax.md

format: md1

Haskell Syntax

Some flashcards on Haskell syntax (work-in-progress).


How do you load the haskell file foo.hs from ghci?

@cellularmitosis
cellularmitosis / Makefile
Last active Oct 1, 2020
A simple Snake game in C and SDL1.2
View Makefile
SDL=$(shell sdl-config --cflags --libs)
default: snake run
run: snake
./snake
snake: snake.c
gcc -std=c99 -Wall -Werror $(SDL) snake.c -o snake
@cellularmitosis
cellularmitosis / README.md
Last active Nov 16, 2020
Quick-n-dirty QEMU script to spin up Debian on various CPU's
View README.md

Quick-n-dirty QEMU script to spin up Debian on various CPU's

This script downloads one of the QEMU images from https://people.debian.org/~aurel32/qemu/ and boots up a vm.

(unfortunately, these are all wheezy images, which is quite old now, but still useful for e.g. compiling a C file or running a binary)

Usage examples:

@cellularmitosis
cellularmitosis / HashTable.c
Last active Sep 7, 2020
Hash table in C, part 5: better hashing
View HashTable.c
#include "HashTable.h"
#include <stdio.h> // fprintf
#include <stdlib.h> // exit
#include <string.h> // memset
#include <stdint.h> // uint8_t
#include <stdbool.h> // true
#include <assert.h> // assert
void* dmalloc(size_t size) {
You can’t perform that action at this time.