<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.2.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>Clark Consulting</title>
	<link>http://clarksco.com</link>
	<description>Computer Programming Service</description>
	<pubDate>Wed, 14 Apr 2010 06:46:23 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.1</generator>
	<language>en</language>
			<item>
		<title>ClipStrip v1</title>
		<link>http://clarksco.com/?p=34</link>
		<comments>http://clarksco.com/?p=34#comments</comments>
		<pubDate>Thu, 04 Mar 2010 06:07:43 +0000</pubDate>
		<dc:creator>clarksco</dc:creator>
		
		<category><![CDATA[AppleScript]]></category>

		<category><![CDATA[Mac Apps]]></category>

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

		<guid isPermaLink="false">http://clarksco.com/?p=34</guid>
		<description><![CDATA[ClipStrip is an AppleScript application that I wrote to strip the formatting from the text on your current clipboard.  It is best used with iKey or Quicksilver because you can assign ClipStrip a keyboard shortcut.  
How it works:
1. Copy formatted text to the clipboard
2. Run ClipStrip (either by double-clicking the app or by [...]]]></description>
			<content:encoded><![CDATA[<p>ClipStrip is an AppleScript application that I wrote to strip the formatting from the text on your current clipboard.  It is best used with <a href="http://scriptsoftware.com/ikey/">iKey</a> or <a href="http://blacktree.com">Quicksilver</a> because you can assign ClipStrip a keyboard shortcut.  </p>
<p>How it works:<br />
1. Copy formatted text to the clipboard<br />
2. Run ClipStrip (either by double-clicking the app or by pressing an assigned keyboard shortcut)<br />
3. Paste - Voila! no formatting.</p>
<table style="border: 2px solid silver; padding:4px;">
<tr>
<td><img src="http://clarksco.com/blog/images/download_icon.gif" alt="Download" />
<td>
<td>Download: <a href="http://www.clarksco.com/downloads/index.php?product=ClipStrip">Here</a>&nbsp;&nbsp;&nbsp;Current Download Count: <b>310</b>
</td>
<tr>
</table>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://clarksco.com/?feed=rss2&amp;p=34</wfw:commentRss>
		</item>
		<item>
		<title>iGoogle Gadget: Launch Pad v2</title>
		<link>http://clarksco.com/?p=33</link>
		<comments>http://clarksco.com/?p=33#comments</comments>
		<pubDate>Fri, 09 Oct 2009 04:00:50 +0000</pubDate>
		<dc:creator>clarksco</dc:creator>
		
		<category><![CDATA[Gadgets]]></category>

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

		<guid isPermaLink="false">http://clarksco.com/?p=33</guid>
		<description><![CDATA[Version 2.1 now with Google Voice
Version 2 of Launch Pad is now available!  This version can be customized.  You can choose which icons you want to appear, you can customize the size of the icons and you can choose if you want the links to open in the same page or pop a [...]]]></description>
			<content:encoded><![CDATA[<p><span class='newItem'>Version 2.1 now with Google Voice</span></p>
<p>Version 2 of Launch Pad is now available!  This version can be customized.  You can choose which icons you want to appear, you can customize the size of the icons and you can choose if you want the links to open in the same page or pop a new tab or window.  To customize Google gadgets, click the <img src="http://www.stclark.info/igoogle/menu.gif" border=0> icon in the upper right corner of the gadget and choose &#8220;Edit Settings&#8221;.</p>
<p><img src="http://www.stclark.info/igoogle/launchpad21.png" alt="Launch Pad 2.1" /></p>
<p><a href="http://www.google.com/ig/adde?moduleurl=http://www.stclark.info/igoogle/LaunchPad2.xml"><img src="http://buttons.googlesyndication.com/fusion/add.gif" style="width:104px; height:17px;border:0px;" alt="Add to iGoogle" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://clarksco.com/?feed=rss2&amp;p=33</wfw:commentRss>
		</item>
		<item>
		<title>Permanent Alias in Mac Terminal</title>
		<link>http://clarksco.com/?p=32</link>
		<comments>http://clarksco.com/?p=32#comments</comments>
		<pubDate>Fri, 02 Oct 2009 18:07:54 +0000</pubDate>
		<dc:creator>clarksco</dc:creator>
		
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://clarksco.com/?p=32</guid>
		<description><![CDATA[Anyone attempting to use the Terminal in MacOS X quickly realizes that doing so requires cryptic codes and long strings to accomplish simple tasks.  One solution, for repetitive tasks, is to create aliases.  An alias allows you to type a shortcut that the Terminal converts into the full set of tokens.  For [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.clarksco.com/images/terminal.png" alt="Mac OS X Terminal" align="left" />Anyone attempting to use the Terminal in MacOS X quickly realizes that doing so requires cryptic codes and long strings to accomplish simple tasks.  One solution, for repetitive tasks, is to create aliases.  An alias allows you to type a shortcut that the Terminal converts into the full set of tokens.  For example, going up one directory in the tree requires the user to type, &#8220;cd ..&#8221;.  You can make an alias that allows you to use &#8220;..&#8221; without the &#8220;cd &#8221; and does the same thing.  This can be done temporarily by typing <em>alias ..=&#8217;cd ..&#8217;</em> at the command line.  Doing so causes the alias to be created for the current session.  But once you close the terminal, the alias is gone.</p>
<p>To make permanent aliases in the Mac OS X Terminal (shell) you will first need to VI (a Linux text editor) a file named .profile in your home directory.  To do so, open Terminal (which goes to your home directory by default) and type:<br />
<code>vi .profile</code><br />
Doing so opens .profile in the the VI editor.  To start typing in the VI editor, press the &#8220;i&#8221; key (i as in eye).  Then type the following:<br />
<code>alias la='ls -la'</code><br />
Save the .profile file by pressing:<br />
<code>Esc and then Shift ZZ</code><br />
Quit and re-run the Terminal.  Once running type &#8220;la&#8221; at the command line and you should get a directory listing just as you would have had you typed &#8220;ls -la&#8221;.</p>
<p>Once you have proven that this is working for you, you can start adding other aliases to the .profile file.  Here are some I like:<br />
<code>alias cls='clear' #old MS DOS<br />
alias ..='cd ..' #up one level<br />
alias ...='cd ../..' #up two levels<br />
alias zap='rm -i' #remove file with warning</code></p>
<p>You can push new aliases into .profile without opening the file in VI.  To do this, type the following at the command prompt:<br />
<code>echo alias e=\'exit\'>>.profile<br />
# don't forget the \ characters before the single quotes.<br />
# The \ escapes the quotes so that they are pushed into the file.<br />
</code></p>
<p><em>You don&#8217;t have to include the comments (i.e. #up one level).</em><br />
<em>Linux uses this same process but the aliases are stored in ~/.bashrc</em></p>
]]></content:encoded>
			<wfw:commentRss>http://clarksco.com/?feed=rss2&amp;p=32</wfw:commentRss>
		</item>
		<item>
		<title>iGoogle Gadget: Launch Pad</title>
		<link>http://clarksco.com/?p=31</link>
		<comments>http://clarksco.com/?p=31#comments</comments>
		<pubDate>Fri, 06 Mar 2009 02:01:59 +0000</pubDate>
		<dc:creator>clarksco</dc:creator>
		
		<category><![CDATA[Gadgets]]></category>

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

		<guid isPermaLink="false">http://clarksco.com/?p=31</guid>
		<description><![CDATA[Version Update: version 2 exists here

Yet another Google Gadget!  I made this gadget because I got tired of the Google menu not having the item I wanted and because I prefer launching the Google services such as Calendar and Gmail in a new window or tab.
To add Launch Pad to iGoogle, simply click the [...]]]></description>
			<content:encoded><![CDATA[<p><span class='newItem'>Version Update: version 2 exists <a href='http://clarksco.com/index.php?p=33'>here</a></span><br />
<br />
Yet another Google Gadget!  I made this gadget because I got tired of the Google menu not having the item I wanted and because I prefer launching the Google services such as Calendar and Gmail in a new window or tab.</p>
<p>To add Launch Pad to iGoogle, simply click the [+ Google] button below.</p>
<p><script src="http://www.gmodules.com/ig/ifr?url=http://clarksco.googlepages.com/LaunchPad.xml&amp;synd=open&amp;w=320&amp;h=70&amp;title=Launch+Pad&amp;border=%23ffffff%7C3px%2C1px+solid+%23999999&amp;output=js"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://clarksco.com/?feed=rss2&amp;p=31</wfw:commentRss>
		</item>
		<item>
		<title>iGoogle Gadget: PowerSearch</title>
		<link>http://clarksco.com/?p=29</link>
		<comments>http://clarksco.com/?p=29#comments</comments>
		<pubDate>Mon, 03 Mar 2008 03:39:06 +0000</pubDate>
		<dc:creator>clarksco</dc:creator>
		
		<category><![CDATA[Gadgets]]></category>

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

		<guid isPermaLink="false">http://clarksco.com/?p=29</guid>
		<description><![CDATA[OK, now I am hooked on Gadgets!  I made what may just be the coolest iGoogle gadget ever; PowerSearch!  PowerSearch is a gadget you can add to your iGoogle home page and it allows you to search all of the most popular sites right from your home page.  You don&#8217;t have to [...]]]></description>
			<content:encoded><![CDATA[<p>OK, now I am hooked on Gadgets!  I made what may just be the coolest iGoogle gadget ever; PowerSearch!  PowerSearch is a gadget you can add to your iGoogle home page and it allows you to search all of the most popular sites right from your home page.  You don&#8217;t have to go to Amazon to search for a book or eBay to search for you next collectible find-of-the-year.  You just go to your home page and search from there.  Currently there are 34 sites you can search and you are always welcome to <a href="http://www.clarksco.com/?page_id=23">request others</a>.</p>
<p>You can set any of the searches as the default simply by clicking the little down arrow icon and choosing &#8220;Edit Settings&#8221;.  The search you set as default is the one the selection box will go to automatically.</p>
<p>To add PowerSearch to iGoogle, simply click the [+ Google] button below.</p>
<p><script src="http://gmodules.com/ig/ifr?url=http://www.clarksco.com/google/PowerSearch.xml&amp;up_engine=Amazon&amp;synd=open&amp;w=320&amp;h=64&amp;title=PowerSearch&amp;border=%23ffffff%7C3px%2C1px+solid+%23999999&amp;output=js"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://clarksco.com/?feed=rss2&amp;p=29</wfw:commentRss>
		</item>
		<item>
		<title>iGoogle Gadget: Case Changer</title>
		<link>http://clarksco.com/?p=30</link>
		<comments>http://clarksco.com/?p=30#comments</comments>
		<pubDate>Mon, 03 Mar 2008 02:55:36 +0000</pubDate>
		<dc:creator>clarksco</dc:creator>
		
		<category><![CDATA[Gadgets]]></category>

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

		<guid isPermaLink="false">http://clarksco.com/?p=30</guid>
		<description><![CDATA[Another iGoogle gadget from the Clark Consulting labs.  This one is a useful tool that allows you to quickly convert text into all UPPER CASE, all lower case or will Upper Case The First Letters Of Each Word.  This is a handy gadget if you want to force email addresses to lower case [...]]]></description>
			<content:encoded><![CDATA[<p>Another iGoogle gadget from the Clark Consulting labs.  This one is a useful tool that allows you to quickly convert text into all UPPER CASE, all lower case or will Upper Case The First Letters Of Each Word.  This is a handy gadget if you want to force email addresses to lower case before you add them to your address book, or if you want to convert someones name from BOB JONES or bob jones to Bob Jones.  Enjoy!</p>
<p>To add Case Changer to iGoogle, simply click the [+ Google] icon below</p>
<p><script src="http://gmodules.com/ig/ifr?url=http://www.clarksco.com/google/CaseChanger.xml&amp;synd=open&amp;w=380&amp;h=100&amp;title=Case+Changer&amp;border=%23ffffff%7C3px%2C1px+solid+%23999999&amp;output=js"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://clarksco.com/?feed=rss2&amp;p=30</wfw:commentRss>
		</item>
		<item>
		<title>Vista SideBar Gadget: UltimateSearch</title>
		<link>http://clarksco.com/?p=28</link>
		<comments>http://clarksco.com/?p=28#comments</comments>
		<pubDate>Wed, 06 Feb 2008 02:07:57 +0000</pubDate>
		<dc:creator>clarksco</dc:creator>
		
		<category><![CDATA[Useful Tools]]></category>

		<category><![CDATA[Win Apps]]></category>

		<guid isPermaLink="false">http://clarksco.com/?p=28</guid>
		<description><![CDATA[Here is my latest creation: UltimateSearch.  The purpose of the UltimateSearch gadget is to provide a one-stop-shop for all your searching needs.  UltimateSearch uses a prefix system rather than having you click a check box or change your settings constantly. For example, if you want to search Google for the term &#8220;widget&#8221;, you [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.clarksco.com/usearch/images/gadget-icon.png" align='left' hspace=4>Here is my latest creation: UltimateSearch.  The purpose of the UltimateSearch gadget is to provide a one-stop-shop for all your searching needs.  UltimateSearch uses a prefix system rather than having you click a check box or change your settings constantly. For example, if you want to search Google for the term &#8220;widget&#8221;, you would type &#8220;g.widget&#8221; into UltimateSearch and hit the Enter key. Viola&#8230;Google results for the term will appear in your browser. If you want Yahoo!, you type &#8220;y.widget&#8221; and so on.  To download UltimateSearch or to find out more about its search capabilities, visit the <a href="http://www.clarksco.com/usearch/index.php">UltimateSearch</a> web page.<br />
<script type="text/javascript">
digg_url = \'http://clarksco.com/?p=28\';
</script><br />
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://clarksco.com/?feed=rss2&amp;p=28</wfw:commentRss>
		</item>
		<item>
		<title>Regular Expressions</title>
		<link>http://clarksco.com/?p=27</link>
		<comments>http://clarksco.com/?p=27#comments</comments>
		<pubDate>Wed, 11 Jul 2007 23:42:31 +0000</pubDate>
		<dc:creator>clarksco</dc:creator>
		
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://clarksco.com/?p=27</guid>
		<description><![CDATA[TextPad® is a powerful, general purpose editor for plain text files.  I have used it for years and recommend it highly.  One of the best features is that you can do &#8216;find and replace&#8217; requests using regular expressions.  
I found a good set of regular expressions for finding phone numbers in text [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://textpad.com/" target=_blank>TextPad</a>® is a powerful, general purpose editor for plain text files.  I have used it for years and recommend it highly.  One of the best features is that you can do &#8216;find and replace&#8217; requests using regular expressions.  </p>
<p>I found a good set of regular expressions for finding phone numbers in text files.  In the interest of saving you from reinventing the wheel, here they are.</p>
<p>The &#8220;^&#8221; character means that it will find only phone numbers that begin at the first character of the line.  If you don&#8217;t want that, remove the &#8220;^&#8221;.</p>
<blockquote><p>
For numbers formatted like ###-###-#### or ###.###.####<br />
^[0-9]\{3\}[-.][0-9]\{3\}[-.][0-9]\{4\} <br />
For numbers formatted like (###)###-#### or (###)###.####<br />
^[(][0-9]\{3\}[)][0-9]\{3\}[-.][0-9]\{4\} <br />
For numbers formatted like (###) ###-####<br />
^[(][0-9]\{3\}[)][[:space:]][0-9]\{3\}[-.][0-9]\{4\}
</p></blockquote>
<p><a href="http://www.pspad.com/">PsPad</a> is another great text editor.  It has an FTP feature that allows you to work on files on a server in real-time.  The regular expressions for PsPad are as follows:</p>
<blockquote><p>
For numbers formatted like ###-###-#### or ###.###.####<br />
^[0-9]{3}[-.][0-9]{3}[-.][0-9]{4}<br />
For numbers formatted like (###)###-#### or (###)###.####<br />
^[\(][0-9]{3}[\)][0-9]{3}[-.][0-9]{4} 
</p></blockquote>
<p>For what it is worth, TextPad is a better utility if you are trying to clean up text files.  PsPad is better if you are working on files that are on a web server.  I use PsPad for development and TextPad for things like regular expression finds.</p>
]]></content:encoded>
			<wfw:commentRss>http://clarksco.com/?feed=rss2&amp;p=27</wfw:commentRss>
		</item>
		<item>
		<title>QuoteMe v4.1 (PHP)</title>
		<link>http://clarksco.com/?p=26</link>
		<comments>http://clarksco.com/?p=26#comments</comments>
		<pubDate>Tue, 19 Jun 2007 06:51:45 +0000</pubDate>
		<dc:creator>clarksco</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://clarksco.com/?p=26</guid>
		<description><![CDATA[<br />
<b>Fatal error</b>:  Call to undefined function: gethotscripts() in <b>/home/clarksco/public_html/wp-content/plugins/runPHP/runPHP.php(410) : eval()'d code</b> on line <b>1</b><br />
