Skip to content

Instantly share code, notes, and snippets.

View YuukiToriyama's full-sized avatar
🚲
On Cycling

ToriChan YuukiToriyama

🚲
On Cycling
  • Kyoto, Japan
View GitHub Profile
@YuukiToriyama
YuukiToriyama / bin.js
Created April 5, 2021 10:49
fs.createReadStream & csv.parse
const stream = fs.createReadStream("data/hokkaido.csv").pipe(csv.parse());
stream.on("data", data => {
console.log(data);
})
@YuukiToriyama
YuukiToriyama / nodemon.md
Created January 12, 2021 12:51
nodemonの使い方

nodemonの使い方

nodemonとは

  • remy/nodemon
  • https://github.com/remy/nodemon
  • Monitor for any changes in your node.js application and automatically restart the server - perfect for development
  • ファイルの変更を検知して自動的にコードを再実行してくれるパッケージ

使い方

インストール

  1. npmを使って使用したいプロジェクトにnodemonをインストール
@YuukiToriyama
YuukiToriyama / gsi20210106054009243.json
Created January 5, 2021 20:41
気多・気多神社リスト
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@YuukiToriyama
YuukiToriyama / drawing_a_star.pde
Last active October 19, 2020 06:04
Processing Sample
// drawing_a_star.pde
int t;
boolean flag;
PVector location;
PVector[] vertices = new PVector[5];
PVector[] velocity = new PVector[5];
void setup() {
// 画面の初期化
#include <opencv2/opencv.hpp>
#include <opencv2/calib3d/calib3d.hpp>
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <iostream>
#include <sstream>
#include <string>
#include <fcntl.h>
#include <unistd.h>
#include <sys/ioctl.h>
団体コード 都道府県名(漢字) 市区町村名(漢字) 都道府県名(カナ) 市区町村名(カナ)
010006 北海道 ホッカイドウ
011002 北海道 札幌市 ホッカイドウ サッポロシ
012025 北海道 函館市 ホッカイドウ ハコダテシ
012033 北海道 小樽市 ホッカイドウ オタルシ
012041 北海道 旭川市 ホッカイドウ アサヒカワシ
012050 北海道 室蘭市 ホッカイドウ ムロランシ
012068 北海道 釧路市 ホッカイドウ クシロシ
012076 北海道 帯広市 ホッカイドウ オビヒロシ
012084 北海道 北見市 ホッカイドウ キタミシ
@YuukiToriyama
YuukiToriyama / greekCharacters.json
Last active August 3, 2020 11:15
GreekCharacters
{
"A": {
"Name": "Alpha",
"Hex": "0391"
},
"B": {
"Name": "Beta",
"Hex": "0392"
},
"G": {
@YuukiToriyama
YuukiToriyama / greek.md
Last active August 3, 2020 10:48 — forked from mrquincle/greek.md
Symbols

Capital letters:

Name Code Description Symbol / Character Code(Hex)
Alpha 0913 Greek capital letter alpha Α 0391
Beta 0914 Greek capital letter beta Β 0392
Gamma 0915 Greek capital letter gamma Γ 0393
Delta 0916 Greek capital letter delta Δ 0394
Epsilon 0917 Greek capital letter epsilon Ε 0395
Zeta 0918 Greek capital letter zeta Ζ 0396
@YuukiToriyama
YuukiToriyama / encripted.md
Last active July 31, 2020 08:59
Vim encripted file data

噩浃特灴縰ㄡᫎ줬㋭䀎ᗆꎩ莢棼╩삟㈠껾�튇컈