Install FFmpeg & Mencoder on CentOS 6 would be easy job.
It cost me 2 days to install them and make script running on a client server which is CentOS 5.10 64-bit.
If you have to install FFmpeg & Mencoder on a CentOS 5 like me, i hope this article can save you some time.
You can follow those two links to prepare system, install codecs and ffmpeg:
makefile带来的好处就是–“自动化编译”,一旦写好，只需要一个make命令，整个工程完全自动编译，极大的提高了软件开发的效率。make是 一个命令工具，是一个解释makefile中指令的命令工具，一般来说，大多数的IDE都有这个命令，比如：Delphi的make,Visual C++的nmake,Linux下GNU的make.可见，makefile都成为了一种在工程方面的编译方法。
This article can help you to track down outgoing spam using PHP.
From php version 5.3.0 we can use the directive mail.log to log who’s calling the function mail(). When someone calls the function mail() from a php script we can get some info about the sender in log.
PHP mail.log entries include the full path of the script, line number, To address and headers.
1. Check email log
2. Edit php.ini
3. To enable mail.log, add following line in php.ini
4. Create lo...
Download and Install Eclipse IDE
Android offers a custom plugin for the Eclipse IDE, called Android Development Tools (ADT).
Following steps in link to install ADT Plugin into Eclipse
** If you can not find Android SDK Manager in Window --> Android SDK Manager,
go to Window --> Customize Perspective --> Tool Bar Visibility.
Enable options in Android SDK and AVD Manager.
Install NodeJS on Fedora
NodeJS is currently not part of the standard repo's, you can not install dire...
First, you need to find the RPM package name, just run something like this:
Remove the package
Remove kmod related files
If you plan to install a new version of VirtualBox, checkout this link:
The install of Node.js is pretty straight forward, with on gotcha when it comes to installing node packages that I will detail at the end.
If you haven’t already installed developer tools, you will need to do that now.
Now install Node.js.
Problem installing node packages with sudo
To install node packages you have a little problem if you are using sudo. On Fedora and CentOS 6.2 (and probably versions less than this), sudo has a secure path set secure_path = /sbin:/bin:/usr/sbin:...
The following RewriteRule lives in the .htaccess file at olddomain.com and tells any request coming in to that domain to swap olddomain.com out and replace it with newdomain.com. This includes ANYTHING after the trailing slash, like a direct link to a previous post. So http://olddomain.com/this/direct/link gets sent properly to http://newdomain.com/this/direct/link
The important part is the [R=301] which sends a 301 (Permanent) Redirect header.
That tells search engines that the page ha...
Thank you for taking the time to visit my blog! Take a second to peek around and check out some of my previous posts. Of course, I would love to find out what you think as well, so make sure to comment. See you around!