bitbucketを最近利用し始めたところ、昨日時点でリニューされてました。embeded機能があったかどうかわからないんですが、使ってみることにしました。

embededを埋め込もう

なんか変。

Read and Post Comments

oh-my-zshを使ってたら、command historyが共有されてました。
僕は、共有させたくないんですよ(ヽ´ω`)

share_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 #

終わり。

Read and Post Comments

さくら980からさくらのVPS2Gへ乗り換えた03の続きです。

nginxをインストール

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
Read and Post Comments

eclipseのpluginで、flash builder 4.6が利用できるんですが、パースペクティブが出ない状況に なりました。 普通ならここまでやれば、大丈夫のはずなんですが。

環境

  • mac os x 10.7.4
  • eclipse 3.7 indigo
  • 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する。

検索しても回答が出てこなかったので、答えた

Read and Post Comments

mac book airにも慣れてきたので、そろそろeclipseをインストールします。
でも、macを使っている男ってクズらしいので、使わないようにしましょう。

pleiadesのeclipse

pleiadesのAll in oneって、Windowsのみ恩恵を受けられるのでした。知りませんでした。
こちらを参考にして環境構築しました。下記は、実際にやったことです。

  • Eclipse本体をダウンロードする。選択するのは、Eclipse IDE for Java Developersです。
  • pleiadesをダウンロードします。
  • plugins, features, dropinsをコピーする。
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/
  • コピー内容を反映するため、eclipse.iniを編集する。
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
  • /Applications/eclipse/eclipse -cleanする。

これで動くようになりました。

Read and Post Comments

« Previous Page -- Next Page »