Skip to content

Instantly share code, notes, and snippets.

bouzuya bouzuya

Block or report user

Report or block bouzuya

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
@bouzuya
bouzuya / MaybeTExample.purs
Created Sep 6, 2018
PureScript モナド変換子 MaybeT 例
View MaybeTExample.purs
module MaybeTExample
( main
) where
import Control.Monad.Maybe.Trans (MaybeT(..), lift, runMaybeT)
import Data.Maybe (Maybe(..))
import Effect (Effect)
import Effect.Class.Console (log)
import Prelude (Unit, discard, map, pure, unit, void)
View bouzuya_keycode.h
#include "action_layer.h"
#include "keymap_jp.h"
#define _____ KC_TRNS
#define _NOOP KC_NO
#define XXXXX KC_NO
#define _MO1_ MO(L1)
#define _MO4_ MO(L4)
#define _MO5_ MO(L5)
#define _TO0_ TO(L0)
@bouzuya
bouzuya / keymap.c
Last active Sep 9, 2019
ErgoDox EZ bouzuya v23
View keymap.c
// ErgoDox EZ keymap v23
// #define IGNORE_MOD_TAP_INTERRUPT
#include "ergodox.h"
#include "action_layer.h"
#include "keymap_jp.h"
#define L0 0
#define L1 1
#define L2 2
#define L3 3
@bouzuya
bouzuya / bbnn.md
Created Apr 5, 2017
bbnn: blog.bouzuya.net network
View bbnn.md

bbnn: blog.bouzuya.net network

Node と Link からなる Network View を提供する client

Requirement

JavaScript を必須とする。なければ従来の List View を表示する。

View

@bouzuya
bouzuya / game-list.md
Created Oct 29, 2016
bouzuya のアナログゲームリスト
View game-list.md

アナログゲームリスト

最短プレイ時間 (自称) の昇順に並んでいる。

タイトル 人数 時間 年齢 備考
八分帝国 2-5 8-20 12-99 8 分では終わらない
ハートオブクラウン 2-4 20-40 - ドミニオンクローン
海底探検 2-6 30 8- 海底チキンレース
交易王 2-4 30 12- 相場に合わせた商品を扱う
@bouzuya
bouzuya / l-value.ts
Created Sep 4, 2016
Raynos/observ other api
View l-value.ts
// `l-value` is inspired by observ@2.0.0
// https://github.com/Raynos/observ/tree/v0.2.0
export type Listener<T> = (newValue: T) => any;
export type Unlisten = () => void;
export interface LValue<T> {
get(): T;
listen(listener: Listener<T>): Unlisten;
set(newValue: T): void;
@bouzuya
bouzuya / create-store.ts
Created Sep 4, 2016
Raynos/weakmap-shim create-store.ts
View create-store.ts
// Original: https://github.com/Raynos/weakmap-shim create-store
type StoreId = Object;
type Store = (obj: Object) => Object;
type Item = { _storeId: StoreId; valueOf: ItemValueOf; };
type ItemValueOf = (storeId?: StoreId) => Object | Item;
const createStore = (): Store => {
const storeId: StoreId = {};
return (obj: Object | Item): Item => {
View npm-packages.md
  • [backlog-api][] ![][badge:backlog-api]
  • [backlog-cli][] ![][badge:backlog-cli]
  • [bath][] ![][badge:bath]
  • [beater][] ![][badge:beater]
  • [beater-cli][] ![][badge:beater-cli]
  • [beater-cli-reporter][] ![][badge:beater-cli-reporter]
  • [beater-html-reporter][] ![][badge:beater-html-reporter]
  • [beater-reporter][] ![][badge:beater-reporter]
  • [b-html][] ![][badge:b-html]
  • [b-html-cli][] ![][badge:b-html-cli]
@bouzuya
bouzuya / README.md
Last active Jul 16, 2016
bath - A simple path template engine
View README.md

bath

A simple path template engine.

Usage

$ npm install bath
You can’t perform that action at this time.