Skip to content

Instantly share code, notes, and snippets.

Jason Hodges jasonhodges

  • Charter Communications
  • Denver, CO
Block or report user

Report or block jasonhodges

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
View commitlint.config.js
module.exports = {
extends: ['./'],
parserPreset: './parser-preset'
jasonhodges /
Created Apr 12, 2018 — forked from btroncone/
A Comprehensive Introduction to @ngrx/store - Companion to Series

Comprehensive Introduction to @ngrx/store

By: @BTroncone

Also check out my lesson @ngrx/store in 10 minutes on!

Update: Non-middleware examples have been updated to ngrx/store v2. More coming soon!

Table of Contents

jasonhodges /
Created Dec 22, 2017 — forked from jareware/
Advanced SCSS, or, 16 cool things you may not have known your stylesheets could do

⇐ back to the gist-blog at

Advanced SCSS

Or, 16 cool things you may not have known your stylesheets could do. I'd rather have kept it to a nice round number like 10, but they just kept coming. Sorry.

I've been using SCSS/SASS for most of my styling work since 2009, and I'm a huge fan of Compass (by the great @chriseppstein). It really helped many of us through the darkest cross-browser crap. Even though browsers are increasingly playing nice with CSS, another problem has become very topical: managing the complexity in stylesheets as our in-browser apps get larger and larger. SCSS is an indispensable tool for dealing with this.

This isn't an introduction to the language by a long shot; many things probably won't make sense unless you have some SCSS under your belt already. That said, if you're not yet comfy with the basics, check out the aweso

jasonhodges / example.component.ts
Created Oct 23, 2017 — forked from ckimrie/example.component.ts
Example on how to achieve RxJS observable caching and storage in Angular 2+. Ideal for storing Http requests client side for offline usage.
View example.component.ts
import { Component, OnInit, OnDestroy } from '@angular/core';
import {Http} from "@angular/http";
import { LocalCacheService } from "./local-cache.service";
selector: 'app-example',
templateUrl: './app.component.html',
styleUrls: ['./app.component.scss']
export class ExampleComponent implements OnInit, OnDestroy {
jasonhodges / index.html
Last active Aug 3, 2017 — forked from denisemauldin/index.html
Sankey Diagram with v4
View index.html
<!DOCTYPE html>
<meta charset="utf-8">
<title>SANKEY Experiment</title>
.node rect {
cursor: move;
fill-opacity: .9;
shape-rendering: crispEdges;
jasonhodges / material.module.ts
Created Jul 30, 2017
Angular module for holding all Material modules
View material.module.ts
import { NgModule } from '@angular/core';
import {
jasonhodges / .block
Last active Jul 20, 2017 — forked from micahstubbs/.block
Sankey Particles | d3v4 & es2015+
View .block
border: no
license: Apache-2.0
jasonhodges / .block
Last active Jun 16, 2017
Sankey Diagram
View .block
license: mit
View .block
license: mit
jasonhodges / deepcopy.ts
Created Apr 19, 2017
demo TypeScript deepcopy function
View deepcopy.ts
function deepcopy<T>(o: T): T {
return JSON.parse(JSON.stringify(o));
const foo = {
x: {
y: {
z: 123
You can’t perform that action at this time.