諸行無常

IT色々お勉強中のブログ

mac

postgres

admins-MacBook-Pro% initdb /usr/local/var/postgres -E utf8 The files belonging to this database system will be owned by user "hoge". This user must also own the server process. The database cluster will be initialized with locale "ja_JP.UT…

zshへ切り替え、rbenv 入れ直し

mac

インストールしたzshの場所書く sudo vi /etc/shells /usr/local/bin/zsh 切り替え実施 chsh -s /usr/local/bin/zsh admins-MacBook-Pro% brew uninstall rbenv Uninstalling /usr/local/Cellar/rbenv/0.4.0... (32 files, 49.8K) admins-MacBook-Pro% brew …

brew update install が出来ない

mac

brew updateするとエラーになる‥ admins-MacBook-Pro:Users hoge$ brew update error: could not lock config file .git/config: Permission denied Error: Failure while executing: git config core.autocrlf false ユーザ変更する cd $(brew --prefix) ls…

いろいろ初期設定

mac

vim neobundle インストール方法 rsense bashrc設定方法 git config --global alias.co checkout git config --global alias.st 'status' git config --global alias.ci 'commit -a' git config --global alias.di 'diff' git config --global alias.br 'bra…

tmuxインストール、使い方

mac

% brew install tmux ==> Installing dependencies for tmux: openssl, libevent ==> Installing tmux dependency: openssl ==> Downloading https://homebrew.bintray.com/bottles/openssl-1.0.2e.yosemite.bottle.tar.gz ################################…

Homebrewインストール

mac

xcodeをインストール $ xcode-select --install homebrewをインストール、PCパスワード聞かれるよ $ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" ==> This script will install: /usr/local/bin/brew /usr/…

macでのrbenvのインストール

mac

rbenvのインストール brew install rbenv echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile echo 'if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi' >> ~/.bash_profile brew unlink ruby-build brew install ruby-build brew…

macでスクリーンキャプチャ貼る方法

mac

commad+shift+3 全体キャプチャ commad+shift+4 部分キャプチャ commad+shift+4+space 部分キャプチャ カーソルがカメラになり特定画像キャプチャ fn+F11でデスクトップ表示 画像が在るのでそれをドラック&ドロップとかして貼付ける