It worked for me on Ubuntu 12.10 ffmpeg -i video.mkv -vcodec msmpeg4 -b 24576k -s hd720 -acodec libmp3lame -ab 128k -ac 2 video.avi
check logfiles script
Not so generic way to check ‘any’ logfile for erros I have written at least about 5 variations of this same script. Some more flexible and genereal purpose. But in the end I have been writing customs made out of […]
How to find and replace text using vi
How to find and replace text using vi or vim Both vi and vim text editor comes with substitute command for finding and replacing text. The syntax is as follows: :%s/WORD-To-Find-HERE/Replace-Word-Here/g OR :%s/FindMe/ReplaceME/g Examples The substitute command can be used […]
How to fix mod_ssl CRIME attack
More detailed information on what and how the attack works is here I will focus only on fixing the problem. On RHEL server 5.x and 6.x the easy way is to simply disable SSL compression. In newer Apache versions this […]
Fix KB2823324
Microsoft BUG So my old laptop just got updated with a MS destruction patch KB2823324 ! Here is how to fix it 1. boot into Repair Mode, then cmd. Boot and press F8 key 2. Get packages name: dism /image:C:\ […]
check_conntrack_unreplied
Our front end varnish servers expierence a lot of traffic and we currently must have a iptables NAT that routes from port 80 to port 81, where the varnish daemon listen to traffic. Doing this we end up using the […]
font woff problem
roblem: The default webserver (Apache/IIS) does not have some fonts format ‘we’ added to the website This result in the browser, specially firefox to take long time to load the page. The problem is clearly much worst in Firefox, do […]