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 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

Delete files securely on Linux – Journaled file systems

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

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 More

Delete files permanently with shred command in Linux – Remove absolutely

Updated by on Dec 18, 2009 in Uncategorized | 0 comments

Sometimes need to delete files whose contents should disappear absolutely, completely and safely. Linux command rm just remove file and it...

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

Hide Apache ServerSignature/ServerTokens/PHP X-Powered-By

Updated by on Dec 8, 2011 in Command Line Guides, Linux, Servers | 0 comments

By default almost all Apache installation shows sensitive server information with Apache version number, server operating system details,...

Read More

Add date and time to Linux terminal title (Gnome Terminal, xterm, urxvt, rxvt)

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

Here is easy way add date and time to Linux terminal title. This trick works at least following terminals Gnome Terminal, xterm, urxvt,...

Read More

Google search from Linux and UNIX command line

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

Today I started thinking that how cool is do some Google searches straight from command line. First I try to find some ready tricks from...

Read More

Linux Tip: How to handle a files with a dash as first character from command line

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

Sometimes you maybe have to handle files with a dash (-) as first character from Linux command line. It can be difficult, because the...

Read More

Prevent the browsers to use old cached CSS and JS files

Updated by on Sep 9, 2010 in Programming | 0 comments

Browser cache is very useful when users download the same CSS and JS files multiple times. Some browsers, however, use the old CSS and JS...

Read More

Postgresql (psql) .psqlrc tips and tricks

Updated by on Sep 30, 2010 in Featured, SQL | 0 comments

Psql is a good tool for the PostgreSQL database management and use. Psql client functioning can easily be improved by adding a few lines...

Read More
Page 3 of 3123
Bear