Problem Convert AVI movie for iPod using mencoder. Solution Use the following commands: $ ./mencoder -ovc raw -ofps 15 -nosound -vf \ scale=160:-2,expand=160:128,format=bgr24 *YourVideoNameHere* -o ipodmovie.avi $ ./2bppconv movie.avi *FinalMovieName*.avi Resource http://reviews.cnet.com/4520-10163_7-6279061-6.html
Mass Apache Virtual Hosting using mod_rewrite
For small number of virtual hosts (vhosts) we can use the “VirtualServer” directive in apache web server. Unfortunately when we have high number of vhosts (hundreds), it gets very complicated to maintain such configuration. The reasons are: it is complicated
Graylisting and email comming from GMail
It can take some time while GMail pushes a mail through your GrayList. The reason is that Google has several SMTP outgoing mail servers. The problem is that Google is rotating these mail servers to send even a single mail.
Vi Useful Commands
Vi: Search and Replace Change to normal mode with <ESC>. Search (Wraped around at end of file): Search STRING forward : / STRING. Search STRING backward: ? STRING. Repeat search: n Repeat search in opposite direction: N (SHIFT-n) Replace: Same
About OpenVZ Memory Management
Important quote: As xemul said.. the VE has no concept of the difference between ram and swap. Its just “memory” at the VE level. So, your HN can have 64MB of ram and 64GB of swap. Or, your HN can