Skip to content

Instantly share code, notes, and snippets.

View owendall's full-sized avatar

Owen Dall Sotomayor owendall

View GitHub Profile
@owendall
owendall / .block
Created July 2, 2018 13:13 — forked from rpgove/.block
Force Directed Layout Quality Convergence
license: gpl-3.0
height: 600
scrolling: no
border: yes

Frontend Masters: AWS for Frontend Engineers

You should have the following completed on your computer before the workshop:

  • Have Node.js installed on your system. (Recommended: Use nvm.)
    • Unfortunately, you'll need to be on Node 9.x or earlier. Dependencies are hard and one of the dependencies of one of our dependencies is set to not allow Node 10.x.
  • Create an AWS account. (This will require a valid credit card.)
  • Install multi-factor authentication app (e.g. Authy, Google Authenticator, Duo).
  • Install the AWS CLI. (brew install awscli should do the trick. Otherwise, you'll need Python and PIP, which you can install using brew install python.)
  • Install the AWS Mobile Hub CLI: npm install -g awsmobile-cli or yarn global add awsmobile-cli.
@owendall
owendall / .block
Created September 10, 2017 02:08 — forked from micahstubbs/.block
Sankey Particles | d3v4 & es2015+
border: no
license: Apache-2.0
@owendall
owendall / d3.sankey.js
Created September 10, 2017 01:49 — forked from emeeks/d3.sankey.js
Sankey Particles
d3.sankey = function() {
var sankey = {},
nodeWidth = 24,
nodePadding = 8,
size = [1, 1],
nodes = [],
links = [];
sankey.nodeWidth = function(_) {
if (!arguments.length) return nodeWidth;
@owendall
owendall / .block
Created September 5, 2017 23:05 — forked from domoritz/.block
Vega-Lite block example
license: bsd-3-clause
@owendall
owendall / index.html
Last active September 16, 2017 17:34
Vega Tooltip Test - vega-embed-3.0.0-beta.20
<!DOCTYPE html>
<html lang="en">
<head>
<title>Testing vega-lite 2 and tooltip</title>
<meta charset="utf-8">
<!-- Import Vega 3 & Vega-Lite 2 js (does not have to be from cdn) -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/vega/3.0.2/vega.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/vega-lite/2.0.0-beta.19/vega-lite.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/vega-embed/3.0.0-beta.20/vega-embed.min.js"></script>
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/vega-tooltip/0.4.3/vega-tooltip.min.css"></link>
@owendall
owendall / Tooltip Test
Last active September 1, 2017 18:23 — forked from sirahd/.block
Vega-lite Scatterplot with Tooltip
A vega-lite scatterplot example for vega-tooltip. You can specify the limited sets of field to display in tooltip by setting `showAllFields` to false, then specify those in `fields` array. You can also rename the field by specifying `title`
@owendall
owendall / .block
Created September 1, 2017 00:34
Vega-Lite block example
license: bsd-3-clause
@owendall
owendall / protips.js
Created August 11, 2017 18:21 — forked from nolanlawson/protips.js
Promise protips - stuff I wish I had known when I started with Promises
// Promise.all is good for executing many promises at once
Promise.all([
promise1,
promise2
]);
// Promise.resolve is good for wrapping synchronous code
Promise.resolve().then(function () {
if (somethingIsNotRight()) {
throw new Error("I will be rejected asynchronously!");
@owendall
owendall / .block
Last active May 14, 2017 14:09
Sankey Transitions - Topic Words
license: mit