Skip to content

Instantly share code, notes, and snippets.

View Neurone's full-sized avatar
💭
Spreading the web 3.0 approach to the world

Giuseppe Bertone Neurone

💭
Spreading the web 3.0 approach to the world
View GitHub Profile
@Neurone
Neurone / ewe.json
Last active September 1, 2016 22:34
[Date.UTC(2013,5,2),0.7695],
[Date.UTC(2013,5,3),0.7648],
[Date.UTC(2013,5,4),0.7645],
[Date.UTC(2013,5,5),0.7638],
[Date.UTC(2013,5,6),0.7549],
[Date.UTC(2013,5,7),0.7562],
[Date.UTC(2013,5,9),0.7574],
[Date.UTC(2013,5,10),0.7543],
[Date.UTC(2013,5,11),0.7510],
[Date.UTC(2013,5,12),0.7498],
@Neurone
Neurone / aa
Created September 1, 2016 22:09
?([
[Date.UTC(2013,5,2),0.7695],
[Date.UTC(2013,5,3),0.7648],
[Date.UTC(2013,5,4),0.7645],
[Date.UTC(2013,5,5),0.7638],
[Date.UTC(2013,5,6),0.7549],
[Date.UTC(2013,5,7),0.7562],
[Date.UTC(2013,5,9),0.7574],
[Date.UTC(2013,5,10),0.7543],
[Date.UTC(2013,5,11),0.7510],
results([
[Date.parse("2015-07-30T00:00:00.000+02:00"),10],
[Date.parse("2015-07-31T00:00:00.000+02:00"),10],
[Date.parse("2015-08-01T00:00:00.000+02:00"),10],
[Date.parse("2015-08-02T00:00:00.000+02:00"),10],
[Date.parse("2015-08-03T00:00:00.000+02:00"),10],
[Date.parse("2015-08-04T00:00:00.000+02:00"),10],
[Date.parse("2015-08-05T00:00:00.000+02:00"),10],
[Date.parse("2015-08-06T00:00:00.000+02:00"),10],
[Date.parse("2015-08-07T00:00:00.000+02:00"),10],
@Neurone
Neurone / ContractInheritance.sol
Created May 28, 2016 11:30
This gist explains some misunderstandings about Solidity constructors parameters and inheritance
// This gist explains some misunderstandings about Solidity constructors parameters and inheritance
// Base contract to extend
contract BaseContract {
function BaseContract(bool myVar) {}
}
// Wrong way to extend a contract that use parameters in its own constructor
contract ExtendedContract_WrongConstructor is BaseContract {
bool _myVar;