(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.
<?php | |
//class docs: http://www.orderingdisorder.com/aws/ses/ | |
require_once('ses.php'); | |
//get credentials at http://aws.amazon.com My Account / Console > Security Credentials | |
$ses = new SimpleEmailService('ACCESSkeyID', 'SECRETaccessKEY'); | |
$m = new SimpleEmailServiceMessage(); |
Latency Comparison Numbers (~2012) | |
---------------------------------- | |
L1 cache reference 0.5 ns | |
Branch mispredict 5 ns | |
L2 cache reference 7 ns 14x L1 cache | |
Mutex lock/unlock 25 ns | |
Main memory reference 100 ns 20x L2 cache, 200x L1 cache | |
Compress 1K bytes with Zippy 3,000 ns 3 us | |
Send 1K bytes over 1 Gbps network 10,000 ns 10 us | |
Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD |
get-composer: | |
cmd.run: | |
- name: 'CURL=`which curl`; $CURL -sS https://getcomposer.org/installer | php' | |
- unless: test -f /usr/local/bin/composer | |
- cwd: /root/ | |
install-composer: | |
cmd.wait: | |
- name: mv /root/composer.phar /usr/local/bin/composer | |
- cwd: /root/ |
(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.
module XHR { | |
export class Header { | |
header: string; | |
data: string; | |
constructor(header: string, data: string) { | |
this.header = header; | |
this.data = data; | |
} | |
} |
By: @BTroncone
Also check out my lesson @ngrx/store in 10 minutes on egghead.io!
Update: Non-middleware examples have been updated to ngrx/store v2. More coming soon!
Table of Contents
A complete list of RxJS 5 operators with easy to understand explanations and runnable examples.
FWIW: I (@rondy) am not the creator of the content shared here, which is an excerpt from Edmond Lau's book. I simply copied and pasted it from another location and saved it as a personal note, before it gained popularity on news.ycombinator.com. Unfortunately, I cannot recall the exact origin of the original source, nor was I able to find the author's name, so I am can't provide the appropriate credits.
#![feature(lang_items)] | |
#![no_std] | |
#[no_mangle] | |
pub fn add_one(x: i32) -> i32 { | |
x + 1 | |
} | |
// needed for no_std |