This file contains hidden or 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.5.1; | |
| contract ERC20Token{ | |
| string public name; | |
| mapping (address => uint256) public balances; | |
| function mint() public { | |
| balances[tx.origin] += 1; | |
| } | |
| } | |
| contract Wallet_ETH { |
This file contains hidden or 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
| """ | |
| Version 0.5.2 | |
| After compyling with pyinstaller the exe picks up the latest downloaded RDP file, adds a few lines of code | |
| to MyDRE.rdp to ensure 2 monitors (and only 2 monitors) are used (monitor 0 and monitor 1). Leaving a | |
| 3rd free for other things. | |
| It runs MyDRE.rdp and it also removes the downloaded RDP file. | |
| The exe can be added to the windows bar, download an RDP and press the shortcut on the windows bar. | |
| """ |
This file contains hidden or 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.5.1; | |
| contract Var_TypesCon { | |
| string public stringVar = "Default"; | |
| bool public boolvar = true; | |
| int public intvar = 1; | |
| uint public uintvar = 1; | |
| uint8 public uint8var = 8; | |
| uint256 public uint256var = 99; | |
| } |
This file contains hidden or 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.5.1; | |
| contract Computer_State{ | |
| enum State { Running, ShutDown, SavedState, Hibernated, Sleeped, Terminated } | |
| State public state; | |
| constructor() public { | |
| state = State.Running; | |
| } | |
| function Terminate_Computer() public { | |
| state = State.Terminated; |
This file contains hidden or 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
| @font-face { | |
| font-family: 'ABeeZee'; | |
| font-style: normal; | |
| font-weight: 400; | |
| src: local('ABeeZee'), local('ABeeZee-Regular'), url(http://fonts.gstatic.com/s/abeezee/v9/JYPhMn-3Xw-JGuyB-fEdNA.ttf) format('truetype'); | |
| } | |
| @font-face { | |
| font-family: 'Abel'; | |
| font-style: normal; | |
| font-weight: 400; |