(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.
#!/bin/bash | |
ICON_SRC="src/res/icon-master.png" | |
## ANDROID | |
ICON_DIR="build/platforms/android/res" | |
mkdir -p $ICON_DIR | |
convert $ICON_SRC -resize 36x36 "${ICON_DIR}/drawable-ldpi/icon.png" | |
convert $ICON_SRC -resize 48x48 "${ICON_DIR}/drawable-mdpi/icon.png" | |
convert $ICON_SRC -resize 72x72 "${ICON_DIR}/drawable-hdpi/icon.png" |
(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.
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 |
# Chat with hubie. | |
# | |
# hubie <anything> | |
# | |
# don't forget to set HUBOT_PANDORA_BOTID = <botid> | |
QS = require "querystring" | |
module.exports = (robot) -> |