(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.
| http { | |
| upstream app-pc { | |
| server 127.0.0.1:8001; | |
| } | |
| upstream app-mobile { | |
| server 127.0.0.1:8002; | |
| } | |
| server { |
(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.
| function resize (file, maxWidth, maxHeight, fn) { | |
| var reader = new FileReader(); | |
| reader.readAsDataURL(file); | |
| reader.onload = function (event) { | |
| var dataUrl = event.target.result; | |
| var image = new Image(); | |
| image.src = dataUrl; | |
| image.onload = function () { |
This procedure explains how to install MySQL using Homebrew on macOS Sierra 10.12
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"At this time of writing, Homebrew has MySQL version 5.7.15 as default formulae in its main repository :
| private void addAutoStartupswitch() { | |
| try { | |
| Intent intent = new Intent(); | |
| String manufacturer = android.os.Build.MANUFACTURER .toLowerCase(); | |
| String model= Build.MODEL; | |
| Log.d("DeviceModel",model.toString()); | |
| switch (manufacturer){ | |
| case "xiaomi": |