PHP Memory Usage Information Class

Updated by on Nov 12, 2011 in PHP, Programming | 0 comments

Sometimes it’s nice to know or even very important to know, how much your PHP script is using memory. This is a simple example of a...

Read More

SVN (Subversion) Access Control with Apache and mod_authz_svn

Updated by on Oct 23, 2011 in CentOS, Fedora, Linux, Programming, Programs, Red Hat (RHEL), Security, Servers, Version Control | 7 comments

I just wrote guide, howto install SVN (Subversion) Server on Fedora, CentOS and Red Hat (RHEL). No I decided to write more information...

Read More

PHP: Remove Last Character from String – substr/substr_replace/rtrim

Updated by on Oct 15, 2010 in PHP, Programming | 2 comments

This is a very common PHP question, how to remove last character from string in PHP? So here are three ways how to delete last character...

Read More

Install Sun/Oracle Java JDK/JRE 7u2 on Fedora 16/15, CentOS/RHEL 6.2/5.7

Updated by on Jan 3, 2012 in CentOS, Desktop Guides, Featured, Fedora, Linux, Most Popular, Programming, Programs, Red Hat (RHEL) | 49 comments

This is guide, howto Install Sun/Oracle Java JDK and JRE 7 update 2 (7u2) on Fedora 16, Fedora 15, Fedora 14, Fedora 13, Fedora 12, CentOS...

Read More

PHP 1st, 2nd, 3rd, 4th, 5th, 6th – PHP Add Ordinal Number Suffix

Updated by on Oct 15, 2010 in PHP, Programming | 7 comments

This is simple function to add English ordinal number suffix after normal number. Function takes number as a parameter and returns number...

Read More

Android SDK and Eclipse ADT on Fedora 16/15, CentOS/RHEL 6

Updated by on Jan 2, 2012 in CentOS, Featured, Fedora, IDEs and Tools, Linux, Programming, Programs, Red Hat (RHEL) | 81 comments

This is guide howto install Android SDK Tools r16 and Eclipse ADT (Android Development Tools) Plugin on Fedora 16, Fedora 15, Fedora 14,...

Read More

Eclipse 3.6 Install PDT, JavaScript, CDT, Ruby, MarketPlace Plugins

Updated by on Oct 19, 2010 in IDEs and Tools, Programming, Programs | 1 comment

This is guide, howto install plugins on Eclipse 3.6 SDK. This guide shows howto install PDT (PHP Development Tools), CDT (C/C++ Development...

Read More

Install Sun/Oracle Java JDK/JRE 6u30 on Fedora 16/15, CentOS/RHEL 6.2/5.7

Updated by on Jan 3, 2012 in CentOS, Desktop Guides, Featured, Fedora, Linux, Programming, Red Hat (RHEL) | 103 comments

Please note: This guide still working normally if you want install Sun/Oracle Java 6, but if you want latest Java 7 version, then check...

Read More

Install Eclipse SDK 3.7.1 (Indigo) on Fedora 16/15, CentOS/RHEL 6.2/5.7

Updated by on Jan 15, 2012 in CentOS, Featured, Fedora, IDEs and Tools, Linux, Most Popular, Programming, Programs, Red Hat (RHEL) | 72 comments

This is guide, howto install latest Eclipse SDK 3.7.1 (Indigo) on Fedora, CentOS and Red Hat (RHEL). This guide should work with Fedora 16,...

Read More

PHP mb_ucfirst Make a String’s First Character Uppercase-Multibyte (UTF-8) Function

Updated by on Aug 25, 2011 in PHP, Programming | 3 comments

PHP’s ucfirst function is very usefull when you want to change words first letters to uppercase and other letters to lowercase....

Read More

Install PHP MongoDB (mongo) Driver on Linux, Mac OS X, Windows, UNIX, BSD

Updated by on Oct 15, 2010 in Linux, Programming, Server Guides, UNIX, Windows | 0 comments

PHP MongoDB (Mongo Database) Driver Installation on Linux, UNIX, BSD and Mac OS X MongoDB PHP driver is very simple install on Linux,...

Read More

PHP __DIR__, __FILE__, __FUNCTION__, __CLASS__, __METHOD__, __LINE__, __NAMESPACE__

Updated by on Mar 31, 2011 in Featured, PHP, Programming | 1 comment

PHP has large number of predefined constants. This HOWTO will present the seven most important, most practical and most useful PHP Magic...

Read More

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

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

PHP stdClass to Array and Array to stdClass – stdClass Object

Updated by on Jun 17, 2011 in Featured, PHP, Programming | 10 comments

I think every PHP coders have come accross Arrays and stdClass Objects (belongs to PHP Predefined Classes). Sometimes it’s very...

Read More

BitLy (bit.ly) PHP Class – Shorten and Expand URLs (and Hashes) with BitLy API

Updated by on Oct 15, 2010 in PHP, Programming | 3 comments

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 More

Format bytes with PHP – B, KB, MB, GB, TB, PB, EB, ZB, YB converter

Updated by on Oct 15, 2010 in Featured, PHP, Programming, Uncategorized | 1 comment

Simple PHP function that formats the bytes to the desired form. Possible unit options are: Byte (B) Kilobyte (KB) Megabyte (MB) Gigabyte...

Read More

PHP: Loop through dates (from date to date) with strtotime() function

Updated by on Oct 15, 2010 in PHP, Programming | 6 comments

This is very easy way loop through dates (from date to date) with PHP strtotime() function. This example only echo dates, but of course...

Read More

PHP Script to Generate PostgreSQL Table Partitioning (Part 2)

Updated by on Sep 7, 2010 in Programming, SQL | 1 comment

As Part 1 (Howto create PostgreSQL table partitioning) shows, making of PostgreSQL partitioning needs a lot of SQL commands. So this Part 2...

Read More
Page 1 of 212
Bear