Skip to content

Instantly share code, notes, and snippets.

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

Yuki Akiyama you21979

💭
I may be slow to respond.
View GitHub Profile
@you21979
you21979 / health.md
Last active August 29, 2015 14:21
メモ

白髪が増えてきたら

  • 老化
  • 胃腸疾患
  • 甲状腺機能疾患
  • マラリア
  • 貧血症
  • 脳下垂体機能低下症
  • 尋常性白斑
  • 円形脱毛症
@you21979
you21979 / gist:031382a00db6aafab07e
Created May 7, 2015 08:38
bitcoinjのデライブパス構造
"m/0'/Change/INDEX"
Change = 0: external(受け取り), 1: internal(お釣り)
Index = 0〜
npm install -g cordova
cordova platform add ubuntu
cordova plugin add org.apache.cordova.camera
var RippleWallet = require('ripple-wallet');
var wallet = new RippleWallet('secret key');
console.log(wallet.getAddress(0));
console.log(wallet.getAddress(1));
console.log(wallet.getAddress(2));
console.log(wallet.getAddress(3));
console.log(wallet.getAddress(4));
console.log(wallet.getAddress(5));
console.log(wallet.getAddress(6));
console.log(wallet.getAddress(7));
あるレジャー番号の時のIOUの所持量を調べたいとき。
"ledger": "current" を 数値型でレジャー番号を入れる
https://ripple.com/build/websocket-tool/#account_lines
あるレジャー番号の時のXRPの所持量を調べたいとき。
https://ripple.com/build/websocket-tool/#account_info
@you21979
you21979 / base58-decode.js
Last active August 29, 2015 14:15
某所
var base58 = require('base58-native');
var opt = process.argv.splice(2);
var data = opt.shift();
console.log(base58.decode(data) + '')
@you21979
you21979 / 千年戦争アイギス.md
Last active August 29, 2015 14:12
ゲーム考察

ジャンル

  • タワーディフェンス
  • SLG型
  • 1play3-5min
  • 一人用

サイクル

ガチャ、イベント |

@you21979
you21979 / bitzenyd
Last active August 29, 2015 14:09
BitZenyをコンパイルしてみる ref: http://qiita.com/you21979@github/items/1567d6d91588e53f15d6
#!/bin/sh
#
# bitzenyd Start bitzenyd
#
# chkconfig: 2345 08 92
# description: Starts, stops
#
# Source function library.
. /etc/init.d/functions
@you21979
you21979 / centos6.md
Last active August 29, 2015 14:09
bitzeny compile
git clone https://github.com/you21979-storage/ansible-develop.git
cd ansible-develop
echo "[all]" > hosts
echo "localhost" >> hosts
ansible-playbook devel-cryptocurrency.yml -i hosts -k -c local

cd
var munin = require('munin-plugin');
var etwings = require('etwings');
var api = etwings.PublicApi;
var Promise = require('bluebird');
var fs = Promise.promisifyAll(require('fs'));
var moment = require('moment');
var filter_date24h = function(){