<?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; tips</title>
	<atom:link href="http://mitchcontla.com/tag/tips/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>Tip of the Day: Secure Your Gmail</title>
		<link>http://mitchcontla.com/2007/03/21/tip-of-the-day-secure-your-gmail/</link>
		<comments>http://mitchcontla.com/2007/03/21/tip-of-the-day-secure-your-gmail/#comments</comments>
		<pubDate>Thu, 22 Mar 2007 00:12:05 +0000</pubDate>
		<dc:creator>mitch</dc:creator>
				<category><![CDATA[Geekery]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[gmail]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://mitch.contlafamily.com/2007/03/21/tip-of-the-day-secure-your-gmail/</guid>
		<description><![CDATA[From the &#8220;Why Didn&#8217;t I Think of That&#8221; department: GMailSecure has got to be one of the most elegantly simple, yet useful Greasemonkey scripts ever.

When I say simple, I mean one line of code:



location.href = location.href.replace(/^http:/, 'https:');



This script ensures your Gmail session using Firefox takes place over a secure HTTP connection providing a reasonable amount [...]]]></description>
			<content:encoded><![CDATA[<p>From the &#8220;Why Didn&#8217;t I Think of That&#8221; department: <a href="http://www.greasespot.net/" title="Userscripts.org: GMailSecure">GMailSecure</a> has got to be one of the most elegantly simple, yet useful <a href="http://addons.mozilla.org/firefox/748/" title="Greasespot.net">Greasemonkey</a> scripts ever.</p>

<p>When I say simple, I mean one line of code:</p>



<pre class="example">location.href = location.href.replace(/^http:/, 'https:');</pre>



<p>This script ensures your <a href="http://mail.google.com" title="Gmail">Gmail</a> session using <a href="http://www.mozilla.com/en-US/firefox/" title="Mozilla Firefox">Firefox</a> takes place over a <a href="http://en.wikipedia.org/wiki/Https" title="Wikipedia: https">secure <span class="caps">HTTP</span></a> connection providing a reasonable amount of protection from eavesdropping and other shenanigans. Add other domains for which both a http and https <acronym title="Uniform Resource Identifier">URI</acronym> exist and Firefox will always use https. For example, I added:</p>



<pre class="example">http://www.google.com/calendar/*

http://docs.google.com/


http://docs.google.com/*</pre>

<p>Now all <a href="http://www.google.com/calendar/" title="Google Calendar">Google Calendar</a> and <a href="http://docs.google.com/" title="Google Docs &amp; Spreadsheets">Google Docs &amp; Spreadsheets</a> sessions are secure. But don&#8217;t stop there, any domain will work&#8230; not just the <a href="http://www.google.com" title="Google">Google</a> properties.</p>

<p>Download links: <a href="http://addons.mozilla.org/firefox/748/" title="Download Greasemonkey">Greasemonkey</a> (install this first), <a href="http://userscripts.org/scripts/source/1404.user.js" title="Install GMailSecure">GMailSecure</a></p>]]></content:encoded>
			<wfw:commentRss>http://mitchcontla.com/2007/03/21/tip-of-the-day-secure-your-gmail/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>Cross-site Scripting Techniques and Prevention</title>
		<link>http://mitchcontla.com/2006/04/18/cross-site-scripting-techniques-and-prevention/</link>
		<comments>http://mitchcontla.com/2006/04/18/cross-site-scripting-techniques-and-prevention/#comments</comments>
		<pubDate>Tue, 18 Apr 2006 23:17:59 +0000</pubDate>
		<dc:creator>mitch</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Geekery]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[web2.0]]></category>

		<guid isPermaLink="false">http://mitch.contla.net/2006/04/18/cross-site-scripting-techniques-and-prevention/</guid>
		<description><![CDATA[ALA serves up a great article addressing the dangers of cross-site scripting (XSS) vulnerabilities. Author Niklas Bivald says,

Validating and sanitizing user input is no longer optional. Consider what your users really need to do, think about what characters they need to accomplish those tasks, and strip/convert as necessary to protect your community.

Part 1 provides examples [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.alistapart.com"><span class="caps">ALA</span></a> serves up a <a href="http://www.alistapart.com/articles/secureyourcode">great article</a> addressing the dangers of cross-site scripting (XSS) vulnerabilities. Author <a href="http://www.alistapart.com/authors/b/niklasbivald">Niklas Bivald</a> says,</p>

<blockquote><p>Validating and sanitizing user input is no longer optional. Consider what your users really need to do, think about what characters they need to accomplish those tasks, and strip/convert as necessary to protect your community.</p></blockquote>

<p>Part 1 provides examples of <acronym title="Cross-site Scripting">XSS</acronym> attacks, and a checklist for validating input. An upcoming Part 2 promises to deliver techniques for closing these vulnerabilities and preventing attacks on your sites and communities.</p>

<p>The excitement generated by the popularity of <acronym title="Asynchronous JavaScript + XML">Ajax</acronym> technologies and all the flashy new Web 2.0 applications, along with a wealth of published tutorials and &#8220;howtos&#8221;, must entice many to dive head first into web development. My guess is, many do this with little or no thought to the implications these technologies might have on security. I am happy to see <span class="caps">XSS </span>addressed, even if in such a simple manner, and hope to see more of these types of tutorials.</p>]]></content:encoded>
			<wfw:commentRss>http://mitchcontla.com/2006/04/18/cross-site-scripting-techniques-and-prevention/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bite Size Standards</title>
		<link>http://mitchcontla.com/2006/04/14/bite-size-standards/</link>
		<comments>http://mitchcontla.com/2006/04/14/bite-size-standards/#comments</comments>
		<pubDate>Sat, 15 Apr 2006 05:48:03 +0000</pubDate>
		<dc:creator>mitch</dc:creator>
				<category><![CDATA[Geekery]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Links]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tutorials]]></category>

		<guid isPermaLink="false">http://mitch.contla.net/2006/04/14/bite-size-standards/</guid>
		<description><![CDATA[Bite Size Standards went online today, offering web development tutorials, tips, etc. In their own words:

The basic idea being that busy web designers don’t always have time to read or write lengthy tutorials but that a daily “bite” of useful information, taken or given, could be good for the soul.

Sounds promising. Hat tip to snook [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://bitesizestandards.com/">Bite Size Standards</a> went online today, offering web development tutorials, tips, etc. In their own words:</p>

<blockquote><p>The basic idea being that busy web designers don’t always have time to read or write lengthy tutorials but that a daily “bite” of useful information, taken or given, could be good for the soul.</p></blockquote>

<p>Sounds promising. Hat tip to <a href="http://www.snook.ca/archives/000576.php">snook</a> for the link.</p>]]></content:encoded>
			<wfw:commentRss>http://mitchcontla.com/2006/04/14/bite-size-standards/feed/</wfw:commentRss>
		<slash:comments>0</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>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>
