- Execute:
pecl install xdebug
- Execute following commands in order to check if it has been installed correctly (info about xdebug should be printed on console):
php -ini | grep xdebug
| 1. Install ICU (https://gist.github.com/giniedp/7247700): | |
| Go to http://site.icu-project.org/download/ | |
| cd icu/source | |
| chmod +x runConfigureICU configure install-sh | |
| ./runConfigureICU MacOSX | |
| make | |
| sudo make install | |
| 2. sudo pecl install mongodb |
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
| { | |
| "USD": { | |
| "symbol": "$", | |
| "name": "US Dollar", | |
| "symbol_native": "$", | |
| "decimal_digits": 2, | |
| "rounding": 0, | |
| "code": "USD", | |
| "name_plural": "US dollars" | |
| }, |
| // | |
| // RealmSwift+Codable.swift | |
| // | |
| // Created by Michael Gray on 8/16/17. | |
| // | |
| import Foundation | |
| import RealmSwift | |
| // swiftlint:disable line_length identifier_name |
| //reduce | |
| //Use reduce to combine all items in a collection to create a single new value. | |
| let numbers = [1, 3, 5, 7, 9] | |
| //sum all values from the array (+) | |
| let result = numbers.reduce(0, +) | |
| //sum all values from the array (+) plus one | |
| let result2 = numbers.reduce(1, +) | |
| let result3 = numbers.reduce(1, *) |
(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.