Skip to content

Instantly share code, notes, and snippets.

View MattWoelk's full-sized avatar

Matthew Woelk MattWoelk

View GitHub Profile

Keybase proof

I hereby claim:

  • I am mattwoelk on github.
  • I am mattwoelk (https://keybase.io/mattwoelk) on keybase.
  • I have a public key ASCRcoQBY7WC0brdsKwhGGxhi1x6ioSP4VNI6gGTQ5DgTwo

To claim this, I am signing this object:

@MattWoelk
MattWoelk / hh_to_git.sh
Last active August 29, 2015 14:15 — forked from 5sw/hh_to_git.sh
Take a Handmade Hero .zip and make it a git repo, with one commit for each day.
#!/bin/bash
# This script makes a HandmadeHero directory and populates it as a git repo with the supplied .zip file.
# Example: ./hh_to_git.sh handmade_hero_065_source.zip
args=("$@")
if [ ${#args[@]} -ne 1 ]
then
echo "Need one argument: the source zip file."
@MattWoelk
MattWoelk / keybase.md
Created July 4, 2014 13:56
keybase.md

Keybase proof

I hereby claim:

  • I am MattWoelk on github.
  • I am mattwoelk (https://keybase.io/mattwoelk) on keybase.
  • I have a public key whose fingerprint is 187D 25E5 98FD 62A1 C957 68CF 4075 2A65 F26A A54A

To claim this, I am signing this object:

@MattWoelk
MattWoelk / ember_ticks.md
Last active August 29, 2015 14:01
Ember.js Ticks

Design decisions made in ember.js which I do not understand:

Templates

{{variable}}

vs.

{{view 'thing' variable}}
@MattWoelk
MattWoelk / index.html
Last active February 6, 2018 12:07
d3.js Loading Spinner Icon
<!DOCTYPE HTML>
<html lang="en">
<head>
</head>
<body>
<div id="loader_container"></div>
<script src="http://d3js.org/d3.v3.min.js"></script>
<script>
@MattWoelk
MattWoelk / index.html
Last active December 17, 2015 23:09
Morphogenesis Simulation
<!DOCTYPE html><!--{{{-->
<html>
<head>
<title>Morphogenesis</title>
<meta charset="utf-8">
<script type="text/javascript" src="readme-d3_modded.js"></script>
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.4.4/underscore-min.js"></script>
<link type="text/css" rel="stylesheet" href="readme-voronoi.css"/>
</head>
<body>
@MattWoelk
MattWoelk / README.md
Last active September 17, 2017 12:20
Binned Line Chart

This is a Binned Line Chart version of Mike Bostock's zoomable area chart. You can find his source here. The graph shows number of flights per day in the United States.

  • Use the mouse-wheel to zoom in and out, and drag the slider to adjust the size of the bins.
  • View with the step-after interpolation method to see the discrete bins.

This is a small demo made part-way through Matt Woelk's Masters Thesis. A video demonstration of the full version is available.

@MattWoelk
MattWoelk / Fullscreen-Windowed YouTube
Last active September 25, 2015 11:58
"Fullscreen" youtube in a window with pentadactyl.
"pentadactyl (or vimperator) line to add to pentadactylrc (or vimperatorrc) to watch youtube videos as fullscreened within a window. Uses the watch_popup ability of YouTube. Very handy.
"press yt to view a YouTube video as fullscreened within the window
map yt -js dactyl.open( String.replace(buffer.URL, /watch/, "watch_popup"))
@MattWoelk
MattWoelk / workman.vim
Created March 25, 2011 23:45
workman keyboard layout for vim
"A blatant workman ripoff of bmx 007's beautiful colemak version called 'colqer' http://www.vim.org/scripts/script.php?script_id=2865 It makes vim so that you can insert and Ex mode in the workman keyboard layout, but can do the rest in qwerty.
"usage: put it in ~/.vim/plugin/ as workman.vim
"press \; in normal mode to activate/deactivate it.
"Keyboard is qwerty
" we want workman in insert mode
function IMapColemak()
if s:imap_colemak == 0
noremap! q q
noremap! w d