Skip to content

Instantly share code, notes, and snippets.

View doc22940's full-sized avatar

Acampbell doc22940

View GitHub Profile
@doc22940
doc22940 / README.md
Created May 10, 2020 22:18 — forked from veltman/README.md
Departures board (slow)
@doc22940
doc22940 / feuds.csv
Created May 10, 2020 22:15 — forked from veltman/feuds.csv
Bios with feuds, excluding professional wrestlers
name category
Drake Rappers
50 Cent Rappers
Lil Wayne Rappers
Kendrick Lamar Rappers
Jay-Z Rappers
Foxy Brown Rappers
Nas Rappers
Queen Latifah Rappers
Meek Mill Rappers
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<!-- Bootstrap: http://getbootstrap.com/components/ -->
<script src="https://code.jquery.com/jquery.min.js"></script>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>

Boombox: Audio Basics

A demo to get started with the Web Audio API.

Loading sounds, playing and pausing them and creating volume and panner nodes.

A Pen by Acampbell on CodePen.

License.

@doc22940
doc22940 / introrx.md
Created May 3, 2020 17:13 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
<!-- my-page.html -->
<script src="https://rawcdn.githack.com/oscarmorrison/md-page/master/md-page.js"></script><noscript>
# Header
Welcome to md-page, the easiest way to make a webpage from just markdown...
## header two
### header three
@doc22940
doc22940 / index.html
Created April 20, 2020 06:22
Linked Card
<a href="#">
<div class="card">
<h2>Link-Wrapped Card</h2>
<div class="card__icon">
<svg viewBox="0 0 100 100">
<g transform="translate(0,-952.36218)">
<path style="text-indent:0;text-transform:none;direction:ltr;block-progression:tb;baseline-shift:baseline;color:#000000;enable-background:accumulate;" d="m 20,984.36256 c -9.9374,0 -18,8.06262 -18,18.00004 0,9.9374 8.0626,18 18,18 l 19,0 a 2.0002,2.0002 0 1 0 0,-4 l -19,0 c -7.7906,0 -13.9999999,-6.2094 -13.9999999,-14 0,-7.79062 6.2093999,-14.00004 13.9999999,-14.00004 l 21,0 c 7.7906,0 14,6.20942 14,14.00004 a 2.0002,2.0002 0 1 0 4,0 c 0,-9.93742 -8.0626,-18.00004 -18,-18.00004 l -21,0 z m 40.875,0 a 2.0009763,2.0009763 0 1 0 0.125,4 l 19,0 c 7.7906,0 14,6.20942 14,14.00004 0,7.7906 -6.2094,14 -14,14 l -21,0 c -7.7906,0 -14,-6.2094 -14,-14 a 2.0002,2.0002 0 1 0 -4,0 c 0,9.9374 8.0626,18 18,18 l 21,0 c 9.9374,0 18,-8.0626 18,-18 0,-9.93742 -8.0626,-18.00004 -18,-18.00004 l -19,0 a 2.0002,2.0002 0 0 0 -0.125,0 z" fill-opacity=
@doc22940
doc22940 / block-links-buttons.markdown
Created April 20, 2020 06:20
Block Links / Buttons
@doc22940
doc22940 / Append to File.js
Created April 18, 2020 10:52 — forked from simonbs/Append to File.js
Appends text to a file. To be used with Shortcuts.
// Variables used by Scriptable.
// These must be at the very top of the file. Do not edit.
// icon-color: deep-blue; icon-glyph: file-signature;
let text = args.shortcutParameter
let fm = FileManager.iCloud()
let filePath = args.fileURLs[0]
let content = fm.readString(filePath)
let newText = content + "\n" + text
fm.writeString(filePath, newText)
Script.complete()
@doc22940
doc22940 / Import Shortcut Links.js
Created April 18, 2020 10:51 — forked from simonbs/Import Shortcut Links.js
Reads a text file containing iCloud links to shortcuts and imports the shortcuts into the Shortcuts app