Skip to content

Instantly share code, notes, and snippets.

View DanWilkerson's full-sized avatar
🐢
What's happening?

Dan Wilkerson DanWilkerson

🐢
What's happening?
View GitHub Profile
@blixt
blixt / prng.js
Last active January 14, 2024 07:01
A very simple, seedable JavaScript PRNG. NOTE: Please read comments on why this is not a good choice.
// NOTICE 2020-04-18
// Please see the comments below about why this is not a great PRNG.
// Read summary by @bryc here:
// https://github.com/bryc/code/blob/master/jshash/PRNGs.md
// Have a look at js-arbit which uses Alea:
// https://github.com/blixt/js-arbit
/**
@justinbellamy
justinbellamy / cltools.sh
Last active March 6, 2022 03:46 — forked from jellybeansoup/cltools.sh
Install Autoconf and Automake on OS X El Capitan
#!/bin/sh
##
# Install autoconf, automake and libtool smoothly on Mac OS X.
# Newer versions of these libraries are available and may work better on OS X
#
# This script is originally from http://jsdelfino.blogspot.com.au/2012/08/autoconf-and-automake-on-mac-os-x.html
#
export build=~/devtools # or wherever you'd like to build
@joshlove
joshlove / keeb.ino
Created May 29, 2017 15:43
keyboard footswitch
#include <Bounce.h>
const int yPin = 0;
const int hPin = 1;
const int nPin = 2;
Bounce yB = Bounce(yPin, 10);
Bounce hB = Bounce(hPin, 10);
Bounce nB = Bounce(nPin, 10);
void setup() {
pinMode(yPin, INPUT_PULLUP);