Skip to content

Instantly share code, notes, and snippets.

fb tutorial, thinking in react, egghead isn't bad, survivejs for webpack stuff, full stack redux (even if you aren't using redux it's worth it)

Do first two first though

And it's hard because of work, but try stuff without flux first

It's worth it to understand plain react and why people invented flux in the first place

And you can always pair with yours truly

San Juans

  • - Sneffels - Snake Couloir
  • - Wilson Peak - Coors

Elks

  • - N. Maroon Peak - N. Face
  • - Pyramid - Landry Line

RMNP

  • - Longs Peak - N. Face
@AndyDangerous
AndyDangerous / to_ski_in_GTNP.md
Last active January 6, 2016 22:49
Teton Hit List

Things I want to ski in the Tetons

There are a lot of things, and these are some of them. Also, page numbers are for pages in Thomas Turiano's excellent book Teton Skiing

  • - Buck Mountain - East Face (p. 112) I've been turned away 2-3 times here and really want to ski it
  • - Grand Teton - Ford-Stettner Couloir (p. 97)
  • - Grand Teton - Otter Body
  • - Middle Teton - Glacier Route (p. 101)

Slow Cooker Pulled Elk

Ingredients

  • 4 -6 lbs elk
  • 2 onions, quartered
  • 2 tablespoons light brown sugar
  • 1 tablespoon paprika (be liberal)
  • 2 teaspoons salt
@AndyDangerous
AndyDangerous / .vimrc
Created December 22, 2015 20:20
Old .vimrc from turing. Last updated Nov. 2014
execute pathogen#infect()
set rtp+=/usr/local/go/misc/vim
colorscheme spacegray
"" ========== These come from Mislav (http://mislav.uniqpath.com/2011/12/vim-revisited/) ==========
set nocompatible " choose no compatibility with legacy vi
syntax enable
set encoding=utf-8
set showcmd " display incomplete commands
Elk Breakfast Sausage:
20 lbs elk
5 lbs pork fat/trimmings
3 T black pepper
3 T red pepper
3/4 c. brown sugar
6 T coarse salt
1 T fennel seeds

TODO

Features

  • reverse-geocoding
  • various optoins
  • state code sorter outer

Pre-Pull Request

  • Appropriate fixtures
  • Errors
# Environment Variables
# Not this time...
# Take you to the dir of a file in a gem. e.g. `2gem rspec`
2gem () {
cd "$(dirname $(gem which $1))"
}
# Gives you a middle finger prompt because I was only born with two
# GODDAMMIT! It doesn't exist yet
@AndyDangerous
AndyDangerous / gist:9f5fecd8d3e4105f3850
Last active August 29, 2015 14:10
When you want lynx on your mac (Yosemite)...
# you may need to create this
cd /usr/local/src
# 2.8.8 is the latest stable version as of Nov. 21, 2014 - check lynx.isc.org for more recent versions
curl -O http://lynx.isc.org/lynx2.8.8/lynx2.8.8.tar.gz
tar -xzvf lynx2.8.8.tar.gz
cd lynx2-8-8
./configure --mandir=/usr/share/man
make
# you may need to `sudo` this
make install
<iframe width="420" height="315" src="//www.youtube.com/embed/LYN8BXmb6h4" frameborder="0" allowfullscreen></iframe>
There are some tutorials out there to help you get started with pairing the excellent Ember front end javascript framework with a Rails back end API. It can be a little harder to find a condensed source to help you go beyond simple GET requests.
This tutorial is based off of a project called [Snowcial](www.snowcial.pw), and will cover implementing CRUD actions for an existing `groups` model. You can substitute this with whatever model makes sense for your project. Requirements include a working app* with `index` and `show` actions. We will go over adding `create`, `update`, and `destroy`. I'll also assume that you are comfortable with Ruby and Rails already though you'll only need passing understanding of javascript and Ember.
*App, in this case, means a Rails app providing a JSON API and an Ember front end consuming it. [This set of tutorials](http://reefpoints.dockyard.com/2014/05/07/bui