Skip to content

Instantly share code, notes, and snippets.

View joshuamiller's full-sized avatar

Joshua Miller joshuamiller

View GitHub Profile
From 6d442e38286fa6c3a3ca9e355ee532c87cee1a90 Mon Sep 17 00:00:00 2001
From: Joshua Miller <elefantstn@gmail.com>
Date: Tue, 31 May 2011 22:16:35 -0400
Subject: [PATCH] Ensure runtime/ exists before building runtime/platform.conf
---
rakelib/platform.rake | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/rakelib/platform.rake b/rakelib/platform.rake
# config/routes.rb
get '/sign_in' => 'user_sessions#new', :as => :sign_in
post '/sign_in' => 'user_sessions#create', :as => :sign_in
# Output
#=> Invalid route name, already in use: 'sign_in'
#=> You may have defined two routes with the same name using the `:as` option, or you may be overriding a route already defined by a resource with the same naming. For the latter, you can restrict the routes created with `resources` as explained here:
#=> http://guides.rubyonrails.org/routing.html#restricting-the-routes-created
julia> reports["Lat"]
1130-element DataArray{Float64,1}:
40.2717
40.2661
40.2925
40.2498
40.2765
40.2704
40.2644
40.2731
@joshuamiller
joshuamiller / flavor.rb
Last active March 23, 2017 22:35 — forked from ttscoff/flavor.rb
#!/usr/bin/ruby
# encoding: US-ASCII
# Convert a Markdown README to HTML with Github Flavored Markdown
# Github and Pygments styles are included in the output
#
# Requirements: json gem (`gem install json`)
#
# Input: STDIN or filename
# Output: STDOUT
# Arguments: "-c" to copy to clipboard (or "| pbcopy"), or "> filename.html" to output to a file

Food

Food Carts

  • SE 28th & Ankeny
    • Wolf & Bear's (Israeli)
    • Le Pantry (upscale but not expensive)
    • Captured Beer Bus (Oregon beer, cider, wine on tap)
  • SE 12th & Hawthorne (Cartopia)
  • Chicken & Guns (incredible Latin rotisserie chicken)