<?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>Nixser.com&#187; Tips</title>
	<atom:link href="http://www.nixser.com/category/tips/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nixser.com</link>
	<description>Debian, Internet, Blog, Tech Tips, and some craps.</description>
	<lastBuildDate>Mon, 02 Mar 2009 12:42:30 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>WordPress Upgraded, from manual to Fantastico.</title>
		<link>http://www.nixser.com/2009/03/02/wordpress-upgraded-from-manual-to-fantastico/</link>
		<comments>http://www.nixser.com/2009/03/02/wordpress-upgraded-from-manual-to-fantastico/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 12:42:30 +0000</pubDate>
		<dc:creator>Yien Bin</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Site Info]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[fantastico]]></category>
		<category><![CDATA[solution]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://www.nixser.com/?p=299</guid>
		<description><![CDATA[<p>Just upgraded to WordPress version 2.7.1 from 2.6.3. I took a different approach this time. Manual upgrading wordpress has started to bore me since long time ago, and now I hope to get rid of the hassle once and for all, let cpanel&#8217;s Fantastico handle the upgrade from now on.</p>
<p>Please bear in mind that this is my very own personal experience. <strong>Try this at your own risk!</strong></p>
<p><strong>Situation:</strong><br />
Manually installed wordpress on my hosting account, getting tired of upgrading every new version. Decided to switch to Fantastico install, let it handle the upgrades.<br />
<!--more--><br />
<strong>Solution:</strong><br />
You must have these:</p>
<ol>
<li>A Cpanel hosting account with Fantastico bundled.</li>
<li>A archiving tool(to zip your files).</li>
<li>A FTP program(to upload big files).</li>
</ol>
<p><strong>Step 1: Backup everything.</strong><br />
I seriously mean EVERYTHING. Download a home directory backup, and a Mysql database backup from your cpanel to local computer. Extract the files to see everything is in place(compare to your current hosting account home directory).</p>
<p><strong>Step 2: Purge everything.</strong><br />
Delete everything starts with wp* inside your wordpress directory on the server. For me it is the public_html directory, it has only 1 directory called cgi-bin by default.</p>
<p>Delete your old mysql database for wordpress as well. Please make sure you have all the backups on your local computer.</p>
<p><strong>Step 3: Install a fresh Wordpress with Fantastico.</strong><br />
Pretty standard procedures here. At the end you will get a fresh wordpress at your desired location, for me it&#8217;s the webroot. You don&#8217;t need to actually login to admin area to do anything yet. Let&#8217;s get back the old data first.</p>
<p><strong>Step 4: Restore all old data</strong><br />
<strong>4.1 Database</strong><br />
You should have an old database backup with you. Extract it and you will get a file xx.sql. For me it&#8217;s wp.sql, which I named the database last time. </p>
<p>Now go to your cpanel, inside &#8216;Mysql Database&#8217;, there&#8217;s a link at the bottom for you login to <strong>phpMyadmin</strong>. Inside phpMyadmin, on the left shows the available databases under your account. </p>
<p>If you removed the old database already, you should see only one on the list which has the name &#8216;<strong>wrdp1</strong>&#8216;. This is default database name for new wordpress installed by Fantastico. </p>
<p>Go inside wrdp1 database and choose to import, just upload the old wp.sql file and wait. After it&#8217;s done, there will be message telling you how many queries have been made. </p>
<p>Leave phpMyadmin now since the database has been imported.</p>
<p><strong>4.2 Files</strong><br />
Now check the backup you have downloaded, inside wordpress folder you should have your old <strong>wp-content</strong> folder. You should only take care of 3 things:</p>
<ol>
<li>Upload everything in &#8216;<strong>wp-content/plugins</strong>&#8216; to your fresh installed wordpress, the directory structure should be exactly the same. Do not upload &#8216;akismet&#8217; and &#8216;hello.php&#8217;</li>
<li>Upload everything in &#8216;<strong>wp-content/themes</strong>&#8216; to your fresh installed wordpress. Do not upload &#8216;classic&#8217; and &#8216;default&#8217;.</li>
<li>Upload everything in &#8216;<strong>wp-content/uploads</strong>&#8216; to your fresh installed wordpress.</li>
</ol>
<p><strong>Step 5: Run the upgrade script</strong><br />
Open browser and go to yourdomain.com/wp-admin/upgrade.php</p>
<p><strong>Step 6: You are done</strong><br />
Things should be okay now, you should be able to login to admin area and your front end.</p>
<p>Again I must stress that this is not a tutorial, it is just my personal experience. If you have previously manual install wordpress on your own, you should pretty much have a clue about I am writing here.</p>
<p><strong>Result:</strong><br />
You are looking at my blog isn&#8217;t it? The only uncertainty is&#8230;&#8230;I am not sure whether can Fantastico upgrade the next version for me or not!</p>
<p>Happy upgrading anyway! Feedbacks are appreciated.</p>
]]></description>
		<wfw:commentRss>http://www.nixser.com/2009/03/02/wordpress-upgraded-from-manual-to-fantastico/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debian: HP Officejet 5610 Network Printing How-To</title>
		<link>http://www.nixser.com/2007/08/21/debian-hp-officejet-5610-network-printing-how-to/</link>
		<comments>http://www.nixser.com/2007/08/21/debian-hp-officejet-5610-network-printing-how-to/#comments</comments>
		<pubDate>Tue, 21 Aug 2007 09:18:22 +0000</pubDate>
		<dc:creator>Yien Bin</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Softwares]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.nixser.com/2007/08/21/debian-hp-officejet-5610-network-printing-how-to/</guid>
		<description><![CDATA[<p>Sorry I&#8217;ve been busy with a lot of paper works lately. I just bought a <a href="http://h10025.www1.hp.com/ewfrf/wc/product?lc=en&#038;cc=us&#038;dlc=en&#038;product=441125=en">HP Officejet 5610</a> and has been printing quite a lot documents. This is an ALL IN ONE series, has the capability of scan, print and fax, ideal solution for small business environment. My previous <a href="http://www.nixser.com/2006/11/24/debian-and-hp-psc-1400-all-in-one-series-how-to/">HP PSC 1400</a> is passed to another friend.</p>
<p>I use my debian box to physically connect to the device with usb cable. Setting up the printer should be as easy as my previous <a href="http://www.nixser.com/2006/11/24/debian-and-hp-psc-1400-all-in-one-series-how-to/">HP PSC 1400 how-to</a>. There&#8217;s one extra package needs to be installed for this model.</p>
<ul>
<li><strong>hpijs-ppds</strong></li>
</ul>
<p>This is a collection of HP printers&#8217; ppd files. 5610 appears to be in it.<br />
<!--more--></p>
<h3>Sharing HP Officejet 5610</h3>
<p>Following my previous how-to, the device should be running fine on the Linux platform. Now let&#8217;s share it on the local network. Here&#8217;s my Samba config file for printers.</p>
<p class='smallgray'>Codes:</p>
<div style='width: 100%; background-color:  #ffffd3; border: 1px solid #b0b1c5 '><code><span style="color: #000000"></p>
<p>[global]<br />
printing&nbsp;=&nbsp;cups&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;tell&nbsp;samba&nbsp;that&nbsp;we'd&nbsp;like&nbsp;CUPS&nbsp;for&nbsp;printing<br />
printcap&nbsp;name&nbsp;=&nbsp;cups</p>
<p>[printers]<br />
comment&nbsp;=&nbsp;All&nbsp;Printers<br />
path&nbsp;=&nbsp;/var/spool/samba<br />
create&nbsp;mask&nbsp;=&nbsp;0700<br />
printable&nbsp;=&nbsp;Yes<br />
browseable&nbsp;=&nbsp;No</p>
<p>[print$]<br />
comment&nbsp;=&nbsp;Printer&nbsp;Drivers<br />
path&nbsp;=&nbsp;/var/lib/samba/printers</p>
<p>[HP_OfficeJet_5610]<br />
printable&nbsp;=&nbsp;Yes<br />
printer&nbsp;name&nbsp;=&nbsp;HP_OfficeJet_5610<br />
guest&nbsp;ok&nbsp;=&nbsp;yes<br />
use&nbsp;client&nbsp;driver&nbsp;=&nbsp;yes<br />
path&nbsp;=&nbsp;/var/spool/samba<br />
printing&nbsp;=&nbsp;cups<br />
</span><br />
</code></div>
<p><font color="red"><strong>Note: Add necessary lines instead of copy and paste, do not remove your original config lines.</strong></font></p>
<p>Restart your samba service after editing the config file.</p>
<p class='smallgray'>Codes:</p>
<div style='width: 100%; background-color:  #ffffd3; border: 1px solid #b0b1c5 '><code><span style="color: #000000"></p>
<p>/etc/init.d/samba&nbsp;restart<br />
</span><br />
</code></div>
<h3>Installing HP Officejet 5610 as network printer on Windows</h3>
<p>On Windows machine, we need to locate the device. Use Windows Explorer and search your network. For fast access I always input following line in the address bar.</p>
<p class='smallgray'>Codes:</p>
<div style='width: 100%; background-color:  #ffffd3; border: 1px solid #b0b1c5 '><code><span style="color: #000000"></p>
<p>\\ip_or_hostname\<br />
</span><br />
</code></div>
<p>You should see a printer name &#8220;HP_Officejet_5610&#8243;(as my samba settings). Double click on the printer will prompt you dialog to install the printer&#8217;s driver. Unfortunately, bundled installation cd has no available driver for user to extract. We have to look for alternative here. </p>
<p>Thanks so much to the <a href="http://www.cups.org/">CUPS</a> team, they have a <strong>windows version of CUPS driver</strong> available. You can <a href="http://www.cups.org/windows/software.php?6.0">download it here</a>. Download the .tar.gz or .tar.bz2 version on to your windows machine. Extract the file to somewhere on your desktop.</p>
<p>During the selection of driver, click &#8220;Have Disk&#8221;, and browse to the latest extracted folder, the driver file will be &#8220;<strong>cups-windows-6.0\i386\cups6.inf</strong>&#8220;, and there you go, print your test page.</p>
<p>You can repeat this step on any other windows machine you wish to access the printer.</p>
<p>Here&#8217;s a test page of Windows XP using CUPS driver.<br />
<img src='http://www.nixser.com/wp-content/uploads/2007/08/windows_test_page.jpeg' alt='Windows Test Print Page' /></p>
<p>Please share your experience with me.</p>
<h3>References:</h3>
<p><a href="http://www.mail-archive.com/hplip-help@lists.sourceforge.net/msg03674.html">http://www.mail-archive.com/hplip-help@lists.sourceforge.net/msg03674.html</a><br />
<a href="http://forums.xandros.com/viewtopic.php?t=19385&#038;start=0">http://forums.xandros.com/viewtopic.php?t=19385&#038;start=0</a></p>
]]></description>
		<wfw:commentRss>http://www.nixser.com/2007/08/21/debian-hp-officejet-5610-network-printing-how-to/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Debian: AmaroK Lyrics How-To, Automatically Load Chinese and English Lyrics.</title>
		<link>http://www.nixser.com/2007/08/10/debian-amarok-lyrics-how-to-automatically-load-chinese-and-english-lyrics/</link>
		<comments>http://www.nixser.com/2007/08/10/debian-amarok-lyrics-how-to-automatically-load-chinese-and-english-lyrics/#comments</comments>
		<pubDate>Fri, 10 Aug 2007 10:17:05 +0000</pubDate>
		<dc:creator>Yien Bin</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Softwares]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.nixser.com/2007/08/10/debian-amarok-lyrics-how-to-automatically-load-chinese-and-english-lyrics/</guid>
		<description><![CDATA[<p>My second AmaroK entry, you can look at the first entry <a href="http://www.nixser.com/2006/08/23/amarok-on-my-debian-kde-desktop/">here</a>. Auto loading lyrics has been an useful feature in  AmaroK, it really saves a lot of time for me. </p>
<p><img src='http://www.nixser.com/wp-content/uploads/2007/08/amarok-snapshot.png' alt='AmaroK with Lyrics' /><br />
<em>AmaroK with lyrics auto-loaded.</em><br />
<!--more--></p>
<h3>Locale Settings</h3>
<p>First, you have to make sure that your locale environment is <a href="http://www.nixser.com/2006/10/23/debian-chinese-how-to/">setup properly</a>. In my environment, I&#8217;m able to input chinese(big5 or GB) and English, switching with hotkey CTRL-SPACE. Files can be saved in chinese file names(big5 or GB). It is useful if you can save your chinese music files in chinese file names, I will tell you why later.</p>
<h3>Download This Script, Lyrics CN</h3>
<p>This script is created by <a href="http://www.sanfanling.cn/default.asp">sanfanling</a>. He&#8217;s uploaded the script to <a href="http://www.kde-apps.org/content/show.php?content=50120">kde-apps.org</a>. Many thanks to him.</p>
<p>However, the original version did not work properly for me. I had to tweak a small portion of the codes to make it work in my environment. Download my tweaked version <a href='http://www.nixser.com/wp-content/uploads/2007/08/lyrics_cnamarokscripttar.gz' title='Lyrics CN'>here</a>.(Please change the file name to &#8216;<strong>Lyrics_CN.amarokscript.tar.gz</strong>&#8216; after download, strange WordPress behaviour). It is a python script, you will need to have python installed on your system.</p>
<h3>Install Lyrics CN</h3>
<p>After you have the Lyrics_CN.amarokscript.tar.gz in place, open your <strong>AmaroK -> Tools -> Script Manager<br />
</strong>. Click on &#8216;Install Script&#8217; button to browse the location of the .tar.gz file and open it. Highlight the &#8220;Lyrics_CN&#8221; entry in the script list and click on &#8220;Run&#8221;.</p>
<h3>How does it work</h3>
<p>This script will make use of your media&#8217;s title, artist, and album tag information, send a query to various lyrics databases, including mp3.baidu.com, sohu.com, yahoo.com.cn, lyrc.com.ar and hk.music.yahoo.com. It is crucial that you have your media&#8217;s tags organized, so there is sufficient information for the query. Successfully loaded lyrics will be displayed in <strong>Context Browser -> Lyrics tab</strong>. The script will send query to baidu.com as default, if the lyric is not found, you will have options to search from sohu.com or yahoo.com.</p>
<h3>Tips for Chinese Media Files</h3>
<p>Always store your media files in chinese file names. For example, I always save music albums this way &#8220;Artist &#8211; Album/trackNo.title.mp3&#8243;, then make use of the &#8220;<strong>Guess Tags from filename</strong>&#8221; button in Track Information. In this way I don&#8217;t have to input the tags manually. Filename scheme for above file saving technique will be &#8220;<strong>%artist &#8211; %album/%track.%title</strong>&#8220;, make use of this feature will save you a lot of time.</p>
<h3>As For Windows</h3>
<p>Sorry, AmaroK is not for Windows. If you can read mandarin, and don&#8217;t mind using a full mandarin program, please try <a href="http://wwwcnc.ttplayer.com/index.php">ttplayer</a>. It has a very cool line by line lyric display feature.</p>
<p>Share your experience with me please.</p>
]]></description>
		<wfw:commentRss>http://www.nixser.com/2007/08/10/debian-amarok-lyrics-how-to-automatically-load-chinese-and-english-lyrics/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress: Upgraded to version 2.2.2</title>
		<link>http://www.nixser.com/2007/08/07/wordpress-upgraded-to-version-222/</link>
		<comments>http://www.nixser.com/2007/08/07/wordpress-upgraded-to-version-222/#comments</comments>
		<pubDate>Tue, 07 Aug 2007 13:48:51 +0000</pubDate>
		<dc:creator>Yien Bin</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Site Info]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[2.2.2]]></category>
		<category><![CDATA[automatic]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://www.nixser.com/2007/08/07/wordpress-upgraded-to-version-222/</guid>
		<description><![CDATA[<p>This blog has been updated to version 2.2.2. Only security updates for this release, again it is recommended to upgrade. Please visit the release page <a href="http://wordpress.org/development/2007/08/wordpress-222-and-2011/">here</a>. Details of bugs fixed can be found <a href="http://trac.wordpress.org/query?status=closed&#038;milestone=2.2.2">here</a>. Instructions of upgrading is <a href="http://codex.wordpress.org/Upgrading_WordPress_Extended">here</a>.</p>
<p>I would also like to take this chance to introduce you guys a plugin which I have been watching closely, <strong>NOT YET</strong> installed. <a href="http://techie-buzz.com/wordpress-plugins/wordpress-automatic-upgrade-plugin-update.html">WordPress Automatic Upgrade</a> is a plugin brought to you by techie-buzz.com, it will upgrade your wordpress blog automatically. Including download the archive to your web space, replace old files, setting file permissions and more.</p>
<p>As I&#8217;ve said I do not use this plugin yet, let&#8217;s wait and see. I have a very high expectation on this.</p>
<p>P/S: Please notify me if you find any error after this upgrade.</p>
]]></description>
		<wfw:commentRss>http://www.nixser.com/2007/08/07/wordpress-upgraded-to-version-222/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Plugin: Google Sitemap Generator.</title>
		<link>http://www.nixser.com/2007/08/03/wordpress-plugin-google-sitemap-generator/</link>
		<comments>http://www.nixser.com/2007/08/03/wordpress-plugin-google-sitemap-generator/#comments</comments>
		<pubDate>Fri, 03 Aug 2007 15:32:46 +0000</pubDate>
		<dc:creator>Yien Bin</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Softwares]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[generator]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[sitemap]]></category>

		<guid isPermaLink="false">http://www.nixser.com/2007/08/03/wordpress-plugin-google-sitemap-generator/</guid>
		<description><![CDATA[<p>Every website on the WWW will have to kowtow to Google nowadays, as in comply to their webmaster&#8217;s guidelines. Having your site being listed in the supplemental search results is the last thing a webmaster ever wanted, besides being banned by Google Adsense.</p>
<p>So I figured it&#8217;s time for me to organize all the posts in this blog and come out with a sitemap, in order to submit to the Google Webmaster Tools. Google Sitemap Generator is one of the top ten results upon Google search.</p>
<p><img src='http://www.nixser.com/wp-content/uploads/2007/08/google-sitemap-generator.jpg' alt='Google Sitemap Generator' /><br />
<!--more--><br />
Download the plugin <strong><a href="http://wordpress.org/extend/plugins/google-sitemap-generator/">here</a></strong>. Upload the entire folder to your wordpress plugin directory after extract the zip file. You need to make sure that WordPress&#8217;s root directory is <strong>WRITABLE</strong>, because this plugin will generate two sitemap files in that directory. </p>
<p>Enable the plugin in the plugin management page, after that a new option page will be available under &#8220;Options&#8221;. I did not change much of the default settings, everything should work fine without any problem.</p>
]]></description>
		<wfw:commentRss>http://www.nixser.com/2007/08/03/wordpress-plugin-google-sitemap-generator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thunderbird: Enable Logging for Multiple Protocols How-To.</title>
		<link>http://www.nixser.com/2007/07/24/thunderbird-enable-logging-for-multiple-protocols-how-to/</link>
		<comments>http://www.nixser.com/2007/07/24/thunderbird-enable-logging-for-multiple-protocols-how-to/#comments</comments>
		<pubDate>Tue, 24 Jul 2007 10:05:37 +0000</pubDate>
		<dc:creator>Yien Bin</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Softwares]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[logging]]></category>
		<category><![CDATA[mozilla]]></category>
		<category><![CDATA[thunderbird]]></category>

		<guid isPermaLink="false">http://www.nixser.com/2007/07/24/thunderbird-enable-logging-for-multiple-protocols-how-to/</guid>
		<description><![CDATA[<p>Often you will find yourself in situation that needs a little bit of debugging. I am today, something in my <a href="http://www.nixser.com/2006/10/15/debian-frees-mozillas/">Icedove mail client(thunderbird)</a> is not right, keeps connecting to the server with 15 &#8211; 30 connections at the same time, so I wanted to know what&#8217;s going on. I figured maybe there will be some options available in the program, however, it&#8217;s not there.</p>
<p>Surprisingly, logging of Thunderbird has to be done outside the program. Here&#8217;s how I did it, on both Debian and Windows machine.</p>
<h3>On Debian</h3>
<p>All you need to do is prepare a shell script on your desktop, double click it to run Thunderbird instead of your previous desktop icon. Name the file <strong>runTB.sh</strong>, or any name you prefer.</p>
<p class='smallgray'>Codes:</p>
<div style='width: 100%; background-color:  #ffffd3; border: 1px solid #b0b1c5 '><code><span style="color: #000000"></p>
<p>#!/bin/sh</p>
<p>MYDATE=`date&nbsp;"+%Y%m%d_%H%M%S"`<br />
NSPR_LOG_MODULES=POP3:4,SMTP:4<br />
NSPR_LOG_FILE=~/Desktop/icedove_${MYDATE}.log<br />
export&nbsp;NSPR_LOG_MODULES&nbsp;NSPR_LOG_FILE</p>
<p>/usr/bin/icedove&nbsp;&amp;<br />
exit&nbsp;$?<br />
</span><br />
</code></div>
<p><!--more--><br />
As simple as that. Please remember that the name &#8220;icedove&#8221; is a fork of Thunderbird in Debian. You should not be using this if you are using other distros.</p>
<h3>On Windows</h3>
<p>Similar approach, we are going to create a Batch file here. Create a text file, name it runTB.txt or any name you prefer. Input following codes into the txt file.</p>
<p class='smallgray'>Codes:</p>
<div style='width: 100%; background-color:  #ffffd3; border: 1px solid #b0b1c5 '><code><span style="color: #000000"></p>
<p>set&nbsp;mydate=%date:~-4,4%%date:~-7,2%%date:~-10,2%<br />
set&nbsp;mytime=%time:~0,2%%time:~+3,2%</p>
<p>set&nbsp;NSPR_LOG_MODULES=POP3:4,SMTP:4<br />
set&nbsp;NSPR_LOG_FILE=C:\TBLog\TB_%mydate%_%mytime%.log<br />
start&nbsp;thunderbird<br />
</span><br />
</code></div>
<p>After editing the txt file, change its file extension to <strong>.bat</strong> instead of .txt. Please note that the log file location can be changed based on your preference.</p>
<h3>Available Protocol Options</h3>
<p>According to <a href="http://www.mozilla.org/quality/mailnews/mail-troubleshoot.html#protocol">Mozilla Page</a>, available protocols for logging are: <strong>IMAP, POP3, NNTP, or SMTP</strong>. There is another option &#8220;<strong>ALL</strong>&#8220;, which will dump everything into the log file. Use it wisely.</p>
<h3>Available Logging Levels</h3>
<p>According to above help page. There are,</p>
<ul>
<li><strong>0</strong> = Nothing</li>
<li><strong>1</strong> = Always printed</li>
<li><strong>2</strong> = error messages</li>
<li><strong>3</strong> = warning messages</li>
<li><strong>4</strong> = debug messages</li>
</ul>
<p>Actually, there is also <strong>5</strong>, which they did not document. Just take it this way, the greater the number, the more detail will get printed in the log file.</p>
<p>If you need help to <strong>understand the log file</strong>, please take a look at this <a href="http://kb.mozillazine.org/Session_logging_for_mail/news#Interpreting_a_connection_log">page</a>. Please send in your feedback.</p>
<h3>References:</h3>
<p><a href="http://www.mozilla.org/quality/mailnews/mail-troubleshoot.html">http://www.mozilla.org/quality/mailnews/mail-troubleshoot.html</a><br />
<a href="http://wiki.dovecot.org/Debugging/Thunderbird">http://wiki.dovecot.org/Debugging/Thunderbird</a><br />
<a href="http://kb.mozillazine.org/Session_logging_for_mail/news">http://kb.mozillazine.org/Session_logging_for_mail/news</a></p>
]]></description>
		<wfw:commentRss>http://www.nixser.com/2007/07/24/thunderbird-enable-logging-for-multiple-protocols-how-to/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>10 Things You Might Want To Know Before Switching Over To Linux.</title>
		<link>http://www.nixser.com/2007/07/20/10-things-you-might-want-to-know-before-switching-over-to-linux/</link>
		<comments>http://www.nixser.com/2007/07/20/10-things-you-might-want-to-know-before-switching-over-to-linux/#comments</comments>
		<pubDate>Fri, 20 Jul 2007 09:27:05 +0000</pubDate>
		<dc:creator>Yien Bin</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Softwares]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.nixser.com/2007/07/20/10-things-you-might-want-to-know-before-switching-over-to-linux/</guid>
		<description><![CDATA[<p>I&#8217;m a Linux supporter, went through a lot of learning process to get where I am today, never looked back ever since. I often encourage friends, family, business contact to try Linux, with tone like &#8220;It&#8217;s just that easy!!&#8221;, without telling them the time and sweat. I thought it&#8217;s a common sense, that you have to learn it, if it&#8217;s new to you. Unfortunately this is not the case, people tends to expect everything just work out of the box. So, my experience is, don&#8217;t tell someone about Linux, when he/she asks about how to connect to Internet with Windows.</p>
<p>Think Thick, however, has gathered some facts, for those who really want to try out Linux. I&#8217;ll quote the 10 facts here.</p>
<blockquote>
<ol>
<li>The basic installation of most mainstream Linux distributions is very easy, but a first time user might run into trouble when trying to depart from the defaults.</li>
<li>If you want a proper Linux installation, you are going to have to mess around with the partition table.</li>
<li>You will have to learn how to use the command line.</li>
<li>All those pretty effects of wobbly windows and cube desktops require some work from the user.</li>
<li>Yes, more hardware works with Linux than with Windows. No, not all hardware works 100% like it&#8217;s supposed to.</li>
<li>If you need/want to install a package not included in the repositories, or install from source, you might need to do some research.
</li>
<li>Most mainstream software manufacturers forget about Linux.</li>
<li>Linux is not for the meek of heart.</li>
<li>Linux is almost entirely virus/trojan/spyware free, but you will still need some kind of protection.</li>
<li>Linux assumes that you are an intelligent person.</li>
</ol>
</blockquote>
<p>How&#8217;s that sound? Read the full article <a href="http://thinkthick.blogspot.com/2007/07/confessions-of-linux-fan-10-things-you.html">here</a>.</p>
]]></description>
		<wfw:commentRss>http://www.nixser.com/2007/07/20/10-things-you-might-want-to-know-before-switching-over-to-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cross-Platform Virus Discovered, and Spreading.</title>
		<link>http://www.nixser.com/2007/06/12/cross-platform-virus-discovered-and-spreading/</link>
		<comments>http://www.nixser.com/2007/06/12/cross-platform-virus-discovered-and-spreading/#comments</comments>
		<pubDate>Tue, 12 Jun 2007 07:01:12 +0000</pubDate>
		<dc:creator>Yien Bin</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[WWW]]></category>
		<category><![CDATA[badbunny]]></category>
		<category><![CDATA[multi-platform]]></category>
		<category><![CDATA[openoffice]]></category>
		<category><![CDATA[virus]]></category>

		<guid isPermaLink="false">http://www.nixser.com/2007/06/12/cross-platform-virus-discovered-and-spreading/</guid>
		<description><![CDATA[<p>BadBunny, a malware targeting OpenOffice documents is spreading through multiple operating systems, namely Mac OS, Windows and Linux. This amazed me so much when seeing this particular virus creator is following the software trend, cross platforms.</p>
<p>How does it spread? In short, this worm enters the computer as an OpenOffice document &#8220;<strong>badbunny.odg</strong>&#8220;, once opened by the user, it launches a macro that acts differently depends on the operating system.</p>
<ol>
<li><strong>On Windows</strong> &#8211; It creates a new file called &#8220;<strong>drop.bad</strong>&#8221; which stores in system.ini in the user&#8217;s <strong>mIRC</strong> folder. &#8220;<strong>badbunny.js</strong>&#8221; Javascript virus is also executed to replicate files in the folder.</li>
<li><strong>On Mac OS</strong> &#8211; It creates <strong>Ruby</strong> script viruses in files &#8220;<strong>badbunny.rb</strong>&#8221; and &#8220;<strong>badbunnya.rb</strong>&#8220;</li>
<li><strong>On Linux</strong> &#8211; It creates &#8220;<strong>badbunny.py</strong>&#8221; as XChat script and &#8220;<strong>badbunny.pl</strong>&#8221; as a Perl virus.</li>
</ol>
<p>This virus is distributed via IRC&#8217;s DCC file sending (the &#8220;badbunny.odg&#8221; file).</p>
<p>Read also:<br />
<a href="http://www.zdnet.com.au/news/security/soa/OpenOffice-worm-hits-Mac-Linux-and-Windows/0,130061744,339278379,00.htm">OpenOffice worm hits Mac, Linux and Windows</a><br />
<a href="http://http://www.heise-security.co.uk/news/90116"> Multi-platform OpenOffice worm discovered</a><br />
<a href="http://http://www.sophos.com/pressoffice/news/articles/2007/05/badbunny.html">BadBunny seen in &#8220;the wild&#8221;? OpenOffice multi-platform macro worm discovered</a></p>
]]></description>
		<wfw:commentRss>http://www.nixser.com/2007/06/12/cross-platform-virus-discovered-and-spreading/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox Extensions: PhishTank SiteChecker, make the web a safer place.</title>
		<link>http://www.nixser.com/2007/06/05/firefox-extensions-phishtank-sitechecker-make-the-web-a-safer-place/</link>
		<comments>http://www.nixser.com/2007/06/05/firefox-extensions-phishtank-sitechecker-make-the-web-a-safer-place/#comments</comments>
		<pubDate>Tue, 05 Jun 2007 14:19:22 +0000</pubDate>
		<dc:creator>Yien Bin</dc:creator>
				<category><![CDATA[Softwares]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Web Browser]]></category>
		<category><![CDATA[fight]]></category>
		<category><![CDATA[phishing]]></category>
		<category><![CDATA[phishtank]]></category>
		<category><![CDATA[sitechecker]]></category>

		<guid isPermaLink="false">http://www.nixser.com/2007/06/05/firefox-extensions-phishtank-sitechecker-make-the-web-a-safer-place/</guid>
		<description><![CDATA[<p>Do you handle your finance online? Banking services, PayPal, E-Gold, Forex and many more, all these involved money. You would not want someone to get hold of your credentials and consequencely damage your financial status in many ways. Most of all, you would not want someone to steal from you.</p>
<p><a href="http://www.phishtank.com/">PhishTank</a> is a community formed to fight against online <a href="http://en.wikipedia.org/wiki/Phishing">phishing</a> scams. The community has also  kindly released API for other applications to link to the database, to help massive users to distinguish dangerous websites from good ones.</p>
<p>PhishTank SiteChecker is a Firefox extension that makes used of the PhishTank API. Whenever you visit a website, the program will check with PhishTank database whether the site has been submitted to the blacklist or not. You can also help the community by submitting phishing websites, just a simple click.<br />
<!--more--><br />
PhishTank SiteChecker just uses a small portion on Firefox&#8217;s status bar.<br />
<img src='http://www.nixser.com/wp-content/uploads/2007/06/print.JPG' alt='PhishTank SiteChecker' /><br />
There&#8217;s no need of any configuration for this extension to work. Please also bear in mind that even a website is marked as &#8220;Safe!&#8221;, do not trust the feedback entirely. Chances are that site HAS NOT been blacklisted, you should always be cautious when visiting untrusted sites.</p>
<p>Install PhishTank SiteChecker <a href="https://addons.mozilla.org/en-US/firefox/addon/3840">here</a>.</p>
]]></description>
		<wfw:commentRss>http://www.nixser.com/2007/06/05/firefox-extensions-phishtank-sitechecker-make-the-web-a-safer-place/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debian: Compiz on KDE Installation How-To</title>
		<link>http://www.nixser.com/2007/06/04/debian-compiz-on-kde-installation-how-to/</link>
		<comments>http://www.nixser.com/2007/06/04/debian-compiz-on-kde-installation-how-to/#comments</comments>
		<pubDate>Mon, 04 Jun 2007 07:10:21 +0000</pubDate>
		<dc:creator>Yien Bin</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.nixser.com/2007/06/04/debian-compiz-on-kde-installation-how-to/</guid>
		<description><![CDATA[<p>It&#8217;s been a while since I wrote about Debian, I don&#8217;t have much time to try anything new recently so I just use it as it is. During my latest package update, I&#8217;ve found out that <a href="http://http://compiz.org/Home/Start">Compiz</a> has been added into the Unstable repository. Quite an exciting finding to me, I&#8217;m always into desktop eye candy.</p>
<p>Compiz is OpenGL-based compositing and window-manager for Linux. Sort of 3D Desktop, like what you get in Windows Vista, only it has relatively more features and plugins. It is pretty much in development, so some tweaks have to be made in order to make it work. Ubuntu has it integrated in the desktop environment pretty well I&#8217;ve heard. Let&#8217;s get on to it.</p>
<p>First, get these packages in the Unstable pool. Apply necessary dependency.</p>
<ul>
<li>compiz</li>
<li>compiz-core</li>
<li>compiz-gnome</li>
<li>compiz-gtk</li>
<li>compiz-kde</li>
<li>compiz-plugins</li>
<li>libdecoration0</li>
<li>gconf-editor</li>
</ul>
<p><!--more--><br />
<strong>Please be informed that you must have the latest Nvidia video driver installed.(I&#8217;m using Nvidia 1.0.9755-1 as of writing)</strong></p>
<p>You need to edit your xorg.conf at <strong>/etc/X11/xorg.conf</strong>. Please do not copy and paste the following entirely, add in lines section by section.</p>
<p class='smallgray'>Codes:</p>
<div style='width: 100%; background-color:  #ffffd3; border: 1px solid #b0b1c5 '><code><span style="color: #000000"></p>
<p>Section&nbsp;"Extensions"<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Option&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"Composite"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"enable"<br />
EndSection<br />
</span><br />
</code></div>
<p><em>I did not have &#8220;Extensions&#8221; section in the conf, this is a whole new section.</em></p>
<p class='smallgray'>Codes:</p>
<div style='width: 100%; background-color:  #ffffd3; border: 1px solid #b0b1c5 '><code><span style="color: #000000"></p>
<p>Section&nbsp;"InputDevice"<br />
#key&nbsp;board&nbsp;section<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Option&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"XkbOptions"&nbsp;&nbsp;&nbsp;&nbsp;"altwin:super_win"<br />
EndSection<br />
</span><br />
</code></div>
<p><em>Applying a new key to your keyboard&#8217;s &#8220;Window Key&#8221;, it&#8217;s called the &#8220;Super Key&#8221;.</em></p>
<p class='smallgray'>Codes:</p>
<div style='width: 100%; background-color:  #ffffd3; border: 1px solid #b0b1c5 '><code><span style="color: #000000"></p>
<p>Section&nbsp;"Device"<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Option&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"AllowGLXWithComposite"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"true"<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Option&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"XAANoOffscreenPixmaps"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"true"<br />
EndSection<br />
</span><br />
</code></div>
<p><em>Applying GLX in the device section.</em></p>
<p class='smallgray'>Codes:</p>
<div style='width: 100%; background-color:  #ffffd3; border: 1px solid #b0b1c5 '><code><span style="color: #000000"></p>
<p>Section&nbsp;"Screen"<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Option&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"AddARGBGLXVisuals"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"true"<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Option&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"DisableGLXRootClipping"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"true"<br />
EndSection<br />
</span><br />
</code></div>
<p><em>Another 2 values in Screen section.</em></p>
<p>After applying the changes above, restart your X by holding CRTL + ALT + BACKSPACE.</p>
<p>Now in your KDE desktop, open Konsole and type</p>
<p class='smallgray'>Codes:</p>
<div style='width: 100%; background-color:  #ffffd3; border: 1px solid #b0b1c5 '><code><span style="color: #000000"></p>
<p>compiz&nbsp;--replace&nbsp;gconf&nbsp;&amp;&nbsp;kde-window-decorator&nbsp;&amp;<br />
</span><br />
</code></div>
<p><font color="red"><strong>NOTE: It&#8217;s two dashes &#8220;&ndash;&ndash;&#8221; for &#8220;&ndash;&ndash;replace&#8221;</strong></font><br />
You should now notice when you minimize or maximize window, it has the wobbly effect. If something is not right, for example you don&#8217;t see borders for your window. Simply switch back to kwin with this command</p>
<p class='smallgray'>Codes:</p>
<div style='width: 100%; background-color:  #ffffd3; border: 1px solid #b0b1c5 '><code><span style="color: #000000"></p>
<p>kwin&nbsp;--replace<br />
</span><br />
</code></div>
<h3>Additional Compiz Configurations</h3>
<p>To achieve more satisfying results from Compiz, you can tweak its config with <strong>gconf-editor</strong>. Simply type gconf-editor in Konsole. Compiz config is in <strong>apps > compiz > general > allscreens > options</strong></p>
<p>Active plugins is where you specify the plugins you would like to use, simply edit the key and add in value(refer to <strong>apps > compiz > plugins</strong>). Plugins I&#8217;ve found useful are screenshot, png, fade, minimize. Please do not remove those enabled by default.</p>
<h3>Compiz General Features</h3>
<ol>
<li><strong>Zoom</strong> &#8211; Super Key(the &#8220;Windows&#8221; key) + Mouse Wheel.<br />
Wonderful feature when viewing web pages, direct zoom for better visuals.</li>
<li><strong>Transparency</strong> &#8211; Mouse over a window, then ALT + Mouse Wheel Down.<br />
Useful when you want to keep a window opened in full size but still need to refer to another window&#8217;s content.</li>
<li><strong>Expose</strong> &#8211; Point your mouse to the TOP RIGHT CORNER of your screens.<br />
This is another useful features when you have many windows opened at once without minimizing them. You can get to the window you want right away.</li>
<li><strong>Screenshot</strong> &#8211; Super Key + Left-Click Drag(Select a region)<br />
Instant png saved to your desktop, just the area you selected! How cool is that? No need to edit with GIMP for desired image anymore.</li>
</ol>
<p>These are the features I find useful for a power desktop user. Of course there are more, you can check in the sources I list down below. </p>
<h3>Autostart Compiz with KDE</h3>
<p>In order to  start compiz automatically when log on to KDE. Create a new file <strong>~/.kde/Autostart/compiz.desktop</strong>, with the following content</p>
<p class='smallgray'>Codes:</p>
<div style='width: 100%; background-color:  #ffffd3; border: 1px solid #b0b1c5 '><code><span style="color: #000000"></p>
<p>[Desktop&nbsp;Entry]<br />
Encoding=UTF-8<br />
Exec=compiz&nbsp;--replace&nbsp;gconf&nbsp;&amp;&nbsp;kde-window-decorator&nbsp;&amp;<br />
GenericName[en_US]=<br />
StartupNotify=false<br />
Terminal=false<br />
TerminalOptions=<br />
Type=Application<br />
X-KDE-autostart-after=kdesktop<br />
</span><br />
</code></div>
<p>That&#8217;s it, kind of troublesome but it definitely worths it. Please discuss with me if you have any tip or encounter any problem.</p>
<p><strong>Sources:</strong><br />
<a href="http://compiz.org/How_to_compile_and_run_Compiz_for_nvidia_card_users">http://compiz.org/How_to_compile_and_run_Compiz_for_nvidia_card_users</a><br />
<a href="http://wiki.debian.org/Compiz">http://wiki.debian.org/Compiz</a><br />
<a href="http://technowizah.com/2006/10/debian-how-to-aiglx-compiz.html">http://technowizah.com/2006/10/debian-how-to-aiglx-compiz.html</a></p>
]]></description>
		<wfw:commentRss>http://www.nixser.com/2007/06/04/debian-compiz-on-kde-installation-how-to/feed/</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
	</channel>
</rss>
