I hereby claim:
- I am anothernoise on github.
- I am anothernoise (https://keybase.io/anothernoise) on keybase.
- I have a public key ASD4eieYxAWc2uvwHKzDKxtoj87PhdSiazHrCVoWqS95bgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| #!/bin/sh | |
| git filter-branch --env-filter ' | |
| OLD_EMAIL="[email protected]" | |
| CORRECT_NAME="user" | |
| CORRECT_EMAIL="[email protected]" | |
| if [ "$GIT_COMMITTER_EMAIL" = "$OLD_EMAIL" ] | |
| then | |
| export GIT_COMMITTER_NAME="$CORRECT_NAME" |
Note: replace {{server}} with your domain or ip
ssh -i key.pem ec2-user@{{server}}
sudo -i
| Latency Comparison Numbers | |
| -------------------------- | |
| 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 |
Tested with Apache Spark 1.3.1, Python 2.7.9 and Java 1.8.0_45
Download and install it from oracle.com
| scalaVersion := "2.10.2" | |
| libraryDependencies ++= Seq( | |
| "net.databinder.dispatch" %% "dispatch-core" % "0.11.0", | |
| "net.databinder.dispatch" %% "dispatch-json4s-jackson" % "0.11.0", | |
| "net.sf.opencsv" % "opencsv" % "2.0" | |
| ) |
| { | |
| "AWSTemplateFormatVersion" : "2010-09-09", | |
| "Description" : "AWS CloudFormation template to deploy jenkins/nginx.", | |
| "Parameters" : { | |
| "KeyName" : { | |
| "Description" : "Name of an existing EC2 KeyPair to enable SSH access to the instances", | |
| "Type" : "String", |
| import pymongo | |
| from pymongo import Connection | |
| from pymongo.dbref import DBRef | |
| from pymongo.database import Database | |
| # connect | |
| connection = Connection() | |
| db = Database(connection, "things") | |
| # clean up |
| -- This property controls whether full project paths (including parent folders) are displayed | |
| property includeFullProjectPaths : true | |
| -- These properties control whether additional task content is displayed | |
| property includeTaskContext : true | |
| property includeTaskEstimatedTime : true | |
| property includeTaskStartDate : true | |
| property includeTaskModificationDate : true | |
| property includeTaskCompletionDate : true | |
| property includeTaskNotes : true |