PHP: Calculate Real Differences Between Two Dates or Timestamps
I was using simple function to calculate difference between two dates and timestamps until I noticed, it’s not working correctly in...
Read MoreLinux locate command: Find Files and Directories Quickly and Efficiently
This is quick guide howto find files and directories quick and efficiently on Linux with locate command. Linux find command is outdated,...
Read MoreInstall PostgreSQL 8.4 Database Server on CentOS, Fedora, Red Hat
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 MoreYUM History (list, info, summary, repeat, redo, undo, new)
Yum (Yellowdog Update Modified) is RPM Packet Management system for Fedora, CentOS, Red Hat, OpenSuse etc. Yum history (list, info,...
Read MoreAdd Hostname, Date, Time, Uptime, Load Average to Linux Terminal Title
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 MorePHP CLI Colors – PHP Class Command Line Colors (bash)
PHP Command Line Interface (CLI) has not built-in coloring for script output, like example Perl language has...
Read Morenginx, PHP 5.3 and FastCGI on CentOS 5.5, Fedora 13, Red Hat RHEL 5.5/6
This is guide howto install nginx, PHP 5.3 and FastCGI webserver with MySQL and/or PostgreSQL and Memcache support on Fedora 12 and Fedora...
Read MoreBitLy (bit.ly) PHP Class – Shorten and Expand URLs (and Hashes) with BitLy API
BitLy (bit.ly) is a service which allows users to shorten, expand, share and track URLs (links). bit.ly can be accessed through bit.ly...
Read MoreCreate PostgreSQL Table Partitioning (Part 1)
PostgreSQL supports partitioning via table inheritance. So the partitioning is made in such a way that every child table inherits single...
Read MorePartitioning PostgreSQL Tables – Handle Millions of Rows Efficiently
PostgreSQL table partitioning means splitting one large database table into smaller logical pieces. PostgreSQL table partitioning will be...
Read MoreFedora 13 nVidia Drivers Install Guide (disable the nouveau driver)
Fedora 14 users check Fedora 14 nVidia Drivers Install Guide (disable nouveau driver) I’ve tried this method in few Fedora 12 and...
Read MoreHide Apache ServerSignature/ServerTokens/PHP X-Powered-By
By default almost all Apache installation shows sensitive server information with Apache version number, server operating system details,...
Read MoreHowto upgrade Fedora 11 to Fedora 12 with Preupgrade
I think the most easiest way to upgrade Fedora 11 to Fedora 12 is program called preupgrade, which download needed packages from the...
Read More