Example of how to implement two way data-binding using rxjs.
A Pen by Radoslaw Scheibinger on CodePen.
[10:12:54] Francisco Ferreira: http://robots.thoughtbot.com/post/2641409235/a-tmux-crash-course | |
[10:15:53] Andrzej Grzesik: set -g utf8 on | |
set -g status-utf8 on | |
set -g default-terminal "screen-256color" | |
setw -g automatic-rename | |
setw -g mode-mouse on | |
set -g mouse-select-pane on | |
set -g history-limit 30000 |
# !/bin/bash | |
# Copyright (c) 2011 Float Mobile Learning | |
# http://www.floatlearning.com/ | |
# Extension Copyright (c) 2013 Weptun Gmbh | |
# http://www.weptun.de | |
# | |
# Extended by Ronan O Ciosoig January 2012 | |
# | |
# Extended by Patrick Blitz, April 2013 |
" this is the configuration file for linux and mac systems | |
" symlink this to your home folder as .vimrc | |
" It loads ~/.vim/vundle and loads all modules from ~/.vim/bundle. | |
" It then loads ~/.vim/vimrc_main which has the main | |
" configuration that works across all systems. | |
source ~/.vim/vundle | |
source ~/.vim/vimrc_main | |
" Put platform specific stuff here. |
#what is listening on port 8080 ? | |
lsof -i -n -P | grep TCP | grep LISTEN | grep 8080 |
#remove untracked files: | |
git clean -f | |
#unstage file | |
git reset HEAD file |
Example of how to implement two way data-binding using rxjs.
A Pen by Radoslaw Scheibinger on CodePen.
A Pen by Radoslaw Scheibinger on CodePen.
//describe what are you testing: given | |
describe('button widget', function(){ | |
//describe the aspect of object that you are testing: when | |
describe('when button is clicked', function(){ | |
//verify the expectation: then | |
it('onClickHandler should be called ', function(){ | |
expect(onClickHandler).to.have.been.called | |
}) | |
}) | |
}); |
#show disk usage of folders
find . -type d -maxdepth 1 -exec du -hcs {} \; | grep "./"
#unzip recursively
find . -name "*.zip" -exec unzip {} \; -exec /bin/rm {} \;
#curl POST data and newlines
cat /tmp/mm.txt | curl -d @- http://localhost:3000/message/new
cat /tmp/mm.txt | lwp-request -m POST http://localhost:7600/edges/2269000