Skip to content

Instantly share code, notes, and snippets.

View brendansudol's full-sized avatar

Brendan Sudol brendansudol

View GitHub Profile
(function() {
var width = 500,
height = 500;
var projection = d3.geo.albersUsa()
.scale(1280)
.translate([width / 2, height / 2]);
var path = d3.geo.path()
@brendansudol
brendansudol / index.html
Last active October 24, 2016 00:46
GSA's TTS Logo, Animated
<!DOCTYPE html>
<html>
<head>
<meta charset='UTF-8'>
<title>GSA :: Technology Transformation Service</title>
<style>
body { background-color: #1c5295; }
svg { position: absolute; top:0; bottom: 0; left: 0; right: 0; margin: auto; }
rect { fill: #fff; opacity: 0; }
</style>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@brendansudol
brendansudol / Class similarity.ipynb
Created April 28, 2017 04:26 — forked from kylemcdonald/Class similarity.ipynb
Finding similarities with a neural network that trained for object classification.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,2c1,2
< @font-stack: Helvetica, sans-serif;
< @primary-color: #333;
---
> $font-stack: Helvetica, sans-serif;
> $primary-color: #333;
5,6c5,6
< font-family: @font-stack;
< color: @primary-color;
---
@font-stack: Helvetica, sans-serif; | $font-stack: Helvetica, sans-serif;
@primary-color: #333; | $primary-color: #333;
body { body {
font-family: @font-stack; | font-family: $font-stack;
color: @primary-color; | color: $primary-color;
} }
.transform(@property) { | @mixin transform($property) {
-webkit-transform: @property; | -webkit-transform: $property;
@brendansudol
brendansudol / react-navigation-tree.jsx
Created December 29, 2019 03:58 — forked from slorber/react-navigation-tree.jsx
react-navigation-tree.jsx
const App = createAppContainer(
createStack({
LoggedSwitch: createSwitch({
// When user is authenticated
LoggedIn: createStack({
// The logged in root is generally a tab or drawer navigator
LoggedInRoot: createTabsOrDrawer({