This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import esprima | |
import requests | |
from bs4 import BeautifulSoup | |
from urllib.parse import urljoin | |
class BookOfBlaseballVisitor(esprima.NodeVisitor): | |
def find_book_function_node(self, node): | |
self._ancestors = [] | |
self._book_function_node = None |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Laser Harp MIDI Controller | |
* | |
* Authors: Wei-Luen (Alan) Peng and Oren Shoham | |
*/ | |
// hex to MIDI note reference: https://www.wavosaur.com/download/midi-note-hex.php | |
// scale: B5, A5, G5, F5, E5, D5, C5 | |
const int notes[7] = {0x5F, 0x5D, 0x5B, 0x59, 0x58, 0x56, 0x54}; | |
const int startingInputPin = 3; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
license: mit |
OlderNewer