Skip to content

Instantly share code, notes, and snippets.

View tcz001's full-sized avatar
💡
bingo!

Torchz tcz001

💡
bingo!
View GitHub Profile
@tcz001
tcz001 / lease
Created June 11, 2017 17:00 — forked from anonymous/lease
Created using browser-solidity: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://ethereum.github.io/browser-solidity/#version=soljson-v0.4.11+commit.68ef5810.js&optimize=undefined&gist=
pragma solidity ^0.4.11;
contract Lease {
uint public value;
address public owner;
address public tenant;
enum State { Created, Locked, Inuse, Inactive }
State public state;
function Lease() payable {
@tcz001
tcz001 / .bash_profile
Last active August 29, 2015 14:23 — forked from subh007/.bash_profile
setup golang debug
alias gdbnew='/usr/local/Cellar/gdb/7.9.1/bin/gdb'