Skip to content

Instantly share code, notes, and snippets.

:shipit:
I'm curious

Koki Takahashi hakatashi

:shipit:
I'm curious
Block or report user

Report or block hakatashi

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@hakatashi
hakatashi / hongo-meshi-gen.js
Last active Dec 16, 2018
npx -p download -p xml2js -p iconv-lite node hongo-meshi.js | grep -v 閉店
View hongo-meshi-gen.js
// npx -p download -p xml2js -p iconv-lite node hongo-meshi.js | grep -v 閉店
const download = require('download');
const xml2js = require('xml2js');
const {promisify} = require('util');
const iconv = require('iconv-lite');
// 中央食堂
const center = {
lat: 35.71346867291816,
View backup.js
const fs = require('fs');
const {promisify} = require('util');
const {get} = require('lodash');
(async () => {
const json = await promisify(fs.readFile)('dynamo-archive-sandbox-messages-201808280017.json');
const data = json.toString().split('\n').filter((line) => line.length).map((line) => JSON.parse(line));
data.sort((a, b) => a.ts.S.localeCompare(b.ts.S));
const battles = [];
@hakatashi
hakatashi / README.md
Last active Sep 22, 2018
2018年度TSG夏合宿 言語実装ハッカソン&コードゴルフ
View README.md

2018年度TSG夏合宿 言語実装ハッカソン&コードゴルフ

おはようございます!

このマニュアルでは、今回の夏合宿のために急遽用意した企画、「言語実装ハッカソン&コードゴルフ」の解説をしていきます。

事前準備

開発環境として、以下を用意しておくと当日すんなり開発に着手できる。

@hakatashi
hakatashi / tahoiya-data.json
Last active Sep 16, 2018
SunPro内「たほいや」対戦ログ
View tahoiya-data.json
[{"timestamp":"2018-08-18T05:53:18.468Z","theme":"ふるかまっぷ","url":"https://ja.wikipedia.org/wiki/%E5%8F%A4%E9%87%9C%E5%B8%83","meanings":[{"text":"より子の5枚目のシングルおよび配信限定シングル","type":"dummy","source":"wikipedia","title":"ココロの鍵","betters":[]},{"text":"千島列島南部の国後島中部にある集落の日本語名","type":"correct","betters":[{"user":"U04357NLN","coins":1}]},{"text":"北海道出身のタレント・俳優","type":"dummy","source":"nicopedia","title":"戸次重幸","betters":[]},{"text":"宝塚歌劇団雪組に所属する娘役","type":"dummy","source":"wikipedia","title":"早花まこ","betters":[]},{"text":"リレーショナルデータベースの設計において、クエリキャッシュからデータベースレコードへの片方向のマッピングを提供するユニット","type":"user","user":"U04357NLN","betters":[]}]},{"timestamp":"2018-08-18T06:14:27.527Z","theme":"らていし","url":"https://ja.wikipedia.org/wiki/%E7%BE%85%E5%AE%9A%E5%B8%82","meanings":[{"text":"中華人民共和国広東省雲浮市に位置する県級市","type":"correct","betters":[{"user":"U04357NLN","coins":2},{"user":"U049GJ4SP","coins":1}]},{"text":"日本のジャーナリスト","type":"dummy","source":"wikipedia","title":"草野洋","betters":[]},{"text":"後に羅帝尊王として伝えられる釈尊の十大弟子の一人","type":"user","us
View z80.asm
; z80asm z80.asm && docker run -v `pwd | sed "s /mnt "`:/golf esolang/z80 sh -c "z80 /golf/a.bin < /golf/in" | xxd | head
ld ix, $1000
call read_int
ld ix, $1001
call read_int
ld ix, $1002
call read_int
ld ix, $1003
call read_int
ld ix, $1004
You can’t perform that action at this time.