JavaScript Array Move

This post shows how to extend JavaScript Array object with “move” method. The new method accepts two parameters: position 1 and position 2. Array element from position 1 will be moved to position 2 while rest of array will be shifted. Post includes live demo.

Fedora VPN client and routing (2)

Default VPN connection on Fedora will route all traffic to ppp0 device. Sometimes it is not the best solution. This post will show how to route only 10.0.0.0/8 (class A) network traffic to VPN and the rest to go through eth0 (via normal ISP) – in few clicks and without scripting.

Linux and WinTV-HVR-3000

Small tips of how to watch DVB-T channels with WinTV-HVR-3000 PCI card on Fedora. After few hours of configuring, I was finally able to watch and record DVB-T channels. CPU usage of Me TV is minimal and picture quality is fine.

Convert tags to categories

How to convert post tags to categories in WordPress. You don’t need to install any additional plugin or performing SQL queries directly on the WordPress database. Tag to category converter (and vice versa) already exists in WordPress.

Preview sound files in Gnome

Nautilus, the file manager for the GNOME desktop has a cool feature of playing music whenever the mouse is over an icon representing an audio file. To enable sound preview, you will have to install GStreamer Ugly Plug-ins and turn on Preview sound files in Nautilus.

Linux pranks

How to popup a window on remote Linux desktop or make remote Linux to speak. In this post I will show you harmless tricks that can be really funny. Among helping, fixing and upgrading Linux systems there should be time for joking. So sit back, relax and open your terminals.

MySQL replication – master migration

This cookbook explains how to move MySQL master server to another host. Scenario in short goes: dump out master databases, import data on the new master server and point slave to the new master server. If you follow this simple steps, master migration should proceed without problems.

Related Posts in WordPress without a plugin

Post explains simple way of how to display related posts based on best matching post tags and categories. It is only needed to expand theme file single.php with SQL and final loop. In two steps you can have related posts feature without plugin installation.