<?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>The Leprechaun Works, LLC &#187; tutorial</title>
	<atom:link href="http://www.leprechaunworks.com/content/tag/tutorial/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.leprechaunworks.com/content</link>
	<description>Useable technology</description>
	<lastBuildDate>Mon, 31 Jan 2011 13:00:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Convert Ebooks From Your Local Library To Use On Your Kindle</title>
		<link>http://www.leprechaunworks.com/content/2011/01/14/convert-ebooks-from-your-local-library-to-use-on-your-kindle/</link>
		<comments>http://www.leprechaunworks.com/content/2011/01/14/convert-ebooks-from-your-local-library-to-use-on-your-kindle/#comments</comments>
		<pubDate>Fri, 14 Jan 2011 13:57:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[kindle]]></category>
		<category><![CDATA[library]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.leprechaunworks.com/content/?p=363</guid>
		<description><![CDATA[The Kindle is a fantastic device for reading books. Unfortunately, it doesn&#8217;t support all ebook formats. You can however convert ebooks from one format to another quite easily. The Columbus Public Library has a relationship with Overdrive as do many public libraries across the country. Unfortunately, Overdrive distributes most books in epub format. The Kindle [...]]]></description>
			<content:encoded><![CDATA[<p>The Kindle is a fantastic device for reading books. Unfortunately, it doesn&#8217;t support all ebook formats. You can however convert ebooks from one format to another quite easily.</p>
<p>The Columbus Public Library has a relationship with Overdrive as do many public libraries across the country. Unfortunately, Overdrive distributes most books in epub format. The Kindle does not support this format. To get the book onto your Kindle you need to convert it to a format that the Kindle can read. The Kindle does support the Mobi format and you can easily convert the file using Open Source software.</p>
<p>To get the book, you will need a few things.</p>
<ol>
<li>Your Library card</li>
<li><a href="http://www.adobe.com/products/digitaleditions/">Adobe Digital Editions</a></li>
<li><a href="http://www.overdrive.com/Software/omc/">Overdrive Media Console</a></li>
</ol>
<p>We suggest downloading and installing the software before attempting to checkout an ebook from your library. Once the software is installed, you can access Overdrive from your library&#8217;s web site or by visiting Overdrive directly. Even though the ebooks are digital, Overdrive still limits how many copies are available. So, much like the real library you may have to place a hold on a popular item. Once a book is available, you will be able to add it to your cart and start the download.</p>
<p>You have downloaded the book and now need to convert it. The software of choice is called <a href="http://calibre-ebook.com/">Calibre</a>. <div class="rounded">
<a href="http://www.leprechaunworks.com/content/wp-content/gallery/website/calibre.jpg" title="" class="shutterset_singlepic97" >
    <img class="ngg-singlepic ngg-right" src="http://www.leprechaunworks.com/content/wp-content/gallery/cache/97__320x240_calibre.jpg" alt="calibre" title="calibre" />
</a>
</div>
</p>
<p>After installing Calibre, it will run you through a wizard when it first runs. The wizard is very clear and self-explanatory. To convert a book, you will need to add the book to Calibre before you can convert it. Once you have added the book, select it in the middle view and click convert. That&#8217;s pretty much it. It will create a Mobi file which you can copy to your Kindle or optionally email to yourself through Amazon&#8217;s service.</p>
<p>So, you might have had a problem. It might tell you that the download is protected and cannot be converted. Overdrive protects many of its books with DRM and will prevent Calibre from converting the book. The solution is to remove the DRM, however, this is against the law.</p>
<p>DRM or Digital Rights Management is protected in the United States under the Digital Millennium Copyright Act. This laws makes it illegal to remove copy protection. We personally find this law ridiculous, but we must warn you that it is indeed against the law.</p>
<p>So, if you still want to remove the DRM, you can easily find the tools on the internet. The easiest to find is a set of scripts for a scripting language called Python. To use the scripts you will need to install Python as well as a cryptography module.</p>
<p>Tools</p>
<ol>
<li><a href="http://www.python.org/download/">Python</a></li>
<li><a href="http://www.voidspace.org.uk/python/modules.shtml#pycrypto">PyCrypto</a></li>
<li>Ineptkey.pyw (Windows) or Ineptkeymac.pyw (OS X) <a href="http://www.google.com/search?q=Ineptkey.pyw">Search on Google</a></li>
<li>Ineptepub.pyw <a href="http://www.google.com/search?q=Ineptkey.pyw">Search on Google</a></li>
</ol>
<p>Because of the DMCA, we cannot host the inept files. You can easily find them by searching for them on Google. Links are provided above.</p>
<p>Install Python, then the crypto module. Once, Python is installed, you can run ineptkey.pyw by simply double clicking on it. This program will create the keys file, called adeptkey.der.</p>
<p>To remove the DRM from your ebook(s), you first run the ineptepub.pyw. This will open a window with three options. It will most likely have the key file already populated. The remaining two are the input path and output path. The great thing about this tool is that it will remove DRM on multiple books at the same time. Just put them all in one directly and set your input path to that directory. Set the output directory to a folder where you want the ebooks without DRM to be saved. Lastly, click the Decrypt Whole Directorybutton and wait for it to finish.</p>
<p>That&#8217;s it. After you have removed the DRM, you can simply go back to Calibre and convert them to your format of choice. Have fun playing with your new Kindle.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.leprechaunworks.com/content/2011/01/14/convert-ebooks-from-your-local-library-to-use-on-your-kindle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tip: Clean Electronic Screens Easily Without Expensive Cleaners</title>
		<link>http://www.leprechaunworks.com/content/2010/12/09/tip-clean-electronic-screens-easily-without-expensive-cleaners/</link>
		<comments>http://www.leprechaunworks.com/content/2010/12/09/tip-clean-electronic-screens-easily-without-expensive-cleaners/#comments</comments>
		<pubDate>Thu, 09 Dec 2010 22:14:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.leprechaunworks.com/content/?p=315</guid>
		<description><![CDATA[A year or so ago, I bought a cute little package of cleaning swabs along with a small little rag to clean my wife&#8217;s Macbook Pro. The cleaning kit was ridiculously expensive and I was apprehensive about buying it, but I didn&#8217;t see any other options. The reality is that simple microfiber clothes work much [...]]]></description>
			<content:encoded><![CDATA[<p><div class="rounded">
<a href="http://www.leprechaunworks.com/content/wp-content/gallery/flickr/micro-fiber-towels.jpg" title="" class="shutterset_singlepic77" >
    <img class="ngg-singlepic ngg-right" src="http://www.leprechaunworks.com/content/wp-content/gallery/cache/77__320x240_micro-fiber-towels.jpg" alt="micro-fiber-towels" title="micro-fiber-towels" />
</a>
</div>
A year or so ago, I bought a cute little package of cleaning swabs along with a small little rag to clean my wife&#8217;s Macbook Pro. The cleaning kit was ridiculously expensive and I was apprehensive about buying it, but I didn&#8217;t see any other options.</p>
<p>The reality is that simple microfiber clothes work much better with no cleaning solution necessary. Microfiber towels can be purchased virtually anyplace and don&#8217;t require soap or chemicals to work. Just rub the screen with a clean dry microfiber cloth until clean. Done. If your microfiber cloth gets dirty, just throw it in the laundry with the rest of the clothes and you are ready for your next cleaning job.</p>
<p>Save yourself some money and buy a microfiber cloth and use it to clean all of your electronic screens. It will work whether you have an old laptop screen, shiny new iPad or maybe an older iPhone.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.leprechaunworks.com/content/2010/12/09/tip-clean-electronic-screens-easily-without-expensive-cleaners/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Tutorial: Fix Guitar Hero / Rock band Drum Kit Cymbal cable</title>
		<link>http://www.leprechaunworks.com/content/2010/12/04/tutorial-fix-guitar-hero-rock-band-drum-kit-cymbal-cable/</link>
		<comments>http://www.leprechaunworks.com/content/2010/12/04/tutorial-fix-guitar-hero-rock-band-drum-kit-cymbal-cable/#comments</comments>
		<pubDate>Sat, 04 Dec 2010 15:06:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[guitar hero]]></category>
		<category><![CDATA[rock band]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.leprechaunworks.com/content/?p=300</guid>
		<description><![CDATA[So, your kids are rocking out (maybe you?) and one of the stupid cymbals stops working. What now? We&#8217;ll you actually have a lot of options. The internet is full of information on fixing Guitar Hero drums. The truth is the quality is pretty pathetic and they seem to break quite often. Today, we are [...]]]></description>
			<content:encoded><![CDATA[<p>So, your kids are rocking out (maybe you?) and one of the stupid cymbals stops working. What now? We&#8217;ll you actually have a lot of options. The internet is full of information on fixing Guitar Hero drums. The truth is the quality is pretty pathetic and they seem to break quite often.</p>
<p>Today, we are going to tackle a common problem with the cymbals involving the cord. To test whether this might be your problem, simply go into practice in Guitar Hero or Rock Band so you can get visual feedback on your drums. You should be able to press the wire to one side while drumming on the cymbal. You might find that pressing one direction results in your cymbal magically working again. To fix this problem you can buy replacement cables from several web sites. If you are more inclined to fix it yourself, then read on.</p>
<p>Mini stereo phone plugs are either meant to accept 2 or 3 wires. You can use either for this fix, but the wire coming from the drum kit only has two wires. We bought a replacement mini stereo phone plug from Radio Shack for less than $4.00. <div class="rounded">
<a href="http://www.leprechaunworks.com/content/wp-content/gallery/guitar-hero/plugcut.jpg" title="" class="shutterset_singlepic75" >
    <img class="ngg-singlepic ngg-right" src="http://www.leprechaunworks.com/content/wp-content/gallery/cache/75__320x240_plugcut.jpg" alt="plugcut" title="plugcut" />
</a>
</div>
</p>
<p>Now for the hard part. Convince yourself that the game doesn&#8217;t work as is, so it isn&#8217;t likely that you will damage it further. Take scissors, side cutters or your cutting instrument of choice and cut the end off of the cymbal connector. This is the part that plugs into your cymbal and what you will be replacing. You will then need to remove the insulation( the rubber coating) from the wire for about 1/2 an inch. The video below shows a clever way to strip the insulation without cutting into the shielding wires. You can try to use normal wire strippers, but this method seemed for more accurate. What is left looks like a silver wire. There are many individual wires around the outside of another coated wire. All of these wires will be twisted together to make the wire for the sleeve. The center wire needs to have some insulation stripped from it as well so that it can be soldered to the pin of the connector. Don&#8217;t get carried away here. Just strip about half of the amount from last time, or about a 1/4 of an inch. You want to try to prevent these wires from touching after they are soldered. They will create a short if they touch.</p>
<p>Once you have your wire prepared, you will need to slide the connector cover onto the wire. We taped this away from the end of the wire to prevent it from falling into our work. Lastly, we will solder the wires onto the pins. The shielding wires should be twisted together at this point forming what looks like another wire. This wire will be soldered onto the sleeve pin. This pin is most likely on the right hand side and might be longer than the other one. If you look carefully, the pins are fairly easy to identify. The tip pin connects to the center of the connector. The sleeve pin is an extension of the sleeve on the outside of the connector. The center wire will be soldered to the tip pin. <div class="rounded">
<a href="http://www.leprechaunworks.com/content/wp-content/gallery/guitar-hero/miniplug.jpg" title="" class="shutterset_singlepic76" >
    <img class="ngg-singlepic ngg-right" src="http://www.leprechaunworks.com/content/wp-content/gallery/cache/76__320x240_miniplug.jpg" alt="miniplug" title="miniplug" />
</a>
</div>
</p>
<p>So to clarify. Tip pin = center wire, Sleeve pin = shielding wires that have been twisted together.</p>
<p>A Tip. Soldering is much easier if you tin both the wires and the connectors.</p>
<p>Below is a video detailing this process. In this case, they have a three wire cable, but you can simply ignore the shielding in this case. It gives good detail on tinning the connectors and wires. It also shows the method mentioned above for removing the insulation. All in all, this isn&#8217;t a hard fix and should take less than 30 minutes.</p>
<div style="background: none repeat scroll 0% 0% #000000; width: 540px; height: 334px;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="540" height="334" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="name" value="Metacafe_2122653" /><param name="flashvars" value="playerVars=showStats=yes|autoPlay=no|videoTitle=Grado Lab " /><param name="src" value="http://www.metacafe.com/fplayer/2122653/grado_lab_the_dark_art_project_episode_2_recabling_part2.swf" /><param name="wmode" value="transparent" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="540" height="334" src="http://www.metacafe.com/fplayer/2122653/grado_lab_the_dark_art_project_episode_2_recabling_part2.swf" allowfullscreen="true" wmode="transparent" flashvars="playerVars=showStats=yes|autoPlay=no|videoTitle=Grado Lab " name="Metacafe_2122653"></embed></object></div>
<div style="font-size: 12px;"><a href="http://www.metacafe.com/watch/2122653/grado_lab_the_dark_art_project_episode_2_recabling_part2/">Grado Lab &#8220;The Dark Art&#8221; Project-Episode 2-Recabling Part2</a> &#8211; <a href="http://www.metacafe.com/">For more funny movies, click here</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.leprechaunworks.com/content/2010/12/04/tutorial-fix-guitar-hero-rock-band-drum-kit-cymbal-cable/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Problem and Fix: Internet pauses or hangs for minutes and eventually resumes</title>
		<link>http://www.leprechaunworks.com/content/2010/04/21/problem-and-fix-internet-pauses-or-hangs-for-minutes-and-eventually-resumes/</link>
		<comments>http://www.leprechaunworks.com/content/2010/04/21/problem-and-fix-internet-pauses-or-hangs-for-minutes-and-eventually-resumes/#comments</comments>
		<pubDate>Wed, 21 Apr 2010 12:49:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[avg free]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[microsoft security essentials]]></category>
		<category><![CDATA[problem]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.leprechaunworks.com/content/?p=280</guid>
		<description><![CDATA[We recently had several computers that had problems with the computers hanging for several minutes at a time. At the time, it was hard to diagnose what the cause might be. We even thought that the hardware was failing in several locations.]]></description>
			<content:encoded><![CDATA[<p>We recently had several computers that had problems with the computers hanging for several minutes at a time. At the time, it was hard to diagnose what the cause might be. We even thought that the hardware was failing in several locations.</p>
<p>The symptoms of the internet hanging also seemed to hang the entire computer. Accessing other applications was slow or inaccessible. We tried multiple browsers, new network cards, and ran the latest anti-malware, anti-spyware, and anti-virus scans all with no success.</p>
<p>In the end we removed Microsoft Security Essentials and our problem went away. There were a few posts regarding problems with Symantec Workspace Virtualization and Microsoft Security Essentials. In our case, we did have the Symantec Workspace Virtualization application installed but needed it for other applications.</p>
<p>Microsoft Security Essentials had worked flawlessly up until this point and is considered a reliable anti-virus application. We chose AVG Free as an alternative anti-virus. This application is also free and allowed us to keep the virtualization software.</p>
<p>Note: There does not seem to be anyway to disable Microsoft Security Essentials. Because of this, you need to uninstall to see if this fixes your problem.</p>
<p><a href="http://free.avg.com/us-en/download-avg-anti-virus-free">AVG Free, http://free.avg.com/us-en/download-avg-anti-virus-free</a><br />
<a href="http://www.microsoft.com/security_essentials/">Microsoft Security Essentials, http://www.microsoft.com/security_essentials/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.leprechaunworks.com/content/2010/04/21/problem-and-fix-internet-pauses-or-hangs-for-minutes-and-eventually-resumes/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Better Image Selection with NextGen Gallery and WordPress</title>
		<link>http://www.leprechaunworks.com/content/2010/02/15/better-image-selection-with-nextgen-gallery-and-wordpress/</link>
		<comments>http://www.leprechaunworks.com/content/2010/02/15/better-image-selection-with-nextgen-gallery-and-wordpress/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 15:02:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[nextgen]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.leprechaunworks.com/content/?p=260</guid>
		<description><![CDATA[By default the NextGen gallery plugin for WordPress displays images by their gallery id and filename. We find it hard to find our desired image in galleries with numerous images based on filename. Most of the time our filenames have no meaning. However, a simple change to a source file will display the description in [...]]]></description>
			<content:encoded><![CDATA[<p>By default the NextGen gallery plugin for WordPress displays images by their gallery id and filename. We find it hard to find our desired image in galleries with numerous images based on filename. Most of the time our filenames have no meaning. However, a simple change to a source file will display the description in the selection dropdown menu making searching much easier.</p>
<p>Note: This method depends on having descriptions for your images. Obviously, if you do not fill in descriptions then your dropdown menu is going to display blank listings. Manage galleries allows you to edit numerous details of your images including the description.</p>
<div class="ngg-border">
<a href="http://www.leprechaunworks.com/content/wp-content/gallery/nextgen-wordpress/directory.gif" title="directory" class="shutterset_singlepic70" >
    <img class="ngg-singlepic ngg-left" src="http://www.leprechaunworks.com/content/wp-content/gallery/cache/70__320x240_directory.gif" alt="directory" title="directory" />
</a>
</div>
We are looking for a file named window.php which is inside the tinymce directory under the admin root.</p>
<div style="clear:both;"></div>
<p>Open the file in your text editor of choice and navigate to the section that starts with
<div class="dean_ch" style="white-space: nowrap;">&lt;!&#8211; single pic panel &#8211;&gt;</div>
<p>. There will be a second
<div class="dean_ch" style="white-space: nowrap;">&lt;!&#8211; single pic panel &#8211;&gt;</div>
<p> at the end of the section.</p>
<p>All we need to do is to change the id and filename to description. Alternatively, you could use the alttext property instead of description ($picture->alttext).</p>
<p>Here is the original code.</p>
<div class="dean_ch" style="white-space: nowrap;"><span class="kw1">foreach</span><span class="br0">&#40;</span><span class="re0">$picturelist</span> <span class="kw1">as</span> <span class="re0">$picture</span><span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; <a href="http://www.php.net/echo"><span class="kw3">echo</span></a> <span class="st0">&#8221;</span>. <span class="re0">$picture</span>-&gt;<span class="me1">pid</span> . <span class="st0">&#8216; &#8211; &#8216;</span> . <span class="re0">$picture</span>-&gt;<span class="me1">filename</span>.<span class="st0">&#8221;</span>.<span class="st0">&quot;<span class="es0">\n</span>&quot;</span>;<br />
<span class="br0">&#125;</span><br />
&nbsp;</div>
<p>Here is the modified code.</p>
<div class="dean_ch" style="white-space: nowrap;"><span class="kw1">foreach</span><span class="br0">&#40;</span><span class="re0">$picturelist</span> <span class="kw1">as</span> <span class="re0">$picture</span><span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; <a href="http://www.php.net/echo"><span class="kw3">echo</span></a> <span class="st0">&#8216; &#8216;</span>. <span class="re0">$picture</span>-&gt;<span class="me1">description</span> .<span class="st0">&#8221;</span>.<span class="st0">&quot;<span class="es0">\n</span>&quot;</span>;<br />
<span class="br0">&#125;</span><br />
&nbsp;</div>
<p>Keep in mind that you are editing a plugin directly. This means that you will need to repeat this step whenever you update your NextGen gallery plugin.</p>
<p><div class="ngg-border">
<a href="http://www.leprechaunworks.com/content/wp-content/gallery/nextgen-wordpress/unmodified.gif" title="unmodified" class="shutterset_singlepic72" >
    <img class="ngg-singlepic ngg-left" src="http://www.leprechaunworks.com/content/wp-content/gallery/cache/72__320x240_unmodified.gif" alt="unmodified" title="unmodified" />
</a>
</div>
 <div class="ngg-border">
<a href="http://www.leprechaunworks.com/content/wp-content/gallery/nextgen-wordpress/modified.gif" title="modified" class="shutterset_singlepic71" >
    <img class="ngg-singlepic ngg-left" src="http://www.leprechaunworks.com/content/wp-content/gallery/cache/71__320x240_modified.gif" alt="modified" title="modified" />
</a>
</div>

<div style="clear:both;"></div>
]]></content:encoded>
			<wfw:commentRss>http://www.leprechaunworks.com/content/2010/02/15/better-image-selection-with-nextgen-gallery-and-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Updating Netbeans installations</title>
		<link>http://www.leprechaunworks.com/content/2009/12/09/updating-netbeans-installations/</link>
		<comments>http://www.leprechaunworks.com/content/2009/12/09/updating-netbeans-installations/#comments</comments>
		<pubDate>Wed, 09 Dec 2009 14:42:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[netbeans]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.leprechaunworks.com/content/?p=220</guid>
		<description><![CDATA[We love Netbeans but like many Open Source projects, they release new versions on a regular basis. The community is also very active in fixing bugs. You can report bugs and download a nightly build as soon as the problem is fixed. Each download always installed into its own directory. In the beginning this bothered us because we would end up with many versions of the application installed on our system. In the end, this is in fact a very good thing.]]></description>
			<content:encoded><![CDATA[<p><div class="adSquare"><script type="text/javascript"><!--
                google_ad_client = "pub-8377860022408081";
                /* button for images */
                google_ad_slot = "6390324464";
                google_ad_width = 300;
                google_ad_height = 250;
                //-->
                </script>
                <script type="text/javascript"
                src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
                </script></div> <div class="rounded">
<a href="http://www.leprechaunworks.com/content/wp-content/gallery/tutorials/untitled-1.jpg" title="Different download options highlighted" class="shutterset_singlepic53" >
    <img class="ngg-singlepic" src="http://www.leprechaunworks.com/content/wp-content/gallery/cache/53__320x240_untitled-1.jpg" alt="Netbeans web site" title="Netbeans web site" />
</a>
<div class="flickrCaption"><span>Different download options highlighted</span></div>
</div>
 We love Netbeans but like many Open Source projects, they release new versions on a regular basis. The community is also very active in fixing bugs. You can report bugs and download a nightly build as soon as the problem is fixed. Each download always installed into its own directory. In the beginning this bothered us because we would end up with many versions of the application installed on our system. In the end, this is in fact a very good thing.</p>
<p>By having multiple versions installed in different directories, you can use any of them and know that they are isolated from each other. So, you can go grab that nightly build and know that it isn&#8217;t going to break your stable development platform. Furthermore, if you follow a couple of simple steps, the platform will also update its plugins.</p>
<p>If you want to try a new build, simply download it and install it. After this, just start the application. The application will then detect and ask if you want to import settings from a previous version. Once the application fully opens, it will then look at any installed plugins from previous versions and ask if you want to import them. It will also warn you if an older plugin isn&#8217;t compatible with the new build.</p>
<p>So, in the end all you really need to do is run the new build before you uninstall any previous builds. Eventually, you will need to uninstall old builds, but there really isn&#8217;t any rush since they are isolated.</p>
<p>Have fun and go grab the newest build of <a href="http://netbeans.org/downloads/">Netbeans</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.leprechaunworks.com/content/2009/12/09/updating-netbeans-installations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Letters to mom and dad: Use your keyboard shortcuts</title>
		<link>http://www.leprechaunworks.com/content/2009/12/07/letters-to-mom-and-dad-use-your-keyboard-shortcuts/</link>
		<comments>http://www.leprechaunworks.com/content/2009/12/07/letters-to-mom-and-dad-use-your-keyboard-shortcuts/#comments</comments>
		<pubDate>Mon, 07 Dec 2009 16:29:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Letters to mom and dad]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.leprechaunworks.com/content/?p=210</guid>
		<description><![CDATA[This is the first in a series of letters to mom and dad. Many of us have or are parents who are mostly computer literate, but sometimes wish we knew more. This series will explore technology that may be unfamiliar to us.]]></description>
			<content:encoded><![CDATA[<p><div class="adSquare"><script type="text/javascript"><!--
                google_ad_client = "pub-8377860022408081";
                /* button for images */
                google_ad_slot = "6390324464";
                google_ad_width = 300;
                google_ad_height = 250;
                //-->
                </script>
                <script type="text/javascript"
                src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
                </script></div> <div class="rounded">
<a href="http://www.leprechaunworks.com/content/wp-content/gallery/flickr/313251851_8529ec8f1d.jpg" title="&lt;div xmlns:cc=&quot;http://creativecommons.org/ns#&quot; about=&quot;http://www.flickr.com/photos/spadgy/313251851/&quot;&gt;&lt;a rel=&quot;cc:attributionURL&quot; href=&quot;http://www.flickr.com/photos/spadgy/&quot;&gt;spadgy&lt;/a&gt; / &lt;a rel=&quot;license&quot; href=&quot;http://creativecommons.org/licenses/by/2.0/&quot;&gt;CC BY 2.0&lt;/a&gt;&lt;/div&gt;" class="shutterset_singlepic52" >
    <img class="ngg-singlepic" src="http://www.leprechaunworks.com/content/wp-content/gallery/cache/52__320x240_313251851_8529ec8f1d.jpg" alt="Black Keyboard" title="Black Keyboard" />
</a>
<div class="flickrCaption"><span><div xmlns:cc="http://creativecommons.org/ns#" about="http://www.flickr.com/photos/spadgy/313251851/"><a rel="cc:attributionURL" href="http://www.flickr.com/photos/spadgy/">spadgy</a> / <a rel="license" href="http://creativecommons.org/licenses/by/2.0/">CC BY 2.0</a></div></span></div>
</div>
This is the first in a series of letters to mom and dad. Many of us have or are parents who are computer literate, but sometimes wish we knew more. This series will explore technology that may be unfamiliar to us.</p>
<p>With the explosion of laptops and netbooks, many of us are tied to a little touch pad to move around our computers. It usually isn&#8217;t practical to hook up a mouse even though this makes navigating easier. The alternative is to use your keyboard.</p>
<p>We are still surprised that so few people know the shortcuts for simple tasks such as copying and pasting. We will cover the most common shortcuts and try to cover a few that may be less obvious.</p>
<p>First, what is a keyboard shortcut? It usually involves holding two or more keys are once, although some shortcuts only use a single key.</p>
<p>On Windows based computers, most shortcuts involve holding the control (CTRL) key and the pressing another key in combination. If you are using an Apple computer, then you likely will hold down the Command key. In the past, many of our friends called it the flower key. It looks sort of like a four leaf clover. It also may sometimes have an apple logo on it. On either Windows or Mac OS based computers, the key is usually to the left of your spacebar. Sometimes, you will have more than one Ctrl key on Windows computers.</p>
<p>Let&#8217;s get to the meat of this tutorial. From now on, we will use ctrl to describe the shortcut. If you are on an Apple computer, substitute the Apple command key for the Windows ctrl key. We are using the plus symbol to connect the two keys. So, if you see ctrl + c, we want you to hold the ctrl key and the c key at the same time.</p>
<p><strong>Absolutely, MUST know keyboard shortcuts.</strong></p>
<p>All of our copy and paste commands. Obviously, you need to have text selected to use cut and copy.</p>
<p><strong>Ctrl + c</strong>: Copy<br />
<strong>Ctrl + x</strong>: Cut<br />
<strong>Ctrl + v</strong>: Paste</p>
<p><strong>Some navigation keys</strong></p>
<p><strong>Tab</strong>: The tab key will move between controls and will move text to the right in tab increments.<br />
<strong>Shift + Tab</strong>: This moves backwards through controls and moves text to the left in tab increments.<br />
<strong>Ctrl + arrow keys</strong>: By holding down the CTRL key and the left or the right arrow, you can skip through sentences, by one word at a time.<br />
<strong>Shift</strong>: This allows you to select text. If you hold shift with another modifier key(s), you can move through a sentence.<br />
For example, hold Shift and then pressing either the right or left arrow keys will add to or take away letters from a selection<br />
Additionally, hold Shift + ctrl and then pressing your right or left arrow key will add or take away entire words from a selection</p>
<p><strong>Home</strong>: Takes you to the beginning of a text line.<br />
<strong>Ctrl + home</strong>: Takes you to the top of the page and the beginning of the line.</p>
<p><strong>End</strong>: Takes you to the end of the line.<br />
<strong>Ctrl + End</strong>: Takes you to the end of the page and the end of the line.</p>
<p><strong>Some other useful keys</strong></p>
<p><strong>Ctrl + A</strong>: Selects all, this might be all text or an entire image.<br />
<strong>Ctrl + P</strong>: Prints<br />
<strong>F1</strong>: Open Help. This is the first function key we have covered: Function keys do different things in almost every program. But F1 is usually reserved for accessing Help.</p>
<p><strong>A couple of web browser specific shortcuts</strong></p>
<p><strong>Ctrl + L</strong>: Selects all text in the location textbox. This allows you to start typing a new url<br />
<strong>Ctrl + E</strong>: Jumps to the search Window<br />
<strong>Ctrl + Enter</strong>: This is an interesting one. If in the location textbox, just type the center portion of your url and the browser will complete the rest.<br />
For example, you want to go to http://www.outlookutilities.com. Simply type, outlookutilities and then hit ctrl + enter. The web browser will fill in the www and com portions for you.</p>
<p>Lastly, if stuck, use your Esc key. It will get you out of most binds. Take the time to learn your shortcuts. They can save a huge amount of time and make your time spent in front of a computer, much more enjoyable.</p>
<p>Check back for future articles in this series.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.leprechaunworks.com/content/2009/12/07/letters-to-mom-and-dad-use-your-keyboard-shortcuts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NetBeans and Ant, a great combination</title>
		<link>http://www.leprechaunworks.com/content/2009/11/16/netbeans-and-ant-a-great-combination/</link>
		<comments>http://www.leprechaunworks.com/content/2009/11/16/netbeans-and-ant-a-great-combination/#comments</comments>
		<pubDate>Mon, 16 Nov 2009 12:00:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[ant]]></category>
		<category><![CDATA[netbeans]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.leprechaunworks.com/content/?p=170</guid>
		<description><![CDATA[We love NetBeans! It neatly fills our needs for developing php applications. It does seem to have some minor annoyances, but at least one of them can easily be overcome by using Ant. NetBeans with php allows you to designate a local web server for testing. The IDE automatically will copy files to the web server... well, most of the time. Sometimes, for whatever reason, NetBeans, doesn't know if it needs to copy files. ]]></description>
			<content:encoded><![CDATA[<div class="step"><div class="adSquare"><script type="text/javascript"><!--
                google_ad_client = "pub-8377860022408081";
                /* button for images */
                google_ad_slot = "6390324464";
                google_ad_width = 300;
                google_ad_height = 250;
                //-->
                </script>
                <script type="text/javascript"
                src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
                </script></div>We love NetBeans! It neatly fills our needs for developing php applications. It does seem to have some minor annoyances, but at least one of them can easily be overcome by using Ant. NetBeans with php allows you to designate a local web server for testing. The IDE automatically will copy files to the web server&#8230; well, most of the time. Sometimes, for whatever reason, NetBeans, doesn&#8217;t know if it needs to copy files. This often happens with our image files. It always will copy a file if you modify it, but this doesn&#8217;t work very well for files like images that aren&#8217;t normally modified in the IDE. Furthermore, it is annoying as mentioned earlier. You can update your files quickly by building a simple Ant script to copy your local files to your web server or another location.</p>
<p>For this tutorial, we will assume that you know about NetBeans, and how to create a new project. We are planning a couple of tutorials on using NetBeans for WordPress development in the future. These will cover more basics of using NetBeans.</p>
<p>If you would like to try NetBeans, go to <a href="http://netbeans.org/">http://netbeans.org/</a> to download the newest version. They have many different configurations depending on what your needs are. We use the php version.
<div class="stepClear"></div>
</div>
<div class="step">
<a href="http://www.leprechaunworks.com/content/wp-content/gallery/netbeans-ant/tools.png" title="" class="shutterset_singlepic50" >
	<img class="ngg-singlepic ngg-right" src="http://www.leprechaunworks.com/content/wp-content/gallery/cache/50__320x240_tools.png" alt="tools" title="tools" />
</a>
On top of what comes in the php version of NetBeans, you will need to add the Ant plugin. The plugins dialog is located under the tools menu.
<div class="stepClear"></div>
</div>
<div class="step">
<a href="http://www.leprechaunworks.com/content/wp-content/gallery/netbeans-ant/plugins.png" title="" class="shutterset_singlepic48" >
	<img class="ngg-singlepic ngg-right" src="http://www.leprechaunworks.com/content/wp-content/gallery/cache/48__320x240_plugins.png" alt="plugins" title="plugins" />
</a>
Next, click on the available plugins tab. If you click on the name column head, the plugins will sort alphabetically putting Ant at the top. Simply check the checkbox next to Ant and click the Install button at the bottom of the dialog. That&#8217;s it.
<div class="stepClear"></div>
</div>
<div class="step">So, how do you use this? NetBeans will automatically recognize any Ant build file. So all we have to do, is create an Ant build file. The default build file is usually named build.xml.</p>
<p>Simply, create a new empty file named build.xml and add the following code.</p>
<div class="dean_ch" style="white-space: nowrap;">
<span class="sc3"><span class="re1">&lt;project</span> <span class="re0">name</span>=<span class="st0">&quot;Netbeans push&quot;</span> <span class="re0">default</span>=<span class="st0">&quot;copyLocal&quot;</span> <span class="re0">basedir</span>=<span class="st0">&quot;.&quot;</span><span class="re2">&gt;</span></span><br />
&nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;description<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; pushes files to local web server<br />
&nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;/description<span class="re2">&gt;</span></span></span></p>
<p>&nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;property</span> <span class="re0">name</span>=<span class="st0">&quot;local.web&quot;</span> <span class="re0">location</span>=<span class="st0">&quot;C:\xampplite\htdocs&quot;</span> <span class="re2">/&gt;</span></span></p>
<p>&nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;target</span> <span class="re0">name</span>=<span class="st0">&quot;copyLocal&quot;</span> <span class="re0">description</span>=<span class="st0">&quot;Copy site locally for testing&quot;</span><span class="re2">&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;copy</span> <span class="re0">todir</span>=<span class="st0">&quot;${local.web}\testing&quot;</span><span class="re2">&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;fileset</span> <span class="re0">dir</span>=<span class="st0">&quot;${basedir}&quot;</span><span class="re2">&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;exclude</span> <span class="re0">name</span>=<span class="st0">&quot;**\.svn\**&quot;</span><span class="re2">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;exclude</span> <span class="re0">name</span>=<span class="st0">&quot;**\nbproject\**&quot;</span><span class="re2">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;/fileset<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;/copy<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;/target<span class="re2">&gt;</span></span></span><br />
<span class="sc3"><span class="re1">&lt;/project<span class="re2">&gt;</span></span></span><br />
&nbsp;</div>
<div class="stepClear"></div>
</div>
<div class="step">
<ul> A quick review of the file.</p>
<li> It simply starts with project, everything except for the name is optional. The default attribute names the default target. Basedir simply defines a property for a basedir that can be used later.</li>
<li> The description should be self-explanatory.</li>
<li>The property statement allows us to create a variable that we can use repeatedly in our code. Obviously, in this example, it actually adds typing, but you can imagine the time savings if you have a large build file with multiple targets.</li>
<li>The target is the meat of the file. This is what gets called when the build file runs. Targets can even depend on other targets.<br />
The name must be unique within the file.<br />
The copy line inside of the target is called a task. There are many ways to write almost all tasks. In this case, we are simply saying that we want to copy everything in our base directory to our local web server. As you can see, we can put any property inside of ${ } to use it within attributes. Additionally in this example, we have added a couple of exclude statements that are common in our work. The first ignores any Subversion files. Since we use Subversion as our Versioning system, it isn&#8217;t necessary to copy these to our local web server. The second ignores all of the Netbeans project files. You may or may not have your project files with the projects.</li>
</ul>
<div class="stepClear"></div>
</div>
<div class="step">
<a href="http://www.leprechaunworks.com/content/wp-content/gallery/netbeans-ant/runtarget.png" title="" class="shutterset_singlepic49" >
	<img class="ngg-singlepic ngg-right" src="http://www.leprechaunworks.com/content/wp-content/gallery/cache/49__320x240_runtarget.png" alt="runtarget" title="runtarget" />
</a>
All that&#8217;s left is to use the file. In Netbeans, you can access the targets in multiple ways. The most common access points for us, is to right click on the file itself in the project window and click run target.
<div class="stepClear"></div>
</div>
<div class="step">
<a href="http://www.leprechaunworks.com/content/wp-content/gallery/netbeans-ant/navigator.png" title="" class="shutterset_singlepic46" >
	<img class="ngg-singlepic ngg-right" src="http://www.leprechaunworks.com/content/wp-content/gallery/cache/46__320x240_navigator.png" alt="navigator" title="navigator" />
</a>
You can also view targets inside of the navigator window. Right clicking on the target you want to run, and selecting run is all there is to it.
<div class="stepClear"></div>
</div>
<div class="step">
<a href="http://www.leprechaunworks.com/content/wp-content/gallery/netbeans-ant/output.png" title="" class="shutterset_singlepic47" >
	<img class="ngg-singlepic ngg-right" src="http://www.leprechaunworks.com/content/wp-content/gallery/cache/47__320x240_output.png" alt="output" title="output" />
</a>
You should see the results in your output window. This will also display any errors in your build file if you run into problems.
<div class="stepClear"></div>
</div>
<div class="step">For more information on Ant, visit <a href="http://ant.apache.org/">http://ant.apache.org/</a></p>
<p>As a final note, it is likely that Netbeans is caching information regarding the modification times of the files to accomplish its copy to server functionality. In our experience, we have not seen any problems, but you should proceed with caution.
<div class="stepClear"></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.leprechaunworks.com/content/2009/11/16/netbeans-and-ant-a-great-combination/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mapping a drive letter to a folder, the easy way</title>
		<link>http://www.leprechaunworks.com/content/2009/11/12/mapping-a-drive-letter-to-a-folder-the-easy-way/</link>
		<comments>http://www.leprechaunworks.com/content/2009/11/12/mapping-a-drive-letter-to-a-folder-the-easy-way/#comments</comments>
		<pubDate>Thu, 12 Nov 2009 12:00:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.leprechaunworks.com/content/?p=154</guid>
		<description><![CDATA[When sharing data between computers it is often helpful to have a method for structuring your data. In our case, even sharing our development code between a laptop and a desktop computer can produce pains. Sometimes, hard coded paths are impossible to avoid. We simply structure our development code under a single folder and then [...]]]></description>
			<content:encoded><![CDATA[<div class="step"><div class="adSquare"><script type="text/javascript"><!--
                google_ad_client = "pub-8377860022408081";
                /* button for images */
                google_ad_slot = "6390324464";
                google_ad_width = 300;
                google_ad_height = 250;
                //-->
                </script>
                <script type="text/javascript"
                src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
                </script></div> <div class="rounded">
<a href="http://www.leprechaunworks.com/content/wp-content/gallery/tutorials/vsubst_vista.png" title="" class="shutterset_singlepic45" >
    <img class="ngg-singlepic ngg-right" src="http://www.leprechaunworks.com/content/wp-content/gallery/cache/45__320x240_vsubst_vista.png" alt="vsubst_vista" title="vsubst_vista" />
</a>
</div>
 When sharing data between computers it is often helpful to have a method for structuring your data. In our case, even sharing our development code between a laptop and a desktop computer can produce pains. Sometimes, hard coded paths are impossible to avoid.</p>
<p>We simply structure our development code under a single folder and then we map that folder to a drive letter. There is a Windows utility called subst to accomplish this but it doesn&#8217;t maintain settings if the computer is turned off. We recently ran across a utility from NTWind that provides a visual GUI for this utility and furthermore, allows the settings to be persistent.</p>
<p>A note to keep in mind: If you need to run another application that needs elevated permissions and also need access to this drive, you will need to elevate the permissions for the Visual Subst utility as well. Just right click on the shortcut, click on the compatibility tab and check the checkbox next to run as administrator.</p>
<p>http://www.ntwind.com/software/utilities/visual-subst.html</p>
<div class="stepClear"></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.leprechaunworks.com/content/2009/11/12/mapping-a-drive-letter-to-a-folder-the-easy-way/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using a thumbdrive as a journal</title>
		<link>http://www.leprechaunworks.com/content/2009/10/20/using-a-thumbdrive-as-a-journal/</link>
		<comments>http://www.leprechaunworks.com/content/2009/10/20/using-a-thumbdrive-as-a-journal/#comments</comments>
		<pubDate>Tue, 20 Oct 2009 11:00:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[xampp]]></category>

		<guid isPermaLink="false">http://www.leprechaunworks.com/content/?p=95</guid>
		<description><![CDATA[We often get pulled back and forth between projects. Sometimes we find it hard to remember what we were doing last. Our thumbdrive journal gives us an instant &#8220;tickler&#8221; file that can be searched. Tagging our individual posts makes this even easier to find our last task. Of course, you could use this method to [...]]]></description>
			<content:encoded><![CDATA[<p>We often get pulled back and forth between projects. Sometimes we find it hard to remember what we were doing last. Our thumbdrive journal gives us an instant &#8220;tickler&#8221; file that can be searched. Tagging our individual posts makes this even easier to find our last task. Of course, you could use this method to keep a diary or just simple organized notes. We do all of our work on Windows based computers, but you can follow the same steps to create a thumbdrive journal on Linux or Apple computers.</p>
<p>To get started you will need to following resources.</p>
<ol>
<li><a href="http://wordpress.org/download/">WordPress </a>- this is the blogging software that you will install on your thumbdrive</li>
<li>Thumbdrive &#8211; you don&#8217;t need a huge drive for this purpose. 1 gig is plenty but more will not hurt</li>
<li><a href="http://www.apachefriends.org/en/xampp-windows.html#646">XAMPP </a>- your web server. Alternatively you can use UniformServer, but for this tutorial we will cover XAMPP</li>
</ol>
<p>That&#8217;s it!</p>
<p><strong>Downloading software:</strong></p>
<div class="step"><div class="rounded">
<a href="http://www.leprechaunworks.com/content/wp-content/gallery/wordpress/wordpress-download.png" title="WordPress download" class="shutterset_singlepic33" >
    <img class="ngg-singlepic ngg-right" src="http://www.leprechaunworks.com/content/wp-content/gallery/cache/33__320x240_wordpress-download.png" alt="wordpress-download" title="wordpress-download" />
</a>
</div>
 <div class="rounded">
<a href="http://www.leprechaunworks.com/content/wp-content/gallery/wordpress/xampp-download.png" title="XAMPP Download" class="shutterset_singlepic37" >
    <img class="ngg-singlepic ngg-right" src="http://www.leprechaunworks.com/content/wp-content/gallery/cache/37__320x240_xampp-download.png" alt="xampp-download" title="xampp-download" />
</a>
</div>
Simply download the latest release of WordPress from their web site using the link provided above. The default zip file is just fine. When downloading XAMPP, you will want to choose the &#8216;lite&#8217; version. This requires a manual install but this does not make installing the software more difficult.
<div class="stepClear"></div>
</div>
<p><strong>Installing the software:</strong></p>
<ol>
<li>Copy XAMPP to your thumbdrive</li>
<li>Copy WordPress to your thumbdrive</li>
</ol>
<p>WordPress depends on the web server so we need to install this first. The only difference between the exe and zip file for the lite version is the exe version will run the setup batch file after it finishes copying files. In our case, you DO NOT want to run the setup. So all we need to do for XAMPP, is to unzip the files onto the root of our thumbdrive.</p>
<p>By root, I mean that you should have xampp directory directly after your drive letter. DO NOT create a directory.</p>
<p>For example: (replace i with your thumbdrive drive letter)<br />
i:\xampplite (correct)<br />
i:\journal\xampplite (incorrect)</p>
<p>Depending on your file, the folder inside of the zip may be called xampp or xampplite. This does not matter, either is fine.</p>
<div class="step"><div class="rounded">
<a href="http://www.leprechaunworks.com/content/wp-content/gallery/wordpress/xampp-htdocs.png" title="XAMPP HTML docs" class="shutterset_singlepic38" >
    <img class="ngg-singlepic ngg-right" src="http://www.leprechaunworks.com/content/wp-content/gallery/cache/38__320x240_xampp-htdocs.png" alt="xampp-htdocs" title="xampp-htdocs" />
</a>
</div>
 <div class="rounded">
<a href="http://www.leprechaunworks.com/content/wp-content/gallery/wordpress/wordpress.png" title="WordPress files" class="shutterset_singlepic34" >
    <img class="ngg-singlepic ngg-right" src="http://www.leprechaunworks.com/content/wp-content/gallery/cache/34__320x240_wordpress.png" alt="wordpress" title="wordpress" />
</a>
</div>
To install WordPress, we follow the same steps. We simply unzip the file into the htdocs directory. In our case we also made a subfolder called journal. This isn&#8217;t necessary but allows us to have more web sites or applications using our web server in the future. When you are done, it should look like this.
<div class="stepClear"></div>
</div>
<p><strong>Configuration:</strong></p>
<ol>
<li>Start Apache (the web server)</li>
<li>Start MySQL</li>
<li>Create a database for WordPress</li>
<li>Create a new database user</li>
<li>Give new database user full rights to the database for WordPress</li>
<li>Edit WordPress Config file</li>
<li>Run install file for WordPress via web browser</li>
</ol>
<div class="step"><div class="rounded">
<a href="http://www.leprechaunworks.com/content/wp-content/gallery/wordpress/xampp-batch.png" title="XAMPP Batch start" class="shutterset_singlepic35" >
    <img class="ngg-singlepic ngg-right" src="http://www.leprechaunworks.com/content/wp-content/gallery/cache/35__320x240_xampp-batch.png" alt="xampp-batch" title="xampp-batch" />
</a>
</div>
 <div class="rounded">
<a href="http://www.leprechaunworks.com/content/wp-content/gallery/wordpress/xampp-control.png" title="XAMPP Control" class="shutterset_singlepic36" >
    <img class="ngg-singlepic ngg-right" src="http://www.leprechaunworks.com/content/wp-content/gallery/cache/36__320x240_xampp-control.png" alt="xampp-control" title="xampp-control" />
</a>
</div>
Now to start using the products, we will need to start the web server and database server. We do this by double clicking on apache_start.bat and mysql_start.bat. Alternatively, you can launch the xampp_control.exe which will open a console window that will allow you to start the two servers.
<div class="stepClear"></div>
</div>
<div class="step"><div class="rounded">
<a href="http://www.leprechaunworks.com/content/wp-content/gallery/wordpress/xampp.png" title="XAMPP localhost start page" class="shutterset_singlepic39" >
    <img class="ngg-singlepic ngg-right" src="http://www.leprechaunworks.com/content/wp-content/gallery/cache/39__320x240_xampp.png" alt="xampp" title="xampp" />
</a>
</div>
Next open your web browser and go to <a href="http://localhost">http://localhost</a>. This should redirect to the following page.
<div class="stepClear"></div>
</div>
<div class="step"><div class="rounded">
<a href="http://www.leprechaunworks.com/content/wp-content/gallery/wordpress/newdatabase.png" title="MySQL new database" class="shutterset_singlepic30" >
    <img class="ngg-singlepic ngg-right" src="http://www.leprechaunworks.com/content/wp-content/gallery/cache/30__320x240_newdatabase.png" alt="newdatabase" title="newdatabase" />
</a>
</div>
We need to create a database for WordPress. To do this, click on phpMyAdmin in the bottom left of the page. When prompted for a login, you will login with the user &#8216;root&#8217; and a blank password. If this doesn&#8217;t work, check the readme file in the root folder of the xampp install. This should have your login information. Next create a database. We chose journal as the name of our database. The name is not important as long as you remember what you named it.
<div class="stepClear"></div>
</div>
<div class="step"><div class="rounded">
<a href="http://www.leprechaunworks.com/content/wp-content/gallery/wordpress/newuser.png" title="MySQL new user" class="shutterset_singlepic32" >
    <img class="ngg-singlepic ngg-right" src="http://www.leprechaunworks.com/content/wp-content/gallery/cache/32__320x240_newuser.png" alt="newuser" title="newuser" />
</a>
</div>
While still in phpMyAdmin, create a user for your new database. Go back to the main page and click on the Privileges tab at the top. You can get back to the main page by clicking on the text link that shows localhost at the top of the page. About half way down the page you will see a link for adding a new user. Here is the information we used. You can change the user and password to whatever you would like as long as you remember it.</p>
<p>User: wpadmin<br />
Host: Localhost<br />
Password: journal2009
<div class="stepClear"></div>
</div>
<div class="step"><div class="rounded">
<a href="http://www.leprechaunworks.com/content/wp-content/gallery/wordpress/databasepriv.png" title="MySQL database privileges" class="shutterset_singlepic29" >
    <img class="ngg-singlepic ngg-right" src="http://www.leprechaunworks.com/content/wp-content/gallery/cache/29__320x240_databasepriv.png" alt="databasepriv" title="databasepriv" />
</a>
</div>
Click the Go button at the bottom of the screen. When the screen refreshes, click the privileges tab again to see all of the users. To the far right of the wpadmin user, click the pencil icon. About half way down the page, there is a section for database specific privileges. From the database drop down, select the journal database. Click Check All when the screen refreshes. This will give your user full access to this database. Don&#8217;t forget to click go at the bottom right of that section.
<div class="stepClear"></div>
</div>
<p>We still need to edit the config file so WordPress will know how to connect to the database. In our example, the WordPress config file is located at I:\xampplite\htdocs\journal\wp-config-sample.php. Just open this file in notepad and edit the top section. Change the following text</p>
<div class="dean_ch" style="white-space: nowrap;"><span class="co1">// ** MySQL settings &#8211; You can get this info from your web host ** //</span><br />
<span class="coMULTI">/** The name of the database for WordPress */</span><br />
<a href="http://www.php.net/define"><span class="kw3">define</span></a><span class="br0">&#40;</span><span class="st0">&#8216;DB_NAME&#8217;</span>, <span class="st0">&#8216;journal&#8217;</span><span class="br0">&#41;</span>;</p>
<p><span class="coMULTI">/** MySQL database username */</span><br />
<a href="http://www.php.net/define"><span class="kw3">define</span></a><span class="br0">&#40;</span><span class="st0">&#8216;DB_USER&#8217;</span>, <span class="st0">&#8216;wpadmin&#8217;</span><span class="br0">&#41;</span>;</p>
<p><span class="coMULTI">/** MySQL database password */</span><br />
<a href="http://www.php.net/define"><span class="kw3">define</span></a><span class="br0">&#40;</span><span class="st0">&#8216;DB_PASSWORD&#8217;</span>, <span class="st0">&#8216;journal2009&#8242;</span><span class="br0">&#41;</span>;</p>
<p><span class="coMULTI">/** MySQL hostname */</span><br />
<a href="http://www.php.net/define"><span class="kw3">define</span></a><span class="br0">&#40;</span><span class="st0">&#8216;DB_HOST&#8217;</span>, <span class="st0">&#8216;localhost&#8217;</span><span class="br0">&#41;</span>;</div>
<p>Save the file as wp-config.php. Start the WordPress install by opening <a href="http://localhost/journal/wp-admin/install.php">http://localhost/journal/wp-admin/install.php</a> in your web browser. Once the install completes, make sure to write down or record the admin&#8217;s password. The admin is the main user inside of WordPress and there is no way to recover the password if lost.</p>
<p><strong>Using the journal</strong></p>
<ol>
<li>How to add a post</li>
<li>Optionally change theme</li>
</ol>
<div class="step"><div class="rounded">
<a href="http://www.leprechaunworks.com/content/wp-content/gallery/wordpress/dashboard.png" title="WordPress dashboard" class="shutterset_singlepic28" >
    <img class="ngg-singlepic ngg-right" src="http://www.leprechaunworks.com/content/wp-content/gallery/cache/28__320x240_dashboard.png" alt="dashboard" title="dashboard" />
</a>
</div>
To add a new post, you will need to log into WordPress. Most default themes give some link to the login script. If one is not available, just navigate to wp-login.php in your site. If following along with our example, you would go to <a href="http://localhost/journal/wp-login.php">http://localhost/journal/wp-login.php</a> After logging in, you should see the following screen.
<div class="stepClear"></div>
</div>
<div class="step"><div class="rounded">
<a href="http://www.leprechaunworks.com/content/wp-content/gallery/wordpress/newpost.png" title="WordPress new post" class="shutterset_singlepic31" >
    <img class="ngg-singlepic ngg-right" src="http://www.leprechaunworks.com/content/wp-content/gallery/cache/31__320x240_newpost.png" alt="newpost" title="newpost" />
</a>
</div>
If you wish to record something quickly, you can use the quick post. You can enter the main post editing dialog by clicking the new post button at the top right. For a journal, it is unlikely that you will care about anything other than the title and body. I usually title my journal posts with the date, something like 2009-07-04. I do use tags when I enter my notes for the day. This makes it easier to find my notes at a later time.
<div class="stepClear"></div>
</div>
<p>WordPress has the ability to change the look of the content by using themes. <a href="http://wordpress.org/extend/themes/">WordPress.org</a> has a list of themes as do many other web sites. <a href="http://WordPressThemesbase.com">WordPressThemesbase.com</a> is another one. Look around and find something you like. I chose a very plain Jane type of theme for my journal because I didn&#8217;t have needs for ads, widgets, other users etc..</p>
<p>Have fun. Leave any questions in the comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.leprechaunworks.com/content/2009/10/20/using-a-thumbdrive-as-a-journal/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

