Skip to content

Instantly share code, notes, and snippets.

View mbuckley's full-sized avatar

Mike Buckley mbuckley

View GitHub Profile
@mbuckley
mbuckley / test.ts
Created August 26, 2017 17:11 — forked from frankieyan/test.ts
StateService href
import { StateService } from "angular-ui-router";
class Blah {
/* @ngInject */
constructor(
private AlertManager: any,
private $state: StateService;
private $sce: angular.ISCEService,
) {}
@mbuckley
mbuckley / gist:217262435d464b8d9afdfb484b844ec9
Created November 28, 2017 23:30 — forked from oslego/gist:f13e136ffeaa6174289a
create self-signed certificate for localhost
# SSL self signed localhost for rails start to finish, no red warnings.
# 1) Create your private key (any password will do, we remove it below)
$ openssl genrsa -des3 -out server.orig.key 2048
# 2) Remove the password
$ openssl rsa -in server.orig.key -out server.key
@mbuckley
mbuckley / gource.sh
Last active May 11, 2018 21:23 — forked from XueshiQiao/gource.sh
Generate a MP4 Video for your Git project commits using Gource!
# 1.install gource using HomeBrew
$ brew install gource
# 2. generate a video for you repo.
$ cd your_repo_dir
$ gource \
-s .1 \
-1280x720 \
--auto-skip-seconds .1 \