PHP stdClass to Array and Array to stdClass – stdClass Object
I think every PHP coders have come accross Arrays and stdClass Objects (belongs to PHP Predefined Classes). Sometimes it’s very...
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 MoreDelete files securely on Linux – Journaled file systems
Few days ago I write about shred, which work fine for old systems, like EXT2, but not so nice with journaled file systems. Modern file...
Read MoreTwitter hacked? Not really, only Twitter DNS records compromised
I before post ‘Twitter Hacked by Iranian Cyber Army’, but actually just Twitter DNS records was hacked. I think even...
Read MoreTwitter Hacked by Iranian Cyber Army
Twitter site is hacked by Iranian Cyber Army. Here is some screenshots and full info about page. Screenshots Server info and full html...
Read MoreDelete files permanently with shred command in Linux – Remove absolutely
Sometimes need to delete files whose contents should disappear absolutely, completely and safely. Linux command rm just remove file and it...
Read MoreFormat bytes with PHP – B, KB, MB, GB, TB, PB, EB, ZB, YB converter
Simple PHP function that formats the bytes to the desired form. Possible unit options are: Byte (B) Kilobyte (KB) Megabyte (MB) Gigabyte...
Read MorePostgreSQL: Partitioned Table vs Non Partitioned Table (Part 3)
This article compares the speed and performance of queries between partitioned and non partitioned PostgreSQL tables. However, it is...
Read MorePHP: Loop through dates (from date to date) with strtotime() function
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 MorePHP Script to Generate PostgreSQL Table Partitioning (Part 2)
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