Skip to content

Instantly share code, notes, and snippets.

View brendansudol's full-sized avatar

Brendan Sudol brendansudol

View GitHub Profile
@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({
@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;
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;
---
@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.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@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>
(function() {
var width = 500,
height = 500;
var projection = d3.geo.albersUsa()
.scale(1280)
.translate([width / 2, height / 2]);
var path = d3.geo.path()
(function(){
var margin = {
top: 20,
right: 40,
bottom: 50,
left: 40
},
width = 660 - margin.left - margin.right,
height = 340 - margin.top - margin.bottom;
(function() {
// initialize goal diff slider
var g_diff_slider = $('#g-diff-input');
g_diff_slider.noUiSlider({
start: 0,
step: 1,
range: {
min: -3,
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.