Skip to content

Instantly share code, notes, and snippets.

View yerffejytnac's full-sized avatar

Jeffrey yerffejytnac

View GitHub Profile
@yerffejytnac
yerffejytnac / gist:d4fab04ba1978ee4736a
Created May 19, 2015 00:15
ember 2.0 cheat sheet

ember new **project**


bower install components/ember#canary components/ember-data#canary --save

config/environment.js:


### Keybase proof
I hereby claim:
* I am cantyjeffrey on github.
* I am cantyjeffrey (https://keybase.io/cantyjeffrey) on keybase.
* I have a public key whose fingerprint is 99FF 1CF3 D084 CE48 205B DD93 2DDF A585 BFC0 3811
To claim this, I am signing this object:
@yerffejytnac
yerffejytnac / gist:5cd35bb6b91413000285
Created October 14, 2014 18:07
nginx config for ember-cli
server {
listen 80;
server_name domain.name.com;
charset utf-8;
client_max_body_size 128M;
client_body_temp_path /tmp/nginx 1 2;
root /path/to/app/current;
location / {
rewrite ^ /index.html break;
}
server master % g pull
Already up-to-date.
server master % make deps
go get
# server
./api.go:27: undefined: Asset
./api.go:134: undefined: Asset
make: *** [deps] Error 2
server master % make dev
rm -f bindata.go
@yerffejytnac
yerffejytnac / gist:27d69315ac1d70bf475a
Created June 7, 2014 15:39
Brew install of PostgreSQL and MongoDB on OS X 10.10 Yosemite (Workaround)

Fire up terminal: sudo vim /System/Library/CoreServices/SystemVersion.plist and enter your password...

At the bottom of SystemVersion.plist, change:

<key>ProductVersion</key> <string>10.10</string

to:

@yerffejytnac
yerffejytnac / clean_install
Created January 13, 2014 06:11
Clean installation TODOs for Mavericks 10.9.1
Install command-line tools
xcode-select --install
Install homebrew
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
brew doctor
brew tap homebrew/dupes