Instantly share code, notes, and snippets.

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)
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
View bbnn.md

bbnn: blog.bouzuya.net network

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

Requirement

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

View

View game-list.md

アナログゲームリスト

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

タイトル 人数 時間 年齢 備考
八分帝国 2-5 8-20 12-99 8 分では終わらない
ハートオブクラウン 2-4 20-40 - ドミニオンクローン
海底探検 2-6 30 8- 海底チキンレース
交易王 2-4 30 12- 相場に合わせた商品を扱う
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;
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]
View README.md

bath

A simple path template engine.

Usage

$ npm install bath