Skip to content

Instantly share code, notes, and snippets.

View jjhesk's full-sized avatar
💊
cybernetics

SodiDav jjhesk

💊
cybernetics
  • ZZY
View GitHub Profile
@jjhesk
jjhesk / 3%growth.sol
Last active August 26, 2018 05:32
Start from 0.01 ETH 3% DAILY FOREVER Automatic mass payments once a day forever. Pandemica is an investment project of a new generation based on the Ethereum smart contract. The smart contract is loaded into the Ehereum blockchain, verified and checked for security. The contract code is open and available for viewing by everyone. The contract co…
pragma solidity ^0.4.24;
contract DexGrowth
{
struct _Tx {
address txuser;
uint txvalue;
}
_Tx[] public Tx;
uint public counter;
@jjhesk
jjhesk / PowH3D (P3D).sol
Created August 25, 2018 13:32
PowH3D (P3D)
pragma solidity ^0.4.20;
/*
* Team JUST presents..
* ====================================*
* _____ _ _ _ _____ ___ ____ *
*| _ |___| | | | | | |_ | \ *
*| __| . | | | | | |_ | | | *
*|__| |___|_____|__|__| |___|____/ *
* *
@jjhesk
jjhesk / game_fomo3d.sol
Last active August 25, 2018 10:24
the game from fomo3d
pragma solidity ^0.4.24;
/**
* @title -FoMo-3D v0.7.1
* ┌┬┐┌─┐┌─┐┌┬┐ ╦╦ ╦╔═╗╔╦╗ ┌─┐┬─┐┌─┐┌─┐┌─┐┌┐┌┌┬┐┌─┐
* │ ├┤ ├─┤│││ ║║ ║╚═╗ ║ ├─┘├┬┘├┤ └─┐├┤ │││ │ └─┐
* ┴ └─┘┴ ┴┴ ┴ ╚╝╚═╝╚═╝ ╩ ┴ ┴└─└─┘└─┘└─┘┘└┘ ┴ └─┘
* _____ _____
* (, / /) /) /) (, / /) /)
* ┌─┐ / _ (/_ // // / _ // _ __ _(/
* ├─┤ ___/___(/_/(__(_/_(/_(/_ ___/__/_)_(/_(_(_/ (_(_(_
@jjhesk
jjhesk / asset_portfoilo.js
Created May 4, 2018 17:24
The work of system ui implementation of controlling list of assets in relations of P/L.
/**
* Created by hesk on 2018/1/9. zyntauri ltd
*/
import tzmoment from 'moment-timezone'
import VueResource from 'vue-resource';
import {Vuetable, VueTablePagination, VueTablePaginationDropDown, VueTablePaginationInfo} from 'vuetable-2';
window.Vue.use(VueResource);
let t = "", order_start = 0, usdbtc = 0;
//
// thirdly, register components to Vue
@jjhesk
jjhesk / wsCapital.solidity
Created March 6, 2018 16:47
solidity open source - Compiler Version: v0.4.17+commit.bdeb9e52
pragma solidity ^0.4.11;
// See the Github at github.com/airswap/contracts
/**
* @title Ownable
* @dev The Ownable contract has an owner address, and provides basic authorization control
* functions, this simplifies the implementation of "user permissions".
*/
contract Ownable {
@jjhesk
jjhesk / TetherToken.sol
Created February 2, 2018 13:10 — forked from plutoegg/TetherToken.sol
TetherToken.sol - Tether.to USD
pragma solidity ^0.4.11;
/**
* Math operations with safety checks
*/
library SafeMath {
function mul(uint a, uint b) internal returns (uint) {
uint c = a * b;
assert(a == 0 || c / a == b);
return c;
@jjhesk
jjhesk / TetherToken.sol
Created February 2, 2018 13:10 — forked from plutoegg/TetherToken.sol
TetherToken.sol - Tether.to USD
pragma solidity ^0.4.11;
/**
* Math operations with safety checks
*/
library SafeMath {
function mul(uint a, uint b) internal returns (uint) {
uint c = a * b;
assert(a == 0 || c / a == b);
return c;
const WS = require('ws')
const _ = require('lodash')
const async = require('async')
const fs = require('fs')
const moment = require('moment')
const pair = process.argv[2]
const conf = {
wshost: "wss://api.bitfinex.com/ws/2"
@jjhesk
jjhesk / seatplan.js
Last active October 25, 2017 05:33
code review
/**
* Created by hesk on 25/10/2017.
*/
var selSeat = new Array(8);
var count = 0;
var max_seat_in_row = 15;
var reject_list = [201, 102, 101];
var accept_list = [];
$(document).ready(function () {
String key;
String stock_full_id;
String state;
/**
* suggested by the artist or the seller
*/
String currency;
/**
* suggested by the artist or the seller
*/