日本語を打つときに変になる。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 少し凝った zshrc | |
# License : MIT | |
# http://mollifier.mit-license.org/ | |
######################################## | |
# 環境変数 | |
export LANG=ja_JP.UTF-8 | |
# 色を使用出来るようにする |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
from subprocess import call | |
import sys | |
if __name__ == '__main__': | |
call(sys.argv[1:]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set number | |
colorscheme molokai | |
syntax on | |
"html | |
autocmd FileType html inoremap <silent> <buffer> </ </<C-x><C-o> | |
"neobundle | |
set runtimepath+=~/.vim/bundle/neobundle.vim/ | |
call neobundle#begin(expand('~/.vim/bundle/')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
from subprocess import call | |
import sys | |
if __name__ == '__main__': | |
if len(sys.argv) == 1: | |
old_n = 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static class MyLinq { | |
public static IEnumerable<TResult> MySelect<T,TResult>(this IEnumerable<T> e, System.Func<T, TResult> selector) { | |
foreach (T val in e) { | |
TResult res = selector (val); | |
yield return res; | |
} | |
} | |
public static List<T> MyToList<T>(this IEnumerable<T> e) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew install doxygen graphviz | |
doxygen -g | |
vim DoxyFile | |
doxygen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[alias] | |
st = status | |
br = branch | |
unstage = reset HEAD | |
cancel = reset --soft HEAD^ | |
del = !git rm $(git ls-files --deleted) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Ll]ibrary/ | |
[Tt]emp/ | |
[Oo]bj/ | |
# Autogenerated VS/MD solution and project files | |
/*.csproj | |
/*.unityproj | |
/*.sln | |
/*.suo | |
/*.user | |
/*.userprefs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class FlickHandler : MonoBehaviour, IPointerDownHandler, IPointerUpHandler { | |
[System.Serializable] | |
public class DetectThreshold { | |
public float minDistance; | |
public float maxDistance; | |
public float deltaTime; | |
public float deltaAng; | |
} | |
public DetectThreshold threshold; |
OlderNewer