Entries from 2013-01-01 to 1 month

heroku database pgsql postgresql

http://www.ownway.info/Ruby/index.php?heroku%2Fhow%2Fmanagement%2Fdatabaseデータベースの確認と作成 *以下のコマンドを実行してください。heroku addons --app アプリケーションID一覧に heroku-postgresql があれば Postgres が使えるようになってい…

Heroku Can't Push

$ git push heroku masterPermission denied (publickey). fatal: The remote end hung up unexpectedly heroku keys:add - http://stackoverflow.com/questions/8786564/cannot-push-to-heroku-because-key-fingerprint/8803103#8803103ssh-keygen -t rsa -…

heroku git PHP push おまじない

git initgit add .; git commit -m 'initial commit'heroku create 'your_app_name' --stack cedargit push heroku master

heroku toolbelt, multi account, heroku loginできない

http://stackoverflow.com/questions/8786564/cannot-push-to-heroku-because-key-fingerprintmultiple keys and multiple heroku accountsthe main problem is ssh-agent, which you control using the ssh-add command. The man page (man ssh-add) is act…

Ubuntu 12.10 server && NX && Gnome3

http://www.nomachine.com/download.php sudo dpkg -i nxclient_3.5.0-7_amd64.deb sudo dpkg -i nxnode_3.5.0-9_amd64.deb sudo dpkg -i nxserver_3.5.0-11_amd64.deb sudo apt-get install gnome gnome-session-fallback Comment out this line: /usr/NX/e…

pentium

Pentium D 805 Pentium 4 630 Socket775

Mechanizeの使い方

require 'mechanize'agent = Mechanize.new agent.get('http://www.google.co.jp/') agent.page.form_with(:name => 'f'){|form| form.field_with(:name => 'q').value = 'Ruby' form.click_button } agent.page.link_with(:text => "オブジェクト指向スクリ…