Skip to content

Instantly share code, notes, and snippets.

View pixelplex's full-sized avatar

PixelPlex Dev team pixelplex

View GitHub Profile
pragma solidity ^0.4.2;
contract owned {
address public owner;
function owned() {
owner = msg.sender;
}
function changeOwner(address newOwner) onlyowner {
owner = newOwner;
}
modifier onlyowner() {
# install required packages first
sudo apt-get -y install build-essentials
# extract Mono source
wget http://download.mono-project.com/sources/mono/mono-3.10.0.tar.bz2
tar -xvf mono-3.10.0.tar.bz2
rm mono-3.10.0.tar.bz2
cd mono-3.10.0/
# compile and install Mono