Skip to content

Instantly share code, notes, and snippets.

<script>
document.addEventListener("DOMContentLoaded", function() {
var logo = document.createElementNS("http://www.w3.org/2000/svg", "svg");
logo.setAttribute("viewBox", "0 0 224.27 141.98");
logo.setAttribute("xmlns", "http://www.w3.org/2000/svg");
logo.innerHTML =
'<path d="M42.13,0H43a.43.43,0,0,0,.16.07,6.13,6.13,0,0,1,5.42,6.65c-.13,2.87-.15,5.76-.16,8.63,0,5.19,0,10.37,0,15.55v1.83l.22,0a8.42,8.42,0,0,0,.6-.87A24,24,0,0,1,54,25.34c4.26-4,9.22-6.15,15.14-5.1A17.53,17.53,0,0,1,82.31,29.8c.09.18.19.35.31.56a2,2,0,0,0,.12-.2,15.16,15.16,0,0,1,10.18-8.94C100,19,106.9,19.89,113.54,23a5.6,5.6,0,0,1,3.29,4.68,10.37,10.37,0,0,1,0,1.36,16.84,16.84,0,0,1,2.41-1.74,31.62,31.62,0,0,0,9.08-6.52,4.56,4.56,0,0,1,3.84-1.47A6.18,6.18,0,0,1,138.39,26c-.1,2.23-.11,4.47-.16,6.71,0,.15,0,.29,0,.44l.17.09a15.86,15.86,0,0,0,1.47-1.93,22.28,22.28,0,0,1,9.76-9.59c4.47-2.17,9.14-2.26,13.87-1.22,1.76.38,3.48,1,5.2,1.55a3.16,3.16,0,0,0,2.88-.33,8.52,8.52,0,0,1,1.72-.95,6,6,0,0,1,8.11,6.33c0,.41-.1.81-.16,1.
#!/bin/bash
set -eo pipefail
brewfile=$(cat <<text
tap "caskroom/cask"
cask "keepingyouawake"
cask "iterm2"
cask "atom"
cask "sublime-text"
@mikeastock
mikeastock / keybase.md
Created February 8, 2017 23:56
keybase.md

Keybase proof

I hereby claim:

  • I am mikeastock on github.
  • I am mikeastock (https://keybase.io/mikeastock) on keybase.
  • I have a public key ASCWr9YZ4Dp4806nHRqqhic-DCNIHGSPns4Ii7Int86RvAo

To claim this, I am signing this object:

@mikeastock
mikeastock / params.rb
Created September 15, 2016 23:57
Strong Params
{
post: {
description: "Some text"
}
}
@mikeastock
mikeastock / Bottles
Created August 26, 2014 21:18
Bottle Shameless Green
class Bottles
def verse(number)
case number
when 0
"No more bottles of beer on the wall, no more bottles of beer.\n" +
"Go to the store and buy some more, 99 bottles of beer on the wall.\n"
when 1
"1 bottle of beer on the wall, 1 bottle of beer.\n" +
"Take it down and pass it around, no more bottles of beer on the wall.\n"
when 2
@mikeastock
mikeastock / tmux.conf
Created December 9, 2013 23:25 — forked from bryanl/tmux.conf
# ~/.tmux.conf
#
# See the following files:
#
# /opt/local/share/doc/tmux/t-williams.conf
# /opt/local/share/doc/tmux/screen-keys.conf
# /opt/local/share/doc/tmux/vim-keys.conf
#
# URLs to read:
#