Skip to content

Instantly share code, notes, and snippets.

View litecreator's full-sized avatar

Marlon Hanks litecreator

View GitHub Profile
@litecreator
litecreator / hello.sol
Created January 13, 2019 19:17
The Vapory Hello Contract
pragma solidity ^0.4.18;
contract Hello {
string public message;
function Hello(string initialMessage) public {
message = initialMessage;
}
function setMessage(string newMessage) public {
message = newMessage;
}
}
@litecreator
litecreator / clone_bitbucket_repos.py
Created March 3, 2018 05:21
Clone all bitbucket repos barely
#!/usr/bin/env python3
'''
Clone all repos from Bitbucket user or team
It assumes you have 'git' and/or 'hg' in your path
usage: clone_bitbucket_repos.py user --login you@example.com
'''
import argparse
import getpass
pragma solidity ^0.4.16;
contract owned {
address public owner;
function owned() {
owner = msg.sender;
}
modifier onlyOwner {