<?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; Tutorials</title>
	<atom:link href="http://www.leprechaunworks.com/content/category/tutorials/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.leprechaunworks.com/content</link>
	<description>Useable technology</description>
	<lastBuildDate>Wed, 21 Apr 2010 12:49:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<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>How to use Freecycle™</title>
		<link>http://www.leprechaunworks.com/content/2009/12/14/how-to-use-freecycle%e2%84%a2/</link>
		<comments>http://www.leprechaunworks.com/content/2009/12/14/how-to-use-freecycle%e2%84%a2/#comments</comments>
		<pubDate>Mon, 14 Dec 2009 14:05:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[freecycle]]></category>
		<category><![CDATA[recycler]]></category>
		<category><![CDATA[recycling]]></category>
		<category><![CDATA[reuse]]></category>

		<guid isPermaLink="false">http://www.leprechaunworks.com/content/?p=227</guid>
		<description><![CDATA[Freecycle™ currently has over 6,827,000 members across the globe. A non-profit movement / organization of people giving and getting items. People passionate about finding homes for items rather than seeing them end up in the landfill.

Using Freecycle is truly simple. The entire mechanism relies on simple email. When you have something to offer, you send an email to the group. See something you want? Just send an email to that person.]]></description>
			<content:encoded><![CDATA[<p><div class="rounded">
<a href="http://www.leprechaunworks.com/content/wp-content/gallery/flickr/1859504538_d1826f4db3.jpg" title="&lt;div xmlns:cc=&quot;http://creativecommons.org/ns#&quot; about=&quot;http://www.flickr.com/photos/tanais/1859504538/&quot;&gt;&lt;a rel=&quot;cc:attributionURL&quot; href=&quot;http://www.flickr.com/photos/tanais/&quot;&gt;Clive Grace&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_singlepic54" >
    <img class="ngg-singlepic" src="http://www.leprechaunworks.com/content/wp-content/gallery/cache/54__320x240_1859504538_d1826f4db3.jpg" alt="Greenhouse" title="Greenhouse" />
</a>
<div class="flickrCaption"><span><div xmlns:cc="http://creativecommons.org/ns#" about="http://www.flickr.com/photos/tanais/1859504538/"><a rel="cc:attributionURL" href="http://www.flickr.com/photos/tanais/">Clive Grace</a> / <a rel="license" href="http://creativecommons.org/licenses/by/2.0/">CC BY 2.0</a></div></span></div>
</div>
 Freecycle™ currently has over 6,827,000 members across the globe. A non-profit movement / organization of people giving and getting items. People passionate about finding homes for items rather than seeing them end up in the landfill.</p>
<p>Using Freecycle is truly simple. The entire mechanism relies on simple email. When you have something to offer, you send an email to the group. See something you want? Just send an email to that person.</p>
<p>First, find your local group. The Freecycle™ <a href="http://www.freecycle.org/">web site</a>, has a form to find the nearest group. Once you join your group, you will be notified of the group&#8217;s email address. You use this address to communicate with the group.</p>
<p>The most important rule is that absolutely everything must be free. No strings attached.</p>
<p>Emails should be formatted in the following format.</p>
<p>subject: Prefix, item description, location</p>
<p>The prefix, can be:</p>
<ul>
<li>Offer: Something you are offering</li>
<li>Wanted: Something you are looking for</li>
<li>Taken: A posting that your offer was taken</li>
<li>Received: A post saying that someone offered what you were looking for</li>
</ul>
<p>The location is often your zip code in the United States, but many users use simple city names as well.</p>
<p>Your subject should be something like Offer: One gently used backpack 43075</p>
<p>It is up to you to decide who gets the item you are offering. Maybe, first to request it, gets it. Maybe, someone responds who seems like they really need your item. Totally up to you. Expect several emails requesting your item.</p>
<p>That&#8217;s essentially it. So, if you find yourself, wishing the ten lamps in your garage could find a new home, look no further. Take a small step and connect with other people in your city to recycle, and reuse items that you no longer need. You may indeed find someone offering something that you really want.</p>
<p>For more information on the Freecycle™ organization, visit their <a href="http://www.freecycle.org/">website</a>.</p>
<p>For more information on The Recycler, our Outlook addin to help you manage your network, visit our <a href="http://www.leprechaunworks.com/content/2009/10/12/the-recycler-2/">product page</a>.</p>
<p>Freecycle and the Freecycle logo are trademarks of The Freecycle Network in the United States and/or other countries.</p>
<p>The Leprechaun Works is not affiliated with the Freecycle network.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.leprechaunworks.com/content/2009/12/14/how-to-use-freecycle%e2%84%a2/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 [...]]]></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>Simple OSX style Folder Stacks in Windows 7</title>
		<link>http://www.leprechaunworks.com/content/2009/11/09/simple-osx-style-folder-stacks-in-windows-7/</link>
		<comments>http://www.leprechaunworks.com/content/2009/11/09/simple-osx-style-folder-stacks-in-windows-7/#comments</comments>
		<pubDate>Mon, 09 Nov 2009 19:08:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[stacks]]></category>
		<category><![CDATA[taskbar]]></category>
		<category><![CDATA[windows 7]]></category>

		<guid isPermaLink="false">http://www.leprechaunworks.com/content/?p=134</guid>
		<description><![CDATA[A clean hack to simulate a Mac OSX style folder stack in Windows 7, albeit with less graphical flair.]]></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>We were surprised that we couldn&#8217;t easily add folders to the taskbar when we moved to Windows 7. This seemed like a natural fit, but as near as we can tell is absent.</p>
<div class="step"><div class="rounded">
<a href="http://www.leprechaunworks.com/content/wp-content/gallery/stacks/explorer.png" title="" class="shutterset_singlepic40" >
    <img class="ngg-singlepic ngg-right" src="http://www.leprechaunworks.com/content/wp-content/gallery/cache/40__320x240_explorer.png" alt="explorer" title="explorer" />
</a>
</div>
First off, we should point out that the easiest way to add folders to the taskbar is through the explorer application which is by default pinned to the taskbar. Right clicking on any folder in the frequent list will give you an option to pin it to the menu. Obviously, clicking on the thumbtack does the same thing. The thing that annoys us is that we can&#8217;t find a way to pin a folder outside of the jumplist.
<div class="stepClear"/></div>
<div class="step">We had written about another way to simulate a clean hack to display a hierarchical menu in Windows XP. This same technique works fine in Windows 7 and allows quick access to common folders. We are quick to admit that it may not have the graphical pizazz but it is certainly effective. It also, most importantly, doesn&#8217;t require any application launchers.</p>
<p><div class="rounded">
<a href="http://www.leprechaunworks.com/content/wp-content/gallery/stacks/shortcuts.png" title="" class="shutterset_singlepic44" >
    <img class="ngg-singlepic ngg-right" src="http://www.leprechaunworks.com/content/wp-content/gallery/cache/44__320x240_shortcuts.png" alt="shortcuts" title="shortcuts" />
</a>
</div>
Simply create a folder anywhere in your file system. This folder will hold shortcuts to your common folders. Inside this folder drag or create shortcuts to your folders that you frequently access. If you want to categorize your shortcuts, no problem. Just create another folder and then add more shortcuts inside of the new folder. An example folder from our machine looks like this.
<div class="stepClear"/></div>
<div class="step"><div class="rounded">
<a href="http://www.leprechaunworks.com/content/wp-content/gallery/stacks/newtoolbar.png" title="" class="shutterset_singlepic41" >
    <img class="ngg-singlepic ngg-right" src="http://www.leprechaunworks.com/content/wp-content/gallery/cache/41__320x240_newtoolbar.png" alt="newtoolbar" title="newtoolbar" />
</a>
</div>
Once you are done adding your shortcuts, you need to get it on to the taskbar. All we have to do is right-click and select Toolbars -&gt; New Toolbar. This gives us an option to select a folder. It is here that we select our folder full of shortcuts. A note: It seems that it is best to add the new toolbar with the taskbar locked. If the taskbar is not locked and then you decide to lock it at a later time, part of the first shortcut&#8217;s icon peeks out.
<div class="stepClear"/></div>
<div class="step"><div class="rounded">
<a href="http://www.leprechaunworks.com/content/wp-content/gallery/stacks/popout.png" title="" class="shutterset_singlepic43" >
    <img class="ngg-singlepic ngg-right" src="http://www.leprechaunworks.com/content/wp-content/gallery/cache/43__320x240_popout.png" alt="popout" title="popout" />
</a>
</div>
Once complete, you should see the name of the folder with your shortcuts next to a double arrow. Clicking on the arrows, will display your popup menu. Clicking on folders that have submenus will popout their respective shortcuts.
<div class="stepClear"/></div>
]]></content:encoded>
			<wfw:commentRss>http://www.leprechaunworks.com/content/2009/11/09/simple-osx-style-folder-stacks-in-windows-7/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>
		<item>
		<title>Virtualizing applications</title>
		<link>http://www.leprechaunworks.com/content/2009/10/12/virtualizing-applications/</link>
		<comments>http://www.leprechaunworks.com/content/2009/10/12/virtualizing-applications/#comments</comments>
		<pubDate>Mon, 12 Oct 2009 15:19:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[swv]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[virtualization]]></category>

		<guid isPermaLink="false">http://localhost/leprechaunworks.com/content/?p=78</guid>
		<description><![CDATA[We use Virtualization everyday while developing and testing our applications. But, for those of you who may not know as much about Virtualization we want to show you how it can help keep costs down and save time.

We use two different types of Virtualization. One technology allows us to create an entire virtual computer inside of our computer. Essentially creating a second computer that runs inside of a window. Absolutely, fantastic technology. The second technology that's the focus of this article is virtual applications. ]]></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>You have probably heard of Virtualization if you are involved with technology. What you may not know is that it has a lot of different nuances and levels at which it is used.</p>
<p>We use Virtualization every day while developing and testing our applications. But, for those of you who may not know as much about Virtualization, we want to show you how it can help keep costs down and save time.</p>
<p>We use two different types of Virtualization. One technology allows us to create an entire virtual computer inside of our computer, essentially creating a second computer that runs inside of a window. Absolutely, fantastic technology.</p>
<p>Some major virtual machine software</p>
<ul>
<li><a href="http://www.vmware.com/">VMWare</a></li>
<li><a href="http://www.microsoft.com/windows/virtual-pc/default.aspx">VirtualPC</a></li>
<li><a href="http://www.virtualbox.org/">VirtualBox</a></li>
<li><a href="http://www.parallels.com/">Parallels</a></li>
</ul>
<p>The second technology that&#8217;s the focus of this article is virtual applications. The software that we use for this is called Workspace Virtualization and is available for free for personal use through Symantec. Symantec doesn&#8217;t make it easy to find the software. They sell a couple of products that are similar and most links take you to those pages. We searched for Software Virtualization Solution on their web site and found <a href="http://www.symantec.com/business/endpoint-virtualization-suite">Symantec Endpoint Virtualization Suite</a>. At the bottom there is a link to <a href="http://www.symantec.com/business/products/trialware.jsp?pcid=pcat_business_cont&amp;pvid=sv_sol_pro_1">trialware </a>that will take you to the download pages.</p>
<div class="step"><div class="rounded">
<a href="http://www.leprechaunworks.com/content/wp-content/gallery/workspace-virtualization/download.png" title="" class="shutterset_singlepic10" >
    <img class="ngg-singlepic ngg-right" src="http://www.leprechaunworks.com/content/wp-content/gallery/cache/10__320x240_download.png" alt="download" title="download" />
</a>
</div>
You are looking for Symantec Workspace Virtualization 6.1 SP1. You will also need to download a personal license. You can find that <a href="http://www.altiris.com/Download/svsPersonal.aspx">here</a>
<div class="stepClear"></div>
</div>
<div class="step">OK, the hard part is done. You found the software and a license! No? If you are still having problems, try this <a href="http://www.symantec.com/connect/node/857761">link</a>.
<div class="stepClear"></div>
</div>
<div class="step"><div class="rounded">
<a href="http://www.leprechaunworks.com/content/wp-content/gallery/workspace-virtualization/setup.png" title="" class="shutterset_singlepic15" >
    <img class="ngg-singlepic ngg-right" src="http://www.leprechaunworks.com/content/wp-content/gallery/cache/15__320x240_setup.png" alt="setup" title="setup" />
</a>
</div>
When installing the software, you will need to check the admin console tool. The admin tool is necessary to create virtual layers.
<div class="stepClear"></div>
</div>
<div class="step">So, hopefully, you have the software installed and all is well. So, why use this software? We can think of a couple of reasons. One reason, is that you need to run two different versions of the same application. In our case, we run multiple versions of Microsoft Outlook and have virtualized the Microsoft Office suite. The second reason might be to test a new piece of software. We are always looking for new software and many companies offer trial versions. There are a couple of benefits to virtualizing this type of application. First, would be to keep junk out of our system. Since the entire application including all registry keys are kept in the layer. You can delete the layer and be confident that you have removed ALL of the application. Second, is to try a time-limited trial without preventing you from trying it again at a later date. Time limited software often leaves registry keys or files in your system to track when you first installed the software. So, what happens if you want to test software but get pulled away on a project only to come back to it several months later and find out that the trial period has expired? Unfortunately, under normal circumstances you are likely out of luck. Most often you will find that the trial will be expired even if you install a new version. However, if you had installed it in a virtual layer, then you could delete the layer and install the newest version. Of course, you will install this one in a virtual layer, right?
<div class="stepClear"></div>
</div>
<div class="step">Let&#8217;s get to creating a virtual application. You will install your application into a layer. This layer is usually a single application but can hold more than one. Layers can also be dependant on other layers. This makes it easy to activate multiple layers. To create a layer is really quite simple. Just start the admin from the start menu or desktop shortcut.
<div class="stepClear"></div>
</div>
<div class="step"><div class="rounded">
<a href="http://www.leprechaunworks.com/content/wp-content/gallery/workspace-virtualization/filemenu.png" title="" class="shutterset_singlepic11" >
    <img class="ngg-singlepic ngg-right" src="http://www.leprechaunworks.com/content/wp-content/gallery/cache/11__320x240_filemenu.png" alt="filemenu" title="filemenu" />
</a>
</div>
From the file menu, select &#8216;New Layer&#8217;.
<div class="stepClear"></div>
</div>
<div class="step"><div class="rounded">
<a href="http://www.leprechaunworks.com/content/wp-content/gallery/workspace-virtualization/install.png" title="" class="shutterset_singlepic12" >
    <img class="ngg-singlepic ngg-right" src="http://www.leprechaunworks.com/content/wp-content/gallery/cache/12__320x240_install.png" alt="install" title="install" />
</a>
</div>
You will then be prompted with a choice, select &#8216;Install Application&#8217; and click next.
<div class="stepClear"></div>
</div>
<div class="step"><div class="rounded">
<a href="http://www.leprechaunworks.com/content/wp-content/gallery/workspace-virtualization/layername.png" title="" class="shutterset_singlepic13" >
    <img class="ngg-singlepic ngg-right" src="http://www.leprechaunworks.com/content/wp-content/gallery/cache/13__320x240_layername.png" alt="layername" title="layername" />
</a>
</div>
Next, you need to name your layer. I usually use the application name including the version number. This makes it easy for me to know when to update my layers.
<div class="stepClear"></div>
</div>
<div class="step"><div class="rounded">
<a href="http://www.leprechaunworks.com/content/wp-content/gallery/workspace-virtualization/program.png" title="" class="shutterset_singlepic14" >
    <img class="ngg-singlepic ngg-right" src="http://www.leprechaunworks.com/content/wp-content/gallery/cache/14__320x240_program.png" alt="program" title="program" />
</a>
</div>
Next you will have a choice between application or global. Again, you will want to select &#8216;Application&#8217;. You will also need to browse to your application setup file. Once you click next, the install will start. You will see an icon in the task tray that spins during the install. Most of the time, when your install is finished, the layer capture will open another dialog asking you if you want to install another application in this layer. If this doesn&#8217;t happen, just click on the spinning icon to finish the install process. That is it. You can now, activate or deactivate your layers when ever you need them.
<div class="stepClear"></div>
</div>
<div class="step">The application offers way more possibilities than what is presented here, but this should get you started. A couple of closing notes. All layers need to be deactivated before creating new layers. A layer needs to be deactivated before you can view it&#8217;s registry and file information. This information is available from the Layer menu. The export option on the layer menu is used a lot by our company. This allows us to move virtual layers to other computers. You can even create patches for layers which minimizes how much data is being pushed back and forth across your network.
<div class="stepClear"></div>
</div>
<div class="step">Lastly, there is an active community that Symantec calls &#8216;<a href="http://www.symantec.com/connect/">Connect</a>&#8216;, previously known as the Juice. You are likely to find many interesting and helpful notes about their virtualization technology.
<div class="stepClear"></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.leprechaunworks.com/content/2009/10/12/virtualizing-applications/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
