- 9th & Alder for 60+ food carts (largest in US)
- Dechutes (famous brewery w/good eats - open 11am-10pm Sun-Tue, 11am-11pm Wed-Thur - get that Chainbreaker!) http://www.yelp.com/biz/deschutes-brewery-and-public-house-portland
- Stumptown Coffee (delish! try the cold brew) http://www.yelp.com/biz/stumptown-coffee-roasters-portland
- Barista http://www.yelp.com/biz/barista-portland
- Mother's Bistro http://www.yelp.com/biz/mothers-bistro-and-bar-portland
- Doug Fir Lounge (bar, food, live music til 2:30am!) http://www.yelp.com/biz/doug-fir-lounge-portland
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Filter = require('broccoli-filter'); | |
var compile = require('es6-arrow-function').compile; | |
module.exports = ArrowFunctionFilter; | |
ArrowFunctionFilter.prototype = Object.create(Filter.prototype); | |
ArrowFunctionFilter.prototype.constructor = ArrowFunctionFilter; | |
function ArrowFunctionFilter (inputTree, options) { | |
if (!(this instanceof ArrowFunctionFilter)){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# app/assets/javascripts/ember-app/templates/partials/_header.js.coffee | |
%nav.navbar.navbar-default.navbar-fixed-top | |
.container | |
.navbar-header | |
%btn.navbar-toggle{ data: { target: '.navbar-collapse', toggle: 'collapse' }, type: 'button' } | |
%span.sr-only Toggle Navigation | |
%span.icon-bar | |
%span.icon-bar | |
%span.icon-bar | |
= hb 'link-to "index" class="navbar-brand"' do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// instead of this | |
{ | |
meth1: function() { | |
... | |
}.on('init'), | |
meth2: function() { | |
... | |
}.on('init'), | |
meth3: function() { | |
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source 'https://rubygems.org' | |
gem 'jekyll' | |
gem 'maruku' | |
gem 'rake' | |
gem 'sass' | |
gem 'coffee-script' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def email_pattern | |
%r{ | |
^[A-Z0-9._%+-]+ # Beginning with one or more valid characters (letters, numbers, period, etc.) | |
@ # A literal "at" sign | |
[A-Z0-9.-]+ # One or more letters, numbers, period, or dash | |
\. # A literal period | |
[A-Z]{2,4}$ # Ending with a two to four character text domain extension | |
}ix # Flags: Ignore whitespace and ignore letter case | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
App.Router.map(function() { | |
this.resource('post', { path: '/posts/:post_id' }); | |
}); | |
App.PostRoute = Ember.Route.extend({ | |
model: function(params) { | |
return this.store.find('post', params.post_id); | |
} | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2011 Jed Schmidt <http://jed.is> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
I've been working with Flux a lot recently, and one of the questions I've been struggling with is in which part of the Flux cycle to put my asynchronous data requests.
Here are some different opinions:
The famous Flux diagram puts them in the action creators.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! | |
* jQuery Tiny Pub/Sub for jQuery 1.7 - v0.1 - 27/10/2011 | |
* Based on @cowboy Ben Alman's REALLY tiny pub/sub. | |
* 1.7 specific updates by @addyosmani. | |
* Copyright maintained by @cowboy. | |
* Dual licensed under the MIT and GPL licenses. | |
*/ | |
(function($){ |
OlderNewer