How to Install FFmpeg in Linux ~The Easy Way~
Original Post
FFmpeg is so important if you are planning to run a video website with streaming with conversion of video files to different video formats. This tutorial is intended for Centos/Redhat versions of Linux where any novice user [...]
Posted on February 27th, 2009 by Denie
Filed under: Linux, RPM, Tutorials | No Comments »
When compiling PHP from source, some of the CentOS users reported that they getting errors like below:
/usr/bin/ld: cannot find -lltdl
collect2: ld returned 1 exit status
What you need to do, is just follow the below steps.
Verify that the libtool and libtool-ltdl packages are installed.
Symlink libltdl.so to libltdl.so.x.x.x
If libtool and libtool-ltdl already exist, you may go [...]
Posted on February 26th, 2009 by Denie
Filed under: BASH, Linux, PHP, Tutorials | No Comments »
I found good examples for this.
- Quick HOWTO (from LinuxHomeNetworking.com) – download
- Sample IPTABLES Configuration (RedHat/CentOS) – download
Posted on February 23rd, 2009 by Denie
Filed under: Linux, Scripting, Tutorials | No Comments »
When you’re running REDHAT/CENTOS platform for your server, sometimes the RPM wont run normally or become stuck. This caused by the RPM database not properly builded or been corrupted.
Errors would be like :
rpmdb: Program version 4.3 doesn’t match environment version
error: db4 error(-30974) from dbenv->open: DB_VERSION_MISMATCH: Database environment version mismatch
error: cannot open Packages index using [...]
Posted on February 20th, 2009 by Denie
Filed under: Linux, RPM | No Comments »
Just put below on your top line of the scripts :
$ips = array(”127.0.0.1″,”aaa.bbb.ccc”,”xxx.yyy.zzz”);
$userip = $_SERVER['REMOTE_ADDR'];
foreach ($ips as $ip) {
if (!preg_match(”/$ip/i”, $userip)) {
echo “Access Denied!”;
exit;
}
}
Notes:
$ips is the allowed IP address range
Other way, you can use .htaccess to protect directories/files.
Posted on February 20th, 2009 by Denie
Filed under: PHP, Scripting | No Comments »
Major hexadecimal color codes
Color
Color Code
Color
Color Code
Red
#FF0000
White
#FFFFFF
Turquoise
#00FFFF
Light Grey
#C0C0C0
Light Blue
#0000FF
Dark Grey
#808080
Dark Blue
#0000A0
Black
#000000
Light Purple
#FF0080
Orange
#FF8040
Dark Purple
#800080
Brown
#804000
Yellow
#FFFF00
Burgundy
#800000
Pastel Green
#00FF00
Forest Green
#808000
Pink
#FF00FF
Grass Green
#408080
Color code chart
Posted on February 19th, 2009 by Denie
Filed under: HTML | No Comments »
I declare from the beginning that I am no authority on digital certificates.
This document is a summary of all the articles I have read about openssl. It describes in short how to become your own Certificate Authority (CA) and how to create and sign your own certificate requests. Make no mistake, these certificates are good [...]
Posted on February 18th, 2009 by Denie
Filed under: Linux, Tutorials | No Comments »
There are often problems with sendmail once it has been installed due to the tightening up of sendmail to stop spammers
Sendmail-8.11.6-15 Connection refused
Sendmail & tcp wrapper rejection
Cannot relay from valid ip address (Outlook)
Posted on February 13th, 2009 by Denie
Filed under: Linux, Tutorials | 2 Comments »
Original Post
Update: note that this article is from 2003. The CSS hack described is outdated and (maybe) shouldn’t be used.
I learned another CSS hack today – the underscore hack. You can read all about it in detail, but in essence it’s very simple.
Browsers are supposed to simply ignore CSS properties that they don’t understand. [...]
Posted on February 6th, 2009 by Denie
Filed under: HTML, Tutorials | No Comments »
SINGAPORE, Feb 5 – While most children his age sketch on paper with crayons, nine-year old Lim Ding Wen from Singapore, has a very different canvas — his iPhone.
Lim, who is in fourth grade, writes applications for Apple’s <AAPL.O> popular iPhone. His latest, a painting program called Doodle Kids, has been downloaded over 4,000 times [...]
Posted on February 5th, 2009 by Denie
Filed under: Tech News | No Comments »