In your command-line run the following commands:
brew doctor
brew update
document.querySelectorAll('audio').forEach((au) => { | |
const url = au.currentSrc; | |
fetch(url).then(r => r.blob()).then(obj => downloadAudio(obj)); | |
}) | |
function downloadAudio(blob) { | |
const ele = document.createElement('a'); | |
let counter = 0; | |
downloadAudio = function (blob) { |
var numIslands = function(grid) { | |
let islands = 0; | |
for (let i = 0; i < grid.length; i++) { | |
for (let j = 0; j < grid[i].length; j++) { | |
if (grid[i][j] == 1) { | |
markRecur(i, j, grid); | |
islands++; | |
} | |
} | |
} |
var str = '-¯-_'; | |
var i; | |
var j = 0; | |
document.title = ''; | |
setInterval(function(){ | |
document.title = document.title + str[j++]; | |
j = j % str.length; | |
i = i || 0; | |
i = ++i % (str.length * 5); | |
if (!i) document.title = ''; |
/* Setup */ | |
class Node { | |
left = null; | |
right = null; | |
constructor(val) { | |
this.val = val; | |
} | |
} | |
const A = new Node('A'); |
var LRUCache = function(capacity) { | |
this.hash = {}; | |
this.capacity = capacity; | |
this.counter = 0; | |
}; | |
LRUCache.prototype.get = function(key) { | |
const obj = this.hash[key]; | |
if (typeof obj === "undefined") { |
In your command-line run the following commands:
brew doctor
brew update
class TemperatureTracker { | |
constructor() { | |
this.records = []; | |
this.minV = null; | |
this.maxV = null; | |
this.freq = {}; | |
this.sum = 0; | |
this.n = 0; | |
this.modeMax = null; | |
this.modeV = null; |
var ele = document.querySelector('.test-standard.reaction-time-test'); | |
var config = { attributes: true }; | |
var event = new MouseEvent('mousedown', { | |
bubbles: true, | |
cancelable: true | |
}); | |
var callback = function (mutationsList, observer) { | |
for (var mutation of mutationsList) { |
class Company { | |
static fetchStack = []; | |
static data = []; | |
static fetched = 0; | |
static interval = 300; | |
static intervalVariance = 100; | |
constructor(tr) { | |
Company.fetchStack.push(tr); | |
} |
class Company { | |
name; | |
desc; | |
joined; | |
location; | |
market; | |
website; | |
employees; | |
stage; | |
constructor(...rest) { |