PHP: Calculate Real Differences Between Two Dates or Timestamps

Updated by on Feb 8, 2011 in Featured, Most Popular, PHP, Programming | 143 comments

I was using simple function to calculate difference between two dates and timestamps until I noticed, it’s not working correctly in...

Read More

Linux locate command: Find Files and Directories Quickly and Efficiently

Updated by on Oct 16, 2010 in Command Line Guides, Linux | 1 comment

This is quick guide howto find files and directories quick and efficiently on Linux with locate command. Linux find command is outdated,...

Read More

cURL Tip: Check that the Apache Compression (gzip, deflate) is Working

Updated by on Oct 16, 2010 in Command Line Guides, Featured, Linux, Programming, Servers | 0 comments

This is a quick method with using cURL to check that Apache Compression with mod_gzip and mod_deflate is working. Only the remote server...

Read More

Install PostgreSQL 8.4 Database Server on CentOS, Fedora, Red Hat

Updated by on Feb 8, 2011 in CentOS, Featured, Fedora, Linux, Red Hat (RHEL), Server Guides, Servers, SQL | 23 comments

This is quick guide howto install PostgreSQL 8.4 (current stable 8.4.7) database server on CentOS, Fedora and Red Hat. Fedora 14, Fedora...

Read More

YUM History (list, info, summary, repeat, redo, undo, new)

Updated by on Oct 16, 2010 in Linux, YUM Guides/Howtos | 3 comments

Yum (Yellowdog Update Modified) is RPM Packet Management system for Fedora, CentOS, Red Hat, OpenSuse etc. Yum history (list, info,...

Read More

Add Hostname, Date, Time, Uptime, Load Average to Linux Terminal Title

Updated by on Oct 16, 2010 in Command Line Guides, Linux | 0 comments

This tip is really useful if you need/want to monitor multiple servers at the same time. This Tip works, as the tip, by which you can add...

Read More

PHP CLI Colors – PHP Class Command Line Colors (bash)

Updated by on Oct 15, 2010 in Featured, Linux, PHP, Programming | 5 comments

PHP Command Line Interface (CLI) has not built-in coloring for script output, like example Perl language has...

Read More

PHP Timing Class – Class for Measure PHP Scripts Execution Time and PHP Web Page Load Time

Updated by on Jul 8, 2010 in Programming | 1 comment

In many cases, it is really useful to know the exact time for how long a PHP script is running or how long will take PHP web page load. On...

Read More
Bear