<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<style type="text/css">
html
{
[...]
#!/usr/bin/perl
use strict;
# Very crude batch convertion script for ffmpeg
# to make flash video (flv) from several other videosources
#
# First get the ffmpeg CVS version
# cvs -z9 -d:pserver:anonymous@mplayerhq.hu:/cvsroot/ffmpeg co ffmpeg
#
# compile it with:
# ./configure –enable-mp3lame –enable-gpl
# make
# make install
#
# next:
# make them flv files
# input movie files dirname
my $input_dir = "/var/www/uploads/dummymedia/";
# output files dirname
# has [...]
Ganglia is a monitoring framework for clusters of servers. It records many statistics and can record custom defined ones too. It works in a distributed manner, with each machine you wish to collect statistics for running the Ganglia monitor deamon, gmond. Each monitoring deamon’s statistics are collected by a metadata daemon, gmetad, running on either [...]
Here is an link from digg.com, Tuning LAMP systems, Part 2: Optimizing Apache and PHP
Tuning LAMP systems, Part 2: Optimizing Apache and PHP
sed -i ’s/abc/xyz/g’ *.php
This command is used for mass replacemet using regular expression.
In the above command “abc” is replace with “xyz” from all the files extension “php”.
find /var/www/html/sch_admin/ -mtime -1
This command is used to list all the files within the specified folder,say “var/www/html/sch_admin/”, which have been created or modified within the period specified,say “-1″ which [...]