Group Discussion of Ember 2.0, http://www.meetup.com/Ember-SC/events/219194819/
Who Am I? ...Bill Heaton @pixelhandler
#!/bin/bash | |
# This script will automatically set up a single node Flynn Cluster on your linux box | |
# Fresh Flynn install with domain provided by the xip.io service | |
# Tested with Base Image: Ubuntu 14.04 x64 @ DigitalOcean droplet | |
# @date 16 Nov 2015 | |
# @author Edu Wass (eduwass at gmail com) | |
echo '---- START SETUP ----' |
Group Discussion of Ember 2.0, http://www.meetup.com/Ember-SC/events/219194819/
Who Am I? ...Bill Heaton @pixelhandler
This post is also on my blog, since Gist doesn't support @ notifications.
Components are taking center stage in Ember 2.0. Here are some things you can do today to make the transition as smooth as possible:
Ember.Controller
instead of Ember.ArrayController
or Ember.ObjectController
Ember.Controller
, otherwise a proxy will be generated. You can use Ember.RSVP.hash to simulate setting normal props on your controller.RUBY_GC_HEAP_FREE_SLOTS=600000 | |
RUBY_GC_HEAP_GROWTH_FACTOR=1.25 | |
RUBY_GC_HEAP_GROWTH_MAX_SLOTS=300000 | |
RUBY_GC_HEAP_INIT_SLOTS=600000 | |
RUBY_GC_HEAP_OLDOBJECT_LIMIT_FACTOR=1.3 | |
RUBY_GC_MALLOC_LIMIT=64000000 | |
RUBY_GC_OLDMALLOC_LIMIT=64000000 | |
RUBY_HEAP_FREE_MIN=12500 | |
RUBY_HEAP_SLOTS_GROWTH_FACTOR=1 | |
RUBY_HEAP_SLOTS_INCREMENT=100000 |
# Postgresql fancy datatypes! | |
* array | |
* hstore (=~ hash) | |
* json | |
* jsonb | |
Philippe Creux - [@pcreux](http://twitter.com/pcreux) |
Alternate title: Cross compiling Windows/Darwin/Linux amd64/386/arm all from linux
After fumbling around trying to figure out the go toolchain and cross compilation configuration, I ran across the wiki page on Go's homepage. It's super helpful, and worked out of the box. I'm including the necessary scripts here in case they get changed or lost, and we can help Google find it (since it's the first real source I've found that "Just Worked"). http://code.google.com/p/go-wiki/wiki/WindowsCrossCompiling
// app/initializers/csrf.js | |
export default { | |
name: 'csrf', | |
initialize: function(container, app) { | |
app.inject('route', 'csrf', 'service:csrf'); | |
app.inject('controller', 'csrf', 'service:csrf'); | |
} | |
} |
By default when Nginx starts receiving a response from a FastCGI backend (such as PHP-FPM) it will buffer the response in memory before delivering it to the client. Any response larger than the set buffer size is saved to a temporary file on disk.
This process is outlined at the Nginx ngx_http_fastcgi_module page manual page.
Hi there!
The docker cheat sheet has moved to a Github project under https://github.com/wsargent/docker-cheat-sheet.
Please click on the link above to go to the cheat sheet.