<?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>mitch&#039;s meanderings &#187; hints</title>
	<atom:link href="http://mitchcontla.com/tag/hints/feed/" rel="self" type="application/rss+xml" />
	<link>http://mitchcontla.com</link>
	<description>thoughts on life, technology, and running; links, photos, and videos</description>
	<lastBuildDate>Wed, 19 May 2010 04:58:16 +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>Bash: It&#8217;s the little things</title>
		<link>http://mitchcontla.com/2007/06/27/bash-its-the-little-things/</link>
		<comments>http://mitchcontla.com/2007/06/27/bash-its-the-little-things/#comments</comments>
		<pubDate>Wed, 27 Jun 2007 19:47:50 +0000</pubDate>
		<dc:creator>mitch</dc:creator>
				<category><![CDATA[Geekery]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[gnu]]></category>
		<category><![CDATA[hints]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://mitch.contlafamily.com/2007/06/27/bash-its-the-little-things/</guid>
		<description><![CDATA[The Bash shell always amazes me. I needed to create a Maildir using the typical Maildir/cur, Maildir/new, Maildir/tmp structure and stumbled on this:



$ mkdir -m 0700 -p Maildir/{cur,new,tmp}



The -m and -p options are no-brainers, but the {cur,new,tmp} was new to me. It was easy to figure out what was going to happen&#8230; one command to [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://www.gnu.org/software/bash/" title="Bash - GNU Project">Bash</a> shell always amazes me. I needed to create a <a href="http://en.wikipedia.org/wiki/Maildir" title="Wikipedia: Maildir">Maildir</a> using the typical <code>Maildir/cur</code>, <code>Maildir/new</code>, <code>Maildir/tmp</code> structure and stumbled on this:</p>



<pre class="example"><code>$ mkdir -m 0700 -p Maildir/{cur,new,tmp}</code></pre>



<p>The <code>-m</code> and <code>-p</code> options are no-brainers, but the <code>{cur,new,tmp}</code> was new to me. It was easy to figure out what was going to happen&#8230; one command to create the Maildir directory, and the three subdirectories, I was simply unfamiliar with the syntax. A quick look at the <a href="http://www.gnu.org/software/bash/" title="Bash - GNU Project">Bash</a> man page and I discovered <a href="http://www.gnu.org/software/bash/manual/bashref.html#SEC27" title="Bash Reference Manual: Brace Expansion">Brace Expansion</a>:</p>

<blockquote>Brace expansion is a mechanism by which arbitrary strings may be generated.</blockquote>

<p>A comma separated list between opening and closing braces is expanded by the shell including any preamble (in my case Maildir/) or postscript. Brace expansion can also generate ranges:</p>



<pre class="example"><code>$ echo {1..10}
1 2 3 4 5 6 7 8 9 10</code></pre>



<p>Cool, huh?</p>]]></content:encoded>
			<wfw:commentRss>http://mitchcontla.com/2007/06/27/bash-its-the-little-things/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Tip of the Day: Cleaning An LCD Display</title>
		<link>http://mitchcontla.com/2007/04/23/tip-of-the-day-cleaning-an-lcd-display/</link>
		<comments>http://mitchcontla.com/2007/04/23/tip-of-the-day-cleaning-an-lcd-display/#comments</comments>
		<pubDate>Mon, 23 Apr 2007 18:26:13 +0000</pubDate>
		<dc:creator>mitch</dc:creator>
				<category><![CDATA[Geekery]]></category>
		<category><![CDATA[hints]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://mitch.contlafamily.com/2007/04/23/tip-of-the-day-cleaning-an-lcd-display/</guid>
		<description><![CDATA[After cleaning my laptop&#8217;s LCD several times with Windex, a fair amount of streaking built up, making the display far less than perfect. A quick search suggested a 50/50 mix of isopropyl alcohol and distilled water was the best solution for safely, and effectively cleaning LCD displays.

After mixing a batch, and tearing up an old [...]]]></description>
			<content:encoded><![CDATA[<p>After cleaning my laptop&#8217;s <acronym title="Liquid Crystal Display">LCD</acronym> several times with <a href="http://www.windex.com/" title="Glass Cleaner by Windex">Windex</a>, a fair amount of streaking built up, making the display far less than perfect. A quick <a href="http://www.google.com/search?q=clean+lcd+screen" title="Google: clean lcd screen">search</a> suggested a 50/50 mix of <a href="http://en.wikipedia.org/wiki/Isopropyl_alcohol" title="Wikipedia: isopropyl alcohol">isopropyl alcohol</a> and distilled water was the best solution for safely, and effectively cleaning <span class="caps">LCD </span>displays.</p>

<p>After mixing a batch, and tearing up an old cotton T-shirt, I gave it a try. At first pass, the streaking was minimized, but still there. I applied a more generous amount of solution to the cloth and went at it again. After some light rubbing the streaks were gone, and the display is good as new.</p>]]></content:encoded>
			<wfw:commentRss>http://mitchcontla.com/2007/04/23/tip-of-the-day-cleaning-an-lcd-display/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox Smart Keywords for Microsoft Support and MSDN Sites</title>
		<link>http://mitchcontla.com/2006/05/02/smart-keywords-microsoft-support-msdn/</link>
		<comments>http://mitchcontla.com/2006/05/02/smart-keywords-microsoft-support-msdn/#comments</comments>
		<pubDate>Tue, 02 May 2006 22:05:03 +0000</pubDate>
		<dc:creator>mitch</dc:creator>
				<category><![CDATA[Geekery]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[hints]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[msdn]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://mitch.contla.net/2006/05/02/smart-keywords-microsoft-support-msdn/</guid>
		<description><![CDATA[Smart Keywords are one of my favorite Firefox features. Enter a keyword in the location bar (CTRL + L), type a couple of search terms, and voila, instant results with minimal typing.

Since my job requires frequenting the Microsoft Support and MSDN sites, I added Smart Keywords to simplify the searches. Each of the following keywords [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.mozilla.org/products/firefox/smart-keywords.html">Smart Keywords</a> are one of my favorite <a href="http://www.getfirefox.com">Firefox</a> features. Enter a keyword in the location bar (<code>CTRL + L</code>), type a couple of search terms, and voila, instant results with minimal typing.</p>

<p>Since my job requires frequenting the Microsoft Support and <acronym title="Microsoft Developer Network">MSDN</acronym> sites, I added Smart Keywords to simplify the searches. Each of the following keywords are defined in my Quick Searches bookmarks folder. To use them, create a new bookmark and copy each <acronym title="Uniform Resource Locator">URL</acronym> into the Location field; assign the suggested keywords, or create your own.</p>

<p>Microsoft Support (keyword: ms)<br />
<code>http://support.microsoft.com/search/default.aspx?qu=%s</code></p>

<p><span class="caps">MSDN </span>(keyword: msdn)<br />
<code>http://search.msdn.microsoft.com/search/default.aspx?query=%s</code></p>

<p>Especially helpful is the <acronym title="Knowledge Base">KB</acronym> article keyword which enables me to type something like <code>kb 915105</code> in the Location bar and be taken directly to a KB article by number. </p>

<p>KB Article Lookup (keyword: kb)<br />
<code>http://support.microsoft.com/?kbid=%s</code></p>

<p>Keep in mind, these all work with the US sites, if you are an international user, you may need to alter the <span class="caps">URL </span>slightly.</p>]]></content:encoded>
			<wfw:commentRss>http://mitchcontla.com/2006/05/02/smart-keywords-microsoft-support-msdn/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Back Up del.icio.us Bookmarks</title>
		<link>http://mitchcontla.com/2006/04/11/back-up-delicious-bookmarks/</link>
		<comments>http://mitchcontla.com/2006/04/11/back-up-delicious-bookmarks/#comments</comments>
		<pubDate>Tue, 11 Apr 2006 23:00:41 +0000</pubDate>
		<dc:creator>mitch</dc:creator>
				<category><![CDATA[Blog Stuff]]></category>
		<category><![CDATA[Geekery]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[delicious]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[hints]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Links]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://mitch.contla.net/2006/04/11/back-up-delicious-bookmarks/</guid>
		<description><![CDATA[Lifehacker shows you how to back up del.icio.us bookmarks on your blog. As the article points out, aside from backups, there are other benefits to doing this:

It also kills two birds with one stone: participate in the del.icio.us community AND update your blog daily with one del.icio.us post.

This is a &#8220;no-hassle&#8221; solution done completely through [...]]]></description>
			<content:encoded><![CDATA[<p>Lifehacker shows you <a href="http://www.lifehacker.com/software/delicious/how-to-back-up-delicious-bookmarks-on-your-blog-159861.php">how to back up del.icio.us bookmarks on your blog</a>. As the article points out, aside from backups, there are other benefits to doing this:</p>

<blockquote><p>It also kills two birds with one stone: participate in the del.icio.us community <span class="caps">AND </span>update your blog daily with one del.icio.us post.</p></blockquote>

<p>This is a &#8220;no-hassle&#8221; solution done completely through your <a href="http://del.icio.us">del.icio.us</a> account. I tried this initially on this blog, but later switched to <a href="http://nozell.com/blog/archives/2005/01/30/updated-yet-another-daily-delicious-hack/">yadd</a> for a more flexible solution. I made some minor modifications to meet my needs, including a change to the post title, and the automatic creation of tag hyperlinks.</p>]]></content:encoded>
			<wfw:commentRss>http://mitchcontla.com/2006/04/11/back-up-delicious-bookmarks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>More Ajax Resources for Beginners</title>
		<link>http://mitchcontla.com/2006/04/10/more-ajax-resources-for-beginners/</link>
		<comments>http://mitchcontla.com/2006/04/10/more-ajax-resources-for-beginners/#comments</comments>
		<pubDate>Mon, 10 Apr 2006 23:30:16 +0000</pubDate>
		<dc:creator>mitch</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Geekery]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Links]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[hints]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[web2.0]]></category>

		<guid isPermaLink="false">http://mitch.contla.net/2006/04/10/more-ajax-resources-for-beginners/</guid>
		<description><![CDATA[When I first became involved in a project that would require Ajax techniques, I quickly went to the web in search of tutorials to learn how to use the XMLHttpRequest object. Following are the resources I found most helpful as I learned to create dynamic web applications. Links to various JavaScript libraries and other sites [...]]]></description>
			<content:encoded><![CDATA[<p>When I first became involved in a project that would require Ajax techniques, I quickly went to the web in search of tutorials to learn how to use the <span class="caps">XMLH</span>ttpRequest object. Following are the resources I found most helpful as I learned to create dynamic web applications. Links to various JavaScript libraries and other sites I like are also listed. Hat tip to Rushi for writing the <a href="http://rushi.wordpress.com/2006/04/04/beginning-ajax/">post</a> that prompted this compilation.<br />
<span id="more-40"></span></p>

<p>The <a href="http://developer.apple.com/">Apple Developer Network</a> is a great source of information including a nice, easy-to-follow introduction to <a href="http://developer.apple.com/internet/webcontent/xmlhttpreq.html">The <span class="caps">XMLH</span>ttpRequest Object</a>. This brief tutorial includes a description of object methods and properties, simple examples of instantiation, and a fully functional <a href="http://developer.apple.com/internet/webcontent/XMLHttpRequestExample/example.html">example</a>. Other good <acronym title="Apple Developer Connection">ADC</acronym> articles include: <a href="http://developer.apple.com/internet/webcontent/iframe.html">Remote Scripting with <span class="caps">IFRAME</span></a>, <a href="http://developer.apple.com/internet/webcontent/dom2i.html">Dynamic Content with <span class="caps">DOM</span>-2 Part I</a> and <a href="http://developer.apple.com/internet/webcontent/dom2ii.html">Part II</a>, and <a href="http://developer.apple.com/internet/webcontent/objectdetection.html">Object Detection</a>.</p>

<p>Jim Ley&#8217;s article <a href="http://jibbering.com/2002/4/httprequest.html">Using the <span class="caps">XML HTTP</span> Request Object</a> shows you how to create an <acronym title="XMLHttpRequest">XHR</acronym> object using conditional compilation that degrades nicely to support all browsers. Examples include using <span class="caps">XHR </span>to make a <span class="caps">HEAD </span>request, or to check if a <acronym title="Uniform Resource Locator">URL</acronym> exists.</p>

<p><a href="http://24">Easy Ajax with Prototype</a>-1 is a ridiculously simple example from <a href="http://24">24 ways</a>-2 and a great introduction to using <a href="http://prototype.conio.net/">prototype.js</a>, the big-daddy of JavaScript libraries (read on for more information).</p>

<p><a href="http://alistapart.com/articles/gettingstartedwithajax">Getting Started with Ajax</a> shows you how to make an Ajax request, then use the responseText property and <acronym title="Document Object Model">DOM</acronym> innerHTML property to update the page. Later, a slight modification to the example uses responseXML, and <span class="caps">DOM </span>manipulation to perform the same update. This article makes use of the <a href="http://xkr.us/code/javascript/XHConn/"><span class="caps">XHC</span>onn library</a>, a &#8220;simple <span class="caps">XMLHTTP </span>interface&#8221;.</p>

<p>There is <a href="http://www.quirksmode.org/blog/archives/2005/12/the_ajax_respon.html">a great post</a> over on the <a href="http://www.quirksmode.org/blog/index.html">QuirksBlog</a> describing the pros and cons of <acronym title="eXtensible Markup Language">XML</acronym>, <acronym title="HyperText Markup Language">HTML</acronym>, and <acronym title="JavaScript Object Notation">JSON</acronym> responses, (<a href="http://www.quirksmode.org/blog/archives/2006/01/the_ajax_respon_1.html">part II here</a>). As you begin to develop web applications that use <span class="caps">XHR, </span>the response format/language you choose deserves some consideration. My projects thus far have all been simple enough to use the <span class="caps">XHR </span>responseText and <span class="caps">DOM </span>innerHTML property.</p>

<p>Paven Keely&#8217;s <a href="http://keelypavan.blogspot.com/2006/03/reusing-xmlhttprequest-object-in-ie.html">Reusing <span class="caps">XMLH</span>ttpRequest Object in IE</a> is a great read, as is Alex Bosworth&#8217;s <a href="http://sourcelabs.com/ajb/archives/2005/05/ajax_mistakes.html">Ajax Mistakes</a>. For the authoritative (albeit dry) reference on the <span class="caps">XHR </span>object, see Microsoft&#8217;s <a href="http://msdn.microsoft.com/library/default.asp?url=%2Flibrary%2Fen-us%2Fxmlsdk%2Fhtml%2F7924f6be-c035-411f-acd2-79de7a711b38.asp"><span class="caps">IXMLHTTPR</span>equest Members</a>.</p>

<h3>JavaScript Libraries</h3>

<p>At some point you may want to consider the many JavaScript libraries available designed to make development easier (especially <span class="caps">XHR </span>calls) and/or provide some amazing effects.</p>

<p><a href="http://prototype.conio.net/">prototype.js</a> is a widely used library popularized by it&#8217;s use in <a href="http://www.37signals.com/">37 Signals</a> many web-based offerings. The Ajax.Request and Ajax.Updater classes are fantastic! This library packs a powerful punch and is the basis for the <a href="http://script.aculo.us/">Script.aculo.us</a> and <a href="http://openrico.org/">Rico</a> effects libraries. If prototype is too much, try <a href="http://moofx.mad4milk.net/">Moo.fx</a>, a lightweight effects library based on &#8220;prototype-lite&#8221;. Lots of fun!</p>

<p>Other libraries worth considering include <a href="http://dojotoolkit.org/">Dojo</a>, <a href="http://mochikit.com/">MochiKit</a>, <a href="http://www.zimbra.com/community/ajaxtk_download.html">Zimbra</a>, and <a href="http://developer.yahoo.com/yui/">Yahoo! User Interface Library</a>. In addition to <span class="caps">XHR </span>classes/objects each of these include other classes designed to streamline development. For libraries primarily focused on encapsulating the <span class="caps">XHR </span>object try the <a href="http://xkr.us/code/javascript/XHConn/"><span class="caps">XHC</span>onn library</a>, <a href="http://microformats.org/wiki/rest/ahah"><span class="caps">AHAH</span></a>, or <a href="http://www.robertnyman.com/ask/"><span class="caps">ASK</span></a>.</p>

<h3>Other Great Resources</h3>

<p><a href="http://www.maxkiesler.com/index.php/weblog/comments/round_up_of_30_ajax_tutorials/">Round-up of 30 <span class="caps">AJAX</span> Tutorials</a><br />
<a href="http://www.fiftyfoureleven.com/resources/programming/xmlhttprequest/"><span class="caps">XMLH</span>ttpRequest &amp; Ajax Based Applications</a><br />
<a href="http://ajaxpatterns.org/wiki/index.php?title=Main_Page">Ajax Patterns</a><br />
<a href="http://www.ajaxmatters.com/r/welcome">Ajax Matters</a><br />
<a href="http://ajaxian.com/">Ajaxian Blog</a></p>

<p>I hope this helps some of you get started. The Ajax buzz seems to have breathed new life into the web, and has certainly made it fun to develop.</p>

<p>Leave a comment if you have other good links!</p>]]></content:encoded>
			<wfw:commentRss>http://mitchcontla.com/2006/04/10/more-ajax-resources-for-beginners/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Great CSS Link Dump</title>
		<link>http://mitchcontla.com/2006/03/28/great-css-link-dump/</link>
		<comments>http://mitchcontla.com/2006/03/28/great-css-link-dump/#comments</comments>
		<pubDate>Tue, 28 Mar 2006 22:00:02 +0000</pubDate>
		<dc:creator>mitch</dc:creator>
				<category><![CDATA[Asides]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Geekery]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[hints]]></category>
		<category><![CDATA[layout]]></category>
		<category><![CDATA[Links]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://mitch.contla.net/2006/03/28/great-css-link-dump/</guid>
		<description><![CDATA[Found this at del.icio.us&#8230; Layout-palooza. Great source for links about CSS layout, hacks, and tricks. Many familiar, many new.]]></description>
			<content:encoded><![CDATA[<p>Found this at <a href="http://del.icio.us/popular">del.icio.us</a>&#8230; <a href="http://www.econsultant.com/lists/top-css-layouts-downloads-hacks-galleries-tricks.html">Layout-palooza</a>. Great source for links about <acronym title="Cascading Style Sheets"><span class="caps">CSS</span></acronym> layout, hacks, and tricks. Many familiar, many new.</p>]]></content:encoded>
			<wfw:commentRss>http://mitchcontla.com/2006/03/28/great-css-link-dump/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
