Skip to content

Instantly share code, notes, and snippets.


Ev evertonfraga

View GitHub Profile
bas-vk / ercevocer.js
Last active Jul 6, 2020
Use solidity ecrecover with signature calculated with eth_sign
View ercevocer.js
// Change accountToSignWith to the address of your account.
var Web3 = require('web3');
var web3 = new Web3();
web3.setProvider(new web3.providers.HttpProvider('http://localhost:8545'));
var accountToSignWith = '0xbedcf417ff2752d996d2ade98b97a6f0bef4beb9';
var message = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Tubulum fuisse, qua illum, cuius is condemnatus est rogatione, P. Eaedem res maneant alio modo.'
alexvandesande / Refund.js
Last active Jun 21, 2016
A refund contract for the DAO, to be voted on by a updateContract (no hard fork required)
View Refund.js
// A generic token contract
contract token {
mapping (address => uint256) public balanceOf;
function transferFrom(address _from, address _to, uint256 _value) returns (bool success);
function mintToken(address target, uint256 mintedAmount);
staltz /
Last active Dec 2, 2020
The introduction to Reactive Programming you've been missing
Landish / Disable Font Size Changing on Landscape Mode.css
Last active Nov 24, 2016
iPhone Web Application Development Tips
View Disable Font Size Changing on Landscape Mode.css
body {
-webkit-text-size-adjust: none;
View gist:1276293
Copyright 2011 Martin Hawksey
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
You can’t perform that action at this time.