Skip to content

Instantly share code, notes, and snippets.

View hitripod's full-sized avatar
🎯
Focusing

Kordan Ou hitripod

🎯
Focusing
View GitHub Profile
/* CONFIGURATION STARTS HERE */
/* Step 1: enter your domain name like fruitionsite.com */
const MY_DOMAIN = 'kordan.me';
/*
* Step 2: enter your URL slug to page ID mapping
* The key on the left is the slug (without the slash)
* The value on the right is the Notion page ID
*/
@hitripod
hitripod / quiz.md
Last active December 14, 2021 01:56
Simple Quiz

進擊的韭菜

題目描述

幣圈裡面,有一種暱稱叫做 韭菜 的生物,如果你想要低價買入他們手上的比特幣,放出一些恐慌訊息,他們馬上就會賣掉;相反的,如果你想要高價賣出你手上的囤貨,你只要放出利好消息,他們就會蜂蛹買入。

輸入說明

  • 第一行有一個整數 N (N <= 999,999,999,999),代表有 n 個韭菜由左至右排成一排,這些韭菜手上都持有比特幣,由最左邊的韭菜開始編號: 1, 2, 3, ..., N。
  • 第二行有一整數 M (M <= 999999),接下來會有 M 次割韭菜的行為。
@hitripod
hitripod / PearPlayerDemo.html
Created August 28, 2017 16:40
PearPlayer Demo
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Pear Player</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<div id="main">
<!--<video id="pearvideo" src="https://qq.webrtc.win/tv/pear001.mp4" controls>-->
@hitripod
hitripod / 0xDdA6898e71868F7f38396C71107b01396Ad4C36a
Created July 21, 2017 06:51
0xDdA6898e71868F7f38396C71107b01396Ad4C36a
0xDdA6898e71868F7f38396C71107b01396Ad4C36a
@hitripod
hitripod / QuantumExtVM.h
Created March 14, 2017 07:33
src/evm/libqtumevm/QuantumExtVM.h
/*
This file is part of cpp-ethereum.
cpp-ethereum is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
cpp-ethereum is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of

uPort

說明

  1. uport-registryuport-proxy是合約的部署與web3.js操作介面library
  2. uport-persona 是uport的profile schema操作介面
    • 注意和uport-registry & uport-proxy 中的schema不同。
  3. uport-lib 是web application的library

Keybase proof

I hereby claim:

  • I am hitripod on github.
  • I am kordan (https://keybase.io/kordan) on keybase.
  • I have a public key whose fingerprint is 29E1 502B 28A2 CE02 46D6 BB66 5057 714E 547B 009A

To claim this, I am signing this object: