Streams: a new general purpose data structure in Redis. - antirez
Redis will support stream processing.
The 5 Types Of React Application State - James K Nelson
A pattern to categorize Redux State.
Developing a Redux Edge {Book}
A book recommended if you want to learn Redux in depth.
Learned from the book above, delete a key from object:
const {[id]: remove, ...rest} = state; return rest;
Projects
- Ramda Functional library for Javascript, It is pure, immutable and auto curried.
- Heron Stream processing framework via Twitter, which API is compatible with Apache Storm.
Shell, vim tips
Fix quickfix hilight color
hi! link QuickFixLine Search
Fix
^[[?2004h
when using zsh in dump terminalif [[ $TERM == dumb ]]; then unset zle_bracketed_paste fi
Close disturbing windows in #vim
function! s:CloseDisturbingWin() if &filetype == "help" || &filetype == "netrw" let l:currentWindow = winnr() if s:currentWindow > l:currentWindow let s:currentWindow = s:currentWindow - 1 endif close endif endfunction command! Close :pclose | :cclose | :lclose | \ let s:currentWindow = winnr() | \ :windo call s:CloseDisturbingWin() | \ exe s:currentWindow . "wincmd w"