Skip to content

Instantly share code, notes, and snippets.

Colin Young colin-young

  • N/A
View GitHub Profile
@colin-young
colin-young / EasyRoads3DModifier.cs
Last active Dec 29, 2018
Mapbox/Unity/EasyRoads3D Integration Problem
View EasyRoads3DModifier.cs
using System;
using System.Collections.Generic;
using System.Linq;
using EasyRoads3Dv3;
using Mapbox.Unity;
using Mapbox.Unity.MeshGeneration.Data;
using Mapbox.Unity.MeshGeneration.Modifiers;
using Mapbox.Unity.Utilities;
using UnityEngine;
@colin-young
colin-young / Automapper.Tests.cs
Last active Jul 17, 2018
Automapper Dictionary Mapping Problem
View Automapper.Tests.cs
using AutoMapper;
using FluentAssertions;
using System.Collections.Generic;
using Xunit;
namespace Reporter.Tests
{
public class TestType
{
public string Prop1 { get; set; }
@colin-young
colin-young / index.html
Last active Jun 6, 2016 — forked from d3noob/index.html
Sankey Diagram for BRK/B BCS Strategy
View index.html
<!DOCTYPE html>
<meta charset="utf-8">
<title>BCS Strategy BRK/B</title>
<style>
.node rect {
cursor: move;
fill-opacity: .9;
shape-rendering: crispEdges;
}
@colin-young
colin-young / README.md
Last active Jun 6, 2016 — forked from mbostock/.block
Stock/Options Portfolio Dashboard Demo
View README.md

Stock/options portfolio demo.

Designed by Stephen Few, a bullet chart “provides a rich display of data in a small space.” A variation on a bar chart, bullet charts compare a given quantitative measure (such as profit or revenue) against qualitative ranges (e.g., poor, satisfactory, good) and related markers (e.g., the same measure a year ago). Layout inspired by Stephen Few. Implementation based on work by Clint Ivy, Jamie Love of N-Squared Software and Jason Davies. The "update" button randomizes the values slightly to demonstrate transitions.

View answers.js
$(function(){
$('#content-card .flip-card').click(function () {
$('#content-card').toggleClass('rotated');
});
});
@colin-young
colin-young / demo.css
Last active Dec 14, 2015
Demonstration of d3.js force directed layout with fixed x-values.
View demo.css
@font-face {
font-family:'Oxygen';
font-style: normal;
font-weight: 400;
src: local('Oxygen'), local('Oxygen-Regular'), url(http://themes.googleusercontent.com/static/fonts/oxygen/v2/RzoNiRR1p2Mqyyz2RwqSMw.woff) format('woff');
}
@font-face {
font-family:'Oxygen';
font-style: normal;
font-weight: 700;
You can’t perform that action at this time.