<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>KP Solutions</title>
	<atom:link href="http://www.kpsolution.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kpsolution.com/blog</link>
	<description>Solutions for Day to Day Technical Problems</description>
	<lastBuildDate>Tue, 09 Feb 2010 11:21:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Error encountered while installing Microsoft Office</title>
		<link>http://www.kpsolution.com/blog/windows/error-encountered-while-installing-microsoft-office/54/</link>
		<comments>http://www.kpsolution.com/blog/windows/error-encountered-while-installing-microsoft-office/54/#comments</comments>
		<pubDate>Tue, 09 Feb 2010 11:21:23 +0000</pubDate>
		<dc:creator>Ketan Patel</dc:creator>
				<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.kpsolution.com/blog/?p=54</guid>
		<description><![CDATA[If you encounter an error while installing Microsoft Office, then you need to do the following steps to resolve it. From an administrator account, do the following:

start -&#62; run -&#62; Type &#8220;msconfig&#8221; -&#62; click on ok
Check the box selective startup
Under selective start up uncheck the 1,2 and the 4 options
Click on the services tab
Check hide [...]]]></description>
			<content:encoded><![CDATA[<p>If you encounter an error while installing Microsoft Office, then you need to do the following steps to resolve it. From an administrator account, do the following:</p>
<ol>
<li>start -&gt; run -&gt; Type &#8220;msconfig&#8221; -&gt; click on ok</li>
<li>Check the box selective startup</li>
<li>Under selective start up uncheck the 1,2 and the 4 options</li>
<li>Click on the services tab</li>
<li>Check hide all microsoft services</li>
<li>Click on disable all</li>
<li>Click on apply and ok</li>
<li>When asked, restart the computer</li>
<li>Wait for restart to complete and then log on to administrator account</li>
<li>Start -&gt; Run -&gt; Type &#8220;msiexec.exe /unregister&#8221; -&gt;  click on ok</li>
<li>Start -&gt; run -&gt; Type &#8220;msiexec.exe /regserver&#8221; -&gt; click on ok</li>
<li>Now insert the disc and install the office software</li>
</ol>
<p>Hope this helps you in case if you encountered an error while installing Microsoft office.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kpsolution.com/blog/windows/error-encountered-while-installing-microsoft-office/54/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to sync time in Linux, Unix</title>
		<link>http://www.kpsolution.com/blog/linux/how-to-sync-time-in-linux-unix/50/</link>
		<comments>http://www.kpsolution.com/blog/linux/how-to-sync-time-in-linux-unix/50/#comments</comments>
		<pubDate>Tue, 22 Sep 2009 10:45:46 +0000</pubDate>
		<dc:creator>Ketan Patel</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.kpsolution.com/blog/?p=50</guid>
		<description><![CDATA[Very often, one would have seen that the server/desktop time goes off by some seconds/minutes than the standard time.
It&#8217;s very easy to sync up the time in Linux/Unix. Issue the following command as &#8216;root&#8217; to update the time.

ntpdate pool.ntp.org

To automate this time update, you can set up a cron job to run once every week.
]]></description>
			<content:encoded><![CDATA[<p>Very often, one would have seen that the server/desktop time goes off by some seconds/minutes than the standard time.</p>
<p>It&#8217;s very easy to sync up the time in Linux/Unix. Issue the following command as &#8216;root&#8217; to update the time.</p>
<blockquote>
<pre><span>ntpdate</span> <span>pool</span><span>.</span><span>ntp</span><span>.</span><span>org</span></pre>
</blockquote>
<p>To automate this time update, you can set up a cron job to run once every week.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kpsolution.com/blog/linux/how-to-sync-time-in-linux-unix/50/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GoDaddy NameServer not registered</title>
		<link>http://www.kpsolution.com/blog/linux/godaddy-nameserver-not-registered/47/</link>
		<comments>http://www.kpsolution.com/blog/linux/godaddy-nameserver-not-registered/47/#comments</comments>
		<pubDate>Fri, 24 Jul 2009 02:46:49 +0000</pubDate>
		<dc:creator>Ketan Patel</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[domain]]></category>
		<category><![CDATA[godaddy]]></category>
		<category><![CDATA[nameserver]]></category>

		<guid isPermaLink="false">http://www.kpsolution.com/blog/?p=47</guid>
		<description><![CDATA[Recently, I moved over to a new host with a dedicated box and I had to setup the nameservers for my domain kpsolution.com. In Godaddy&#8217;s domain manager, I tried to change the nameservers to my domain like ns1.xxxx.com and ns2.xxxx.com, but got an error that &#8220;Nameserver not registered&#8220;. This was puzzling as I had setup [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, I moved over to a new host with a dedicated box and I had to setup the nameservers for my domain kpsolution.com. In Godaddy&#8217;s domain manager, I tried to change the nameservers to my domain like ns1.xxxx.com and ns2.xxxx.com, but got an error that &#8220;<strong>Nameserver not registered</strong>&#8220;. This was puzzling as I had setup the slaves dns entries on my server correctly but Godaddy complained that &#8220;Nameserver not registered&#8221;.</p>
<p>Then I found that in the lower left corner, there&#8217;s a box with &#8220;Host Summary&#8221;. You have to add your nameservers entry in that box first. So click on &#8220;Add&#8221; besides &#8220;Host Summary&#8221; and it will present you another dialog where you can enter your subdomain and the ip address to point to your server. Once you have added your nameservers in Host Summary, then you can click on &#8220;Manage&#8221; besides &#8220;NameServers&#8221; and add your nameservers ns1.xxxx.com and ns2.xxxx.com there and Godaddy will happily accept it!!</p>
<p>Hope this saves you your time and help you avoid pulling your hair!!! <img src='http://www.kpsolution.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.kpsolution.com/blog/linux/godaddy-nameserver-not-registered/47/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google reporting site may harm your computer</title>
		<link>http://www.kpsolution.com/blog/company/google-reporting-site-may-harm-your-computer/44/</link>
		<comments>http://www.kpsolution.com/blog/company/google-reporting-site-may-harm-your-computer/44/#comments</comments>
		<pubDate>Sat, 31 Jan 2009 15:22:14 +0000</pubDate>
		<dc:creator>Ketan Patel</dc:creator>
				<category><![CDATA[Company Updates]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://www.kpsolution.com/blog/?p=44</guid>
		<description><![CDATA[Today, 31st January 2009, 10 AM EST, Google has been reporting all sites whatsoever as a malware sites with the error &#8220;This site may harm your computer&#8221;. Even sites like microsoft, google, yahoo, cnn were all affected because of this bug.
As you see in above screenshot, I saved the snapshot of the &#8220;yahoo&#8221; search keyword [...]]]></description>
			<content:encoded><![CDATA[<p>Today, 31st January 2009, 10 AM EST, Google has been reporting all sites whatsoever as a malware sites with the error &#8220;This site may harm your computer&#8221;. Even sites like microsoft, google, yahoo, cnn were all affected because of this bug.</p>
<div id="attachment_45" class="wp-caption alignnone" style="width: 310px"><a href="http://www.kpsolution.com/blog/wp-content/uploads/2009/01/google_site_may_harm_computer.png"><img class="size-medium wp-image-45" title="google_site_may_harm_computer" src="http://www.kpsolution.com/blog/wp-content/uploads/2009/01/google_site_may_harm_computer-300x197.png" alt="Google Error - This site may harm your computer" width="300" height="197" /></a><p class="wp-caption-text">Google Error - This site may harm your computer</p></div>
<p>As you see in above screenshot, I saved the snapshot of the &#8220;yahoo&#8221; search keyword on google and all sites were reported as malware sites and when you click on any urls, it would redirect to a page warning you of that site. This is ridiculous and it is giving badname of your site to your visitors. Google has got no right to do so.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kpsolution.com/blog/company/google-reporting-site-may-harm-your-computer/44/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Use RSYNC to backup data on a second hard disk</title>
		<link>http://www.kpsolution.com/blog/linux/use-rsync-to-backup-data-on-a-second-hard-disk/42/</link>
		<comments>http://www.kpsolution.com/blog/linux/use-rsync-to-backup-data-on-a-second-hard-disk/42/#comments</comments>
		<pubDate>Thu, 22 Jan 2009 02:33:52 +0000</pubDate>
		<dc:creator>Ketan Patel</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[rsync]]></category>

		<guid isPermaLink="false">http://www.kpsolution.com/blog/?p=42</guid>
		<description><![CDATA[On a production server, if you have two hard disk and do not want to spend extra $50 each month, then you could use rsync to backup the data from your main disk to the second disk. It&#8217;s very easy to setup. All you to do is use to the following scripts. Save the following [...]]]></description>
			<content:encoded><![CDATA[<p>On a production server, if you have two hard disk and do not want to spend extra $50 each month, then you could use rsync to backup the data from your main disk to the second disk. It&#8217;s very easy to setup. All you to do is use to the following scripts. Save the following script as /disk3/rsync_backup.sh</p>
<blockquote><p>#!/bin/bash<br />
unset PATH</p>
<p># USER VARIABLES<br />
BACKUPDIR=/disk3                            # Folder on the backup server where the backups shall be located<br />
#KEY=/root/.ssh/id_rsa                        # SSH key<br />
#MYSQL_BACKUPSCRIPT=/root/my_backup.sh        # Path to the remote mysql backup script<br />
#PRODUCTION_USER=root@production.server.com    # The user and the address of the production server<br />
EXCLUDES=/disk1/backup_exclude                # File containing the excluded directories<br />
DAYS=60                                        # The number of days after which old backups will be deleted</p>
<p># PATH VARIABLES<br />
SH=/bin/sh                                    # Location of the bash bin in the production server!!!!</p>
<p>CP=/bin/cp;                                    # Location of the cp bin<br />
FIND=/usr/bin/find;                            # Location of the find bin<br />
ECHO=/bin/echo;                                # Location of the echo bin<br />
MK=/bin/mkdir;                                # Location of the mk bin<br />
SSH=/usr/bin/ssh;                            # Location of the ssh bin<br />
DATE=/bin/date;                                # Location of the date bin<br />
RM=/bin/rm;                                    # Location of the rm bin<br />
GREP=/bin/grep;                                # Location of the grep bin<br />
MYSQL=/usr/bin/mysql;                        # Location of the mysql bin<br />
MYSQLDUMP=/usr/bin/mysqldump;                # Location of the mysql_dump bin<br />
RSYNC=/usr/bin/rsync;                        # Location of the rsync bin<br />
TOUCH=/bin/touch;                            # Location of the touch bin</p>
<p>##                                                      ##<br />
##      &#8211;       DO NOT EDIT BELOW THIS HERE     &#8211;     ##<br />
##                                                      ##</p>
<p># CREATING NECESSARY FOLDERS<br />
$MK $BACKUPDIR<br />
CURRENT=$BACKUPDIR/current<br />
OLD=$BACKUPDIR/old<br />
$MK $CURRENT<br />
$MK $OLD<br />
# CREATING CURRENT DATE / TIME<br />
NOW=`$DATE &#8216;+%Y-%m&#8217;-%d_%H:%M`<br />
NOW=$OLD/$NOW<br />
$MK $NOW</p>
<p># CREATE REMOTE MYSQL BACKUP BY RUNNING THE REMOTE BACKUP SCRIPT<br />
# $SSH -i $KEY $PRODUCTION_USER &#8220;$SH $MYSQL_BACKUPSCRIPT&#8221;</p>
<p># RUN RSYNC INTO CURRENT<br />
#$RSYNC                                                            \<br />
#    -apvz &#8211;delete &#8211;delete-excluded                        \<br />
#     &#8211;exclude-from=&#8221;$EXCLUDES&#8221;                                \<br />
#      -e &#8220;$SSH -i $KEY&#8221;                                        \<br />
#       $PRODUCTION_USER:/                                        \<br />
#        $CURRENT ;</p>
<p>// No Compression<br />
$RSYNC                                                            \<br />
-apv &#8211;delete &#8211;delete-excluded                        \<br />
&#8211;exclude-from=&#8221;$EXCLUDES&#8221;                                \<br />
/                                \<br />
$CURRENT ;</p>
<p># UPDATE THE MTIME TO REFELCT THE SNAPSHOT TIME<br />
$TOUCH $BACKUPDIR/current</p>
<p># MAKE HARDLINK COPY<br />
$CP -al $CURRENT/* $NOW</p>
<p># REMOVE OLD BACKUPS<br />
for FILE in &#8220;$( $FIND $OLD -maxdepth 1 -type d -mtime +$DAYS )&#8221;<br />
do<br />
#    $RM -Rf $FILE<br />
$ECHO $FILE<br />
done<br />
exit 0</p></blockquote>
<p>Save the following to /disk3/backup_exclude. Essentially, these are the files/folders you do not wish to backup using rsync.</p>
<blockquote><p>/disk3/<br />
/bin/<br />
/boot/<br />
/dev/<br />
/lib/<br />
/lost+found/<br />
/mnt/<br />
/opt/<br />
/proc/<br />
/sbin/<br />
/sys/<br />
/tmp/<br />
/usr/<br />
/var/log/<br />
/var/spool/<br />
/var/lib/php4/<br />
/var/lib/mysql/</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.kpsolution.com/blog/linux/use-rsync-to-backup-data-on-a-second-hard-disk/42/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Open ODT file in Microsoft Word 2007/2003</title>
		<link>http://www.kpsolution.com/blog/windows/open-odt-file-in-microsoft-word-20072003/40/</link>
		<comments>http://www.kpsolution.com/blog/windows/open-odt-file-in-microsoft-word-20072003/40/#comments</comments>
		<pubDate>Mon, 05 Jan 2009 16:33:13 +0000</pubDate>
		<dc:creator>Ketan Patel</dc:creator>
				<category><![CDATA[windows]]></category>
		<category><![CDATA[doc]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[odt]]></category>
		<category><![CDATA[office]]></category>
		<category><![CDATA[openoffice]]></category>
		<category><![CDATA[word]]></category>

		<guid isPermaLink="false">http://www.kpsolution.com/blog/?p=40</guid>
		<description><![CDATA[Many times you may have to open the openoffice documents (.odt) in microsoft office. To do so, you will have to install the SUN ODF Plugin for Microsoft Office and then you would be able to open the open officie documents in microsoft office.
- Install Sun ODF Plugin for Microsoft Office.
- Open ODT document using [...]]]></description>
			<content:encoded><![CDATA[<p>Many times you may have to open the openoffice documents (.odt) in microsoft office. To do so, you will have to install the SUN ODF Plugin for Microsoft Office and then you would be able to open the open officie documents in microsoft office.</p>
<p>- Install<a href="http://www.sun.com/software/star/odf_plugin/index.jsp"> Sun ODF Plugin</a> for Microsoft Office.<br />
- Open ODT document using File &gt; Open, or by double-clicking the ODT file and when prompted for the application to open it with, choose Word.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kpsolution.com/blog/windows/open-odt-file-in-microsoft-word-20072003/40/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Startup: Unable to load dynamic library php_openssl.dll</title>
		<link>http://www.kpsolution.com/blog/php/php-startup-unable-to-load-dynamic-library-php_openssldll/38/</link>
		<comments>http://www.kpsolution.com/blog/php/php-startup-unable-to-load-dynamic-library-php_openssldll/38/#comments</comments>
		<pubDate>Sun, 04 Jan 2009 20:09:12 +0000</pubDate>
		<dc:creator>Ketan Patel</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://www.kpsolution.com/blog/?p=38</guid>
		<description><![CDATA[You might get the error: &#8220;PHP Startup: Unable to load dynamic library php_openssl.dll. The operating system cannot run %1&#8220;, when you are trying to start the apache server in the error.log file.
Basically what this error is trying to mention that there is an issue with your php_openssl.dll and a possible mismatch with other depending libraries. [...]]]></description>
			<content:encoded><![CDATA[<p>You might get the error: &#8220;<strong>PHP Startup: Unable to load dynamic library php_openssl.dll</strong>. <strong>The operating system cannot run %1</strong>&#8220;, when you are trying to start the apache server in the error.log file.</p>
<p>Basically what this error is trying to mention that there is an issue with your php_openssl.dll and a possible mismatch with other depending libraries. To resolve this, follow the below steps:</p>
<p>1. Rename &#8217;ssleay32.dll&#8217; and &#8216;libeay32.dll&#8217; in c:\windows\system32 to &#8217;ssleay32.dll.old&#8217; and &#8216;libeay32.dll.old&#8217; respectively.</p>
<p>2. Copy &#8217;ssleay32.dll&#8217; and &#8216;libeay32.dll&#8217; from your PHP folder to the system32.</p>
<p>3. Restart the apache webserver.</p>
<p>This should get your problem sorted!!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kpsolution.com/blog/php/php-startup-unable-to-load-dynamic-library-php_openssldll/38/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Not enough storage is available to complete this operation Yahoo Messenger</title>
		<link>http://www.kpsolution.com/blog/windows/not-enough-storage-is-available-to-complete-this-operation-yahoo-messenger/35/</link>
		<comments>http://www.kpsolution.com/blog/windows/not-enough-storage-is-available-to-complete-this-operation-yahoo-messenger/35/#comments</comments>
		<pubDate>Sun, 04 Jan 2009 05:23:15 +0000</pubDate>
		<dc:creator>Ketan Patel</dc:creator>
				<category><![CDATA[windows]]></category>
		<category><![CDATA[messenger]]></category>
		<category><![CDATA[yahoo]]></category>

		<guid isPermaLink="false">http://www.kpsolution.com/blog/?p=35</guid>
		<description><![CDATA[Recently, I started to get this error message whenever I tried to use IM in yahoo messenger. As soon as I click on the contact to open the Instant Messenger, an error will popup with message that the &#8220;Not enough storage is available to complete this operation&#8220;. Here&#8217;s a screenshot of that error.
To fix this [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, I started to get this error message whenever I tried to use IM in yahoo messenger. As soon as I click on the contact to open the Instant Messenger, an error will popup with message that the &#8220;<strong>Not enough storage is available to complete this operation</strong>&#8220;. Here&#8217;s a screenshot of that error.</p>
<div id="attachment_36" class="wp-caption alignnone" style="width: 310px"><a href="http://www.kpsolution.com/blog/wp-content/uploads/2009/01/yahoo_error.jpg"><img class="size-medium wp-image-36" title="Yahoo Error Message" src="http://www.kpsolution.com/blog/wp-content/uploads/2009/01/yahoo_error-300x199.jpg" alt="Yahoo Error Message" width="300" height="199" /></a><p class="wp-caption-text">Yahoo Error Message</p></div>
<p>To fix this issue, you will need to reset your Internet Explorer settings and register the libraries again. Following are the steps to do so:</p>
<p>1. Exit Yahoo! Messenger. Right-click the tray icon and select &#8220;Exit.&#8221;<br />
2. On your keyboard, press &lt;Windows&gt; + &lt;R&gt; to open the &#8220;Run&#8221; command.<br />
3. Type in &#8220;inetcpl.cpl&#8221; and press Enter. This opens Internet Properties.<br />
4. Select the &#8220;Advanced&#8221; tab, then click the &#8220;Reset&#8230;&#8221; button.<br />
5. In the &#8220;Reset Internet Explorer Settings&#8221; dialog box, click the &#8220;Reset&#8221; button.<br />
6. When the reset is complete, click &#8220;Close.&#8221;<br />
7. Click the &#8220;Security&#8221; tab, then select &#8220;Trusted Sites.&#8221;<br />
8. Click the &#8220;Sites&#8221; button.<br />
9. Uncheck &#8220;Require server verification (https:) for all sites in this zone.&#8221;<br />
10. In the &#8220;Add this website to the zone&#8221; field, copy and paste the following text:<br />
*://*.<a href="http://yahoo.com/" target="_blank"><span id="lw_1231046282_2" class="yshortcuts">yahoo.com/*<br />
</span></a><br />
11. Click &#8220;Add,&#8221; then click &#8220;Close.&#8221;<br />
12. Click &#8220;OK.&#8221;</p>
<p>Next, please download and install the latest version of <span id="lw_1231046282_3" class="yshortcuts" style="border-bottom: 1px dashed #0066cc; background: transparent none repeat scroll 0% 0%; cursor: pointer;">Java Runtime Environment</span>:</p>
<p>- <a href="http://java.sun.com/getjava/" target="_blank"><span id="lw_1231046282_4" class="yshortcuts">http://java.sun.com/getjava/</span></a></p>
<p>Last, please register the Java and <span id="lw_1231046282_5" class="yshortcuts">Windows Script installations</span>:</p>
<p>1. On your keyboard, press &lt;Windows&gt; + &lt;R&gt; to open the &#8220;Run&#8221; command.<br />
2. Type in &#8220;cmd&#8221; and click &#8220;OK.&#8221; This opens a Command Prompt.<br />
3. Copy and paste each of the following commands into the Command Prompt. Press &lt;Enter&gt; on your keyboard after pasting each command.</p>
<p>regsvr32 vbscript.dll /s</p>
<p>regsvr32 jscript.dll /s</p>
<p>regsvr32 nusrmgr.cpl /s</p>
<p>regsvr32 mshtml.dll /s</p>
<p>regsvr32 themeui.dll /s</p>
<p>Restart your computer and your problem will be resolved now!!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kpsolution.com/blog/windows/not-enough-storage-is-available-to-complete-this-operation-yahoo-messenger/35/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enable dark background in Eclipse</title>
		<link>http://www.kpsolution.com/blog/linux/enable-dark-background-in-eclipse/33/</link>
		<comments>http://www.kpsolution.com/blog/linux/enable-dark-background-in-eclipse/33/#comments</comments>
		<pubDate>Wed, 05 Nov 2008 16:26:08 +0000</pubDate>
		<dc:creator>Ketan Patel</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[eclipse]]></category>

		<guid isPermaLink="false">http://www.kpsolution.com/blog/?p=33</guid>
		<description><![CDATA[I was looking around to find a good source which would allow me to control the background of the eclipse. I like black background with white text as foreground. Doing so in eclipse is not straightforward.
My System setup is:


Ubuntu 8.10
Eclipse Ganymede (3.4) with CDT


Follow the steps to get black background with white foreground for source [...]]]></description>
			<content:encoded><![CDATA[<p>I was looking around to find a good source which would allow me to control the background of the eclipse. I like black background with white text as foreground. Doing so in eclipse is not straightforward.</p>
<p>My System setup is:</p>
<blockquote>
<ul>
<li>Ubuntu 8.10</li>
<li>Eclipse Ganymede (3.4) with CDT</li>
</ul>
</blockquote>
<p>Follow the steps to get black background with white foreground for source code editing part of eclipse.</p>
<ol>
<li>Select Window -&gt; Preferences -&gt; C/C++ (language editor you need to change for) -&gt; Editor. In the Appearance color options change the following
<ul>
<li>Matching brackets highlight (Color #FFA500)</li>
<li>Inactive code highlight (Color #302E2E)</li>
<li>Completion Proposal background (Color #000000)</li>
<li>Completion Proposal foreground (Color #FFFFFF)</li>
<li>Parameter Hint Background (Color #000000)</li>
<li>Parameter Hint Foreground (Color #FFFFFF)</li>
<li>Source Hover Background (Color #F5F5B5)</li>
</ul>
</li>
<li>Select Window -&gt; Preferences -&gt; C/C++ (language editor you need to change for) -&gt; Editor -&gt; Syntax Coloring
<ul>
<li>In the Code, change all the ones with black color to white and vice versa and leave the rest as they are.</li>
</ul>
</li>
</ol>
<p>This will give you the colors you want. I know its tedious but that&#8217;s the only way to do it at present.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kpsolution.com/blog/linux/enable-dark-background-in-eclipse/33/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to generate a patch?</title>
		<link>http://www.kpsolution.com/blog/linux/how-to-generate-a-patch/29/</link>
		<comments>http://www.kpsolution.com/blog/linux/how-to-generate-a-patch/29/#comments</comments>
		<pubDate>Mon, 03 Nov 2008 20:48:57 +0000</pubDate>
		<dc:creator>Ketan Patel</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[patch]]></category>
		<category><![CDATA[source]]></category>

		<guid isPermaLink="false">http://www.kpsolution.com/blog/?p=29</guid>
		<description><![CDATA[To generate a patch for your modified code. All you have to do is generate a diff between original and modified source files using the following command and save the output to the patch file.
diff -rup /home/ketan/unmodified_source.c /home/ketan/modified_source.c &#62; patch.source.c
Now to apply patch to the original unmodified source. Use the following command from the appropriate [...]]]></description>
			<content:encoded><![CDATA[<p>To generate a patch for your modified code. All you have to do is generate a diff between original and modified source files using the following command and save the output to the patch file.</p>
<blockquote><p>diff -rup /home/ketan/unmodified_source.c /home/ketan/modified_source.c &gt; patch.source.c</p></blockquote>
<p>Now to apply patch to the original unmodified source. Use the following command from the appropriate location (/home/ketan) in our example.</p>
<blockquote><p>patch -p0 &lt; patch.source.c</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.kpsolution.com/blog/linux/how-to-generate-a-patch/29/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
