(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| /* ******************************************************************************************* | |
| * THE UPDATED VERSION IS AVAILABLE AT | |
| * https://github.com/LeCoupa/awesome-cheatsheets | |
| * ******************************************************************************************* */ | |
| // 0. Synopsis. | |
| // http://nodejs.org/api/synopsis.html |
| /** | |
| * Perform a deeply recursive reduce on a set of JSON, or a JSON-encodable Object hierarchy. | |
| * | |
| * @param {Array|Object} collection | |
| * @param {Function} fn | |
| * @param {*} memo | |
| * @return {*} | |
| */ | |
| function deepReduce(collection, fn, memo) { |
| // Highlights all custom elements on the page. | |
| // 7/31/2016: updated to work with both shadow dom v0 and v1. | |
| // To create a bookmarklet, use http://ted.mielczarek.org/code/mozilla/bookmarklet.html | |
| var allCustomElements = []; | |
| function isCustomElement(el) { | |
| const isAttr = el.getAttribute('is'); | |
| // Check for <super-button> and <button is="super-button">. | |
| return el.localName.includes('-') || isAttr && isAttr.includes('-'); |
| app/code/community/Phoenix/ | |
| app/code/community/Cm/ | |
| app/code/core/ | |
| app/design/adminhtml/default/default/ | |
| app/design/frontend/base/ | |
| app/design/frontend/default/blank/ | |
| app/design/frontend/default/default/ | |
| app/design/frontend/default/iphone/ | |
| app/design/frontend/default/modern/ | |
| app/design/frontend/enterprise/default |
| .grid_1 { width:7.5833333333333333333333333333333%; } | |
| .grid_2 { width:15.166666666666666666666666666667%; } | |
| .grid_3 { width:22.75%; } | |
| .grid_4 { width:30.333333333333333333333333333333%; } | |
| .grid_5 { width:37.916666666666666666666666666667%; } | |
| .grid_6 { width:45.5%; } | |
| .grid_7 { width:53.083333333333333333333333333333%; } | |
| .grid_8 { width:60.666666666666666666666666666666%; } | |
| .grid_9 { width:68.25%; } | |
| .grid_10 { width:75.833333333333333333333333333333%; } |
| /** | |
| * Simple node_acl example with mongoDB and expressjs | |
| * | |
| * Usage: | |
| * 1. Start this as server | |
| * 2. Play with the resoures | |
| * | |
| * Show all permissions (as JSON) | |
| * http://localhost:3500/info | |
| * |
| <?xml version="1.0" ?> | |
| <project name="MagentoExt" basedir="." default="MagentoExt"> | |
| <!-- Properties --> | |
| <property name="module.name" value="NAMESPACE" /> | |
| <property name="package.name" value="MODULENAME" /> | |
| <property name="package.scope" value="local" /><!-- local/community --> | |
| <!-- Basic Folder and Files Structure Creation --> | |
| <target name="MagentoExt" description=""> |