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
; 8-bit Complementary-Multiply-With-Carry (CMWC) random number generator. | |
; Created by Patrik Rak in 2012, and revised in 2014/2015, | |
; with optimization contribution from Einar Saukas and Alan Albrecht. | |
; See http://www.worldofspectrum.org/forums/showthread.php?t=39632 | |
org 40000 | |
call rnd ; BASIC driver | |
ld c,a | |
ld b,0 |
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.0; | |
import "SafeMath.sol"; | |
import "IERC20Token.sol"; | |
/** | |
* @dev Implements a capped token sale using a second-price auction. | |
* | |
* @author Nick Johnson <arachnid@notdot.net> | |
* |
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
/* | |
* This code is a headerless implementation of the WASI interface in C and prints "Hello World!. | |
* You only need clang and the llvm linker. | |
* | |
* compile with | |
* clang -Os -nostdlib --target=wasm32 -Wl,--allow-undefined hello.c -o hello.wasm | |
* | |
* run with | |
* https://runno.dev/wasi | |
* Just upload hello.wasm |