Saturday, June 30, 2012

How to restart CUPS in Linux

Simply execute the following command will restart CUPS (Common UNIX Printing System) service in Linux like Ubuntu:
#/etc/init.d/cupsys restart
By the way, CUPS is the standards-based, open source printing system developed by Apple Inc. for Mac OS X and other UNIX-like operating systems.

Saturday, June 23, 2012

How to solve "Another blog is already hosted at this address"

Sometime when you try to publish a custom domain like ipcnetworking.com on Blogger, you may get the message "Another blog is already hosted at this address."

Most of the time, this is due to your DNS setting. Anyway make sure that you stop the web service of Google Apps if you happen to use this service.

One way to overcome this problem which I did with my sites was to configure my DNS as:
mydomain.com.          3600 IN CNAME ghs.google.com.
www.mydomain.com. 3600 IN CNAME ghs.google.com.
With this configuration, you have a "CNAME" referral which points directly to a Google server. When the Blogger script verifies that the domain URLs both point to Google, it can proceed with confidence.

Saturday, June 16, 2012

How to uncompress pp_ file (compress form of PPD file)

The pp_ which is coming with printer driver is the compressed form of PPD (Postscript Printer Description) file. PPD files are created by vendors to describe the entire set of features and capabilities available for their Postscript printers.

To uncompress it you, execute the following command:

Example: file.pp_

C:\expand file.pp_ file.ppd

Tuesday, June 12, 2012

Picasa 3 for photo editing

Few photos start out perfectly. One of the software I use frequently in editing photos is Picasa. Picasa is Google’s freeware for photo management.

How to use RPM in Fedora Linux

RPM is used to build, install, query, verify, update, and erase individual software packages. It was originally designed to work with Red Hat / Fedora Linux. Currently it also works on other rpm-based distributions: Suse, Mandriva Linux, Conectiva and etc.

To install software packages, use the following command:
rpm -i foobar.rpm
To uninstall a software package:
rpm -e foobar.rpm

How to have Adsense appear under the first post in Wordpress blog?

To have Adsense codes only appear after the first post in Wordpress blog and nowhere else, open the index.php file and search for the following lines:
<!--p if (have_posts()) -->
<!--p $postCount=0;-->
<!--p while (have_posts()) : the_post(); $loopcounter++-->
<!--p $postCount++-->
Add the following above these lines:
<?php
$postnum = 1;
%2tshowadsense1 = 1;
?>

Have your page listed in Google Search System

You may submit your website to Google at Add your URL to Google.

This will help Google to be awared of the existence of your site. Anyway, this will not guarantee a listing in the search result. It depends.

How to convert mp4 to AVI in Windows

I usually use Windows Movie Maker which is bundled with Microsoft Windows to edit video taken using digital camera. It supports quite a number of video formats like AVI, WMV and so on. However, MP4 is not support in it so far.

To converting MP4 file into AVI file, we may use Quick Media Converter.

According to Quick Media Converter introduction, it enables users to convert between most audio and video formats, including AVI, DVD, Quicktime, Flash, Xvid, DivX, MPEG, MP3, WMA, MP4, 3GP and many others. Users can convert multiple files (of different formats) in a single process and optionally customize the output settings in Expert Mode.

Monday, June 4, 2012

Port 443 occupied by VMWare Workstation 8

In VMWare workstation 8.0.0, vmware-hostd.exe appears to grab port 443. As port 443 is the default port for https SSL, this may prevent other web servers such as IIS or Apache to start on the system.

One solution for this problem is to change its default ports. With the Shared VMs Workstation preferences, we can disable/enable the server, assign a different port for connecting, and change the Shared VMs directory.

Sunday, June 3, 2012

Frontaccounting: OpenSSL PHP extension have to be enabled to use extension repository system

During the installation of Frontaccounting system, your system may face the following warning

"OpenSSL PHP extension have to be enabled to use extension repository system"

To overcome this problem, simply added the following configuration into the php.ini file:

extension=php_openssl.dll

Hope help :)

Friday, June 1, 2012

OpenEMR installation notes

To ensure proper functioning of OpenEMR, following changes are required in php.ini configuration file:
  1. "short_open_tag = On"
  2. "display_errors = Off"
  3. "register_globals = Off"
  4. "magic_quotes_gpc = On"