2014-01-01から1ヶ月間の記事一覧
.pgpassに定義する$ vi ~/.pgpass host:port:database:user:password
先ずはlocalでコミットまで行う local $ git add . $ git commitremote側でpushされるリポジトリを作成 remote $ mkdir origin $ git init $ git config --bool core.bare true再びlocal側でremote登録、及びpushまで local $remote add origin ssh://user@a…
select * from ( select * from hoge order by id limit 10 ) as hoge join hage on hoge.id = hage.id where hoge.id in ( select id from foo )と10件にした後、絞られてたので、 select * from ( select * from hoge where id in ( select id from foo ) …
DNS登録済みのドメインmyserver.comサーバから自分自身へ file_get_contents( "http://myserver.com/hoge.txt" ); fopen( "http://myserver.com/hoge.txt", "r" );とした時、401 Unauthorized のエラーが発生。環境はこんな構成。NATでmyserver.com:80のアク…