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
function RecorderProcessor(options) { | |
AudioWorkletProcessor.call(this); | |
var processorOptions = options.processorOptions || {}; | |
this.numInputChannels = processorOptions.numInputChannels || 2; | |
this.recording = false; | |
this.clear(); | |
this.port.onmessage = function(event) { |
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
{ | |
"name": "blaseball-book-scraper", | |
"version": "1.0.0", | |
"description": "", | |
"main": "parse_blaseball_book.js", | |
"author": "", | |
"license": "ISC", | |
"dependencies": { | |
"acorn": "^7.4.0", | |
"acorn-walk": "^7.2.0", |
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 |
OlderNewer