2012-08-01から1ヶ月間の記事一覧
こんなかんじでシェル名を登録してやります。 rootユーザ権限で動くので処理記述内容は気をつけないといけません。 なので中身はsudo -u bose999 xxx.sh とかしたりしてます。 起動設定と確認方法 % sudo defaults write com.apple.loginwindow LoginHook /L…
インストールはMacでHomebrewだと下記で終わり。 % brew install z % vi $HOME/.zshrc .zshrc に追記するもの .`brew --prefix`/etc/profile.d/z.sh function precmd () { z --add "$(pwd -P)" } これで設定が完了。 シェルを使っているうちに $HOME/.z に …
まずは下記のような手順でインストールします。 ※ brew tap homebrew/versions で通常提供されてるFormulaと 別のバージョンのFormulaを入手しています。 % brew install subversion % brew unlink subversion % brew tap homebrew/versions % brew link get…
すでにvimはMoutain Lionに入ってるのですが、 -clipboard なのでHomebrewでインストールして +clipboard にしてyankした文字列をクリップボードに入るvimを インストールします。 また、macvimをCUIから使うという方法もありますが、 私のvimrcだと画面表示…
1. Xcodeをインストール。 2. Xcodeを起動して Preference -> Downloads -> Components -> Command Line Tools -> install を実行してcc等をインストール。 3. X11を http://xquartz.macosforge.org/landing/ から XQuartz をダウンロードしてインストール。…
2012/08/02現在 以前に記述した Android開発環境をセットアップしてMavenでビルドできるようにする http://d.hatena.ne.jp/bose999/20120531/1338431783 の手順に変化がありますのでメモしておきます。 m2eの最新バージョンではmaven.runtime.3.0.3をインス…
ioniceの引数はこんな感じ(manより) OPTIONS -c The scheduling class. 1 for real time, 2 for best-effort, 3 for idle. -n The scheduling class data. This defines the class data, if the class accepts an argument. For real time and best-effort…