This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2011 Jed Schmidt <http://jed.is> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
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 |
if (!require(quantmod)) { | |
stop("This app requires the quantmod package. To install it, run 'install.packages(\"quantmod\")'.\n") | |
} | |
# Download data for a stock if needed, and return the data | |
require_symbol <- function(symbol, envir = parent.frame()) { | |
if (is.null(envir[[symbol]])) { | |
envir[[symbol]] <- getSymbols(symbol, auto.assign = FALSE) | |
} |
/** | |
* Copyright (c) 2013 Apurv Verma | |
*/ | |
package org.anahata.hadoop.illustrations; | |
import java.io.IOException; | |
import java.util.HashMap; | |
import java.util.Map; | |
import org.anahata.commons.hadoop.io.IntInt; |
#!/bin/bash | |
if [ "$#" -ne "2" ]; then | |
echo "Usage: ./install-redis-instance.sh NAME PORT" | |
exit 1 | |
fi | |
if [ ! -x /usr/local/bin/redis-server ]; then | |
apt-get install -y build-essential | |
curl -O -L http://download.redis.io/releases/redis-2.8.9.tar.gz |