Skip to content

Instantly share code, notes, and snippets.

View bouzuya's full-sized avatar

bouzuya bouzuya

View GitHub Profile
@bouzuya
bouzuya / wip-pr
Created April 5, 2014 06:49
Backlog + git-flow + WIP PRな運用でdevelopブランチからWIP PR投げるまでを処理するスクリプト
#!/bin/bash
# Description:
# Backlog + git-flow + WIP PR script
# Usage:
# wip-pr pj-123
#
# Requirement:
# use Mac OS X
@syou6162
syou6162 / clj-seq-utils.md
Created September 6, 2012 00:24
Clojureのsequence関係のユーティリティ関数のまとめ

sequence関係のユーティリティ関数で自分がよく知らないものをまとめておく。

map-indexed

昔はindexedっていうそのまんまな関数があったけど、1.3くらいからなくなっていた。今はmap-indexedっていう関数を使う。よく使うのはこんな感じの使い方。

(map-indexed #(vector %1 %2) ["a" "b" "c" "d" "e"])
; ([0 "a"] [1 "b"] [2 "c"] [3 "d"] [4 "e"])

reductions

@LinusU
LinusU / README.md
Last active July 17, 2021 08:06 — forked from apla/icons_and_splash.js
Icons and Splash images for your Cordova project. (with iOS 7 support)

Usage

Install cordova into node_modules

npm install cordova

Add icons_and_splash.js

@bouzuya
bouzuya / bouzuya_keycode.h
Created February 10, 2018 06:40
Nyquist Keymap
#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 / README.md
Last active May 21, 2020 13:42
bbn-furikaeri
@shyouhei
shyouhei / gist:0b7dab3e75bfbf96f895
Created March 31, 2015 15:26
新社会人の人が留意すべき事項

新社会人に必須である:

  • 勤務先との書面による「労働契約」。業務委託契約等NG。
  • 多寡を問わず毎月払われる給料。遅配等論外である。
  • 健康保険。
  • 労災保険。
  • 雇用保険。
  • 三六協定。
  • 年次有休。
  • 育児休業の制度があり取得者がいる会社に勤務する。
@bouzuya
bouzuya / keymap.c
Last active September 9, 2019 09:26
ErgoDox EZ bouzuya v23
// 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 July 21, 2019 05:37
RFC6570 - URI Template に関する覚書

RFC6570 - URI Template に関する覚書

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

RFC6570 とは

RFC6570 - URI Template

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

@Gozala
Gozala / weak-map.js
Created October 7, 2011 10:34
Harmony WeakMap shim for ES5
/* vim:set ts=2 sw=2 sts=2 expandtab */
/*jshint asi: true undef: true es5: true node: true devel: true
forin: false latedef: false */
/*global define: true */
if (typeof(WeakMap) === 'undefined') WeakMap = (function(global) {
"use strict";
function defineNamespace(object, namespace) {
# swith to sudo
sudo -i
# create swap
touch /2GiB.swap
chattr +C /2GiB.swap
fallocate -l 2048m /2GiB.swap
chmod 600 /2GiB.swap
mkswap /2GiB.swap