- CPU
- Memory
- I/O
- BIOS
| # 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 |
| # 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 */} } |