Tips Archive

  • programming-php-thumbnail-with-php-logo-new

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

    This is simple function to add English ordinal number suffix after normal number. Function takes number as a parameter and returns number with suffix, like: 1st, 2nd, 3rd, 4th, 5th, 6th… This is example table of ordinal numbers 1 to 100 1st   2nd   3rd   4th  ...

    Full Story

  • fedora-logo-new

    Fedora 13 ATI Catalyst (fglrx) 10.7 Drivers Install/Uninstall

    I just read from my own blog about that the ATI propriety drivers is now working with Fedora 13 (thanks Jack). So I decided to test and install ATI Catalyst 10.7 (fglrx) proprietary drivers. And try new ATI Catalyst 10.7 Proprietary drivers with my ATI...

    Full Story

  • fedora-centos-red-hat-logos

    Install Sun/Oracle Java JDK/JRE 6u21 on Fedora 13/CentOS 5.5/RHEL 5.5/6

    This guide is updated/rewritten Jul 29, 2010 to use currently latest Sun/Oracle Java JDK and JRE 6 Update 21 and I added also separated 32-bit and 64-bit installation instructions. By default, Fedora 12/13, CentOS 5 and Red Hat (RHEL) 5.5/6 Linux operating systems use the...

    Full Story

  • console-thumbnail-new

    YUM Changelog

    Package change log information is not directly available from the YUM package management. This is short guide howto enable (install) changelog plugin and use changelog information with YUM package management system. Install YUM Changelog Plugin for Viewing Package Changelogs Install YUM Changelog Plugin on Fedora...

    Full Story

  • Netbeans-logo

    Install NetBeans IDE 6.9.1 on Fedora 13, CentOS 5.5, Red Hat (RHEL) 5.5/6

    This is guide with screenshots, howto install NetBeans 6.9.1 on Fedora 12, Fedora 13, CentOS 5.4, CentOS 5.5, Red Hat (RHEL) 5.4, Red Hat (RHEL) 5.5, Red Hat (RHEL) 6. What is NetBeans? The NetBeans IDE (integrated development environment) is available for Windows, Mac, Linux,...

    Full Story

  • tint2-thumbnail

    Fedora: tint2 Panel/Taskbar and tint2 Themes – Fedora Linux RPM

    tint2 is a simple panel/taskbar and tint2 development follows freedesktop specifications. tint2 is unintrusive, light and very usefull panel/taskbar program. tint2 version 0.9 features panel with taskbar, systray, clock and battery status easy to customize : color/transparency on font, icon, border and background pager like...

    Full Story

  • subversion

    SVN Remove Added File From Repository and Keep Local File – Subversion

    This is quick SVN (Subversion) tip, howto remove added file from SVN repository without deleting file from local filesystem. Remove File From SVN Repository and Keep Local File svn delete --keep-local path/to/file.example Real example: svn delete --keep-local css/test.css Real world usage example Adding a whole...

    Full Story

  • postgresql-logo

    PostgreSQL: Select a Random Number in a Range (Between Two Numbers)

    This is quick tip howto select a random number in a range. Example random number between 1-100 (>= 1 and < 100). This is actually very easy job with PostgreSQL own random() function, which returns random value between 0-1. Following example selects 5 random values...

    Full Story

  • postgresql-logo

    PostgreSQL Sleep Function pg_sleep – Postgres Delay Execution

    One day, I was looking for PostgreSQL database function, which could delay the execution of queries. At first I thought that I will do one myself, because I do not remember ever seen this kind function. But then I found pg_sleep Postgres function which directly...

    Full Story

  • programming-php-thumbnail-with-php-logo-new

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

    PHP’s ucfirst function is very usefull when you want to change words first letters to uppercase and other letters to lowercase. Currently on PHP does not have a multibyte (UTF-8) version of ucfirst function. So I decided write my own multibyte mb_ucfirst function. Perhaps the...

    Full Story

Page 1 of 41234