DISCLAIMER:
The whole content comes "as is".
All commentaries refer to author's impression.
Some inconsistency possible as well.
The few details (mainly useful links) were added while transcribing notes.
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
Add the following to your .bashrc (change path as necessary): | |
alias ruby='/cygdrive/c/Ruby193/bin/ruby' | |
alias gem='/cygdrive/c/Ruby193/bin/gem.bat' | |
alias irb='/cygdrive/c/Ruby193/bin/irb.bat' |
Every single JavaScript engine supports standard timers *
These accept one or more extra argument by specs
for(var i = 0; i < 2; i++) {
setTimeout(function (i) {
console.log(i);
}, 0, i); // <== see this?
}
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
// modified from this: https://github.com/emiloberg/nativescript-emulator-reload | |
// all sources | |
var babelSrc = [ 'src/**/*.js', '!src/tns_modules', '!src/tns_modules/**', '!src/node_modules', '!src/node_modules/**' ]; | |
var jadeSrc = [ 'src/**/*.jade' ]; | |
var sassSrc = [ 'src/**/*.scss' ]; | |
var resources = [ 'src/{App_Resources,tns_modules,node_modules}/**', 'src/package.json']; | |
// Which emulator to run? |
NewerOlder