Skip to content

Instantly share code, notes, and snippets.

View emadow's full-sized avatar
:octocat:
Yo

Evan Madow emadow

:octocat:
Yo
View GitHub Profile
@emadow
emadow / 2darray.md
Last active September 10, 2019 15:30
2D Array

Given a 6 x 6 2D Array, arr:

1 1 1 0 0 0
0 1 0 0 0 0
1 1 1 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0

We define an hourglass in A to be a subset of values with indices falling in this pattern in arr's graphical representation:

@emadow
emadow / rick
Created February 10, 2016 01:11
#!/bin/bash
# Rick Astley in your Terminal.
# By Serene Han and Justine Tunney <3
version='1.1'
rick='http://keroserene.net/lol'
video="$rick/astley80.full.bz2"
# TODO: I'll let someone with mac or windows machine send a pull request
# to get gsm going again :)
audio_gsm="$rick/roll.gsm"
audio_raw="$rick/roll.s16"

Keybase proof

I hereby claim:

  • I am emadow on github.
  • I am evanm (https://keybase.io/evanm) on keybase.
  • I have a public key whose fingerprint is 6202 C593 56D6 523B 0793 6633 591F 7600 B950 DCE4

To claim this, I am signing this object: