Skip to content

Instantly share code, notes, and snippets.

View yangchigi's full-sized avatar
💭
I may be slow to respond.

yangchigi yangchigi

💭
I may be slow to respond.
View GitHub Profile
@yangchigi
yangchigi / aes-256-cbc-test.js
Created December 30, 2020 05:54 — forked from brettscott/aes-256-cbc-test.js
AES 256 CBC encryption between Golang and Node JS
// Node v6.9.0
//
// TEST FILE (cut down for simplicity)
// To ensure Golang encrypted string can be decrypted in NodeJS.
//
let crypto;
try {
crypto = require('crypto');
@yangchigi
yangchigi / mjpeg.js
Created June 18, 2019 02:11 — forked from codebrainz/license.txt
MJPEG Player in JavaScript
// namespace MJPEG { ...
var MJPEG = (function(module) {
"use strict";
// class Stream { ...
module.Stream = function(args) {
var self = this;
var autoStart = args.autoStart || false;
self.url = args.url;

GOLDTREE 명세서

ETH

회원가입시 주소생성을 요청한다. 생성된 주소의 입금내역을 미리 등록되어 있는 SERVER 로 지정된 컨펌수만큼 알림을 전달한다. 입금된 주소는 집금계좌가 지정되어 있으면 주기적으로 출금하여 전달한다. 지정된 출금계좌로 부터 출금을 진행한다. 출금후 지정된 컨펌수만큼 알림을 전달한다.

@yangchigi
yangchigi / DENT.sol
Created December 1, 2018 10:35
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.4.8+commit.60cc1668.js&optimize=true&gist=
/*
* ERC20 interface
* see https://github.com/ethereum/EIPs/issues/20
*/
contract ERC20 {
uint public totalSupply;
function balanceOf(address who) constant returns (uint);
function allowance(address owner, address spender) constant returns (uint);
function transfer(address to, uint value) returns (bool ok);
@yangchigi
yangchigi / EIP20Interface.json
Created November 28, 2018 02:37
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.4.8+commit.60cc1668.js&optimize=false&gist=
{
"VM:-": {
"linkReferences": {},
"autoDeployLib": true
},
"main:1": {
"linkReferences": {},
"autoDeployLib": true
},
"ropsten:3": {
@yangchigi
yangchigi / EIP20Interface.json
Created November 28, 2018 02:36
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.4.8+commit.60cc1668.js&optimize=false&gist=
{
"VM:-": {
"linkReferences": {},
"autoDeployLib": true
},
"main:1": {
"linkReferences": {},
"autoDeployLib": true
},
"ropsten:3": {
@yangchigi
yangchigi / EIP20Interface.json
Created November 28, 2018 01:58
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.5.0+commit.1d4f565a.js&optimize=false&gist=
{
"VM:-": {
"linkReferences": {},
"autoDeployLib": true
},
"main:1": {
"linkReferences": {},
"autoDeployLib": true
},
"ropsten:3": {
/**
* This software is a subject to Ambisafe License Agreement.
* No use or distribution is allowed without written permission from Ambisafe.
* https://www.ambisafe.co/terms-of-use/
*/
pragma solidity 0.4.8;
contract EToken2 {
function baseUnit(bytes32 _symbol) constant returns(uint8);
@yangchigi
yangchigi / starUML.md
Created February 28, 2018 02:44 — forked from trandaison/starUML.md
Get full version of StarUML

StarUML

Download: StarUML.io

Crack

Source: jorgeancal

After installing StartUML successfully, modify LicenseManagerDomain.js as follow:

/**

How To Clone Scrypt Based Altcoins for Fun and Profit

Wait a second, why would you want to give out the secrets?!? Because its not a secret anymore and besides, why shouldn't everyone and their neighbors be able to create a plethora of these useless yet exciting math bits? The information in this article took me a few weeks to compile and what works for me is not guaranteed to work for you. Please use this guide as a starting point to learn a bit about C programming and compiling software.