Whenever you upgrade your WordPress installation or do development work, it is always a good idea to be working on a copy of your main site and not on the real thing. Copying WordPress installation is not exactly difficult, but it is a bit tedious, which is the reason why many Webmasters apply changes directly [...]
Continue reading...21. December 2008
When you look at the CPU activity of your computer, one of the parameters is the iowait. This value shows how much time your CPU wastes while it is waiting for I/O operations for complete. These include disk read/write operations, network, IPC, etc. Is this behavior a problem and, if so, what causes it and [...]
Continue reading...9. June 2008
You have information on your computer that you don't want others to see. Sometimes you want to share information with someone, but you don't want anyone to know that you are the one sharing it. Let's say that you came across some information suggesting that your employer may be breaking law. You want to make this information public, but you can't do it openly becausloe you will be fired. Another example: you are at work and you need to send a personal, confidential email...
Continue reading...29. June 2009
As you may already know, Wget is a popular (particularly in the Unix world) command-line downloader and Web crawler application. You can read more about Wget in one of my earlier posts on the subject. One issue with Wget is that some sites block it from accessing their content. This is usually done by adding [...]
Continue reading...27. June 2009
Suppose you are working with a Web server and your task is to make sure that no files or directories have permissions “777″. It would be easy to just recursively change permissions for all files to something like 644, but this may cause unexpected problems. You only need to change those files and directories that [...]
Continue reading...25. June 2009
Heavy traffic, hungry SQL queries, leaky applications will eventually leave your server low on memory. Apache will go on a hunt for swap space and MySQL will start freezing in thoughtful contemplation. Your hard drives will start scratching like a pack of homeless dogs and suddenly everything will become very very s l o [...]
Continue reading...25. June 2009
A day will eventually come when your need to find and replace a string of text in your database. You don’t know which row, or which column, or which table. Heck, you may not even know which database. Your options are: spend the rest of the summer hunting down the elusive table cells, or use [...]
Continue reading...25. June 2009
Running MySQL commands from a shell script is a relatively simple task that has a lot of people baffled. Some say its too complicated and suggest using PHP or Perl, others claim doing so is a security risk (a favorite excuse of the ignorant), and some resort to using a shell script to writing SQL [...]
Continue reading...11. June 2009
A large number of WordPress directories do not have an index file. This is particularly dangerous in case of the plugins directory. If your server allows directory listings, a potential attacker may see which plugins you have installed. Most plugins have security vulnerabilities. One way of fixing this is by adding the following line to [...]
Continue reading...18. May 2009
DownThemAll! is a popular download manager for Firefox Web browser supporting multi-part downloading with ability to pause and restart downloads without losing data. A common problem encountered while using DownThemAll! is the dreaded “no free space” error. Before initiating a download, DownThemAll! makes sure you have enough disk space. Let’s say you want to download a [...]
Continue reading...9. March 2009
Let’s say there is a process on your Unix/Linux system that sometimes tends to consume all CPU resources and become unresponsive. At the same time, you do not want to terminate the process at the first sign of trouble, because momentary high CPU utilization may be legitimate. The solution is to continuously calculate the running [...]
Continue reading...1. January 2009
Both Xbox 360 and PS3 support a variety of video codecs and are capable of playing high-definition video files. One of the most popular formats for HD video files is Matroska (MKV), which provides excellent video quality, relatively small size, multiple audio tracks and many other cool features. Unfortunately, neither Xbox 360 nor PS3 currently [...]
Continue reading...19. December 2008
Xbox 360 uses UPnP protocol to stream multimedia files from computers on your home network. Normally, you would have a Windows PC running WMP and sharing files. But what if you have a Linux box instead? There are several applications capable of sharing videos and music from your Linux computer to Xbox 360, as well [...]
Continue reading...
25. June 2009
0 Comments