Howto Install KDE 4.4 or Update to KDE 4.4 on Fedora 12 Linux

Updated 26.2.2010, Read First Currently, the latest version of the KDE desktop in Fedora is 4.3.5. I had some problems with its stability, so I decided to try out, how will work KDE 4.4.0 the latest stable version of KDE. At first I tried to install KDE 4.4 from Rawhide repository, but it failed to install from there. Here is instructions on how to install KDE 4.4 successfully using RPMFusion and KDE Packaging Project Repositories. It may be that RPMFusion repository is redundant, but KDE...

Install, Configure and Use Gnome Do – Docky on Fedora 12 Linux

What is Gnome Do? GNOME Do (Do) is an intelligent launcher tool that allows users to use the keyboard to rapidly perform tasks such as launching applications, manipulating files and data, running scripts, or sending e-mail. It is similar to the applications GNOME Launch Box (Linux Gnome), KRunner (Linux KDE), Quicksilver (Mac OS X), LaunchBar (Mac OS X) and Butler (Mac OS X). What is Gnome Do - Docky? Gnome Do - Docky is a nice frontend for GNOME Do (Do) which introduces an entirely new...

Upgrade to Fedora 13 from Fedora 12 with Preupgrade

I think the most easiest way to upgrade Fedora 12 to Fedora 13 is use Preupgrade, which download needed packages from the server and then just reboot to installer and after install boot the new system. This guide I use preupgrade-cli version, which works from command line. If you want use Preupgrade Graphical version then you can check this Howto upgrade Fedora 11 to Fedora 12 with Preupgrade guide, which works same way with Fedora 13 (Goddard). It's important backup your important files before...

YUM Remove Repo (Repository) – YUM Disable Repo (Repository)

Quick guide, howto remove and disable YUM repo (repository). Yum command itself does not contain any way to remove the repository. YUM repo files is located in /etc/yum.repos.d/ directory. I use kde.repo file with following content as example on this guide: [kde] name=kde mirrorlist=http://apt.kde-redhat.org/apt/kde-redhat/fedora/mirrors-stable gpgkey=http://apt.kde-redhat.org/apt/kde-redhat/kde-redhat.RPM-GPG-KEY enabled=1 Remove YUM Repo (Repository) Permanently Before...

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 (as root) yum install yum-plugin-changelog Install YUM Changelog Plugin on CentOS and Red Hat (RHEL) (as root) yum install yum-changelog Examples Howto...

YUM Downgrade Packages on Fedora, CentOS, Red Hat (RHEL)

This is quick tip, howto downgrade packages using YUM (example) on Fedora, CentOS, Red Hat (RHEL). This works simply with yum downgrade command and is very usefull when package(s) downgrade is needed some reason. YUM Downgrade Basic Usage Downgrade is very straightforward when package have not any dependencies, which affect the downgrade. YUM Downgrade Single Package yum downgrade package Example: yum downgrade hunspell-mr.noarch Setting up Downgrade...

List tar/tar.gz/tar.bz2 Contents – List all files in archive.tar

This is quick tip, howto list contents of tar, tar.gz and tar.bz2 files without unpacking file. This is very useful on server environment where any graphical tool is not available. This method is also very useful when tar, tar.gz or tar.bz2 packages are really big, something like hundreds of megabytes or gigabytes (for example backups). Overall, the key is the tar command with -t option. List the Contents of tar File List tar contents short command tar -tvf archive.tar List...

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

PHP MongoDB (Mongo Database) Driver Installation on Linux, UNIX, BSD and Mac OS X MongoDB PHP driver is very simple install on Linux, UNIX, BSD and Mac OS X. You need just PEAR (PHP Extension and Application Repository) with PECL repository. Normally PHP development (dev) package and PHP Pear package installation from package management system is enough to get PEAR working. Also go-pear.php script can be used. (more…)

CSS compression with own PHP class VS CSSTidy

It makes sense to optimize the site's cascading style sheets (CSS), as it pages load faster, and it reduce the amount of data transferred, and just combining css files could significantly reduce requests to server. So users benefit from faster page loads and webmaster of the sites benefits from the cheaper price of the transferred data. I have used CSSTidy on many projects. And CSSTidy is very good tool for packing CSS and it can even fix CSS errors. Sometimes, however, feel that csstidy is...

BitLy (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 website and a robust and open API. Example: Shorten http://www.if-not-true-then-false.com/ url -> http://bit.ly/8cZ1fb Expand http://bit.ly/8cZ1fb url -> http://www.if-not-true-then-false.com/ This post deals with bit.ly API usage with a simple PHP Class. This PHP class allows to shorten normal urls, expand bit.ly urls and expand bit.ly hashes. ...

Prevent the browsers to use old cached CSS and JS files

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 files from the cache, even though they have been updated. This may lead to unpleasant situations, when the pages are displayed to the user with the wrong styles or pages will work incorrectly. Fortunately, these unpleasant situations is easy to avoid and let the browsers cache files as long as they are changed. Basic example with static...

Find If Not True Then False on Facebook

I would like to welcome all new and old visitors to If Not True False Then site Facebook pages. Hopefully, this new Facebook page also helps to follow new blog posts. Of course, there is also other ways to follow this blog posts, simply using RSS Feed and Twitter. So following step is check out If Not True Then False Facebook page and like it. :) Like If Not True Then False on Facebook:

PostgreSQL: 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 important to remember that the PostgreSQL tables partitioning has also another benefits, than the better performance on queries. More information about other benefits from the first part 'Howto create PostgreSQL table partitioning (Part 1)'. This is comparision between partitioned and non partitioned PostgreSQL tables. The same tests were carried out with and...

PHP 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 explains how SQL commands for PostgreSQL partitioning can be made with a simple PHP script. This example script make SQL for child tables, indexes, trigger function and parent table trigger. This example script can make PostgreSQL table partitioning with using Date ranges. Script can be configured with following configuration section: Initial...

Create 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 parent table. Parent table is empty and it exists just to describe the whole data set. PostgreSQL partitioning can be implemented in range partitioning or list partitioning. Range partitioning can be done for example by ID ranges (like 0-100 000, 100 001-200 000, 200 001-300 000...) or Date ranges (like 2009-11-01 - 2009-11-30, 2009-12-01 -...

Partitioning 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 worthwhile only when a table would be very large. Here are a few benefits of what can be achieved with partitioning: Large tables query performance can be improved dramatically Reducing index size and making it more likely that the heavily-used parts of the indexes fit in memory Rarely used data can be moved to slower and cheaper storage...

Fedora 13 Goddard – What’s New, Overview, Features, Screenshots

Fedora 13 is released. This is overview, what's new features found on new Fedora 13 release. Main Software Updates, Changes and Features New Software Shotwell - Open source photo manager for GNOME Deja-dup - Déjà Dup (day-ja-doop) is a simple backup tool. It hides the complexity of doing backups the Right Way (encrypted, off-site, and regular) and uses duplicity as the backend. Pino - Twitter and Identi.ca client for Linux desktop Simple Scan - Simple Scanning Utility New...

CentOS 5.5 Released – What’s new, Overview, Features, Screenshots

CentOS 5.5 is the fifth update to the CentOS 5 distribution series. It contains a lot of bugfixes, updates and new functionality. New Packages on CentOS 5.5 freeradius2 gsl postgresql84 python-dmidecode samba3x tunctl xz gpxe (x86_64 only) Some package updates exim 4.63 gcc 4.1.2 kernel 2.6.18 OpenOffice.org 3.1.1 php 5.1.6 xen 3.0.3 yum 3.2.22 httpd 2.2.3 Most interesting update is PostgreSQL 8.4. Of course, many have used the 8.4 version of PostgreSQL on...

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 delay execution of the server process. pg_sleep makes the current session's process sleep until seconds seconds have elapsed. Seconds is a value of type double precision, so fractional-second delays can be specified. pg_sleep...

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 using generate_series() function: SELECT random() FROM generate_series(1,5); random ------------------- 0.595817462075502 0.350072300527245 0.989073566626757 0.700899163261056 0.940509075298905 (5...
1 2 3 5 6 7 8 9
Close