I was trying to understand JavaScript Promises by using various libraries (bluebird, when, Q) and other async approaches.
I read the spec, some blog posts, and looked through some code. I learned how to
| forth dev app | 
| let $PATH = './node_modules/.bin:' . $PATH | |
| let g:used_javascript_libs = 'react' | |
| autocmd BufNewFile,BufEnter **/*.js setlocal filetype=javascript.jsx | |
| if filereadable(".ctrlpignore") | |
| let g:ctrlp_user_command = 'find %s -type f | grep -v "`cat ./.ctrlpignore`"' | |
| endif | 
| // # Mocha Guide to Testing | |
| // Objective is to explain describe(), it(), and before()/etc hooks | |
| // 1. `describe()` is merely for grouping, which you can nest as deep | |
| // 2. `it()` is a test case | |
| // 3. `before()`, `beforeEach()`, `after()`, `afterEach()` are hooks to run | |
| // before/after first/each it() or describe(). | |
| // | |
| // Which means, `before()` is run before first it()/describe() | 
| diff -rupN mage_org/app/code/core/Mage/Catalog/Model/Url.php src_shop/app/code/core/Mage/Catalog/Model/Url.php | |
| --- mage_org/app/code/core/Mage/Catalog/Model/Url.php 2013-11-19 00:48:25.679009391 +0100 | |
| +++ src_shop/app/code/core/Mage/Catalog/Model/Url.php 2013-11-19 00:49:24.188005601 +0100 | |
| @@ -643,13 +643,24 @@ class Mage_Catalog_Model_Url | |
| $this->_rewrite = $rewrite; | |
| return $requestPath; | |
| } | |
| + | |
| + // avoid unnecessary creation of new url_keys for duplicate url keys | |
| + $noSuffixPath = substr($requestPath, 0, -(strlen($suffix))); | 
| // GET https://api.fixer.io/latest?base=USD | |
| { | |
| "base": "USD", | |
| "date": "2018-01-30", | |
| "rates": { | |
| "AUD": 1.2354, | |
| "BGN": 1.5746, | |
| "BRL": 3.1624, | |
| "CAD": 1.2321, | |
| "CHF": 0.93302, | 
| export PATH=/usr/local/cuda-9.1/bin${PATH:+:${PATH}} | |
| export LD_LIBRARY_PATH=/usr/local/cuda-9.1/lib64\${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} | 
I was trying to understand JavaScript Promises by using various libraries (bluebird, when, Q) and other async approaches.
I read the spec, some blog posts, and looked through some code. I learned how to
| env $(cat .env) node app.js | 
o.......Open files, directories and bookmarks....................|NERDTree-o|
go......Open selected file, but leave cursor in the NERDTree.....|NERDTree-go|
t.......Open selected node/bookmark in a new tab.................|NERDTree-t|
T.......Same as 't' but keep the focus on the current tab........|NERDTree-T|
i.......Open selected file in a split window.....................|NERDTree-i|
gi......Same as i, but leave the cursor on the NERDTree..........|NERDTree-gi|
s.......Open selected file in a new vsplit.......................|NERDTree-s|
gs......Same as s, but leave the cursor on the NERDTree..........|NERDTree-gs|
O.......Recursively open the selected directory..................|NERDTree-O|
People
|   :bowtie: | π :smile: | π :laughing: | 
|---|---|---|
| π :blush: | π :smiley: | :relaxed: | 
| π :smirk: | π :heart_eyes: | π :kissing_heart: | 
| π :kissing_closed_eyes: | π³ :flushed: | π :relieved: | 
| π :satisfied: | π :grin: | π :wink: | 
| π :stuck_out_tongue_winking_eye: | π :stuck_out_tongue_closed_eyes: | π :grinning: | 
| π :kissing: | π :kissing_smiling_eyes: | π :stuck_out_tongue: |