Skip to content

Instantly share code, notes, and snippets.

# Recurse talk || Neha Narula
## Cache consistency
## External consistency
* What you read and write should match with time
* Serializability -- to order execution of statements
## Project
* narula/ ddtxn
@paulvstheworld
paulvstheworld / terminal.config
Created April 20, 2014 21:20
My Terminal Config
# custom prompt
# export PS1="\[\033[1;35m\]\u\[\033[0m\]:\[\033[1;35m\]\W\[\033[0m\]$ "
# color ls
export CLICOLOR=1
export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx
# color grep
export GREP_OPTIONS='--color=auto'
// lol global
var index = {};
function add(content, page) {
words = content.trim().split(" ");
index[page] = {};
for (var i = 0, len = words.length; i<len; i++) {
index[page][words[i]] = true;
}
}
# custom prompt
# export PS1="\[\033[1;35m\]\u\[\033[0m\]:\[\033[1;35m\]\W\[\033[0m\]$ "
# color ls
export CLICOLOR=1
export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx
# color grep
export GREP_OPTIONS='--color=auto'
// example of response with errors
var respObjWithErrors = {
errors: [{
key: 'could.not.insert',
msg: "couldn't insert new usr into db"
}],
data: { /* some data goes here */}
};
var respObj = { errors:[], data:{/* some data goes here */} }

LINUX KERNEL

Primary Functions

  • CPU
  • Memory
  • I/O

Startup

  1. BIOS