Skip to content

Instantly share code, notes, and snippets.

View JohnathonNow's full-sized avatar
🐝
Bee

John Westhoff JohnathonNow

🐝
Bee
View GitHub Profile
javascript:(function(){var xhr = new XMLHttpRequest(); xhr.open("POST", "https://lichess.org/api/import", true); xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); xhr.send( "pgn="+encodeURIComponent(window.chesscom.analysis.pgn) ); xhr.onload = function() { window.location=(JSON.parse(this.responseText).url); }}())

Keybase proof

I hereby claim:

  • I am johnathonnow on github.
  • I am johnwesthoff (https://keybase.io/johnwesthoff) on keybase.
  • I have a public key ASAlrT8qKe_FwIZcO82-r4d4YZKox7lMn-1eG7GMuJCACAo

To claim this, I am signing this object:

@JohnathonNow
JohnathonNow / Atari2600USB.ino
Created February 2, 2017 07:50 — forked from anonymous/Atari2600USB.ino
A simple program for the Digispark Pro for reading in 10 digital inputs and mapping them to joystick buttons.
#include "DigiJoystick.h"
char BUTS[] = { 6, 5, 2, 1, 0, 7, 8, 9, 10, 11 };
void setup() {
for (int i = 0; i < 10; i++) {
pinMode(BUTS[i], INPUT);
}
}
void loop() {
@JohnathonNow
JohnathonNow / test.ny
Created July 10, 2016 21:43
Audacity Plugin for Keeping Second Track Volume Around First Track
;nyquist plug-in
;version 4
;type effect
;name "Test"
;action "Testing..."
;codetype lisp
;;debugflags trace ;Set debugging yes or no (; = yes, ;; = no)
(defconstant DB_DIFF 6) ;The level of difference in loudness you want
(defconstant CHANGE_THRESHOLD 0.01) ; the level of change needed to be "different" when converting from a song to an array