Skip to content

Instantly share code, notes, and snippets.

View hello-consumer's full-sized avatar
💭
🌮 🌮 🌮

Joe Johnson hello-consumer

💭
🌮 🌮 🌮
View GitHub Profile
{"symbol":"AAPL","companyName":"Apple Inc.","exchange":"Nasdaq Global Select","industry":"Computer Hardware","website":"http://www.apple.com","description":"Apple Inc is designs, manufactures and markets mobile communication and media devices and personal computers, and sells a variety of related software, services, accessories, networking solutions and third-party digital content and applications.","CEO":"Timothy D. Cook","issueType":"cs","sector":"Technology","tags":["Technology","Consumer Electronics","Computer Hardware"]}
function Node(id, cost)
{
this.id = id;
this.cost = cost;
this.children = [];
}
var rootNode = new Node(0, 0);
var depth = 2;
childCount= 2;
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Periodic Table</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<table>
<tbody>
@hello-consumer
hello-consumer / keyboard.js
Created August 23, 2018 16:46
Turn your home row into a MIDI keyboard
// create web audio api context
var audioCtx = new (window.AudioContext || window.webkitAudioContext)();
var startingFrequency = 261 + (2/3); //middle c
var semitones = 12;
// create Oscillator nodes
var oscillatorBank = [];
var convolver = audioCtx.createConvolver();
{
"AL": "Alabama",
"AK": "Alaska",
"AS": "American Samoa",
"AZ": "Arizona",
"AR": "Arkansas",
"CA": "California",
"CO": "Colorado",
"CT": "Connecticut",
"DE": "Delaware",

Keybase proof

I hereby claim:

  • I am hello-consumer on github.
  • I am hello_consumer (https://keybase.io/hello_consumer) on keybase.
  • I have a public key whose fingerprint is 4F94 6935 F287 2DA3 D750 81ED 3F70 BDCC AD8E 05E7

To claim this, I am signing this object: