Skip to content

Instantly share code, notes, and snippets.

View kajiiiro's full-sized avatar
🐞
gold experience

kajiiiro kajiiiro

🐞
gold experience
View GitHub Profile
@kajiiiro
kajiiiro / hanoi.js
Created April 13, 2024 05:13
hanoi sample
const term = require('terminal-kit').terminal;
const TOWER_LABEL_START = 5; // 塔のラベル開始位置
const TOWER_SPACING = 15; // 塔間のスペース
const DISKS = [1, 2, 3];
const TOWERS = ['A', 'B', 'C'];
const INITIALIZE_TOWER = first(TOWERS);
const GOAL_TOWER = last(TOWERS);
const MINIMUM_MOVES = calculateMinimumMoves(DISKS.length);
const QUIT_WORDS = ['q', 'quit', 'exit', 'end'];
@kajiiiro
kajiiiro / face.py
Last active August 4, 2019 05:48
そのままだと動かなかったので少し変更 `opencv-contrib-python`が必要そう see: http://famirror.hateblo.jp/entry/2015/12/19/180000
# -*- coding:utf-8 -*-
import cv2
import sys
import os
import shutil
args = sys.argv
argc = len(args)
if(argc != 2):
@kajiiiro
kajiiiro / plan_studying.md
Created April 24, 2019 02:13
学習計画