Skip to content

Instantly share code, notes, and snippets.

Avatar

Jason Pepas cellularmitosis

View GitHub Profile
@cellularmitosis
cellularmitosis / README.md
Last active Apr 8, 2022
Timeline of random tech
View README.md
@cellularmitosis
cellularmitosis / README.md
Last active Mar 22, 2022
leopard.sh: a package manager for OS X Leopard (10.5) PowerPC, written in Bash
View README.md

Blog 2022/1/20

<- previous | index | next ->

leopard.sh: a package manager for OS X Leopard (10.5) PowerPC, written in Bash

The two existing options for building open source software on Tiger and Leopard are Tigerbrew and Mac Ports, but I've been frustrated by how opaque their formulas can be (particularly when trying to diagnose and fix a failing build).

@cellularmitosis
cellularmitosis / Makefile
Last active Jan 21, 2022
Basic audio filters in C
View Makefile
copy: copy-filter input-10s.raw
./copy-filter input-10s.raw output.raw
sox -r 22050 -b 16 -e signed-integer --endian little -c 1 output.raw output.wav
play output.wav
quiet: quiet-filter input-10s.raw
./quiet-filter input-10s.raw output.raw
sox -r 22050 -b 16 -e signed-integer --endian little -c 1 output.raw output.wav
play output.wav
@cellularmitosis
cellularmitosis / README.md
Last active Jan 3, 2022
# 100 days of React Native / Typescript
View README.md

100 days of React Native / Typescript

Day X: Install tooling

  • Install homebrew: bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  • Install node.js: brew install node
  • Install Xcode: https://xcodereleases.com/
@cellularmitosis
cellularmitosis / README.md
Last active Jan 15, 2022
Scratchpad: 100 days of Common Lisp
View README.md

Scratchpad: 100 days of Common Lisp

I'd like to organize a "100 days of Common Lisp" (inspired by 100 days of Swift).

I'll use this as a scratch space to collect resources and organize my thoughts.

TODO:

  • atoms: numbers, strings
  • symbols, binding using setq
  • list evaluation, (+ 1 1) etc
@cellularmitosis
cellularmitosis / README.md
Last active Jan 3, 2022
Common Lisp scratch space
@cellularmitosis
cellularmitosis / README.md
Last active Jan 21, 2022
Adding question-mark suffixed aliases for Common Lisp predicate functions
View README.md

Blog 2021/12/12

<- previous | index | next ->

Adding question-mark suffixed aliases for Common Lisp predicate functions

Having come from Scheme, Clojure, and Janet, one of the things which struck me about Common Lisp

@cellularmitosis
cellularmitosis / README.md
Last active Dec 12, 2021
Installing clisp on OS X Leopard / PowerPC
View README.md
@cellularmitosis
cellularmitosis / problem1.1.cl
Created Dec 6, 2021
Advent of Code problem 1.1 (Common Lisp)
View problem1.1.cl
; I'm a new lisper, this code is probably gross :)
; misc resources:
; https://hyperpolyglot.org/lisp
; http://www.lispworks.com/documentation/HyperSpec/Body/f_parse_.htm
; https://gigamonkeys.com/book/files-and-file-io.html
; https://lispcookbook.github.io/cl-cookbook/iteration.html
; http://www.ai.sri.com/pkarp/loop.html
; read a file as a list of lines.