Skip to content

Instantly share code, notes, and snippets.

View jumbo-in-Jap's full-sized avatar

Ken Jumbo Haneda jumbo-in-Jap

View GitHub Profile
textField.leftView = UIView(frame: CGRectMake(0,0,20,20))
textField.leftViewMode = .Always
textField.layer.borderColor = UIColor.appColor().CGColor
textField.layer.cornerRadius = 5
textField.layer.borderWidth = 1
textField.layer.masksToBounds = true
tableView.separatorStyle = .None
UINavigationBar.appearance().setBackgroundImage(UIImage(named: "barBackground"),forBarMetrics:.Default)
UINavigationBar.appearance().shadowImage = UIImage()
UINavigationBar.appearance().tintColor = UIColor.darkGrayColor()
UINavigationBar.appearance().titleTextAttributes = [NSForegroundColorAttributeName : UIColor.darkGrayColor()]
# -------------------------------------
# 環境変数
# -------------------------------------
autoload -Uz compinit
compinit -u
# SSHで接続した先で日本語が使えるようにする
export LC_CTYPE=en_US.UTF-8
export LC_ALL=en_US.UTF-8
#set -e
set -x
# neobundle
mkdir -p ~/.vim/bundle
git clone https://github.com/Shougo/neobundle.vim ~/.vim/bundle/neobundle.vim
git clone https://github.com/Shougo/vimproc ~/.vim/bundle/vimproc
ln -s ~/dotfiles/vim/.vimrc ~/.vimrc
@jumbo-in-Jap
jumbo-in-Jap / zshrc
Last active June 1, 2016 05:14
zshrc
# -------------------------------------
# 環境変数
# -------------------------------------
# SSHで接続した先で日本語が使えるようにする
export LC_CTYPE=en_US.UTF-8
export LC_ALL=en_US.UTF-8
# エディタ
export EDITOR=/usr/local/bin/vim