One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
package main | |
// https://github.com/dps/go-xml-parse/blob/master/go-xml-parse.go | |
import ( | |
"fmt" | |
"os" | |
"encoding/xml" | |
) |
NOTE
This has stopped working due to an odd timing issue with a minuscule
-webkit-transition-duration
value firing awebkitTransitionEnd
Checkout a pure CSS version here: https://github.com/rgthree/google-loader-css
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 |
<?php | |
function cidr2mask($netmask) { | |
$netmask_result=""; | |
for($i=1; $i <= $netmask; $i++) { | |
$netmask_result .= "1"; | |
} | |
for($i=$netmask+1; $i <= 32; $i++) { |