(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.
version: '3.3' | |
services: | |
db: | |
image: mysql | |
restart: always | |
command: --default-authentication-plugin=mysql_native_password | |
environment: | |
MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASSWORD} | |
MYSQL_DATABASE: ${DB_NAME} |
angular.module('app', ['mgcrea.ngStrap']).config(['$provide', $provide => { | |
$provide.decorator('$modal', $delegate => config => { | |
const createConfigMethodDecorator = (orignalMethod, lifeCycleEventName) => $m => { | |
if (config.controllerAs) { | |
const modalPromise = $m.$promise | |
if (modalPromise) { | |
modalPromise.then(val => { | |
if (val && val.locals) { |
System: Host: GL752VW Kernel: 4.10.0-37-generic x86_64 (64 bit gcc: 5.4.0) | |
Desktop: Cinnamon 3.4.6 (Gtk 3.18.9-1ubuntu3.3) dm: lightdm Distro: Linux Mint 18.2 Sonya | |
Machine: System: ASUSTeK (portable) product: GL752VW v: 1.0 | |
Mobo: ASUSTeK model: GL752VW v: 1.0 Bios: American Megatrends v: GL752VW.207 date: 11/03/2015 | |
CPU: Quad core Intel Core i5-6300HQ (-MCP-) cache: 6144 KB | |
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 18432 | |
clock speeds: min/max: 800/3200 MHz 1: 2962 MHz 2: 2956 MHz 3: 2967 MHz 4: 2977 MHz | |
Graphics: Card-1: Intel Skylake Integrated Graphics bus-ID: 00:02.0 chip-ID: 8086:191b | |
Card-2: NVIDIA GM107M [GeForce GTX 960M] bus-ID: 01:00.0 chip-ID: 10de:139b | |
Display Server: X.Org 1.18.4 driver: nvidia Resolution: 1920x1080@60.00hz |
System: Host: GL752VW Kernel: 4.4.0-97-generic x86_64 (64 bit gcc: 5.4.0) | |
Desktop: Cinnamon 3.2.7 (Gtk 3.18.9-1ubuntu3.3) dm: mdm Distro: Linux Mint 18.1 Serena | |
Machine: System: ASUSTeK (portable) product: GL752VW v: 1.0 | |
Mobo: ASUSTeK model: GL752VW v: 1.0 Bios: American Megatrends v: GL752VW.207 date: 11/03/2015 | |
CPU: Quad core Intel Core i5-6300HQ (-MCP-) cache: 6144 KB | |
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 18432 | |
clock speeds: min/max: 800/3200 MHz 1: 3113 MHz 2: 1087 MHz 3: 2978 MHz 4: 1999 MHz | |
Graphics: Card-1: Intel Skylake Integrated Graphics bus-ID: 00:02.0 chip-ID: 8086:191b | |
Card-2: NVIDIA GM107M [GeForce GTX 960M] bus-ID: 01:00.0 chip-ID: 10de:139b | |
Display Server: X.Org 1.18.4 driver: nvidia Resolution: 1920x1080@60.00hz |
(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.
#RxJS 5 Operators By Example
UPDATE: I have moved the contents of this gist plus more to https://github.com/btroncone/learn-rxjs and http://www.learnrxjs.io. For expanded examples, explanations, and resources, please check out this new location!
A complete list of RxJS 5 operators with easy to understand explanations and runnable examples.
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://unpkg.com/react@15.2.1/dist/react.min.js"></script> | |
<script src="https://unpkg.com/react-dom@15.2.1/dist/react-dom.min.js"></script> | |
<script src="https://unpkg.com/redux@^3.5.2/dist/redux.min.js"></script> | |
<script src="https://unpkg.com/react-redux@4.4.5/dist/react-redux.min.js"></script> | |
<script src="https://unpkg.com/@reactivex/rxjs/dist/global/Rx.js"></script> | |
<script src="https://unpkg.com/redux-observable/dist/redux-observable.min.js"></script> | |
<meta charset="utf-8"> |
module Main exposing (..) | |
import String | |
import Regex | |
import Html exposing (..) | |
import Html.Attributes exposing (..) | |
import Html.Events exposing (onInput) | |
main : Program Never Model Msg |
module Main exposing (..) | |
import Html exposing (Html, Attribute, div, input, text) | |
import Html.Attributes exposing (..) | |
import Html.Events exposing (onInput) | |
main : Program Never Model Msg | |
main = | |
Html.beginnerProgram { model = model, view = view, update = update } |
module Main exposing (..) | |
import Html exposing (Html, button, div, text) | |
import Html.Events exposing (onClick) | |
main : Program Never Model Msg | |
main = | |
Html.beginnerProgram { model = model, view = view, update = update } |