<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.3.3" -->
<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/"
	>

<channel>
	<title>Paulus' Blog</title>
	<link>http://paulslinuxbox.net/blog</link>
	<description>Where worlds meet on the most reliable OS.</description>
	<pubDate>Sun, 22 Mar 2009 23:15:48 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
	<language>en</language>
			<item>
		<title>Virtualbox Virtual Bridging</title>
		<link>http://paulslinuxbox.net/blog/linux/virtualbox-virtual-bridging</link>
		<comments>http://paulslinuxbox.net/blog/linux/virtualbox-virtual-bridging#comments</comments>
		<pubDate>Sun, 23 Nov 2008 05:08:24 +0000</pubDate>
		<dc:creator>Paul Lyon</dc:creator>
		
		<category><![CDATA[Fedora]]></category>

		<category><![CDATA[Gentoo]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Operating Systems]]></category>

		<category><![CDATA[briding]]></category>

		<category><![CDATA[Guest Operating Systems]]></category>

		<category><![CDATA[VirtualBox]]></category>

		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://paulslinuxbox.net/blog/linux/virtualbox-virtual-bridging</guid>
		<description><![CDATA[I&#8217;ve been using VMWare for the last couple of years. What I really liked about it was that when you ran the vmware-config.pl script, it would automatically set up interfaces for the virtual machine to interact with the host OS. What I didn&#8217;t like was that the guest OS was so slow. I heard about [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using VMWare for the last couple of years. What I really liked about it was that when you ran the vmware-config.pl script, it would automatically set up interfaces for the virtual machine to interact with the host OS. What I didn&#8217;t like was that the guest OS was so slow. I heard about Parallels, and from what I&#8217;ve seen, it&#8217;s a very slick and had a great feature that allowed you to switch to seamless mode. In this mode, you could run applications with the illusion that you were running the application within the guest OS, in my case Linux.</p>
<p>Since I was running Linux, Parallels was not an option for me. Instead I dug in and found a Virtualbox. This VM also had the seamless mode feature which I&#8217;ve grown to really love and has become a key feature that I look for. Another great advantage of the VM is that it&#8217;s fast, really fast! It seems so fast, that it&#8217;s almost like running Windows XP (for example) right on my hardware. Plus, booting Windows XP is so much faster than if I were to install it and load it right from disk.</p>
<p>Enough about Virtualboxes feature. What I&#8217;m really doing is describing how to get the guest OS to access the host OS file system through samba.  By default, Virtualbox uses the IP of the host OS to get online. This is fine and dandy, but what if you wanted to access shares on the host from within the guest OS? This is how you do it:</p>
<ol>
<li> Make sure that the kernel has <strong>802.1d Ethernet bridging </strong>and that <strong>Universal TUN/TAP device driver support</strong> is either compiled into the kernel or as a module.</li>
<li>Login as root</li>
<li>create the device. The output will tell you that the device has been created and the ID of the person who owns it:<br />
# tunctl -t tap0 -u <em>username<br />
</em>Set tap0 persistent and owned by uid 500</li>
<li>Change the permissions of /dev/tun to 666 (tun may be in /dev/net)<br />
# chmod 0666 /dev/tun</li>
<li>Create the bridge<br />
# brctl addbr br0</li>
<li>Add the real interface to the bridge<br />
# brctl addif br0 eth0</li>
<li>Add the tunnel interfaces to the bridge<br />
# brctl addif br0 tap0</li>
<li>Bring up the bridge<br />
# dhcpcd br0</li>
</ol>
<p>The last part is modifying some of the guest OS&#8217; settings. Start VirtualBox, select an OS, click on <strong>Network</strong>, make sure that the network adapter (or at least one of them) is enabled.  Change <strong>Attached to</strong> so it says <strong>Host Interface</strong> then type in tap0. Finally click <strong>OK</strong> and start the virtual machine.</p>
<p>If you need to add more than one interface for running multiple Virtual Machines at once,</p>
]]></content:encoded>
			<wfw:commentRss>http://paulslinuxbox.net/blog/linux/virtualbox-virtual-bridging/feed</wfw:commentRss>
		</item>
		<item>
		<title>Auto Connect in Win2k and XP</title>
		<link>http://paulslinuxbox.net/blog/work/auto-connect-in-win2k-and-xp</link>
		<comments>http://paulslinuxbox.net/blog/work/auto-connect-in-win2k-and-xp#comments</comments>
		<pubDate>Sat, 26 Jul 2008 06:03:21 +0000</pubDate>
		<dc:creator>Paul Lyon</dc:creator>
		
		<category><![CDATA[Operating Systems]]></category>

		<category><![CDATA[XP]]></category>

		<category><![CDATA[2k]]></category>

		<category><![CDATA[Dialup]]></category>

		<category><![CDATA[LAN]]></category>

		<category><![CDATA[Networking]]></category>

		<category><![CDATA[Windows 2000]]></category>

		<guid isPermaLink="false">http://paulslinuxbox.net/blog/?p=56</guid>
		<description><![CDATA[While working at my last job I&#8217;ve come across this a lot. Windows simply stops connecting to the internet when you try to open IE (Internet Explorer) or Fire Fox. This really isn&#8217;t an issue anymore since most people have broadband internet.
Under the Control Panel:

Double Click &#8216;Administrative Tools&#8216;
Double Click &#8216;Services&#8216;
Double Click &#8216;Remote Access Auto Connection [...]]]></description>
			<content:encoded><![CDATA[<p>While working at my last job I&#8217;ve come across this a lot. Windows simply stops connecting to the internet when you try to open IE (Internet Explorer) or Fire Fox. This really isn&#8217;t an issue anymore since most people have broadband internet.</p>
<p>Under the <strong>Control Panel</strong>:</p>
<ul>
<li>Double Click &#8216;<em>Administrative Tools</em>&#8216;</li>
<li>Double Click &#8216;<em>Services</em>&#8216;</li>
<li>Double Click &#8216;<em>Remote Access Auto Connection Manager</em>&#8216;</li>
<li>In the Startup type: pull down menu, select &#8216;<em>Automatic</em>&#8216;</li>
<li>Click the Start button.</li>
</ul>
<p>The next step is to make sure that you have a connection already configured and that it&#8217;s set to autodial:</p>
<ul>
<li><strong>Start</strong>-&gt;<strong>Settings</strong>-&gt;<strong>Network and Dial-up Connections</strong></li>
<li>Ensure that there is a dialer or create one if there isn&#8217;t</li>
<li>Select the Dialer</li>
<li>Click the &#8216;<strong>Advanced</strong>&#8216; pull down menu</li>
<li>Select &#8216;<strong>Dial-up Preferences&#8230;</strong>&#8216;</li>
<li>Under the <strong>Autodial</strong> Tab, enable the &#8216;<strong>Enable autodial by location</strong>&#8216; checkbox</li>
</ul>
<p>Optionall, if you sometimes connect to a network and use dialup:</p>
<ul>
<li> <strong>Start-&gt;</strong><strong>Settings</strong>-&gt;<strong>Network and Dial-Up Connections</strong></li>
<li>Click the &#8216;<strong>Advanced</strong>&#8216; pull down menu</li>
<li>Select &#8216;<strong>Advanced Settings&#8230;</strong>&#8216;</li>
<li>Under the <strong>Adapters and Bindings</strong> tab, in the Connections: window, choose the order for DNS to use (LAN or dialup adapter)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://paulslinuxbox.net/blog/work/auto-connect-in-win2k-and-xp/feed</wfw:commentRss>
		</item>
		<item>
		<title>Perl and Apache on Mac OS X</title>
		<link>http://paulslinuxbox.net/blog/linux/perl-and-apache-on-mac-os-x</link>
		<comments>http://paulslinuxbox.net/blog/linux/perl-and-apache-on-mac-os-x#comments</comments>
		<pubDate>Tue, 22 Jul 2008 08:03:29 +0000</pubDate>
		<dc:creator>Paul Lyon</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Mac OS X]]></category>

		<category><![CDATA[Operating Systems]]></category>

		<category><![CDATA[Programming]]></category>

		<category><![CDATA[CGI]]></category>

		<category><![CDATA[Header]]></category>

		<category><![CDATA[PERL]]></category>

		<guid isPermaLink="false">http://paulslinuxbox.net/blog/?p=57</guid>
		<description><![CDATA[
.code
{
border-width: thin; border-style: dotted;
border-color: red; size: 12pt; background: black; color: lime;
}
.output
{
border-width: thin;
border-style: solid;
border-color: red;
size: 12pt;
background: black;
color: cyan;
}
div.indent {
margin-left: 1.5em;
width: 100%;
}

The other day while I was modifying a client&#8217;s site I saw that his contact form was in PERL. Recently I just got a Mac Book Pro. I&#8217;ve set up XAMPP and Eclipse on it to [...]]]></description>
			<content:encoded><![CDATA[<style type="text/css">
<p>.code
{
border-width: thin; border-style: dotted;
border-color: red; size: 12pt; background: black; color: lime;
}</p>
<p>.output
{
border-width: thin;
border-style: solid;
border-color: red;
size: 12pt;
background: black;
color: cyan;
}</p>
<p>div.indent {
margin-left: 1.5em;
width: 100%;
}</p>
</style>
<p>The other day while I was modifying a client&#8217;s site I saw that his contact form was in PERL. Recently I just got a Mac Book Pro. I&#8217;ve set up XAMPP and Eclipse on it to do my PHP programming, but I didn&#8217;t count on getting into any PERL. As a challenge I thought it would be fun to do some PERL programming.</p>
<p>I first installed XAMPP. Right out of the box I was able to do PHP programming and access MySQL databases which saved me some time configuring and trouble shooting issues. Or so I thought. I&#8217;ve written PERL scripts before, but never done anything that would run on a web server. When it comes to writing pages in PHP, just write the code and it works. That&#8217;s because the headers are sent for you. As a test I put the following into my script:</p>
<p>#!/usr/bin/perl</p>
<p>print(&#8221;Hello!&#8221;);</p>
<p>Expecting it to work. However I would get an error message saying Error 500. I looked at the log file /Applications/xampp and saw that the script was &#8216;exiting prematurely&#8217; which did not make any sense at all. I could run the PERL script just fine on the command line.</p>
<p>After doing some digging around, about an hours worth I finally found what I was looking for. I needed to print the headers. In order to get my PERL script to work with Apache I needed to add the following:</p>
<p>use strict;<br />
use CGI;</p>
<p>my $cgi = new CGI;</p>
<p>so now the script looks like:</p>
<p>#!/usr/bin/perl</p>
<p>use strict;<br />
use CGI;</p>
<p>my $cgi = new CGI;</p>
<p>print $cgi-&gt;header . $cgi-&gt;start_html . &#8220;hi&#8221; . $cgi-&gt;end_html;</p>
<p>The key to this script is the <strong>$cgi-&gt;header </strong>function call. With out it, you will get an internal server error. There are other functions associate with the CGI class. The start_html and end_html are the beginning and closing HTML tags.</p>
]]></content:encoded>
			<wfw:commentRss>http://paulslinuxbox.net/blog/linux/perl-and-apache-on-mac-os-x/feed</wfw:commentRss>
		</item>
		<item>
		<title>Miramar Theatre Milwaukee</title>
		<link>http://paulslinuxbox.net/blog/unexplained/miramar-theatre-milwaukee</link>
		<comments>http://paulslinuxbox.net/blog/unexplained/miramar-theatre-milwaukee#comments</comments>
		<pubDate>Sat, 05 Jul 2008 04:19:42 +0000</pubDate>
		<dc:creator>Paul Lyon</dc:creator>
		
		<category><![CDATA[Ghosts]]></category>

		<category><![CDATA[Unexplained]]></category>

		<category><![CDATA[EVP]]></category>

		<category><![CDATA[experience]]></category>

		<category><![CDATA[Investigation]]></category>

		<category><![CDATA[Milwaukee]]></category>

		<category><![CDATA[Miramar]]></category>

		<category><![CDATA[Paranormal]]></category>

		<guid isPermaLink="false">http://paulslinuxbox.net/blog/?p=60</guid>
		<description><![CDATA[Back in May I joined the Southern Wisconsin Paranormal Research Group. This group, unlike so many other groups relies heavily on scientific data. In the case of EVP, we don&#8217;t just use one recorder that we&#8217;ve been running around with, but we use multiple recorders while sitting down. When we believe we have an EVP, [...]]]></description>
			<content:encoded><![CDATA[<p>Back in May I joined the Southern Wisconsin Paranormal Research Group. This group, unlike so many other groups relies heavily on scientific data. In the case of EVP, we don&#8217;t just use one recorder that we&#8217;ve been running around with, but we use multiple recorders while sitting down. When we believe we have an EVP, we go back and look at the data that we collected for the night to try to explain it away before labeling it an EVP.</p>
<p>Last night, the group hosted a public event at the Miramar Theatre in Milwaukee. We normally don&#8217;t run around in the dark, but since it was a public event and we all wanted to have a little fun and break from tradition, we had most of the lights off. Anything that we catch will be in question as the Lemon Lounge was open until approximately 2 in the morning.</p>
<p>Even though I can not prove to you my personal experiences, I can at least share them with you.  At 21:25, I was sitting in the theater listening to the presentation that we were giving the public. My location in the seats was the South East corner of the theater. I heard a womans voice talking, thinking that there was someone behind me, I turned around but saw no one. I then waited for someone to come out of the bathroom that was right outside the door. After a few minutes of waiting I went into the Lemon Lounge to talk to the bartender and ask if anyone left. To my surprise it was just the bartender. The only people that were in there before I came in were the owner and his girl friend. Yet they left by using the door of the Lemon Lounge.</p>
<p>Around two, two of our guests said that while they were on the second floor passing two dry erase boards, one of the guests saw a dry erase board fall back to the wall and make a bang while the other actually saw the board come away from the wall and fall back.</p>
<p>Three other investigators and myself were doing an EVP session in one of the sound rooms when all of a sudden my hand felt really tingly. Also upstairs, in another one of the sound rooms, I felt particularly drawn to a corner. I grabbed an EMF meter and found that the heater was giving off a 2.4 milligauss reading.</p>
<p>While doing another EVP session in the basement, 4 investigators and myself were standing around while in complete darkness. During the session, I felt the presence of someone standing next to me. I asked the question if anyone was next to me, and when the session ended, another investigator asked why I asked that question. He too, also felt as if someone was behind him, which would have been next to me.</p>
<p>Around four in the morning, while everyone was in the theatre watching videos on the projector two lights suddenly turned on. We all got excited but after some playing around with the controls for the lights, we found that contacts were bad and were able to recreate the event. Our EVP specialist was in a room sleeping on a couch while this happened. During the time while we were trying to figure out the lights we heard foot steps upstairs. Some of us ran upstairs to check it out. Our EVP specialist also heard the sounds and also checked it out</p>
<p>The decision was made to do one file EVP session. Everyone but myself and two other investigators took part in the EVP session in the theater while we all sat in a room that over looked the theater. While we were sitting there watching the session, we all heard a banging on a drum. We couldn&#8217;t figure out what it was, until we came to two dry erase boards, the same boards that two of our guests had an experience with.</p>
<p>We have a lot of video to go over. We had four IR cameras running for 12 hours, I don&#8217;t even know how many voice recorders were running and for how long. I personally have an hours worth of audio and video.</p>
<p>I had a blast at the Miramar Theatre and look forward to going over the video and audio.</p>
]]></content:encoded>
			<wfw:commentRss>http://paulslinuxbox.net/blog/unexplained/miramar-theatre-milwaukee/feed</wfw:commentRss>
		</item>
		<item>
		<title>Disabling iSight Built in Mac Web Cam</title>
		<link>http://paulslinuxbox.net/blog/work/disabling-isight-built-in-mac-web-cam</link>
		<comments>http://paulslinuxbox.net/blog/work/disabling-isight-built-in-mac-web-cam#comments</comments>
		<pubDate>Sat, 28 Jun 2008 16:52:57 +0000</pubDate>
		<dc:creator>Paul Lyon</dc:creator>
		
		<category><![CDATA[Mac OS X]]></category>

		<category><![CDATA[Operating Systems]]></category>

		<guid isPermaLink="false">http://paulslinuxbox.net/blog/?p=59</guid>
		<description><![CDATA[I&#8217;ve never been a fan of Web Cams, but my Mac Book Pro did not come with the option of not having one. Since I&#8217;m a bit on the paranoid I want a way to disable the camera.
The easist way, but not the best way is to move or rename a file. The file that [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve never been a fan of Web Cams, but my Mac Book Pro did not come with the option of not having one. Since I&#8217;m a bit on the paranoid I want a way to disable the camera.</p>
<p>The easist way, but not the best way is to move or rename a file. The file that we&#8217;re looking for is the <strong>QuickTimeUSBVDCDIgitizer.component</strong> file. This file is located in the <strong>/System/Library/QuickTime</strong> folder.</p>
<p>What I did to disable my iSight was move the file up a directory. When any application tries to access the camera, it will say it&#8217;s in use.</p>
<p>Right now I&#8217;m not aware of any other way to disable the camera, but I will continue to look into it. I&#8217;m also looking into disabling the internal microphone.</p>
]]></content:encoded>
			<wfw:commentRss>http://paulslinuxbox.net/blog/work/disabling-isight-built-in-mac-web-cam/feed</wfw:commentRss>
		</item>
		<item>
		<title>Search Engine Marketing Notes</title>
		<link>http://paulslinuxbox.net/blog/seo/key-word-tools</link>
		<comments>http://paulslinuxbox.net/blog/seo/key-word-tools#comments</comments>
		<pubDate>Thu, 26 Jun 2008 07:09:29 +0000</pubDate>
		<dc:creator>Paul Lyon</dc:creator>
		
		<category><![CDATA[SEO]]></category>

		<category><![CDATA[ASP]]></category>

		<category><![CDATA[Operating Systems]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://paulslinuxbox.net/blog/seo/key-word-tools</guid>
		<description><![CDATA[A few months a go I took a position at a company where my job was to help Account Managers with optimizing their clients web sites. I&#8217;ve been doing web pages for years, and have been working with PHP for the last four years. Just last year I started working with ASP.NET 2.0. I must [...]]]></description>
			<content:encoded><![CDATA[<p>A few months a go I took a position at a company where my job was to help Account Managers with optimizing their clients web sites. I&#8217;ve been doing web pages for years, and have been working with PHP for the last four years. Just last year I started working with ASP.NET 2.0. I must say that I do like ASP for the sole reason that it&#8217;s extremely easy to pound out a good looking web site in little time. My skills as a PHP and ASP programmer have helped out a lot. While I have been helping out with the optimizations I&#8217;ve learned a great deal of what goes into increasing rankings in the major search engines.<br />
Keywords play an important part when a person is searching for something. The best way to search for anything is type in the unique words in what you&#8217;re looking for. When people are building a website they look into specific key words that describe what their site is about. Some tools that are used in determining what key words one should go after are:<br />
•    GoogSpy<br />
•    SEODigger<br />
•    Compete<br />
•    KeyCompete<br />
•    Word Tracker<br />
•    Key Word Discovery<br />
Content<br />
Having unique content is not only common sense, but it&#8217;s essential for your site. Not only should you have unique content you should also not repeate your content. By repeating content the search engines will see it as spam. If the search engine sees the page as spam then it will decrease your ranking. There is a tool called Copyscape that will check for duplicate content on the web. Just go to www.copyscape.com and type in the content you are looking for. When a site has dynamic content, that is always up to date, the site will get high rankings. Using a Blog, bullentin board, or having people write reviews will help your site get higher rankings for specific keywords.<br />
In order to keep your site up to date, on method is using an RSS feed to import into your site that is directly related to your site. However, remember that duplicate content will get you penelized. In addition to the RSS feeds that are imported into the site that you post a news article of your own once in a while.<br />
Some content aggregation systems are:<br />
•    Google News<br />
•    Yahoo News<br />
•    YelloBrix<br />
As search engines get more advance not only do they read html files, but they can also read MS Word, MS Excel, MS Power Point, Rich Text, and PDF files. It would be wise to optimize those files as well for keywords.<br />
•    Unique content - This is just common sense. You don&#8217;t want to keep saying the same thing over and over again. If you keep replicating the same thing over and over again, you&#8217;re not going to advance in the ranks at all because the search engines will catch on to your little plot.<br />
•    Content that is always up to date and changes often gets higher rankings. A Blog or Bulletin Board helps as this allows people to interact with your site ultimately changing the content of the site.<br />
Linking<br />
•    Having links from other sites is a good thing as it shows that you have relivant content, especially if the sites that are linking to you are related to the target keywords. Links inside user comments don&#8217;t count or devalue your site in ranking.<br />
•    Having a site map helps the search engine pick up your site. This is a central location where all pages can be indexed and made searchable to potential people.<br />
•    Meta descriptions should be used. Sometimes the search engine uses the description in the search results.<br />
•    Meta keywords tag aren&#8217;t used as much as they were back in the early days of the internet. It&#8217;s still a good idea to use them to point out to the search engine that it should be looking for specific keywords on the page.<br />
•    Create a company profile and Privacy page to help build trust with the users.<br />
•    The higher links appear on the page, the more it affects your ranking.<br />
•    Links in blocks of content are more relevent than individual links.<br />
•    Avoid using images when possible. If you have to use an image, use the alt property.<br />
File Name<br />
•    Hyphens and Underscores are treated as spaces in the file name. No more than 2 or 3 spaces should be used.<br />
•    File names should be associate with both the title and keywords.<br />
Title<br />
•    Title has heavy weight, especially when the key words that are in the page are found in the meta descriptions, meta keywords, and page are very important.<br />
•    The first 65 characters are used in the search results.<br />
Robots<br />
There is a robots tag which have been replaced with the robots.txt. However, these tags are still usable. There are some additional meta tags that you can use in conjunction with this. Instead of the old &#8220;&lt;meta type=&#8221;robots&#8221; contents=&#8221;noindex&#8221; /&gt; there are googlebot and msnbot. In addition to the standard index, noindex, follow, and nofollow googlebot offers noarchive and nosnippet. Where as msnbot only offers noarchive. Noarchive will tell the search engine to not cache the site. Nosnippet tells the search engine to not display any description below the title in the search results.<br />
Keywords<br />
There&#8217;s a balance between having too many keywords and not having enough keywords. The rule of thumb would be the words should not repeat more than four to six times per 350 words. Target keywords should be placed in the title, and the title should not include more than 2 keywords or phrases. Webuildpages.com has a keyword density tool that will tell you the word or phrase, count, and density. The tool can be found at http://www.webuildpages.com/seo-tools/keywords-density By repeating keyword too much you stand a good chance that the search engine will see your page as spam.<br />
Using keywords is a easy way of getting high rankings in google. In the future this idea tactic may no longer be valid. Latent Semantics are the use of words that are associate with other words. For example, Apple would return ipod, mac, and imac. Microsoft would return Windows, Zune, and Media Player. Latent Semantic indexing looks at the whole profile of your site and takes into account all your links. If you have only links that are related to a specific topic then you will get penilized for not being natural.<br />
•    Should not have more than 10 key words or phrases.<br />
•    Keywords or phrases should not repeat or else a penelty will be given.<br />
Description<br />
•    Description is sometimes used in the search results.<br />
•    Include keywords in the description.<br />
•    255 characters max.<br />
Link Building<br />
•    Link to the home page from each page.<br />
•    Don&#8217;t dilute the theme of the site by linking to other pages that aren&#8217;t related. If you need to, use the &#8216;nofollow&#8217; rel attribute.<br />
&lt;a href=”unrelated.html” rel=”nofollow”&gt;</p>
<p>If it&#8217;s an external link</p>
<p>&lt;a href=”http://www.otherdomain.com/page.html” rel=”external no follow”&gt;<br />
•    Avoid broken links: http://home.snafu.de/tilman/xennlink.html<br />
•    Google asks that any paid links have the no follow attribute.<br />
Site Maps<br />
•    Search engines reward for site maps. Xml-sitemaps.com<br />
•    Place a link to the site map on the home page.<br />
•    The file name should be either sitemap.html or sitemap.php.<br />
Robots.txt<br />
•    mcanerin.com/en/search-engine/robots-txt.asp<br />
•    USER-Agent: *<br />
Disallow: /imgaes/<br />
Disallow: /directory/file.htm<br />
Sitemap: http://www.example.com/sitemap.html<br />
http://www.htaccesstools.com<br />
Re-writing URLs<br />
•    Rewrite old page to a new one<br />
RewriteEngine On<br />
RewriteRule ^old\.html$new.html<br />
•    Rewrite dynamic page<br />
RewriteRule ^([^/]*)\.html$ /viewproducts.php?category=$1 [L]<br />
Will rewrite the url from www.example.com/viewproducts.php?category=sports to www.example.om/sports.html<br />
Redireting Non-WWW to WWW<br />
If search engines crawl over example.com and www.example.com, this can be seen as duplicate content, and if other sites link to example.com and www.example.com then the links are spread out over two different entities. This issue is referred to as non-ww/www canonical issue. This can be solved by a simple redirect.<br />
Rewrites non-www to www<br />
RewriteEngine ON<br />
RewriteCond %{HTTP_HOST} !^www\.example\.com$<br />
RewriteRule (.*) http://www.example.com/$1 [R=301,L]<br />
Rewrites www to non-www<br />
RewriteEngine ON<br />
RewriteCond %{HTTP_HOST} !^example\.com$<br />
RewriteRule (.*) http://example.com/$1 [R=301,L]</p>
]]></content:encoded>
			<wfw:commentRss>http://paulslinuxbox.net/blog/seo/key-word-tools/feed</wfw:commentRss>
		</item>
		<item>
		<title>SimpleTest</title>
		<link>http://paulslinuxbox.net/blog/linux/simpletest</link>
		<comments>http://paulslinuxbox.net/blog/linux/simpletest#comments</comments>
		<pubDate>Thu, 10 Apr 2008 07:32:52 +0000</pubDate>
		<dc:creator>Paul Lyon</dc:creator>
		
		<category><![CDATA[Fedora]]></category>

		<category><![CDATA[Gentoo]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://paulslinuxbox.net/blog/?p=55</guid>
		<description><![CDATA[.code { border-width: thin; border-style: dotted; border-color: red; size: 12pt; background: black; color: lime; } .output { border-width: thin; border-style: solid; border-color: red; size: 12pt; background: black; color: cyan; } div.indent { margin-left: 1.5em; width: 100%; } 
 A while back I was working on a site, and as I was writing the back end [...]]]></description>
			<content:encoded><![CDATA[<style type="text/css">.code { border-width: thin; border-style: dotted; border-color: red; size: 12pt; background: black; color: lime; } .output { border-width: thin; border-style: solid; border-color: red; size: 12pt; background: black; color: cyan; } div.indent { margin-left: 1.5em; width: 100%; } </style>
<p> A while back I was working on a site, and as I was writing the back end and making sure that it works properly I thought to myself &#8220;If .NET has nunit, and Java has junit, does PHP have phpunit, or something similar?&#8221; After some digging I found the answer. The answer I found was yes! In addition to finding unit frame works for PHP I also found some for other languages like ada, haskell and so on:aunit - for Ada<br />
hunit - for Haskell<br />
ant-junit - Apache Ant&#8217;s optional tasks depending on junit<br />
dbunit - DBUnit is a JUnit extension targeted for database-driven pr<br />
ojects.<br />
tagunit - for testing custom JSP tags<br />
xmlunit - for XML<br />
and so on. If you want a complete list, on the command prompt, if you&#8217;re using Gentoo, just type:</p>
<p> <a href="http://paulslinuxbox.net/blog/linux/simpletest#more-55"  class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://paulslinuxbox.net/blog/linux/simpletest/feed</wfw:commentRss>
		</item>
		<item>
		<title>Eclipse, PHP, and XDebug</title>
		<link>http://paulslinuxbox.net/blog/linux/eclipse-php-and-xdebug</link>
		<comments>http://paulslinuxbox.net/blog/linux/eclipse-php-and-xdebug#comments</comments>
		<pubDate>Thu, 10 Apr 2008 07:29:32 +0000</pubDate>
		<dc:creator>Paul Lyon</dc:creator>
		
		<category><![CDATA[Fedora]]></category>

		<category><![CDATA[Gentoo]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://paulslinuxbox.net/blog/?p=54</guid>
		<description><![CDATA[   .code  {  border-width: thin; border-style: dotted; border-color: red; size: 12pt; background: black; color: lime;  }   .output { border-width: thin; border-style: solid; border-color: red; size: 12pt; background: black; color: cyan; }  div.indent {  margin-left: 1.5em;  width: 100%;  }    
In the past [...]]]></description>
			<content:encoded><![CDATA[<style type="text/css">   .code  {  border-width: thin; border-style: dotted; border-color: red; size: 12pt; background: black; color: lime;  }   .output { border-width: thin; border-style: solid; border-color: red; size: 12pt; background: black; color: cyan; }  div.indent {  margin-left: 1.5em;  width: 100%;  }    </style>
<p>In the past I&#8217;ve written how to use Eclipse with phpdbg and ZendDebugger. The phpdbg was short lived as it was replaced with xdebug. According to Zend&#8217;s website, they say that there are no serious limitations of xdebug. However, there <em>may</em> be some limitations when working with other Zend modules.</p>
<p>This is not going to be a problem seeing as all I want to do use it to debug web pages. This will work on either Windows, Linux, and possibly MacOS X.</p>
<p>Since posting about Eclipse and Zend, it has gotten much easier to get Eclipse and configure it for PHP. Go to Eclipse&#8217;s homepage. On the front page there is a link to download the IDE for other languages; click on that and get the one for PHP.</p>
<p> <a href="http://paulslinuxbox.net/blog/linux/eclipse-php-and-xdebug#more-54"  class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://paulslinuxbox.net/blog/linux/eclipse-php-and-xdebug/feed</wfw:commentRss>
		</item>
		<item>
		<title>Java Doc</title>
		<link>http://paulslinuxbox.net/blog/programming/java-doc</link>
		<comments>http://paulslinuxbox.net/blog/programming/java-doc#comments</comments>
		<pubDate>Fri, 04 Apr 2008 01:49:55 +0000</pubDate>
		<dc:creator>Paul Lyon</dc:creator>
		
		<category><![CDATA[Java]]></category>

		<category><![CDATA[Operating Systems]]></category>

		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://paulslinuxbox.net/blog/?p=53</guid>
		<description><![CDATA[Documentation is key when programming. There is the documentation in the code itself such as what the heck you&#8217;re trying to do there. There is also the documentation that describes the functions and objects and how to use them. Luckily there is a tool that helps the programmer create nice HTML documentation based on the [...]]]></description>
			<content:encoded><![CDATA[<p>Documentation is key when programming. There is the documentation in the code itself such as what the heck you&#8217;re trying to do there. There is also the documentation that describes the functions and objects and how to use them. Luckily there is a tool that helps the programmer create nice HTML documentation based on the comments within the code. This knocks out two birds with one stone. Javadoc is the tool to use for this task. There is also PHPdoc as well for, you guessed it PHP.</p>
<p>For this entry we&#8217;ll only be concerned about Javadoc.</p>
<p> <a href="http://paulslinuxbox.net/blog/programming/java-doc#more-53"  class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://paulslinuxbox.net/blog/programming/java-doc/feed</wfw:commentRss>
		</item>
		<item>
		<title>Asus Eee PC, Wine, IE</title>
		<link>http://paulslinuxbox.net/blog/uncategorized/asus-eee-pc-wine-ie</link>
		<comments>http://paulslinuxbox.net/blog/uncategorized/asus-eee-pc-wine-ie#comments</comments>
		<pubDate>Thu, 03 Apr 2008 04:25:24 +0000</pubDate>
		<dc:creator>Paul Lyon</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://paulslinuxbox.net/blog/?p=48</guid>
		<description><![CDATA[The other day my General Manager came to me to ask if I could install Wine on the Eee PC. I thought &#8220;It&#8217;s Linux, why not?&#8221;
I&#8217;m working with the 701 model. The first we need to install wine. The Eee PC uses Xandros which uses the Debian  Package system. Under Settings there is what [...]]]></description>
			<content:encoded><![CDATA[<p>The other day my General Manager came to me to ask if I could install Wine on the Eee PC. I thought &#8220;It&#8217;s Linux, why not?&#8221;</p>
<p>I&#8217;m working with the 701 model. The first we need to install wine. The Eee PC uses Xandros which uses the Debian  Package system. Under <strong>Settings</strong> there is what looks like a program that you can use to install additional programs. Unfortunately all this is used for is updates. In order to get to where we need to be, the terminal, we need to hold <strong>ctrl+alt+T</strong>.</p>
<p> <a href="http://paulslinuxbox.net/blog/uncategorized/asus-eee-pc-wine-ie#more-48"  class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://paulslinuxbox.net/blog/uncategorized/asus-eee-pc-wine-ie/feed</wfw:commentRss>
		</item>
		<item>
		<title>Creating Commands with xargs</title>
		<link>http://paulslinuxbox.net/blog/linux/creating-commands-with-xargs</link>
		<comments>http://paulslinuxbox.net/blog/linux/creating-commands-with-xargs#comments</comments>
		<pubDate>Sun, 24 Feb 2008 03:51:04 +0000</pubDate>
		<dc:creator>Paul Lyon</dc:creator>
		
		<category><![CDATA[Fedora]]></category>

		<category><![CDATA[Gentoo]]></category>

		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://paulslinuxbox.net/blog/?p=51</guid>
		<description><![CDATA[ .code { border-width: thin; border-style: dotted; border-color: red; size: 12pt; background: black; color: lime; } .output { border-width: thin; border-style: solid; border-color: red; size: 12pt; background: black; color: cyan; } div.indent { margin-left: 1.5em; width: 100%; } 
 I have a couple of folders with a ton of compressed files in them. I&#8217;m not [...]]]></description>
			<content:encoded><![CDATA[<style type="text/css"> .code { border-width: thin; border-style: dotted; border-color: red; size: 12pt; background: black; color: lime; } .output { border-width: thin; border-style: solid; border-color: red; size: 12pt; background: black; color: cyan; } div.indent { margin-left: 1.5em; width: 100%; } </style>
<p> I have a couple of folders with a ton of compressed files in them. I&#8217;m not talking about 10 or 20. No I&#8217;m talking about a couple thousand. Instead of spending all eternity uncompressing the files, I did some research into how one would go about having the command line do all the glorious work for him.</p>
<p>One of the requirements was that I didn&#8217;t want to decompress any Japanese files, which were indicated by &#8216;(J)&#8217;. However, if the file was American, European, and Japanese, then I did want the file decompressed. Another problem I had was that the indication of the type of file was clear. It could have either been UE, EU, JUE, UJE, or UEJ.</p>
<p>I wanted to keep the files separated, so I created another directory called <span style="font-weight: bold">dir2</span>, which is the directory I&#8217;m in when I run the following command:</p>
<p class="code">$ ls -1 /home/paulus/dir1 | grep -E &#8216;.*\((E|U|EU|UE|JUE|UJE|UEJ|JU|UJ)\).*\.zip&#8217; | xargs -d&#8217;\n&#8217; -L 1 -I &#8216;{}&#8217; unzip &#8216;../dir1/{}&#8217;</p>
<p>The first command is a very well known command to anyone who has used a *nix distribution. This is listing the files in <span style="font-weight: bold">/home/paulus/dir1. </span>The <span style="font-weight: bold">-1</span> is printing a list of files with one item on each line. The output is piped to the <span style="font-weight: bold">grep</span> command.</p>
<p>The <span style="font-weight: bold">grep</span> command gets a little messy with the <span style="font-style: italic">regular expression.</span> The <span style="font-weight: bold">.</span> (period) is the beginning, the <span style="font-weight: bold">* </span>(Asterisk) is saying &#8220;anything from the beginning to the first parentheses.&#8221; We have to use the back slash to escape it, otherwise it will be interpreted as a condition.</p>
<p>Notice how the second parentheses is not escape, that&#8217;s because we&#8217;re using it like we were if we were doing an if statement. From &#8216;\(&#8217; to &#8216;\)&#8217;, we are using an if statement. So, return true if E or U or EU or UE or JUE or UJE or UEJ or UJ or JU are found. The &#8216;.*&#8217; is saying anything after the &#8216;()&#8217;, then we have the extension, so we&#8217;re only looking at zip files.</p>
<p>Now that the regular expression is out of the way, we can move on to the xargs command. The xargs is used to build and execute command lines from input. Some programs don&#8217;t like to get data piped into it, such as the case of unzip. With the <span style="font-weight: bold">-d<span style="font-weight: bold">&#8216;\n&#8217;</span></span> parameter, we are saying that each line is a separate argument and we are limiting one argument per command by the use of <span style="font-weight: bold">-L 1</span> parameter. <span style="font-weight: bold">-I &#8216;{}&#8217;</span> is saying that we are going to replace <span style="font-weight: bold">{}</span> with an argument, such as one of the file names received from stdin. We finally get to the point where we can use the unzip command as if it were on the command line. xargs will execute &#8216;unzip ../dir1/{}&#8217;, but the actual command that gets sent is <span style="font-weight: bold">unzip ../dir/file.zip</span>, where file.zip is one of the arguments that it was passed.</p>
]]></content:encoded>
			<wfw:commentRss>http://paulslinuxbox.net/blog/linux/creating-commands-with-xargs/feed</wfw:commentRss>
		</item>
		<item>
		<title>Ultimate Weapons for Castlevania: Curse of Darkness</title>
		<link>http://paulslinuxbox.net/blog/games/ultimate-weapons-for-castlevania-curse-of-darkness</link>
		<comments>http://paulslinuxbox.net/blog/games/ultimate-weapons-for-castlevania-curse-of-darkness#comments</comments>
		<pubDate>Thu, 14 Feb 2008 03:13:09 +0000</pubDate>
		<dc:creator>Paul Lyon</dc:creator>
		
		<category><![CDATA[Games]]></category>

		<guid isPermaLink="false">http://paulslinuxbox.net/blog/?p=49</guid>
		<description><![CDATA[I wrote this little guide because I got annoyed when I learned that I didn&#8217;t steal material from a one time only boss or realized that I should got back a few stages to spend a half hour trying to get that one material that I needed. I wanted the most powerful weapons and strongest [...]]]></description>
			<content:encoded><![CDATA[<p>I wrote this little guide because I got annoyed when I learned that I didn&#8217;t steal material from a one time only boss or realized that I should got back a few stages to spend a half hour trying to get that one material that I needed. I wanted the most powerful weapons and strongest armor in the game. This is a very quick and dirty break down on how to get the weapons.</p>
<p> <a href="http://paulslinuxbox.net/blog/games/ultimate-weapons-for-castlevania-curse-of-darkness#more-49"  class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://paulslinuxbox.net/blog/games/ultimate-weapons-for-castlevania-curse-of-darkness/feed</wfw:commentRss>
		</item>
		<item>
		<title>Discovering your Past Lives</title>
		<link>http://paulslinuxbox.net/blog/unexplained/discovering-your-past-lives</link>
		<comments>http://paulslinuxbox.net/blog/unexplained/discovering-your-past-lives#comments</comments>
		<pubDate>Tue, 05 Feb 2008 06:53:28 +0000</pubDate>
		<dc:creator>Paul Lyon</dc:creator>
		
		<category><![CDATA[Unexplained]]></category>

		<guid isPermaLink="false">http://paulslinuxbox.net/blog/?p=46</guid>
		<description><![CDATA[This weekend I finished Discovering Your Past Lives by Gloria Chadwick. I was rather disappointed by the book overall. Perhaps it was because I was expecting more out of it, something more scientific. She did touch on what Alpha and Beta brain waves were and through out the book she kept telling the reader to [...]]]></description>
			<content:encoded><![CDATA[<p>This weekend I finished <u>Discovering Your Past Lives</u> by Gloria Chadwick. I was rather disappointed by the book overall. Perhaps it was because I was expecting more out of it, something more scientific. She did touch on what Alpha and Beta brain waves were and through out the book she kept telling the reader to get &#8216;into Alpha.&#8217; That was the extent of the science.</p>
<p>According to the Author, she makes claim that behaviors, how we talk, books we read, dreams we have, interests, hobbies, talents, and weather we like are all indications of who we were in a past life. Even the jokes we make and how our home is like indicates who we were in a past life. One of the more known is the Birthmark theory. Typically a birthmark is an indication of tramma that you suffered in a past life. One of the most entertaining claims is that deja-vu is a definite sign that something around you was apart of your past life, whether it be a person, place, or thing. I read an article by Rick Nauert Ph.D. There is a mechnism in the brain that distinguishes similar yet distinct places. When we visit a place, neurons in the brain fire creating a blueprint. So next time we see the place, the same neurons fire. When we come into a new place, that is very similar to a place that we&#8217;ve already been, some of the same neurons fire as well as new neurons creating the sensation of deja-vu.</p>
<p>The next major subject of the book is Karma and why we are destined to be reincarnated. We are reincarnated to perfect our souls by learning lessons. If we let someone down in a past life, we must learn that lesson by living it in another life. Frankly, I believe that&#8217;s stupid. I don&#8217;t think I need to learn a lesson by having to live it. Personally the idea of us dying, poking around in the interuim deciding what lessons we want to learn in the next life is completely absurd.</p>
<p>&#8220;Karma is the universal law of cause and effect.&#8221; It <strong>IS</strong> cause and effect, it doesn&#8217;t take a rocket scientist or deep philosopher to come up with that. The cause and effect can be felt from the time an event takes place to whenever it runs out of steam.</p>
<p>Perhaps re-incarnation isn&#8217;t what Gloria thinks it is. Perhaps re-incarnation is something along the lines of us living, then dying, our decaying bodies being used as food for plants, and those plants are consumed by pregnant women who then use that food to sustain the babies still in the womb. Perhaps there is a collective conscience that we all share and that we are nothing more than devices that access that database and utilize it&#8217;s resources to how we feel we can benefit from the situations.</p>
<p>If you are looking to discover who you are, then I don&#8217;t recommend you read this book. The way that the author describes how to retrieve past life memories is weak and can easily be suggested. To me it&#8217;s more about having a buffet of information laid out in front of you and you get to create who you were in a past life. Until there is a method of learning of a past life, if one actually exists or not, we will never know who we were.</p>
]]></content:encoded>
			<wfw:commentRss>http://paulslinuxbox.net/blog/unexplained/discovering-your-past-lives/feed</wfw:commentRss>
		</item>
		<item>
		<title>Recovering iTunes Music</title>
		<link>http://paulslinuxbox.net/blog/linux/recovering-itunes-music</link>
		<comments>http://paulslinuxbox.net/blog/linux/recovering-itunes-music#comments</comments>
		<pubDate>Fri, 01 Feb 2008 01:12:28 +0000</pubDate>
		<dc:creator>Paul Lyon</dc:creator>
		
		<category><![CDATA[Gentoo]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Operating Systems]]></category>

		<guid isPermaLink="false">http://paulslinuxbox.net/blog/?p=41</guid>
		<description><![CDATA[ f.code { border-width: thin; border-style: dotted; border-color: red; size: 12pt; background: black; color: lime; } .output { border-width: thin; border-style: solid; border-color: red; size: 12pt; background: black; color: cyan; } div.indent { margin-left: 1.5em; width: 100%; } 
 Occasionally I will get a customer in my store whose library has been corrupt or lost [...]]]></description>
			<content:encoded><![CDATA[<style type="text/css"> f.code { border-width: thin; border-style: dotted; border-color: red; size: 12pt; background: black; color: lime; } .output { border-width: thin; border-style: solid; border-color: red; size: 12pt; background: black; color: cyan; } div.indent { margin-left: 1.5em; width: 100%; } </style>
<p> Occasionally I will get a customer in my store whose library has been corrupt or lost but their music is still on their iPod. The way that apple designed iTunes is that if the library gets messed up, you run a high risk of losing your music. Fortunately there is a way around  that. What I do to save the customer&#8217;s music is take their iPod, connect it to my Linux computer. In order to see the files on the iPod, you&#8217;re going to need a few drivers either compiled as modules or into the kernel:</p>
<ul class="code">
<li>Device Drivers</li>
<ul>
<li>USB Support</li>
<ul>
<li><*> Support for Host-side USB</li>
<li>[*] USB device filesystem</li>
<li><*> EHCI HCD (USB 2.0) support</li>
<li><*> OHCI HCD support</li>
<li><*> UHCI HCD (most Intel and VIA) support</li>
<li><*> USB Mass Storage support</li>
<li>[*] USB Mass Storage verbose debug</li>
<li>[*] Datafab Compact Flash Reader support (EXPERIMENTAL)</li>
<li>[*] Freecom USB/ATAPI Bridge support</li>
<li>[*] ISD-200 USB/ATA Bridge support</li>
<li>[*] Microtech/ZiO! CompactFlash/SmartMedia support</li>
<li>[*] USBAT/USBAT02-based storage support (EXPERIMENTAL)</li>
<li>[*] SanDisk SDDR-09 (and other SmartMedia) support (EXPERIMENTAL)</li>
<li>[*] SanDisk SDDR-55 SmartMedia support (EXPERIMENTAL)</li>
<li>[*] Lexar Jumpshot Compact Flash Reader (EXPERIMENTAL)</li>
</ul>
</ul>
<li>File systems</li>
<ul>
<li>DOS/FAT/NT Filesystems</li>
<ul>
<li><*> MSDOS fs support</li>
<li><*> VFAT (Windows-95) fs support</li>
</ul>
<li>Miscellaneous filesystems</li>
<ul>
<li><*> Apple Macintosh file system support (EXPERIMENTAL)</li>
<li><*> Apple Extended HFS file system support.</li>
</ul>
</ul>
</ul>
<p>I compiled in all the things under USB support for various other things. If you don&#8217;t need them then you don&#8217;t have to compile them into the kernel.</p>
<p>Once you recompile the kernel or compile the modules and load them, you can connect the iPod to the computer and then mount it. When you try mounting it, it&#8217;s going to be a SCSI device. After you have mounted the iPod, Copy all the m4a files from the ipod_control folder, then re-import them into iTunes.</p>
]]></content:encoded>
			<wfw:commentRss>http://paulslinuxbox.net/blog/linux/recovering-itunes-music/feed</wfw:commentRss>
		</item>
		<item>
		<title>PHP User Authentication</title>
		<link>http://paulslinuxbox.net/blog/programming/php-user-authentication</link>
		<comments>http://paulslinuxbox.net/blog/programming/php-user-authentication#comments</comments>
		<pubDate>Fri, 01 Feb 2008 01:11:13 +0000</pubDate>
		<dc:creator>Paul Lyon</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://paulslinuxbox.net/blog/?p=34</guid>
		<description><![CDATA[ .code { border-width: thin; border-style: dotted; border-color: red; size: 12pt; background: black; color: lime; } .output { border-width: thin; border-style: solid; border-color: red; size: 12pt; background: black; color: cyan; } div.indent { margin-left: 1.5em; width: 100%; } 
The Tables
First we&#8217;re going to need a table to hold the user information. I&#8217;ve done a very [...]]]></description>
			<content:encoded><![CDATA[<style type="text/css"> .code { border-width: thin; border-style: dotted; border-color: red; size: 12pt; background: black; color: lime; } .output { border-width: thin; border-style: solid; border-color: red; size: 12pt; background: black; color: cyan; } div.indent { margin-left: 1.5em; width: 100%; } </style>
<h2>The Tables</h2>
<p>First we&#8217;re going to need a table to hold the user information. I&#8217;ve done a very basic table, you can expand this table to include the user&#8217;s name, e-mail address, street address, etc.</p>
<p class="code">CREATE TABLE TblUsers(<br />
user_id VARCHAR(18) NOT NULL PRIMARY KEY,<br />
user_password VARCHAR(255) NOT NULL,<br />
question TEXT NOT NULL,<br />
q_answer TEXT NOT NULL,<br />
CONSTRAINT user_id_fk FOREIGN KEY(user_id)<br />
REFERENCES TblPermissions(user_id));</p>
<p>For the sake that I can, in the event that you want to limit users to perform certain tasks you can create another table for permissions:</p>
<p class="code">CREATE TABLE TblPermissions(<br />
user_id VARCHAR(18) NOT NULL PRIMARY KEY,<br />
perm_one INT NOT NULL DEFAULT 0 CHECK( perm_one < 1 &#038;&#038; perm_one > 0 ),<br />
perm_two INT NOT NULL DEFAULT 0 CHECK( perm_two < 1 &#038;&#038; perm_two > 0 )<br />
);</p>
<p>I kept this table simple. Obviously, if you wanted to you could definitely add more permissions depending on how big your application or site is. I will explain this in a later entry. We&#8217;re going to need a place for the user to log in. In order for the user to login and remain logged in, we&#8217;re going to have to start a session:</p>
<p class="code">session_start();<br />
Now we must undo what magic quotes does. If magic quotes is enabled, this will undo everything that it did.</p>
<p class="code">if( get_magic_quotes_gpc()) {<br />
$_REQUEST = array_map(&#8217;stripslashes&#8217;, $_REQUEST);<br />
$_COOKIE = array_map(&#8217;stripslashes&#8217;, $_COOKIE);<br />
}</p>
<p>We&#8217;re going to need at least three files for the user to login, do some work, then log out. Again, you can definitely have more pages depending on what you&#8217;re trying to acomplish.</p>
<p>The login page is a very basic page where the person is going to put in their credentials. Behind the scenes the page will submit the data to itself and verify that the user is a valid user. After it determines that the person trying to gain access is valid, it will foreword the user to the second page, which is called main.php in this example.</p>
<p>When storing passwords in a database, it&#8217;s important to encrypt them. <span style="font-weight: bold">NEVER</span> store them in plain text!! The query that we&#8217;d use in this case to create a user would be:</p>
<p class="code">INSERT INTO TblUsers(user_id, user_password, question, q_answer) VALUES(&#8217;test&#8217;, PASSWORD(&#8217;password&#8217;), &#8216;Where was I born?&#8217;, &#8216;New York City&#8217;);</p>
<p>Now, if you wrote a page to add users, the query would look like:</p>
<p class="code">$query = &#8220;INSERT INTO TblUsers(user_id, user_password, question, q_answer) VALUES(&#8217;&#8221; . mysql_real_escape_string($_REQUEST[&#8221;UserID&#8221;] . &#8220;&#8216;, &#8216;&#8221; . mysql_real_escape_string($_REQUEST[&#8221;UserPWD&#8221;] . &#8220;&#8216;, &#8216;&#8221; . mysql_real_escape_string($_REQUEST[&#8221;UserQuestion&#8221;] . &#8220;&#8216;, &#8216;&#8221; . mysql_real_escape_string($_REQUEST[&#8221;UserAnswer&#8221;] . &#8220;&#8216;)&#8221;;</p>
<p>The <span style="font-weight: bold">mysql_real_escape_string</span> function is to ensure that the user isn&#8217;t putting any evil data into the field that would result in data being exposed.</p>
<p>That&#8217;s it! If you want, you can download the files that were used in this entry:</p>
<ul>
<li><a target="_blank" href="http://www.paulslinuxbox.net/blog/wp-content/uploads/2008/01/SQL.txt" >SQL Queries</a></li>
<li><a target="_blank" href="http://www.paulslinuxbox.net/blog/wp-content/uploads/2008/01/login.php.txt" >login.php</a></li>
<li><a target="_blank" href="http://www.paulslinuxbox.net/blog/wp-content/uploads/2008/01/logout.php.txt" >logout.php</a></li>
<li><a target="_blank" href="http://www.paulslinuxbox.net/blog/wp-content/uploads/2008/01/main.php.txt" >main.php</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://paulslinuxbox.net/blog/programming/php-user-authentication/feed</wfw:commentRss>
		</item>
		<item>
		<title>Unit Testing PHP</title>
		<link>http://paulslinuxbox.net/blog/programming/unit-testing-php</link>
		<comments>http://paulslinuxbox.net/blog/programming/unit-testing-php#comments</comments>
		<pubDate>Sun, 30 Dec 2007 01:21:45 +0000</pubDate>
		<dc:creator>Paul Lyon</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://paulslinuxbox.net/blog/?p=35</guid>
		<description><![CDATA[         
 
.code { border-width: thin; border-style: dotted; border-color: red; size: 12pt; background: black; color: lime; } .output { border-width: thin; border-style: solid; border-color: red; size: 12pt; background: black; color: cyan; } div.indent { margin-left: 1.5em; width: 100%; } 





A while back I was working on a [...]]]></description>
			<content:encoded><![CDATA[<style>   <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />      
<style type="text/css"> </style>
<style type="text/css">.code { border-width: thin; border-style: dotted; border-color: red; size: 12pt; background: black; color: lime; } .output { border-width: thin; border-style: solid; border-color: red; size: 12pt; background: black; color: cyan; } div.indent { margin-left: 1.5em; width: 100%; } </style>
<table width="800" cellspacing="2" cellpadding="2" border="1" style="text-align: left">
<tr>
<td></td>
</tr>
</table>
<p>A while back I was working on a site, and as I was writing the back end and making sure that it works properly I thought to myself &#8220;If .NET has nunit, and Java has junit, does PHP have phpunit, or something similar?&#8221; After some digging I found the answer. The answer I found was yes! In addition to finding unit frame works for PHP I also found some for other languages like ada, haskell and so on:</p>
<p>aunit - for Ada<br />
hunit - for Haskell<br />
ant-junit - Apache Ant&#8217;s optional tasks depending on junit<br />
dbunit - DBUnit is a JUnit extension targeted for database-driven pr<br />
ojects.<br />
tagunit - for testing custom JSP tags<br />
xmlunit - for XML<br />
and so on. If you want a complete list, on the command prompt, if you&#8217;re using Gentoo, just type:</p>
<p class="code"># emerge &#8211;search unit | less</p>
<p>and have fun!</p>
<p>For PHP there are a few different ones:</p>
<p>dev-php4/phpunit<br />
dev-php5/phpunit<br />
dev-php/simpletest</p>
<p>At the time of writing this, dev-php4/phpunit is masked, but the version of phpunit for PHP 5 is not. I chose simpletest because I didn&#8217;t have to unmask any packages in order to install it.</p>
<p class="code"># emerge simpletest</p>
<p>BAM! Done!</p>
<p> <a href="http://paulslinuxbox.net/blog/programming/unit-testing-php#more-35"  class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://paulslinuxbox.net/blog/programming/unit-testing-php/feed</wfw:commentRss>
		</item>
		<item>
		<title>Enabling Auto Login in Windows XP and Vista</title>
		<link>http://paulslinuxbox.net/blog/work/enabling-auto-login-in-windows-xp-and-vista</link>
		<comments>http://paulslinuxbox.net/blog/work/enabling-auto-login-in-windows-xp-and-vista#comments</comments>
		<pubDate>Sat, 22 Dec 2007 19:13:25 +0000</pubDate>
		<dc:creator>Paul Lyon</dc:creator>
		
		<category><![CDATA[Operating Systems]]></category>

		<category><![CDATA[Vista]]></category>

		<category><![CDATA[XP]]></category>

		<guid isPermaLink="false">http://paulslinuxbox.net/blog/?p=45</guid>
		<description><![CDATA[Some people don&#8217;t like to enter a user name or password to use their computer. For others it&#8217;s pointless as they are the only one using the computer. To disable the Login Prompt follow the steps below.

Start->Run


Un-check the box that says &#8220;Users must enter a user name and password to use this computer&#8221;


That&#8217;s it. You [...]]]></description>
			<content:encoded><![CDATA[<p>Some people don&#8217;t like to enter a user name or password to use their computer. For others it&#8217;s pointless as they are the only one using the computer. To disable the Login Prompt follow the steps below.</p>
<ol>
<li><strong>Start->Run
<p><img src="http://paulslinuxbox.net/blog/wp-content/uploads/2007/12/auto_login_1.jpg" /></p>
<p></strong></li>
<li>Un-check the box that says <em>&#8220;Users must enter a user name and password to use this computer&#8221;
<p><img src="http://paulslinuxbox.net/blog/wp-content/uploads/2007/12/auto_login_2.jpg" /></em></li>
</ol>
<p>That&#8217;s it. You no longer have to enter a user name or password to use the computer.</p>
]]></content:encoded>
			<wfw:commentRss>http://paulslinuxbox.net/blog/work/enabling-auto-login-in-windows-xp-and-vista/feed</wfw:commentRss>
		</item>
		<item>
		<title>Server Upgrade</title>
		<link>http://paulslinuxbox.net/blog/uncategorized/server-upgrade</link>
		<comments>http://paulslinuxbox.net/blog/uncategorized/server-upgrade#comments</comments>
		<pubDate>Tue, 18 Dec 2007 01:09:19 +0000</pubDate>
		<dc:creator>Paul Lyon</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://paulslinuxbox.net/blog/?p=44</guid>
		<description><![CDATA[About two months ago I received word from my Hosting provider that they will be performing upgrades to their server. After two months, they finally got around to me. I have scheduled the upgrade for December 31 at 00:00, so that&#8217;s 12:00 am, CST.
I can&#8217;t begin to tell you how happy this makes me. When [...]]]></description>
			<content:encoded><![CDATA[<p>About two months ago I received word from my Hosting provider that they will be performing upgrades to their server. After two months, they finally got around to me. I have scheduled the upgrade for December 31 at 00:00, so that&#8217;s 12:00 am, CST.</p>
<p>I can&#8217;t begin to tell you how happy this makes me. When I signed up for them over a year ago, I was only able to use PHP 4, and MySQL 4. On their Windows Server, they were still using .NET 1.1. This was rather frustrating as when I signed up they just said &#8220;PHP, MySQL, and ASP.NET&#8221; It wasn&#8217;t until later they changed it to reflect the actual version.</p>
<p>So by the time the new year starts, I will be able to use PHP 5 and MySQL 5. Hopefully, they will upgrade .NET 2.0.</p>
<p>I&#8217;m praying that there won&#8217;t be any kinks with my blog or anything else on my site. If there is, you know what I&#8217;m going to be doing for the first part of 2008!</p>
]]></content:encoded>
			<wfw:commentRss>http://paulslinuxbox.net/blog/uncategorized/server-upgrade/feed</wfw:commentRss>
		</item>
		<item>
		<title>Changing Images with Java Script</title>
		<link>http://paulslinuxbox.net/blog/programming/changing-images-with-java-script</link>
		<comments>http://paulslinuxbox.net/blog/programming/changing-images-with-java-script#comments</comments>
		<pubDate>Tue, 18 Dec 2007 00:32:27 +0000</pubDate>
		<dc:creator>Paul Lyon</dc:creator>
		
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://paulslinuxbox.net/blog/?p=43</guid>
		<description><![CDATA[ .code { border-width: thin; border-style: dotted; border-color: red; size: 12pt; background: black; color: lime; } .output { border-width: thin; border-style: solid; border-color: red; size: 12pt; background: black; color: cyan; } div.indent { margin-left: 1.5em; width: 100%; } 
 While working on a site, I decided to add some Java Script to the menu bar [...]]]></description>
			<content:encoded><![CDATA[<style type="text/css"> .code { border-width: thin; border-style: dotted; border-color: red; size: 12pt; background: black; color: lime; } .output { border-width: thin; border-style: solid; border-color: red; size: 12pt; background: black; color: cyan; } div.indent { margin-left: 1.5em; width: 100%; } </style>
<p> While working on a site, I decided to add some Java Script to the menu bar so the site would be more interactive. I wanted the image to change so it gave the appearance as if the user is actually clicking on the button. Being a bit rusty on my Java Script I had to look up how one is supposed to reference an object on the page.</p>
<p>I came across a well written tutorial on how to change the images, but there was one minor problem. The script didn&#8217;t work. Perhaps it&#8217;s my web browser, or maybe I&#8217;m doing something wrong. When I look at the code itself it doesn&#8217;t make sense to me. What I kept finding over and over again was this:</p>
<p class="code">document[image_name].src = &#8230;</p>
<p>The problem with the above statement, is that you&#8217;re trying to find the image by referencing the document array with the image name.  That is an array of documents, not an array of images. I played around with this at first thinking that maybe Java Script is a bit funny. The error console in Firefox kept telling me that I was trying to set the property of an object that did not have that property. Further investigation revealed that I was correct in my thinking.</p>
<p>The correct way in setting the source of an image object is actually:</p>
<p class="code">document.images[image_name].src = &#8230;</p>
<p>The best way to change the image when the cursor is over the image is to write a function that can be reused:</p>
<p class="code">function(mouse_over(image_name, image_source)<br />
{<br />
document.images[image_name].src = image_source<br />
}</p>
<p>After including the code in your page, you can use the function like so:</p>
<p class="code"><img name="image_test" src="http://paulslinuxbox.net/blog/img1.jpg" /></p>
]]></content:encoded>
			<wfw:commentRss>http://paulslinuxbox.net/blog/programming/changing-images-with-java-script/feed</wfw:commentRss>
		</item>
		<item>
		<title>Psychic Hearing</title>
		<link>http://paulslinuxbox.net/blog/unexplained/psychic-hearing</link>
		<comments>http://paulslinuxbox.net/blog/unexplained/psychic-hearing#comments</comments>
		<pubDate>Mon, 26 Nov 2007 06:03:21 +0000</pubDate>
		<dc:creator>Paul Lyon</dc:creator>
		
		<category><![CDATA[ESP]]></category>

		<category><![CDATA[Unexplained]]></category>

		<guid isPermaLink="false">http://paulslinuxbox.net/blog/?p=26</guid>
		<description><![CDATA[Unlike the other psychic senses, Psychic Hearing isn&#8217;t as easy as dismiss. Where that feeling you get could just be nervousness, that feeling of knowing could be Deja Vu, and what you see could be dismissed as nothing more than an over active imagination.
Psychic Hearing impressions are usually subtle. This ability is very much like [...]]]></description>
			<content:encoded><![CDATA[<p>Unlike the other psychic senses, Psychic Hearing isn&#8217;t as easy as dismiss. Where that feeling you get could just be nervousness, that feeling of knowing could be Deja Vu, and what you see could be dismissed as nothing more than an over active imagination.</p>
<p>Psychic Hearing impressions are usually subtle. This ability is very much like talking to yourself. People who have this ability may not even know they have it. Often times they rationalize their premenotions being nothing more than an over active imagination. These people tend to ask:</p>
<ul>
<li>Does psychic perception really exist?</li>
<li>Why haven&#8217;t I had the same kind and number of ESP experiences as other people?</li>
<li>Others have strong feelings, experience intuitive premonitions, and see visions. Why doesn&#8217;t that happen to me?</li>
</ul>
<p>The receptive area for psychic hearing is located above the ears. Using this ability is like using your physical ears, but you are not focusing on your ears but the area above them.</p>
<ol>
<li>Sit comfortably; relax.</li>
<li>Take a deep breath and exhale gently.</li>
<li>Practice sensing the different parts of your head area.</li>
<li>Shift your focus upward and sense the area above the ears. This area is about 1 - 2 inches above the ear.</li>
<li>gnote how this area has a hieghtened sensitivity, like a microphone ready to amplify any sound or signal.</li>
<li>Alternate the levels of focus several times, first aiming your awareness at ear level, then letting it slide up to the temporal-lobe area above the ears.</li>
</ol>
<p>Practice by noticing the difference between outer and inner listening. Move to a location where you can hear people talking around you; sit down and relax:</p>
<ul>
<li>Listen to some background converstation and notice how your attentino is not only at ear level, but how your sense of the sound is outside of you.</li>
<li>Shift focus now to the temporal-lobe area and talk to yourself, think to yourself. Notices how your attention is not only above the ear level, but above how your focus is inward.</li>
</ul>
<p>Something that you can do is ask youself questions while you are doing the above exercise. When you ask yourself a question, don&#8217;t analyze it right away, just record it and come back to it later.</p>
<p>While working with psychic hearing you may recieve nothing more than a few words or sounds. These are called keywords. from there you have the skeleton for what you seek. You may also use psychic hearing to obtain your own mantra:</p>
<ol>
<li>sit quietly and relax.</li>
<li>As you breathe omfortably and easily, turn your thoguhts inward and focus on yourself and your day.</li>
<li>Project the mental question and at the same time let it echo in your mind.</li>
<li>Grasp and note the word, phrase, or understanding that comes to your mind.</li>
<li>Continue the process by reviewing the people and events of you upcoming day and getting psychic guidewords for dealing with them.</li>
</ol>
<p><span style="font-weight: bold"><span style="text-decoration: underline">Advantages</p>
<p></span></span></p>
<ul>
<li>At full volume, best for grabbing attention.</li>
<li>Best for getting key guidewords and inital direction</li>
<li>Best for understanding and analyzing a problem or situation.</li>
<li>Best psychic sense for thought projection.</li>
<li>Best for getting specific answers to questoins.</li>
</ul>
<p><span style="text-decoration: underline"><span style="font-weight: bold">Disadvantages<br />
</span></span></p>
<ul>
<li>At low volume, can be confused with thoughts.</li>
<li>One of the slower psychic senses.</li>
<li>One of the hardest psychic sense to develop.</li>
</ul>
<p><span style="text-decoration: underline"><span style="font-weight: bold">Stengths<br />
</span></span></p>
<ul>
<li>Can hear when someone is lying to them.</li>
<li>Are the best at getting keyword mantras</li>
<li>Are the best transmitters of psychic thoughts.</li>
<li>Are least likely to experience psychic overload.</li>
<li>Are direct, uncomplicated initiators.</li>
<li>Are excellent organizers of details</li>
<li>Are the best at receiving and understanding specific psychic information</li>
</ul>
<p><span style="text-decoration: underline"><span style="font-weight: bold">Weaknesses<br />
</span></span></p>
<ul>
<li>Can doubt their psychic potential and talk themselve out of ESP.</li>
<li>Can be overanalytical and ask too many questions.</li>
<li>Can come on too strong and radiate too much mental energy.</li>
<li>Can have trouble trusting feelings and intuition.</li>
<li>Can be least sensitive to psychic subtleties.</li>
</ul>
<p><font size="-2"><em>Personal notes taken from “You are Psychic” by Pete A. Sanders Jr.</em></font></p>
]]></content:encoded>
			<wfw:commentRss>http://paulslinuxbox.net/blog/unexplained/psychic-hearing/feed</wfw:commentRss>
		</item>
		<item>
		<title>PHP, Zend Debugger, Eclipse</title>
		<link>http://paulslinuxbox.net/blog/linux/php-zend-debugger-eclipse</link>
		<comments>http://paulslinuxbox.net/blog/linux/php-zend-debugger-eclipse#comments</comments>
		<pubDate>Mon, 26 Nov 2007 05:49:27 +0000</pubDate>
		<dc:creator>Paul Lyon</dc:creator>
		
		<category><![CDATA[Gentoo]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://paulslinuxbox.net/blog/?p=40</guid>
		<description><![CDATA[ .code { border-width: thin; border-style: dotted; border-color: red; size: 12pt; background: black; color: lime; } .output { border-width: thin; border-style: solid; border-color: red; size: 12pt; background: black; color: cyan; } div.indent { margin-left: 1.5em; width: 100%; } 
A while ago I wrote how you can configure Eclipse, PHP on a Linux machine to debug [...]]]></description>
			<content:encoded><![CDATA[<style type="text/css"> .code { border-width: thin; border-style: dotted; border-color: red; size: 12pt; background: black; color: lime; } .output { border-width: thin; border-style: solid; border-color: red; size: 12pt; background: black; color: cyan; } div.indent { margin-left: 1.5em; width: 100%; } </style>
<p>A while ago I wrote how you can configure Eclipse, PHP on a Linux machine to debug PHP pages using phpdbg. At first this worked very well but after a while break point wouldn&#8217;t work and I would have to restart the session. Another problem that I was having was that the session information was saved. I got around this by clearing out the session information in Firefox. This continued until one day when I tried to start a new debug session and all I got was this:</p>
<p><img width="50%" height="75%" align="middle" src="http://www.paulslinuxbox.net/blog/wp-content/uploads/2007/11/dbg_not_working.png" /></p>
<p>At that point I decided to dump phpdbg and start using the Zend Debugger. Getting the extension to work properly took some time. After many hours of searching the Internet I managed to find a decent site to work off of. Unfortunately, it was aimed at the Windows platform. Getting PHP and eclipse configured was half the battle that I faced.</p>
<p> <a href="http://paulslinuxbox.net/blog/linux/php-zend-debugger-eclipse#more-40"  class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://paulslinuxbox.net/blog/linux/php-zend-debugger-eclipse/feed</wfw:commentRss>
		</item>
		<item>
		<title>Software RAID, Hardware RAID, and Woes Oh My!</title>
		<link>http://paulslinuxbox.net/blog/linux/software-raid-hardware-raid-and-woes-oh-my</link>
		<comments>http://paulslinuxbox.net/blog/linux/software-raid-hardware-raid-and-woes-oh-my#comments</comments>
		<pubDate>Thu, 08 Nov 2007 05:38:05 +0000</pubDate>
		<dc:creator>Paul Lyon</dc:creator>
		
		<category><![CDATA[Fedora]]></category>

		<category><![CDATA[Gentoo]]></category>

		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://paulslinuxbox.net/blog/?p=39</guid>
		<description><![CDATA[ .code { border-width: thin; border-style: dotted; border-color: red; size: 12pt; background: black; color: lime; } .output { border-width: thin; border-style: solid; border-color: red; size: 12pt; background: black; color: cyan; } div.indent { margin-left: 1.5em; width: 100%; } 
I woke up on Halloween to the sound of my music playing. Then all of a sudden [...]]]></description>
			<content:encoded><![CDATA[<style type="text/css"> .code { border-width: thin; border-style: dotted; border-color: red; size: 12pt; background: black; color: lime; } .output { border-width: thin; border-style: solid; border-color: red; size: 12pt; background: black; color: cyan; } div.indent { margin-left: 1.5em; width: 100%; } </style>
<p>I woke up on Halloween to the sound of my music playing. Then all of a sudden it stopped. I got up not thinking much of it. The first thing I do when I get up in the morning is check my email. When Thunderbird didn&#8217;t open and programs stopped responding I got suspicious. I dropped in to VT12 to see what was going on. What was being reported was: <a href="http://paulslinuxbox.net/blog/linux/software-raid-hardware-raid-and-woes-oh-my#more-39"  class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://paulslinuxbox.net/blog/linux/software-raid-hardware-raid-and-woes-oh-my/feed</wfw:commentRss>
		</item>
		<item>
		<title>Communicating with Spirits via the Ouija Board</title>
		<link>http://paulslinuxbox.net/blog/unexplained/communicating-with-spirits-via-the-ouija-board</link>
		<comments>http://paulslinuxbox.net/blog/unexplained/communicating-with-spirits-via-the-ouija-board#comments</comments>
		<pubDate>Sun, 28 Oct 2007 00:20:21 +0000</pubDate>
		<dc:creator>Paul Lyon</dc:creator>
		
		<category><![CDATA[Ghosts]]></category>

		<category><![CDATA[Unexplained]]></category>

		<guid isPermaLink="false">http://paulslinuxbox.net/blog/?p=38</guid>
		<description><![CDATA[It&#8217;s that time of year again. The time of year when the boundaries of the living and the dead are blurred. Where the spirits of the dearly departed come back to Earth. This is also a time of the year where adults and children alike dress up for some good old fashioned trick or treating.
On [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s that time of year again. The time of year when the boundaries of the living and the dead are blurred. Where the spirits of the dearly departed come back to Earth. This is also a time of the year where adults and children alike dress up for some good old fashioned trick or treating.</p>
<p>On All Hallow&#8217;s Eve, some of use will sit down with friends and a Ouija Board to gain insight or have a little fun. I&#8217;ve done some research into the Ouija Board to learn how to use them and play with them safely.<br />
<font size="+2">History</font></p>
<p>In 1853, a French spiritualist named M. Planchette created the early version of the planchette. This early version of what is paired with the Ouija Board was originally used by mediums for automatic writing. It wasn&#8217;t until the planchette made it&#8217;s way to America when a cabinet and coffin maker named, E.C. Reiche took a wooden lap tray and inscribed the letters A-Z, numbers 0 - 9, and the words &#8216;yes&#8217; and &#8216;no&#8217; into it.</p>
<p>Reiche named his board &#8216;Ouija&#8217; because he thought the word &#8216;Ouiji&#8217; was Egyptian for &#8220;Luck.&#8221; The true meaning of the word &#8220;Ouija&#8221; is a combination of the French word &#8220;Oui&#8221; and &#8220;Ja&#8221; which both mean &#8220;Yes.&#8221; Reiche then sold his idea to his friend, Charles Kennard, who later founded the Kennard Novelty Co. Kennard received a patent for the board in 1890 and the first board was sold in 1891.</p>
<p>Not long after the Kennard Novelty Co. started, William Fuld and forced Kennard out of business and changed the name of the business to Ouija Novelty Co. He then began producing the Fuld&#8217;s Talking Board in record numbers. Fuld remained in charge of the business for the next 35 years, but in 1927, he died from falling off the roof of his office building. Whether it was an accident or suicide is unclear.</p>
<p>In 1966 Fuld&#8217;s heirs sold the company to Parker Brothers. The Ouija Board is the only game to outsell Monopoly.</p>
<p><font size="+2">Usage</font></p>
<p>The Ouija Board is extremely easy to use as there is no special requirements other than an open mind. Although one person can use the board, it&#8217;s recommended that at least two people use the board. No more than 5 people should be on the board at one time.</p>
<p>I&#8217;ve read that a Ouija board should be used indoors and indoors as this is a controlled environment for the communicating with spirits. If the session is conducted outside, it&#8217;s said that you may attract elemental spirits by the energy that you&#8217;re trying to channel through the board. These elemental spirits are a lot harder to control. The argument of why you should do it outside is that so nothing remains in your house after you finish your session. If you close the session right, then you don&#8217;t have anything to worry about. I have done sessions in my basement and even on my bed. Afterwards I have not experienced anything out of the ordinary.</p>
<p>When doing a session inside adhere to all the fire safety rules when lighting candles and turn off all the lights. The use of black candles will attract negative entities. So the use of any other candle is fine.</p>
<p>Never use the board while under the influence of drugs or alcohol and remain in a positive frame of mind. In the event that something begins to spell out a sinister word such as devil, demon, 616, etc, dismiss that spirit. If the planchette starts making an infinity symbol or moves to all four corners of board, dismiss that spirit as it is probably an evil one. Another thing to watch out for is if the planchette moves from A to B to C and so on or 1, 2, 3 and so on. Dismiss that spirit.</p>
<p>Once you are done, move the Planchette to goodbye after asking the spirit if you can leave then flip the board. This will ensure that the board is closed.</p>
<p>As I said before, using a Quija Board is very easy. If you really wanted to, you could sit down and start using one and disregard everything that I said or what ever any one else has said. You may not get anything or you may not get what you want.</p>
<p><font size="+2">Things to Remember</font></p>
<ul>
<li>Be serious, but it&#8217;s ok to have a little fun.</li>
<li>Don&#8217;t contact anyone specifically.</li>
<li>Don&#8217;t fully believe or act upon anything that is said.</li>
<li>Be respectful to the spirits even if they are being rude.</li>
<li>Move the planchette to goodbye to end the session after asking them if you can leave. Then flip the board when you&#8217;re done using it.</li>
<li>Never ask the spirit to do anything such as move something in the room or make a noise. By doing this, you&#8217;ve said it can leave the board.</li>
<li>If the planchette moves to all four corners, then it&#8217;s an evil spirit. Dismiss the spirit.</li>
<li>An infinity symbol made with the planchette is also bad.</li>
<li>When the planchette iterates through the alphabet or numbers, then dismiss that spirit.</li>
<li>Do not let the planchette off the board. This is a spirit that is trying to escape.</li>
<li>Don&#8217;t leave the lights on. Leaving the lights on is said to chase them away.</li>
</ul>
<p>Other Advice</p>
<ul>
<li>Have a cup of water and another cup of salt by the board.</li>
<li>Say a prayer of protection and a prayer for after you finish the session.</li>
<li>Burn sage before using the board as it will keep the area clean of bad spirits.</li>
<li>Use a ring of salt around the board to keep the energy contained and anything else out.</li>
<li>Place a pure silver coin on the board to keep evil away.</li>
<li>Have a cup of water to attract spirits.</li>
<li>Don&#8217;t play alone.</li>
</ul>
<p>Questions to Ask</p>
<p>Talking to a spirit is like talking to anyone else. Be respectful and don&#8217;t egg them on. Some good questions to ask are:</p>
<ul>
<li>Are there any spirits here?</li>
<li>Would you like to talk to us?</li>
<li>What is your name?</li>
<li>How old are you?</li>
<li>Where did you live?</li>
<li>When did you die?</li>
<li>How many spirits are here?</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://paulslinuxbox.net/blog/unexplained/communicating-with-spirits-via-the-ouija-board/feed</wfw:commentRss>
		</item>
		<item>
		<title>Corrupted User Profile</title>
		<link>http://paulslinuxbox.net/blog/work/corrupted-user-profile</link>
		<comments>http://paulslinuxbox.net/blog/work/corrupted-user-profile#comments</comments>
		<pubDate>Tue, 16 Oct 2007 18:26:10 +0000</pubDate>
		<dc:creator>Paul Lyon</dc:creator>
		
		<category><![CDATA[Operating Systems]]></category>

		<category><![CDATA[XP]]></category>

		<guid isPermaLink="false">http://paulslinuxbox.net/blog/?p=37</guid>
		<description><![CDATA[If you ever log into your Windows XP account and you see this error:Windows cannot load your profile because it may be corrupted. You may be logged in using a temporary User Profile.
The way that Microsoft says to repair this problem is to backup the user&#8217;s data and recreate the account.
]]></description>
			<content:encoded><![CDATA[<p>If you ever log into your Windows XP account and you see this error:<strong>Windows cannot load your profile because it may be corrupted. You may be logged in using a temporary User Profile.</strong></p>
<p>The way that Microsoft says to repair this problem is to backup the user&#8217;s data and recreate the account.</p>
<p> <a href="http://paulslinuxbox.net/blog/work/corrupted-user-profile#more-37"  class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://paulslinuxbox.net/blog/work/corrupted-user-profile/feed</wfw:commentRss>
		</item>
		<item>
		<title>Gentoo on an HP Pavilion dv5000 (dv5139)</title>
		<link>http://paulslinuxbox.net/blog/linux/gentoo-on-an-hp-pavilion-dv5000-dv5139</link>
		<comments>http://paulslinuxbox.net/blog/linux/gentoo-on-an-hp-pavilion-dv5000-dv5139#comments</comments>
		<pubDate>Fri, 05 Oct 2007 22:46:48 +0000</pubDate>
		<dc:creator>Paul Lyon</dc:creator>
		
		<category><![CDATA[Gentoo]]></category>

		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://paulslinuxbox.net/blog/?p=27</guid>
		<description><![CDATA[ tr { background: black; color: lime; } table { border-width: thin; border-color: #00FF00; size: 12pt; width: 100% } div.indent { margin-left: 1.5em; width: 100%; } 
When my Compaq Presario X1000 (X1010US) died I was sad. It took me some time to get gentoo to work correctly with the hardware. The biggest hurdle that I [...]]]></description>
			<content:encoded><![CDATA[<style type="text/css"> tr { background: black; color: lime; } table { border-width: thin; border-color: #00FF00; size: 12pt; width: 100% } div.indent { margin-left: 1.5em; width: 100%; } </style>
<p>When my Compaq Presario X1000 (X1010US) died I was sad. It took me some time to get gentoo to work correctly with the hardware. The biggest hurdle that I faced was getting the wireless to work. At the time ndiswrapper wasn&#8217;t working very well and would often either lock up my system or cause a kernel panic. The second hurdle that I faced was getting 3d acceleration to work. When I was forced to give up the ghost on my beloved Compaq Presario X1000 I ended up purcharsing a HP Pavilion dv5000 (dv5139).AMD Turion 64 ML-37 (2.0Ghz)<br />
2&#215;1GB DDR333<br />
120GB 5400 RPM Seagate HD<br />
15.4&#8243; Wide 1280&#215;800<br />
ATI XPRESS 200M<br />
8x DVD-RW DL with lightscribe<br />
54a/b/g wireless<br />
Bluetooth<br />
Windows XP MCE 2005 ( which was wiped out right after removing it from the box )</p>
<p>Again, I was having problems with the wireless and video. The laptop has a bcm4319 chip and from what I&#8217;ve read, the native Linux kernel only has drivers that support the bcm4318 and earlier. However, I was able to get the ndiswrapper to work with the Windows drivers. The video card took a lot of monkeying around with but after many many hours I was able to get it to work. Unforunately there are some strange bugs in the driver such as once X starts you can&#8217;t switch back to the VT without seeing some tripy colours.<br />
 <a href="http://paulslinuxbox.net/blog/linux/gentoo-on-an-hp-pavilion-dv5000-dv5139#more-27"  class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://paulslinuxbox.net/blog/linux/gentoo-on-an-hp-pavilion-dv5000-dv5139/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
