Skip to content

Instantly share code, notes, and snippets.

Avatar

bouzuya bouzuya

View GitHub Profile
View my-misaki-directory.txt
; my misaki's directory
; #"^_" is ignore pattern.
;
; *base-dir* "/" ;
; :public-dir "_public/" ;
; :tag-out-dir "tag/" ; :public-dir/:tag-out-dir
; :coffee-script-out-dir "script/" ; :public-dir/:coffee-out-dir
; :lesscss-out-dir "style/" ; :public-dir/:lesscss-out-dir
; :template-dir *base-dir*
; :post-dir "_post/" ; :template-dir/:post-dir
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 / f.ts
Created May 28, 2020
TypeScript re-export bug?
View f.ts
export function f() {}
@bouzuya
bouzuya / README.md
Last active May 21, 2020
bbn-furikaeri
View README.md

bbn-furikaeri

Example

$ bbn-furikaeri
2020-05-20 ABC067 を解いた等
https://blog.bouzuya.net/2020/05/20/

2019-05-21 健康診断など
https://blog.bouzuya.net/2019/05/21/
@bouzuya
bouzuya / README.md
Last active May 21, 2020
bbn-graph-gen
View README.md

bbn-graph-gen

Usage

$ deno --version
deno 1.0.1
v8 8.4.300
typescript 3.9.2
$ bbn-graph-gen | jq -S . > graph.json
@bouzuya
bouzuya / s3.rb
Last active May 12, 2020
AWS SDK for Ruby で S3 を操作する
View s3.rb
require 'rubygems'
require 'bundler/setup'
require 'aws-sdk'
# NOTE: require ENV[...]
# export AWS_ACCESS_KEY_ID='...'
# export AWS_SECRET_ACCESS_KEY='...'
# export AWS_REGION='ap-northeast-1'
s3 = AWS::S3.new
@bouzuya
bouzuya / README.md
Created Jan 8, 2016
javascript e2e testing
View README.md
@bouzuya
bouzuya / header.tex
Last active Feb 15, 2020
Pandoc で Markdown から PDF へ変換
View header.tex
%\usepackage{luatexja}
\setmainfont{TakaoPMincho}
\setsansfont{TakaoPGothic}
\setmonofont{TakaoGothic}
@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 / rfc6570.md
Last active Jul 21, 2019
RFC6570 - URI Template に関する覚書
View rfc6570.md

RFC6570 - URI Template に関する覚書

RFC6570 の情報やそれを JavaScript から利用するための npm package についての覚書。

RFC6570 とは

RFC6570 - URI Template

URI Template は変数展開を通じて URI の範囲を示す文字列。この仕様は URI Template の構文とそのURI Template を URI 参照に展開するための処理を定義する。