May 2008
5 posts
Converting movie file for PSP on Mac OSX
I wanted to convert movie file for PSP in better resolution. After looking around some websites, I found the following way to convert movie files on Mac OSX.
3GP Converter (GUI for ffmpeg)
Steps
Download 携帯動画変換君 (3GP_Converter034.zip) fromMobileHackerz and extract
Download ffmpeg (OSX binary) from らけった::ffmpeg SVN-r8638u
Put the ffmpeg_svnr8638 binary into 3GP_Converter/cores
...
Mac OSX で動画を PSP 用に変換する
携帯動画変換ちゃんを使えば、QVGA や 368x208 などの解像度で PSP 用の動画に変換することは簡単にできるけど、せっかく 480x272 の解像度なんだからその大きさに合わせて変換したいと思っていろいろ探してやっとできるようになったので、まとめておく。
携帯動画変換ちゃんのインストールと設定
手順
携帯動画変換君 (3GP_Converter034.zip) を MobileHackerz からダウンロードして展開
ffmpeg (OSX用バイナリ) を らけった::ffmpeg SVN-r8638u からダウンロード
ffmpeg_svnr8638 を 3GP_Converter/cores に保存
携帯動画変換ちゃん (3gpMic.zip) を 配布サイト からダウンロード
携帯動画変換ちゃんを 3GP_Converter...
How to shutdown a server
サーバをシャットダウンする作法(UNIX系OS編)
The linked article describes example of how to shutdown a server by anyone from beginners to experts. This is the summary.
Beginners: Login as root and then shutdown.
Intermediates: Login as root, and then check if active TCP connection, services and processes. Shutdown the services and the processes. Shutdown the server.
Experts: Confirm input command several times,...
Building a full-text search engine in "ONE" day
Building a full-text search engine in “ONE” day
stanaka who is a developer in Hatena Inc. wrote a full-text search engine in a day. He wrote the code as an outcome of reading introduction to Information Retrieval.
It tokenizes strings with bi-gram for multi-bytes characters and with delimiter for single-byte characters.
The indexer that is the first example code puts tokens to hash....
Check points of security for your web apps
連載:なぜPHPアプリにセキュリティホールが多いのか?
There is some articles about the security of web application.The article title is “Why there are a lot of security holes in PHP applications.” But the articles are described how to avoid security hole on your web apps. It’s more conceptual than PHP specific know how.
I pick up some points from these articles.
SQL injection There are 2 ways to...