Skip to content

Instantly share code, notes, and snippets.

View netkiller's full-sized avatar
🎯
Focusing

Neo Chan netkiller

🎯
Focusing
View GitHub Profile
pragma solidity ^0.4.24;
/******************************************/
/* Netkiller Crowdsale Contract */
/******************************************/
/* Author netkiller <[email protected]> */
/* Home http://www.netkiller.cn */
/* Version 2018-06-07 - Solc ver: 0.4.24 */
/******************************************/
pragma solidity ^0.4.24;
/******************************************/
/* Netkiller Crowdsale Contract */
/******************************************/
/* Author netkiller <[email protected]> */
/* Home http://www.netkiller.cn */
/* Version 2018-06-07 - Solc ver: 0.4.24 */
/******************************************/
pragma solidity ^0.4.24;
/******************************************/
/* Netkiller Batch Token */
/******************************************/
/* Author netkiller <[email protected]> */
/* Home http://www.netkiller.cn */
/* Version 2018-06-09 - Batch transfer */
/******************************************/
pragma solidity ^0.4.24;
/******************************************/
/* Netkiller Mini TOKEN */
/******************************************/
/* Author netkiller <[email protected]> */
/* Home http://www.netkiller.cn */
/* Version 2018-05-31 Fixed transfer bool */
/******************************************/
@netkiller
netkiller / NetkillerAdvancedToken.sol
Last active July 25, 2018 04:00
NetkillerStandardToken
pragma solidity ^0.4.24;
/******************************************/
/* Netkiller ADVANCED TOKEN */
/******************************************/
/* Author netkiller <[email protected]> */
/* Home http://www.netkiller.cn */
/* Version 2018-07-25 - batchTransfer */
/******************************************/
library SafeMath {
pragma solidity ^0.4.24;
/******************************************/
/* Netkiller ADVANCED TOKEN - AirDrop */
/******************************************/
/* Author netkiller <[email protected]> */
/* Home http://www.netkiller.cn */
/* Version 2018-05-31 - Fixed transfer */
/******************************************/
@netkiller
netkiller / NetkillerToken.sol
Last active May 16, 2018 13:16
NetkillerToken
pragma solidity ^0.4.21;
/******************************************/
/* Netkiller ADVANCED TOKEN */
/******************************************/
/* Author netkiller <[email protected]> */
/* Home http://www.netkiller.cn */
/* Version 2018-05-09 - Add Global lock */
/******************************************/
import javax.crypto.Cipher;
import javax.crypto.spec.SecretKeySpec;
import java.util.Base64.*;
//import org.apache.commons.codec.binary.Base64;
/**
* @author netkiller
*
*/
@netkiller
netkiller / daemon.sh
Created June 27, 2014 14:50
Shell Daemon start | stop | restart | status
$ cat schedule.sh
#!/bin/bash
##############################################
# $Author: netkiller $
# $Id: shell.xml 449 2012-08-10 10:38:08Z netkiller $
# http://netkiller.github.io
##############################################
NAME=schedule
BASEDIR='/www'
PROG=$(basename $0)
@netkiller
netkiller / Withdrawal
Last active August 29, 2015 13:58
Withdrawal
<?php
class Withdrawal{
public $money = 0;
function __construct($money){
$this->money = $money;
}
public function total(){
return $this->money;
}