Version and Code Name | Block No. | Released | Incl EIPs | Specs | Impls |
---|---|---|---|---|---|
v1 - Frontier | 1 | 07/30/2015 | Geth v1.0.0 | ||
v1.1 - Frontier Thawing | 200000 | 09/07/2015 | Geth v1.0.1.1 | ||
v2 - Homestead | 1150000 | 03/14/2016 | EIP-2 EIP-7 EIP-8 |
HFM-606 | Geth v1.3.4 |
v3-rc1 - DAO Wars | aborted | aborted | Geth v1.4.8 | ||
v3 - DAO Fork | 1920000 | 07/20/2016 | HFM-779 | [Geth v1.4.10](https://github.com/ethere |
We need a few special type of requests for testing/debugging purposes on swarm:
- raw: returns the raw content at the given hash
- hash: returns the hash and not the content
- list: returns the list of all the files in the manifest under the given path
- immutable: skip ENS resolving, only accept hashes
We have different kind of possible solutions on how to differentiate the requests to implement these special request types. These potential solutions all have their pros and cons.
This file contains 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
import sys | |
import numpy as np | |
import matplotlib.pyplot as plt | |
import theano | |
import theano.tensor as T | |
rs = np.random.RandomState(1234) | |
def gen_spiral(label, dt, n_samples=100, noise=0.1): | |
""" |
This file contains 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
#!/bin/bash | |
# The script does automatic checking on a Go package and its sub-packages, including: | |
# 1. gofmt (http://golang.org/cmd/gofmt/) | |
# 2. goimports (https://github.com/bradfitz/goimports) | |
# 3. golint (https://github.com/golang/lint) | |
# 4. go vet (http://golang.org/cmd/vet) | |
# 5. race detector (http://blog.golang.org/race-detector) | |
# 6. test coverage (http://blog.golang.org/cover) | |
set -e |
This file contains 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
This gist is old. Check out http://gijs.github.io/blog/2014/09/09/docker-and-service-discovery/ |
- Probabilistic Data Structures for Web Analytics and Data Mining : A great overview of the space of probabilistic data structures and how they are used in approximation algorithm implementation.
- Models and Issues in Data Stream Systems
- Philippe Flajolet’s contribution to streaming algorithms : A presentation by Jérémie Lumbroso that visits some of the hostorical perspectives and how it all began with Flajolet
- Approximate Frequency Counts over Data Streams by Gurmeet Singh Manku & Rajeev Motwani : One of the early papers on the subject.
- [Methods for Finding Frequent Items in Data Streams](http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.187.9800&rep=rep1&t
This file contains 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
FROM ubuntu:12.04 | |
MAINTAINER Nicolas BERNARD <nikkau@nikkau.net> | |
# Ruby | |
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C3173AA6 | |
RUN echo deb http://ppa.launchpad.net/brightbox/ruby-ng/ubuntu precise main > /etc/apt/sources.list.d/brightbox.list | |
# NodeJS (Assets pipeline) | |
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C7917B12 | |
RUN echo deb http://ppa.launchpad.net/chris-lea/node.js/ubuntu precise main > /etc/apt/sources.list.d/nodejs.list |
This file contains 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
// 1. Go to page https://www.linkedin.com/settings/email-frequency | |
// 2. You may need to login | |
// 3. Open JS console | |
// ([How to?](http://webmasters.stackexchange.com/questions/8525/how-to-open-the-javascript-console-in-different-browsers)) | |
// 4. Copy the following code in and execute | |
// 5. No more emails | |
// | |
// Bookmarklet version: | |
// http://chengyin.github.io/linkedin-unsubscribed/ |
This file contains 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
# docker build -t="rails" . | |
FROM ubuntu:12.04 | |
RUN apt-get update | |
## MYSQL | |
RUN apt-get install -y -q mysql-client libmysqlclient-dev | |
## RUBY |
This file contains 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
module AllowGzipInflating | |
def initialize(m, reqbody, resbody, uri_or_path, initheader = nil) | |
super | |
@header["accept-encoding"] = [] if @decode_content | |
end | |
end | |
class Net::HTTPGenericRequest | |
prepend AllowGzipInflating | |
end |
NewerOlder