- DerbyJS: http://derbyjs.com/
- LinkedIn moves to client-side templates: http://engineering.linkedin.com/frontend/leaving-jsps-dust-moving-linkedin-dustjs-client-side-templates
- Pjax: https://github.com/defunkt/jquery-pjax
- Rise of SPA: https://medium.com/tech-talk/fb44da86dc1f
- Server vs. Client rendering: http://programmers.stackexchange.com/questions/143194/what-advantages-are-conferred-by-using-server-side-page-rendering
- Single page apps in depth: http://singlepageappbook.com/single-page.html
This file contains hidden or 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
server { | |
listen 80; | |
server_name localhost; | |
location / { | |
proxy_pass http://127.0.0.1:4040/; | |
proxy_redirect off; | |
proxy_set_header Host $host; | |
proxy_set_header X-Real-IP $remote_addr; | |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |
This file contains hidden or 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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
config.ssh.shell = "bash -c 'BASH_ENV=/etc/profile exec bash'" | |
config.vm.box = "precise64" | |
config.vm.box_url = "http://files.vagrantup.com/precise64.box" | |
config.vm.provision :shell, :path => "bootstrap.sh" |
This file contains hidden or 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
Vagrant.configure("2") do |config| | |
config.vm.box = "projects" | |
config.vm.box_url = "http://files.vagrantup.com/precise64.box" | |
config.vm.network "public_network" | |
config.vm.provider "virtualbox" do |vb| | |
vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"] | |
#vb.customize ["modifyvm", :id, "--natdnsproxy1", "on"] | |
#vb.customize ["modifyvm", :id, "--rtcuseutc", "on"] | |
end |
This file contains hidden or 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
vagrant plugin install --plugin-source https://rubygems.org --plugin-prerelease vagrant-vbguest |
This file contains hidden or 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
[ | |
{ | |
"date": { | |
"created": Mon Aug 19 2013 20:42:31 GMT+00:00 , | |
"updated": Mon Aug 19 2013 20:42:31 GMT+00:00 | |
} , | |
"desc": "" , | |
"id": "5d37f3ea-c212-42e6-9a9d-cebfcdd97956" , | |
"meta": { | |
"ext": "stl" , |
This file contains hidden or 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
_ = require 'underscore' | |
Backbone = require 'backbone' | |
Chaplin = require 'chaplin' | |
Controller = Chaplin.Controller | |
module.exports = class DualRoute | |
# Borrow the static extend method from Backbone. | |
@extend = Backbone.Model.extend | |
# Taken from Backbone.Router. |
This file contains hidden or 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
fs = require 'fs' | |
util = require "util" | |
log = fs.createWriteStream(process.cwd() + "/test/stdout.log") | |
console.log = console.info = (t) -> | |
out = undefined | |
if t and ~t.indexOf("%") | |
out = util.format.apply(util, arguments) | |
process.stdout.write out + "\n" | |
return | |
else |
This file contains hidden or 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 | |
queues = {} | |
running = false | |
queue = (name) -> | |
name = 'default' if name is true | |
queues[name] or= [] | |
next = (name) -> |
This file contains hidden or 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
abrams-3:christie-mockup abrams$ jitsu deploy | |
info: Welcome to Nodejitsu chrisabrams | |
info: jitsu v0.11.3, node v0.8.18 | |
info: It worked if it ends with Nodejitsu ok | |
info: Executing command deploy | |
info: Analyzing application dependencies in node server.js | |
info: Creating snapshot 0.1.0-1 | |
info Uploading: [========================== ] 89%error: Error running command deploy | |
error: ETIMEDOUT | |
error: Error: ETIMEDOUT |