This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var behaviorSubject = new Rx.BehaviorSubject(0); | |
var subject = new Rx.Subject(); | |
subject.subscribe(v => { | |
console.log('SubjectObserver: ' + v) | |
}); | |
behaviorSubject.subscribe(v => { | |
console.log('BehaviorSubjectObserver: ' + v) | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git | |
export PATH="$PATH":`pwd`/depot_tools | |
export GYP_GENERATORS='ninja' | |
if [ `uname` == 'Darwin' ]; then | |
export GYP_DEFINES=mac_sdk=10.8 | |
fi | |
echo 'p' | svn ls https://src.chromium.org/chrome | |
echo 'p' | svn ls https://sctp-refimpl.googlecode.com/svn/trunk | |
echo 'p' | svn ls https://cld2.googlecode.com/svn/trunk | |
mkdir chromium && cd chromium |