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
if &compatible | |
set nocompatible | |
endif | |
"dein.vimディレクトリをruntimepathに追加する | |
set runtimepath+=~/vimfiles/bundles/repos/github.com/Shougo/dein.vim | |
"以下定型文 | |
if dein#load_state("~/vimfiles/bundles") | |
call dein#begin("~/vimfiles/bundles") |
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
"vimrcへの書き込み | |
nnoremap <F5> :<C-u>split $MYVIMRC<CR> | |
nnoremap <F6> :<C-u>source $MYVIMRC<CR> | |
"コマンドモードを1.5倍速で | |
noremap ; : | |
noremap : ; | |
"バッファ操作ショートカット | |
nnoremap <Space>l :ls<CR>:buf |
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
<?xml version="1.0" encoding="UTF-8" ?> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | |
<b:skin></b:skin> | |
</head> | |
<body> | |
<b:section id='mainSection'> | |
<b:widget id="Blog1" type="Blog"> | |
<b:includable id="main"> |
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
body { | |
font-family: Verdana "游ゴシック" YuGothic "ヒラギノ角ゴ ProN W3" "Hiragino Kaku Gothic ProN" "メイリオ" Meiryo sans-serif; | |
font-size: 14px; | |
line-height: 22px; | |
word-wrap: break-word; | |
} | |
.entry-content h4 { | |
font-size: 100%; | |
border-bottom: 1px solid #426579; |
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
# color設定 | |
export LSCOLORS=exfxcxdxbxegedabagacad | |
zstyle ':completion:*' list-colors di=34 ln=35 ex=31 | |
zstyle ':completion:*:kill:*' list-colors \ | |
'=(#b) #([0-9]#)*( *[a-z])*=34=31=33' | |
# 一覧表示の形式設定 | |
zstyle ':completion:*' group-name '' | |
zstyle ':completion:*:descriptions' format '%BCompleting%b %U%d%u' |
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
pre.commandline { | |
/*fontの指定(google web font)*/ | |
font-family: 'Source Code Pro' ; | |
/*境界との位置関係を調整*/ | |
margin: 0px 0px 0px 0px; | |
padding: 5px 0px 5px 5px; | |
border: 1px solid #7a7a7a; |
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
#include <bits/stdc++.h> | |
using namespace std; | |
//conversion | |
//------------------------------------------ | |
inline int toInt(string s) {int v; istringstream sin(s);sin>>v;return v;} | |
template<class T> inline string toString(T x) {ostringstream sout;sout<<x;return sout.str();} | |
//typedef | |
//------------------------------------------ |
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
if has('vim_starting') | |
set nocompatible | |
set runtimepath+=~/.vim/bundle/neobundle.vim/ | |
endif | |
call neobundle#rc(expand('~/.vim/bundle/')) | |
NeoBundleFetch 'Shougo/neobundle.vim' | |
" 以下にインストールするプラグインを並べていく |
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 | |
syntax on | |
set smartindent | |
set nobackup | |
set laststatus=2 | |
set tabstop=4 |
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
data Human = Human {h_name :: String} | |
data Neko = Neko {n_name :: String} | |
data Inu = Inu {i_name :: String} | |
class Aisatu a where | |
hello :: a -> String | |
goodMorning :: a -> String | |
goodNight :: a -> String | |
instance Aisatu Human where |