Skip to content

Instantly share code, notes, and snippets.

README

Chocolatey インストール後、パッケージをインストールする前の準備

choco feature enable --name=useRememberedArgumentsForUpgrades

個別インストールするパッケージ

@sgur
sgur / fontlink_seguoUI-YuGothic.reg
Last active February 21, 2018 01:56
SegoeUIに游ゴシックを組み合わせるフォントリンク設定
@sgur
sgur / fontlink._segoeui.reg
Created February 20, 2018 10:50
Segoe UI と Meiryo UI のフォントサイズのバランスを調整するレジストリ (utf-16le,bomb,crlf)
@sgur
sgur / DeleteOpenInVisualStudio.cmd
Created February 16, 2018 01:02
エクスプローラーのコンテキストメニューから "Visual Studio で開く" (open in visual studio) を削除する
reg delete HKEY_CLASSES_ROOT\Directory\Background\shell\AnyCode /f
reg delete HKEY_CLASSES_ROOT\Directory\shell\AnyCode /f
@sgur
sgur / ssh_config (git for windows)
Last active February 13, 2018 06:21
SSH over HTTPS
ProxyCommand connect -H localhost:3128 %h %p
Host git.localdomain.org
ProxyCommand none
Host tunnelhost.com
ProxyCommand connect -H localhost:3128 %h %p
User user
IdentityFile ~/.ssh/ident
ServerAliveInterval 60
@sgur
sgur / scrollbench.vim
Last active December 15, 2017 01:25
renderoptions 用の画面スクロール用のベンチマークスクリプト
scriptencoding utf-8
function! s:benchmark() abort "{{{
normal !gg
call timer_start(0, function('s:callback', [reltime(), line('$')]), {'repeat': -1})
endfunction "}}}
function! s:callback(time, lines, timer) abort "{{{
if line('.') < a:lines
execute 'normal!' "\<C-f>"
@sgur
sgur / cvimrc.vim
Last active December 4, 2017 08:25
cVimrc
# Disable cVim on the sites matching one of the patterns
let blacklists = ["https://mail.google.com/*", "*://mail.google.com/*", "@https://mail.google.com/mail/*", "https://feedly.com/*", "https://getpocket.com/*"]
@sgur
sgur / .tigrc
Last active November 30, 2017 09:07
Windows 版 gVim の :terminal で tig を使うための設定
# for tig in terminal in Vim
set vertical-split = no
color date cyan default
color graph-commit magenta default
@sgur
sgur / karabiner_elements_aquaskk_on_iterm2.json
Created September 20, 2017 04:55
Locate under ~/.config/karabiner/assets/complex_modifications/
{
"title": "AquaSKK on iTerm2 / Terminal.app",
"rules": [
{
"description": "Change left_ctrl + j to Hiragana on iTerm2",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
@sgur
sgur / _vsvimrc
Created September 6, 2013 09:19
_vsvimrc
" indent
set vsvim_useeditordefaults
" Options
set backspace=start
set clipboard=unnamed
set ignorecase
set incsearch
set hlsearch
set visualbell