phpfog

無料paas環境を色々と試している。
今日はphpfogを試してみる。

無料プランは1アプリケーション。
ssh鍵を登録してgitから選択したフレームワークの雛形を落とす。

git clone git@git01.phpfog.com:cadillac.psychobil.ly

独自ドメイン使用も可能(ワイルドカードは有料)

http://cadillac.psychobil.ly/

phpフレームワークcodeignitorを利用。
オープンソースcms利用

http://www.getfuelcms.com/

emacs memo

lispは呪文過ぎて毎度目を背けている。
memo

load-path確認方法

C-x b *scratch*
load-pathC-j

mew install

$ git clone git://github.com/kazu-yamamoto/Mew.git
$ cd Mew
$ ./configure --with-emacs=/Applications/Emacs.app/Contents/MacOS/Emacs
$ make
$ make info
$ make jinfo
$ sudo make install
$ sudo make install-info
$ sudo make install-jinfo
$ cat <> ~/.emacs.d/init.el
(autoload 'mew "mew" nil t)
(autoload 'mew-send "mew" nil t)

EOF

dotCloud

herokuがなんだかいまいち過ぎるので他のものを試してみることにした。

dotCloud

$ sudo easy_install pip && sudo pip install dotcloud
$ dotcloud

cname

$ dotcloud alias add cramps.www cramps.psychobil.ly

type変更方法( static -> php )
$ dotcloud destroy cramps
$ dotcloud create cramps
$ dotcloud push --all cramps

heroku 鍵登録

別のPCからherokuを使う場合、公開鍵を登録する必要あり。

$ heroku keys:add ~/.ssh/id_dsa.pub
$ git clone git@heroku.com:cramps.git

入門git

入門git

emacsを23にバージョンアップする

Install

$ curl -O http://ftp.gnu.org/pub/gnu/emacs/emacs-23.3a.tar.gz
$ tar xvzf emacs-23.3a.tar.gz
$ cd emacs-23.3
$ git clone git://git.savannah.gnu.org/emacs.git
$ cd emacs
$ ./configure --with-ns --without-x
$ make
$ make install

参考

http://macemacsjp.sourceforge.jp/index.php?CocoaEmacs
http://sakito.jp/emacs/emacs23.html

便利なツール Emacsらくらく入門

便利なツール Emacsらくらく入門

herokuにlokkaを入れてみる

herokuもlokkaも使わなさそうだけど。

$ git clone https://github.com/komagata/lokka.git
$ cd lokka
$ heroku create cramps
$ git push heroku master
$ heroku config:remove LANG --app cramps
$ heroku config:add LNAG=ja_JP.utf8 --app cramps
$ heroku rake db:setup --app cramps

site

http://cramps.heroku.com/