This is the reference point. All the other options are based off this.
|-- app
| |-- controllers
| | |-- admin
import re | |
import subprocess | |
from urllib2 import urlopen | |
url = 'http://videolectures.net/ecmlpkdd08_carlson_bief/' | |
re_flv = re.compile(r'(flv:[\w/]+)') | |
html = urlopen(url).read() | |
m = re.search(re_flv, html) | |
if m: |
// # Mocha Guide to Testing | |
// Objective is to explain describe(), it(), and before()/etc hooks | |
// 1. `describe()` is merely for grouping, which you can nest as deep | |
// 2. `it()` is a test case | |
// 3. `before()`, `beforeEach()`, `after()`, `afterEach()` are hooks to run | |
// before/after first/each it() or describe(). | |
// | |
// Which means, `before()` is run before first it()/describe() |
# Compiled source # | |
################### | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
# Packages # |
var Backbone = require('backbone'); | |
// Flash /////////////////////////////////////////////////////////////////////////////////////////// | |
// The flash is a way for one controller to pass a small amount of information to the next | |
// controller, through a navigation event. | |
// | |
// The flash holds arbitrary parameters, and is cleared by the router after each navigation event. | |
var flash = exports.flash = { | |
params: {}, |
I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!
\
package main | |
import ( | |
"fmt" | |
"os" | |
"os/exec" | |
"syscall" | |
) | |
func main() { |
Picking the right architecture = Picking the right battles + Managing trade-offs
FWIW: I (@rondy) am not the creator of the content shared here, which is an excerpt from Edmond Lau's book. I simply copied and pasted it from another location and saved it as a personal note, before it gained popularity on news.ycombinator.com. Unfortunately, I cannot recall the exact origin of the original source, nor was I able to find the author's name, so I am can't provide the appropriate credits.