Skip to content

Instantly share code, notes, and snippets.

View jaymcgavren's full-sized avatar

Jay McGavren jaymcgavren

View GitHub Profile
@jaymcgavren
jaymcgavren / ghc.rb
Last active April 9, 2019 17:53 — forked from felixbuenemann/ghc.rb
Homebrew formula for official ghc 8.6.4 binaries
class Ghc < Formula
desc "Glorious Glasgow Haskell Compilation System"
homepage "https://haskell.org/ghc/"
url "https://downloads.haskell.org/~ghc/8.6.4/ghc-8.6.4-x86_64-apple-darwin.tar.xz"
sha256 "cccb58f142fe41b601d73690809f6089f7715b6a50a09aa3d0104176ab4db09e"
def install
system "./configure", "--prefix=#{prefix}"
ENV.deparallelize { system "make", "install" }
@jaymcgavren
jaymcgavren / pre-commit
Last active October 5, 2017 06:34 — forked from lsaffie/pre-commit
A Git pre-commit hook to keep me from committing stupid stuff.
#!/bin/bash
# Pre commit hook that prevents FORBIDDEN code from being commited.
# Add unwanted code to the FORBIDDEN array as necessary
FILES_PATTERN='\.(rb|js|coffee|erb|scss|css)(\..+)?$'
FORBIDDEN=( TODO binding.pry FIXME )
for i in "${FORBIDDEN[@]}"
do
@jaymcgavren
jaymcgavren / Rakefile
Last active December 19, 2015 16:29 — forked from stammy/Rakefile
desc 'Create new post.'
task :new do
usage = 'rake new title="My title"'
title = ENV["title"]
time = Time.new
slug = title ? title.gsub(' ', '-').downcase : time.strftime('%H%M%S')
TARGET_DIR = "_posts"
@jaymcgavren
jaymcgavren / gist:3966830
Created October 27, 2012 23:27 — forked from Gregg/gist:968534
Code School Screencasting Framework

Screencasting Framework

The following document is a written account of the Code School screencasting framework. It should be used as a reference of the accompanying screencast on the topic.

Why you should care about screencasting?

You're probably aren't going to take the time to read this document if you're not interested, but there are a lot of nice side effects caused by learning how to create quality screencasts.

  1. Communicating more effectively - At Envy Labs we produce screencasts for our clients all the time. Whether it's demoing a new feature or for a presentation for an invester, they're often much more effective and pleasent than a phone call or screen sharing.