format

PrimoPDF – Converts just about any file type to a PDF

PrimoPDF will allow you to create PDF files from any printable document (.doc, images, text, web pages etc.). PrimoPDF installs as a virtual printer and is accessible from any program that offers a Print option. Users can now always save PDFs to the same folder, or opt to choose a new folder for each PDF [...]

How to Change the default files save format from .docx to .doc in word 2007

Docx is the default file extension for saving documents in word 2007. These docx documents are essentially a bunch of zipped XML documents   Let’s see how can you change the default file save format to .doc which is widely supported in the backward version of office 2007. 1. Open Microsoft Word, click office icon at the [...]

Script to backup all mysql database and upload to FTP

In this howto I will show you a simple bash script that dump ALL mysql databases on your server compressed to GZIP and then make a nice tar.gz file with them and upload it to the FTP of your choice.

How to use a local MySQL database to do IP addresses geolocation

Delivering content relative to the physical location of your users is an excellent (and fairly easy) way to fine-tune the content you’re delivering to be most relevent to the people visiting your site. Two simple ways of doing this are to use an IP-based geolocation lookup, or to do a manual radius search (like a [...]

How to Block IP address of any country with iptables

Sometime it is necessary to block incoming connection or traffic from specific remote host. iptables is administration tool for IPv4 packet filtering and NAT under Linux kernel. Following tip will help you to block attacker or spammers IP address.  The blocklist is create with an API I wrote and you can use wget to update [...]

How to convert a table from one storage engine to another in MySQL

 MySQL supports several storage engines that act as handlers for different table types. MySQL storage engines include both those that handle transaction-safe tables and those that handle non-transaction-safe tables: MyISAM manages non-transactional tables. It provides high-speed storage and retrieval, as well as fulltext searching capabilities. MyISAM is supported in all MySQL configurations, and is the default storage engine [...]

How to Implement Disk Quotas on Linux

This tutorial walks you through implementing disk quotas for both users and groups on Linux, using a virtual filesystem, which is a filesystem created from a disk file. Since quotas work on a per-filesystem basis, this is a way to implement quotas on a sub-section, or even multiple subsections of your drive, without reformatting. This [...]

How to install and configure webalizer in multiple domain on Centos 4.6

Webalizer is a fast, free web server log file analysis program. It produces highly detailed, easily configurable usage reports in HTML format, for viewing with a standard web browser. It was written to solve several problems with currently available analysis packages. A vast majority of them were written in Perl or some other scripting language, [...]

How to Install Imagemagick on CentOS

ImageMagick® is a software suite to create, edit, and compose bitmap images. It can read, convert and write images in a variety of formats (over 100) including DPX, EXR, GIF, JPEG, JPEG-2000, PDF, PhotoCD, PNG, Postscript, SVG, and TIFF. Use ImageMagick to translate, flip, mirror, rotate, scale, shear and transform images, adjust image colors, apply [...]

How to Deploy Registry Changes With a Text File

In RegEdit, navigate to the branch or sub-branch that contains your functionality. It doesn’t matter how deeply buried the key(s) are that contain your features; just that you select only your own changes. It might be necessary to analyze the registry before and after you make your changes to figure out which Registry keys are [...]

How to Boost performance by a good partitioning scheme

Although a PC used for writing doesn’t need to be a high-performance computer, its performance can be improved by a good partitioning scheme. The biggest boost comes from my Paging partition on drive H, which is found on my second physical disk. I use this partition to boost performance in the following ways: Move the [...]

How to set PHP include_path

There are at least 2 ways you can set your PHP include_path. Edit your /etc/php.ini file. Inside that file is a directive section for “Paths and Directories.” By default it is set to “.:/usr/local/lib/php”. You can change that value to whatever you like or add to (or eliminate) the default like this: include_path = .:/usr/local/lib/php:./include [...]