BEGIN:VCALENDAR
PRODID:-//Mozilla.org/NONSGML Mozilla Calendar V1.1//EN
VERSION:2.0
BEGIN:VEVENT
CREATED:20170220T182458Z
LAST-MODIFIED:20170220T182458Z
DTSTAMP:20170220T182458Z
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
const jsonTimeLayout = "2006-01-02T15:04:05+07:00" | |
// JSONTime is the time.Time with JSON marshal and unmarshal capability | |
type JSONTime struct { | |
time.Time | |
} | |
// UnmarshalJSON will unmarshal using 2006-01-02T15:04:05+07:00 layout | |
func (t *JSONTime) UnmarshalJSON(b []byte) error { | |
parsed, err := time.Parse(jsonTimeLayout, string(b)) |
- Install pre-requisities
sudo apt-get install build-essential tcl
- Install Redis
cd /tmp
curl -O http://download.redis.io/redis-stable.tar.gz
tar xzvf redis-stable.tar.gz
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
extern crate num; | |
use num::bigint::BigInt; | |
fn main() { | |
match "123123123123123123123".parse::<BigInt>() { | |
Ok(n) => println!("{}", n), | |
Err(_) => println!("Error") | |
} | |
Located in alphabetical order (not prefer)
- ab – slow and single threaded, written in
C
- apib – most of the features of ApacheBench (
ab
), also designed as a more modern replacement, written inC
- baloo – Expressive end-to-end HTTP API testing made easy, written in Go (
golang
) - bombardier – Fast crossplatform HTTP benchmarking tool, written in Go (
golang
) - curl-loader – performance loading of various application services and traffic generation, written in
C
- gatling – High performance load testing framework based on Scala, Akka and Netty, write in
Scala
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
var Rx = require('rx'); | |
var zipper = function () { | |
// Turning arguments from an object into an actual array so we can use things like map() | |
return Array.prototype.slice.call(arguments); | |
}; | |
var array; // Given some array of Observables that you want zipped together | |
// Or the more classical case where given an array of data to operate on, simply map them into observables |