Skip to content

Instantly share code, notes, and snippets.

@m9dfukc
m9dfukc / gist:3363520
Created August 15, 2012 20:49 — forked from streunerlein/gist:3332181
NPM Mirrors & Proxies

Definition

Mirrors: standalone servers with complete copy of npm registry

Proxies: proxy to the database (couchdb) of npm registry, if only the npm registry server fails but the db works

## HowTo See this gist: https://gist.github.com/3331671

Mirrors

(+) means server is self updating (pulls newest stuff from offical registry when back online again)

@m9dfukc
m9dfukc / _schema.rb
Created August 10, 2012 08:17 — forked from RyanScottLewis/_schema.rb
SpineJS User's Name helper + showing off getters/setters in Spine
ActiveRecord::Schema.define(:version => 00000000000000) do
create_table "users", :force => true do |t|
t.string "username", :default => "", :null => false
t.string "email", :default => "", :null => false
t.string "encrypted_password", :default => "", :null => false
# Devise fluff here...
t.string "first_name", :default => "", :null => false