bitbucketを最近利用し始めたところ、昨日時点でリニューされてました。embeded機能があったかどうかわからないんですが、使ってみることにしました。
embededを埋め込もう
なんか変。
2012年10月10日bitbucket
bitbucketを最近利用し始めたところ、昨日時点でリニューされてました。embeded機能があったかどうかわからないんですが、使ってみることにしました。
なんか変。
2012年10月04日zsh
oh-my-zshを使ってたら、command historyが共有されてました。
僕は、共有させたくないんですよ(ヽ´ω`)
oh-my-zshの設定を見て行きましょう。
## Command history configuration HISTFILE=$HOME/.zsh_history HISTSIZE=10000 SAVEHIST=10000 setopt append_history setopt extended_history setopt hist_expire_dups_first setopt hist_ignore_dups # ignore duplication command history list setopt hist_ignore_space setopt hist_verify setopt inc_append_history setopt share_history # share command history data
share_historyの設定をoffにすればいい。
oh-my-zshの設定はそのままにして、.zshに追加しましょう。
unsetopt share_history #
終わり。
2012年09月27日さくらVPS
さくら980からさくらのVPS2Gへ乗り換えた03の続きです。
yumでnginxをインストールします。以前は、tarballからインストールしていましたが、とりあえず標準でインストールします。
/ ᐅ wget http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rp / ᐅ sudo rpm -ivh nginx-release-centos-6-0.el6.ngx.noarch.rpm / ᐅ yum install nginx / ᐅ chkconfig --list | grep nginxnginx 0:off 1:off 2:on 3:on 4:on 5:on 6:off
eclipseのpluginで、flash builder 4.6が利用できるんですが、パースペクティブが出ない状況に なりました。 普通ならここまでやれば、大丈夫のはずなんですが。
GUI上で操作しても何もエラーはないように見えました。詳細な情報をえるために、コンソールからログを追ってみます。
/Applications/eclipse/eclipse -consoleLogのコマンドを実行すると、初期化時に次のエラーが発生していました。
java.io.FileNotFoundException: /Applications/eclipse/dropins/fb-4_6-plugin-encoded.link (Permiss ion denied) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:120) at org.eclipse.equinox.internal.p2.reconciler.dropins.DropinsRepositoryListener.getLinkedRep ository(DropinsRepositoryListener.java:133) 以下、略
パーミッションの問題なので、権限を与えます。
下記のコマンドを実行すると、パースペクティブが出てきます。
chown YOUR_LOGIN_ACCOUNT fb-4_6-plugin-encoded.link
chmod 755 fb-4_6-plugin-encoded.link
#念のため、クリーンする
/Applications/eclipse/eclipse -cleanする。
2012年05月31日java
mac book airにも慣れてきたので、そろそろeclipseをインストールします。
でも、macを使っている男ってクズらしいので、使わないようにしましょう。
pleiadesのAll in oneって、Windowsのみ恩恵を受けられるのでした。知りませんでした。
こちらを参考にして環境構築しました。下記は、実際にやったことです。
toenobu$ cp -R pleiades-e3.7-java_20120225/eclipse/plugins/ eclipse/plugins/ toenobu$ cp -R pleiades-e3.7-java_20120225/eclipse/features/ eclipse/features/ toenobu$ cp -R pleiades-e3.7-java_20120225/eclipse/dropins/ eclipse/dropins/
vim eclipse/Eclipse.app/Contents/MacOS/eclipse.ini # 最後に加える -javaagent:/Applications/eclipse/dropins/MergeDoc/eclipse/plugins/jp.sourceforge.mergedoc.pleiades/pleiades.jar -Dfile.encoding=utf-8
これで動くようになりました。