Skip to content

Instantly share code, notes, and snippets.

View revington's full-sized avatar
🎸
hey ho lets go!

Pedro Narciso García Revington revington

🎸
hey ho lets go!
View GitHub Profile
@revington
revington / System Design.md
Created April 18, 2016 07:31 — forked from vasanthk/System Design.md
System Design Cheatsheet

#System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

##Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?
@revington
revington / couchdb_delete_non_design_docs.js
Created July 2, 2012 12:07 — forked from ryankirkman/couchdb_delete_non_design_docs.js
Delete all non-design docs in CouchDB (using cradle)
var cradle = require('cradle');
var database = 'app';
cradle.setup({
host: '127.0.0.1',
port: 5984,
auth: { username: "YOUR_USERNAME", password: "YOUR_PASSWORD" }
});