cd ~/Desktop
mkdir wget-build
cd wget-build
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$matrix{"apple.co"} = "http://www.apple.com/?cid=oas-us-domains-apple.co"; | |
$matrix{"itunes.co"} = "http://www.apple.com/itunes/?cid=oas-us-domains-itunes.co"; | |
$matrix{"imac.co"} = "http://www.apple.com/imac/?cid=oas-us-domains-imac.co"; | |
$matrix{"ipod.co"} = "http://www.apple.com/ipod/?cid=oas-us-domains-ipod.co"; | |
$matrix{"macbook.co"} = "http://www.apple.com/macbook/?cid=oas-us-domains-macbook.co"; | |
$matrix{"applestore.co"} = "http://store.apple.com/us?cid=oas-us-domains-applestore.co"; | |
$matrix{"macintosh.co"} = "http://www.apple.com/mac/?cid=oas-us-domains-mac.co"; | |
$matrix{"macintosh.cl"} = "http://www.apple.com/la/mac/?cid=oas-us-domains-macintosh.cl"; | |
$matrix{"mobileme.co"} = "http://me.com"; | |
$matrix{"itunesstore.co"} = "http://www.apple.com/itunes/?cid=oas-us-domains-itunesstore.co"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/perl | |
# version 1.1 | |
# if the host+path are in matrix then the redirect is to a single location | |
# if just the host is in matrix then the redirect is to host+the request uri | |
# nwk-productred 17.149.160.28 & 17.172.224.28 | |
# | |
# to distibute this file us /usr/local/scr/distfilex | |
# | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
L1 cache reference ......................... 0.5 ns
Branch mispredict ............................ 5 ns
L2 cache reference ........................... 7 ns
Mutex lock/unlock ........................... 25 ns
Main memory reference ...................... 100 ns
Compress 1K bytes with Zippy ............. 3,000 ns = 3 µs
Send 2K bytes over 1 Gbps network ....... 20,000 ns = 20 µs
SSD random read ........................ 150,000 ns = 150 µs
Read 1 MB sequentially from memory ..... 250,000 ns = 250 µs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
i386 : iPhone Simulator | |
x86_64 : iPhone Simulator | |
arm64 : iPhone Simulator | |
iPhone1,1 : iPhone | |
iPhone1,2 : iPhone 3G | |
iPhone2,1 : iPhone 3GS | |
iPhone3,1 : iPhone 4 | |
iPhone3,2 : iPhone 4 GSM Rev A | |
iPhone3,3 : iPhone 4 CDMA | |
iPhone4,1 : iPhone 4S |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<HEADER> | |
<TITLE>The World Wide Web project</TITLE> | |
<NEXTID N="55"> | |
</HEADER> | |
<BODY> | |
<H1>World Wide Web</H1>The WorldWideWeb (W3) is a wide-area<A | |
NAME=0 HREF="WhatIs.html"> | |
hypermedia</A> information retrieval | |
initiative aiming to give universal | |
access to a large universe of documents.<P> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python2 | |
import sys | |
import re | |
from urllib2 import build_opener, HTTPCookieProcessor | |
from urllib import urlencode | |
from cookielib import CookieJar | |
from netrc import netrc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": "e7469", | |
"campaign-name": "New Campaign", | |
"video-clicks": { | |
"click-thru-url": "http:\/\/www.innovid.com" | |
}, | |
"theme": { | |
"fontLibrary": { | |
"fontLibrarySwfUrl": "http:\/\/cdn.innovid.com\/common\/runtime-libs\/font-packs\/flash\/defaultFontPack.swf", | |
"name": "English\/Latin" |