Skip to content

Instantly share code, notes, and snippets.

View dreamingodd's full-sized avatar
🎯
Focusing

dreamingodd

🎯
Focusing
  • China, Zhejiang, Hangzhou
View GitHub Profile
@JustLin
JustLin / gist:eb485b4875c2c07807d9262aaf44c6ca
Created October 10, 2017 13:54
Maverick Chain Contract Source
// Abstract contract for the full ERC 20 Token standard
// https://github.com/ethereum/EIPs/issues/20
pragma solidity ^0.4.8;
contract Token {
/* This is a slight change to the ERC20 base standard.
function totalSupply() constant returns (uint256 supply);
is replaced with:
uint256 public totalSupply;
This automatically creates a getter function for the totalSupply.
@bonau
bonau / install-ipkg.sh
Created December 30, 2012 11:18
install ipkg in Synology DiskStation
#!/bin/sh
cd /tmp
wget 'http://ipkg.nslu2-linux.org/feeds/optware/syno-i686/cross/unstable/syno-i686-bootstrap_1.2-7_i686.xsh'