Skip to content

Instantly share code, notes, and snippets.

View koirand's full-sized avatar
💩
Take it easy

Kazuki Koide koirand

💩
Take it easy
View GitHub Profile
@koirand
koirand / bunsenlabs-first-setting.sh
Last active May 2, 2017 17:22
BunsenLabs first setting
#!/bin/bash -e
askYesOrNo() {
while true ; do
read -p "$1 (y/n)?" answer
case $answer in
[yY] | [yY]es | YES )
return 0;;
[nN] | [nN]o | NO )
return 1;;
@koirand
koirand / edit_with_vim.reg
Last active May 5, 2017 17:08
[Windows] Add "Open with GVIM" to context menu
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\EditWithVim]
@="Edit with Vim"
[HKEY_CLASSES_ROOT\*\shell\openWithGvim\command]
@="\"C:\Program Files (x86)\Vim\vim80\gvim.exe\" \"%1\""
@koirand
koirand / capslock2ctrl.reg
Last active March 1, 2017 03:54
[Windows] Set the Capslock key to Ctrl key.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,03,00,00,00,1d,00,3a,00,00,00,00,00,00,00,00,00