2014-01-01から1年間の記事一覧
apacheが立ち上がらない 自作のモジュールが/usr/libexec/apache2/からサクっと消えている為。 この行をコメントアウト。 # LoadModule mymodule_module libexec/apache2/mod_mymodule.soPHPが動かない 以下を追加 LoadModule php5_module libexec/apache2/l…
新しいバイナリインターフェイスが推奨だということで試す。 こんな感じで送信する。 set_certfile( "dev.pem" ); $o->apns_server_url( "ssl://gateway.sandbox.push.apple.com:2195" ); $o->set_priority( 10 ); $o->set_expire( time() ); $o->set_messag…
.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のアク…