Skip to content

Instantly share code, notes, and snippets.

:octocat:
heads down...

brad oyler bradoyler

:octocat:
heads down...
Block or report user

Report or block bradoyler

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@bradoyler
bradoyler / idb-keyval.js
Last active Mar 16, 2018
A Vue.js plugin for idb-keyval
View idb-keyval.js
import idb from 'idb-keyval';
export default {
install (Vue, options) {
Vue.prototype.$idb = idb;
}
};
@bradoyler
bradoyler / README.md
Last active Mar 2, 2018 — forked from alizauf/README.md
Data Storytelling with Coördinator
View README.md

A simple example demonstrating how Coördinator could be used to intersperse relevant, non-data-driven elements into a data story.

NBC News logo:

@bradoyler
bradoyler / .block
Last active Mar 1, 2018
Flu Illness Cartogram
View .block
license: mit
View us-state-populations.csv
code state pop_2014
AL Alabama 4849377
AK Alaska 736732
AZ Arizona 6731484
AR Arkansas 2966369
CA California 38802500
CO Colorado 5355866
CT Connecticut 3596677
DE Delaware 935614
DC District of Columbia 658893
@bradoyler
bradoyler / _Easily-encrypt-decrypt-files.md
Last active Feb 10, 2018
Easily encrypt/decrypt files with a given password (using OpenSSL AES-256 algorithm)
View _Easily-encrypt-decrypt-files.md

AES 256 Encryption scripts using OpenSSL (available on Linux/Mac)

Encrypt file:

sh encryptFile.sh my_secrets.txt

(you will be prompted for a password, make it STRONG)

output file will be: my_secrets.txt.enc

@bradoyler
bradoyler / ETHEREUM-yellowpaper.md
Last active Jan 15, 2018
Ethereum: A secure decentralized generalized transaction ledger, EIP-150 REVISION, DR. GAVIN WOOD
View ETHEREUM-yellowpaper.md

source: https://github.com/ethereum/yellowpaper pdf: http://yellowpaper.io/

Ethereum: A secure decentralized generalized transaction ledger

1 Introduction
With ubiquitous internet connections in most places of the world, global information transmission has become incredibly cheap. Technology-rooted movements like Bitcoin have demonstrated, through the power of the default, consensus mechanisms and voluntary respect of the social contract that it is possible to use the internet to make a decentralised value-transfer system, shared across the world and virtually free to use. This system can be said to be a very specialised version of a cryptographically secure, transaction-based state machine. Follow-up systems such as Namecoin adapted this original currency application of the technology into other applications albeit rather simplistic ones. Ethereum is a project which attempts to build the generalised technology; technology on which all transaction-based state machine concepts may be built. Moreover it a

@bradoyler
bradoyler / index.html
Created Dec 14, 2017
U.S. Airline Quality Scores (2016) U.S. Airline Quality Scores (2016) // source http://jsbin.com/lajovir
View index.html
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="U.S. Airline Quality Scores (2016)">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/4.2.3/d3.min.js"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/billboard.js/1.1.1/billboard.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/billboard.js/1.1.1/billboard.min.js"></script>
<title>U.S. Airline Quality Scores (2016)</title>
View index.html
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="U.S. Airline Quality Scores (2016)">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/4.2.3/d3.min.js"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/billboard.js/1.1.1/billboard.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/billboard.js/1.1.1/billboard.min.js"></script>
<title>U.S. Airline Quality Scores (2016)</title>
View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<style id="jsbin-css">
@font-face{font-family:'FoundersGroteskCond';src:url("https://nodeassets.nbcnews.com/cdnassets/projects/fonts/FoundersGroteskCondensedWeb-Semibold.eot");src:url("https://nodeassets.nbcnews.com/cdnassets/projects/fonts/FoundersGroteskCondensedWeb-Semibold.eot?#iefix") format("embedded-opentype"),url("https://nodeassets.nbcnews.com/cdnassets/projects/fonts/FoundersGroteskCondensedWeb-Semibold.woff2") format("woff2"),url("https://nodeassets.nbcnews.com/cdnassets/projects/fonts/FoundersGroteskCondensedWeb-Semibold.woff") format("woff");font-weight:600;font-style:normal}@font-face{font-family:'FoundersGroteskMono';src:url("https://nodeassets.nbcnews.com/cdnassets/projects/fonts/FoundersGroteskMonoWeb-Regular.eot");src:url("https://nodeassets.nbcnews.com/cdnassets/projects/fonts/FoundersGroteskMonoWeb-Regular.eot?#iefix") format("embedded-opentype"),url("https:/
View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<figure class="media media--g">
<h3 class="media__title">How the Global Average Sea Level Has Risen <small class="media__subtitle">Cumulative sea level change from 1880 to 2014</small></h3>
You can’t perform that action at this time.