Skip to content

Instantly share code, notes, and snippets.

Jayson Harshbarger Hypercubed

Block or report user

Report or block Hypercubed

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
@Hypercubed
Hypercubed / .editorconfig
Last active Aug 29, 2015
FANTOM5 Timecourse Visualization
View .editorconfig
# http://editorconfig.org
root = true
[*]
indent_style = space
indent_size = 2
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
@Hypercubed
Hypercubed / DOM_element.js
Last active Aug 29, 2015
A simple DOM component (for angular and angular-ecs)
View DOM_element.js
// Detect Vendor Prefix with JavaScript
// by By David Walsh
// from http://davidwalsh.name/vendor-prefix
var prefix = (function () {
var styles = window.getComputedStyle(document.documentElement, ''),
pre = (Array.prototype.slice
.call(styles)
.join('')
.match(/-(moz|webkit|ms)-/) || (styles.OLink === '' && ['', 'o'])
)[1],
@Hypercubed
Hypercubed / gist:37dade46dbf5e447cc95
Last active Aug 29, 2015
polymer 1.0 d3 bar chart
View gist:37dade46dbf5e447cc95
<link rel="import"
href="//www.polymer-project.org/1.0/samples/components/polymer/polymer.html">
<dom-module id="bar-chart">
<style>
.content-container > ::content .axis path,
.content-container > ::content .axis line {
fill: none;
stroke: #000;
shape-rendering: crispEdges;
@Hypercubed
Hypercubed / directive.js
Last active Jun 3, 2016
Use systemjs/plugin-text to import html directly to $routeProvider or $templateCache, works great with jspm bundle.
View directive.js
import somethingHTML from './something.html!text';
angular.module('myApp',[])
.directive('myDirective', function() {
return {
template: somethingHTML
}
});
@Hypercubed
Hypercubed / index.js
Last active Sep 1, 2015
signals-patch
View index.js
module.exports = require('signals');
@Hypercubed
Hypercubed / README.md
Last active Jun 15, 2016
Epicyclic Gearing (with svgsaver)
View README.md

From Wikipedia:

Epicyclic gearing or planetary gearing is a gear system consisting of one or more outer gears, or planet gears, revolving about a central, or sun gear. … Epicyclic gearing systems also incorporate the use of an outer ring gear or annulus, which meshes with the planet gears.

Use the menu in the top-left to change the frame of reference, fixing the specified gear in-place.

forked from mbostock's block: Epicyclic Gearing

@Hypercubed
Hypercubed / README.md
Last active Oct 19, 2015
Superformula Explorer (with svgsaver)
View README.md
@Hypercubed
Hypercubed / LICENSE
Last active May 3, 2017 — forked from curran/LICENSE
Chiasm Boilerplate (with download buttons)
View LICENSE
The MIT License (MIT)
Copyright (c) 2015 Curran Kelleher
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@Hypercubed
Hypercubed / .gitignore
Last active May 22, 2017
Bad value context for arguments value
View .gitignore
jspm_packages
@Hypercubed
Hypercubed / index.html
Last active Oct 19, 2015
angular-downloadsvg-directive bundle
View index.html
<!doctype html>
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="https://cdn.rawgit.com/martine/webtreemap/a2fa353833eca1a4821ba4c93fb6a7d546aed02a/webtreemap.css">
<title>angular-downloadsvg-directive.min.js - Source Map Explorer</title>
<style>
html, body {
height: 100%;
}
You can’t perform that action at this time.