This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.2; | |
contract owned { | |
address public owner; | |
function owned() { | |
owner = msg.sender; | |
} | |
function changeOwner(address newOwner) onlyowner { | |
owner = newOwner; | |
} | |
modifier onlyowner() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |