<?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>zoombody &#187; howto</title>
	<atom:link href="http://zoombody.com/tag/howto/feed" rel="self" type="application/rss+xml" />
	<link>http://zoombody.com</link>
	<description>by Dan Rice</description>
	<lastBuildDate>Fri, 30 Jul 2010 15:37:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Hide yourself from your own website&#8217;s Google Analytics using Firefox</title>
		<link>http://zoombody.com/articles/hide-from-analytics-with-adblock</link>
		<comments>http://zoombody.com/articles/hide-from-analytics-with-adblock#comments</comments>
		<pubDate>Sat, 10 Jan 2009 21:06:56 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[adblock plus]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[google analytics]]></category>
		<category><![CDATA[howto]]></category>

		<guid isPermaLink="false">http://zoombody.com/?p=66</guid>
		<description><![CDATA[The latest version of Firefox add-on Adblock Plus includes a useful new feature that is perfect for preventing your own visits to your website from appearing in Google Analytics.
If you use Analytics on your website(s) &#8212; particularly on very small sites such as this one, where your own visits can significantly skew any traffic measurements [...]]]></description>
			<content:encoded><![CDATA[<p>The latest version of <a href="http://www.mozilla.com/en-US/products/firefox/">Firefox</a> add-on <a href="https://addons.mozilla.org/en-US/firefox/addon/1865">Adblock Plus</a> includes a useful new feature that is perfect for preventing your own visits to your website from appearing in <a href="http://www.google.com/analytics/">Google Analytics</a>.</p>
<p>If you use Analytics on your website(s) &#8212; particularly on very small sites such as this one, where your own visits can significantly skew any traffic measurements &#8212; you have probably wished you could reliably exclude your internal page views from your traffic reports. Google provides a filter system, but it falls a bit short if you aren&#8217;t visiting from a static IP address.</p>
<p>Aa great solution has just arrived in the form of Adblock Plus <a href="http://adblockplus.org/releases/adblock-plus-101-released">version 1.0.1</a>, which finally provides the ability to restrict the domains to which its ad-blocking rules apply.</p>
<p>After <a href="http://adblockplus.org/en/getting_started#install">installing the Adblock Plus extension</a>, add a filter rule of the syntax</p>

<div class="wp_syntax"><div class="code"><pre class="text text" style="font-family:monospace;">google-analytics.com$domain=zoombody.com</pre></div></div>

<p>(replacing <code>zoombody.com</code> with your own domain). Now, when you visit your own site, you will remain completely hidden from Google Analytics.</p>
<p>You could undoubtedly apply this to other hit counters; Analytics just happens to be the service I use.</p>
]]></content:encoded>
			<wfw:commentRss>http://zoombody.com/articles/hide-from-analytics-with-adblock/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Run a Windows (&#8221;DOS&#8221;) batch/cmd script minimized</title>
		<link>http://zoombody.com/articles/run-a-batch-script-minimized</link>
		<comments>http://zoombody.com/articles/run-a-batch-script-minimized#comments</comments>
		<pubDate>Wed, 17 Dec 2008 17:44:46 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://zoombody.com/?p=50</guid>
		<description><![CDATA[Here&#8217;s a snippet of code I wrote that will force a Windows batch script to run in a minimized window. Insert it at the beginning of the script:

if not &#34;%minimized%&#34;==&#34;&#34; goto :minimized
set minimized=true
start /min cmd /C &#34;%~dpnx0&#34;
goto :EOF
:minimized
rem Anything after here will run in a minimized window

It works by having the script re-launch itself in [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a snippet of code I wrote that will force a Windows batch script to run in a minimized window. Insert it at the beginning of the script:</p>

<div class="wp_syntax"><div class="code"><pre class="dos dos" style="font-family:monospace;"><span style="color: #00b100; font-weight: bold;">if</span> <span style="color: #000000; font-weight: bold;">not</span> &quot;<span style="color: #33cc33;">%</span><span style="color: #448888;">minimized</span><span style="color: #33cc33;">%</span>&quot;==&quot;&quot; <span style="color: #00b100; font-weight: bold;">goto</span> <span style="color: #b100b1; font-weight: bold;">:minimized</span>
<span style="color: #b1b100; font-weight: bold;">set</span> <span style="color: #448844;">minimized</span>=true
start /min cmd /C &quot;<span style="color: #33cc33;">%</span>~dpnx0&quot;
<span style="color: #00b100; font-weight: bold;">goto</span> <span style="color: #b100b1; font-weight: bold;">:EOF</span>
:<span style="color: #b100b1; font-weight: bold;">minimized</span>
<span style="color: #808080; font-style: italic;">rem</span> Anything after here will run <span style="color: #00b100; font-weight: bold;">in</span> a minimized window</pre></div></div>

<p>It works by having the script re-launch itself in a new minimized window. There are a few juicy batch scripting tricks in here that I recently picked up, like the <code>%~dpnx0</code> syntax and the special <code>:EOF</code> label. And the overall flag/callback syntax is generally useful for creating self-contained batch scripts.</p>
<p>Other <code>start</code> switches besides <code>/min</code> can provide different parameters for the child window, such as adjusting the CPU priority of the resulting process.</p>
]]></content:encoded>
			<wfw:commentRss>http://zoombody.com/articles/run-a-batch-script-minimized/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Fix funky Samba filenames</title>
		<link>http://zoombody.com/articles/fix-funky-samba-filenames</link>
		<comments>http://zoombody.com/articles/fix-funky-samba-filenames#comments</comments>
		<pubDate>Fri, 05 Dec 2008 02:21:43 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[samba]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://zoombody.com/?p=39</guid>
		<description><![CDATA[While I was ssh&#8217;ed into my file server, I noticed that the files on my Samba shares were messed up &#8212; for example, &#8220;B&#233;la Fleck and the Flecktones&#8221; would appear as &#8220;B&#195;&#169;la Fleck and the Flecktones&#8221; &#8212; though everything was OK when looking at the shares as a client. After spending a lot of time [...]]]></description>
			<content:encoded><![CDATA[<p>While I was ssh&#8217;ed into my file server, I noticed that the files on my Samba shares were messed up &#8212; for example, &#8220;B&eacute;la Fleck and the Flecktones&#8221; would appear as &#8220;B&Atilde;&copy;la Fleck and the Flecktones&#8221; &#8212; though everything was OK when looking at the shares as a client. After spending a lot of time messing around with code pages and character sets in my smb.conf, e.g.</p>

<div class="wp_syntax"><div class="code"><pre class="text text" style="font-family:monospace;">[global]
   dos charset = CP850
   unix charset = iso8859-1
   display charset = LOCALE</pre></div></div>

<p>I finally ran across <a href="http://forum.soft32.com/linux/german-characters-ftopict368233.html#846610">an old mailing list posting that told me the secret</a>: set my terminal to UTF-8 (to match the default character set of my Ubuntu server). Duh. I went into my <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/">PuTTY</a> settings (yes, I was in Windows) and changed it from ISO-8859-1 to UTF-8. Muuuch better. Forget that smb.conf stuff.</p>
]]></content:encoded>
			<wfw:commentRss>http://zoombody.com/articles/fix-funky-samba-filenames/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Excel tip: Relative references in named formulas</title>
		<link>http://zoombody.com/articles/self-referencing-named-formulas-in-excel</link>
		<comments>http://zoombody.com/articles/self-referencing-named-formulas-in-excel#comments</comments>
		<pubDate>Fri, 07 Nov 2008 21:09:09 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[excel]]></category>
		<category><![CDATA[howto]]></category>

		<guid isPermaLink="false">http://zoombody.com/?p=18</guid>
		<description><![CDATA[Named formulas can be very useful when your Excel workbook needs to contain many cells that use the same formula, but they are limited to containing static references. It is easy to get around this limitation by creating a self-referencing formula named &#8220;Self&#8221;:

=INDIRECT&#40;ADDRESS&#40;ROW&#40;&#41;,COLUMN&#40;&#41;&#41;&#41;

You can then access other cells using the OFFSET function, e.g. one cell [...]]]></description>
			<content:encoded><![CDATA[<p>Named formulas can be very useful when your Excel workbook needs to contain many cells that use the same formula, but they are limited to containing static references. It is easy to get around this limitation by creating a self-referencing formula named &#8220;Self&#8221;:</p>

<div class="wp_syntax"><div class="code"><pre class="c c" style="font-family:monospace;"><span style="color: #339933;">=</span>INDIRECT<span style="color: #009900;">&#40;</span>ADDRESS<span style="color: #009900;">&#40;</span>ROW<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>COLUMN<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span></pre></div></div>

<p>You can then access other cells using the <code>OFFSET</code> function, e.g. one cell to the left would be</p>

<div class="wp_syntax"><div class="code"><pre class="c c" style="font-family:monospace;"><span style="color: #339933;">=</span>OFFSET<span style="color: #009900;">&#40;</span>Self<span style="color: #339933;">,</span><span style="color:#800080;">0</span><span style="color: #339933;">,-</span><span style="color: #0000dd;">1</span><span style="color: #009900;">&#41;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://zoombody.com/articles/self-referencing-named-formulas-in-excel/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disabling the Pantech C150&#8217;s annoying web browser</title>
		<link>http://zoombody.com/articles/disabling-the-pantech-c150s-annoying-web-browser</link>
		<comments>http://zoombody.com/articles/disabling-the-pantech-c150s-annoying-web-browser#comments</comments>
		<pubDate>Wed, 26 Mar 2008 03:16:17 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[phone]]></category>

		<guid isPermaLink="false">http://zoombody.com/articles/disabling-the-pantech-c150s-annoying-web-browser</guid>
		<description><![CDATA[I use a Pantech C150 mobile phone from AT&#038;T. It&#8217;s a moderately well designed, sleek piece of hardware, but the UI is terribly clunky. I could rattle off a laundry list of gripes, but my biggest is that pressing the joystick button launches the web browser and requires furious pressing of the &#8220;End&#8221; button to [...]]]></description>
			<content:encoded><![CDATA[<p>I use a <a href="http://www.pantechusa.com/web/guest/c150">Pantech C150</a> mobile phone from AT&#038;T. It&#8217;s a moderately well designed, sleek piece of hardware, but the UI is terribly clunky. I could rattle off a laundry list of gripes, but my biggest is that pressing the joystick button launches the web browser and requires furious pressing of the &#8220;End&#8221; button to avoid data charges and exit to some more useful function. The prominence of this button makes it very easy to suddenly find yourself in the browser:</p>
<ul>
<li>during normal use, when using the joystick for navigation;</li>
<li>when you&#8217;ve finished using the phone and stuck it in your pocket, but it hasn&#8217;t automatically locked yet (starting a data session prevents automatic locking, of course); or</li>
<li><em>while</em> on a call.</li>
</ul>
<p>Unfortunately, Pantech and AT&#038;T have decided that being able to change this button&#8217;s behavior is not a useful option to include on the phone. So much for the obvious answer.</p>
<p>I guess you get what you pay for.</p>
<p>Looks like we have to go to Plan B. Fortunately, there is a way to save the situation<span id="more-4"></span> &ndash; Google to the rescue. <a href="http://forums.wireless.att.com/cng/board/message?board.id=Pantech&#038;message.id=2248">This AT&#038;T forum thread</a> and <a href="http://www.cellrants.com/site/comments/review_pantech_c150/">this review&#8217;s comments</a> tell the secret: create a new browsing profile with bogus settings, and the browser won&#8217;t go anywhere. Here&#8217;s what you have to do:</p>
<ol>
<li>Navigate to <i>Menu > MEdia Net > Profiles</i> and select an empty slot.</li>
<li>Click <i>Add</i> to create a new profile and give it a name. (I called mine &#8220;Offline&#8221;.)</li>
<li>When you get back to the profile list, press <i>OK</i> to select the new profile as the default. A message will pop up confirming your selection, and the bullet next to the profile name will turn red.</li>
<li>Edit the new profile, and enter <code>http://1</code> as the Home URL.</li>
<li>Enter <code>127.0.0.1</code> as the Proxy IP.</li>
</ol>
<p>You really only need to perform steps 1-3 to get the desired effect; the last two are just optimization. The first time I tried steps 1-3, I didn&#8217;t have any luck &ndash; the phone still transferred 13KB each time. (Someone on the aforementioned AT&#038;T forum seems to have had the same problem, but I can no longer reproduce it.) So when that didn&#8217;t work, I tried playing around with other URLs, including <a href="http://en.wikipedia.org/wiki/Localhost">loopback IP addresses</a>. An excessive amount of time experimenting with these settings unearthed a number of data-transfer-free combinations, and eventually led me to discover that it takes half as long to abort the browser session using the <i>End</i> key (five seconds instead of ten) if you set both an invalid URL and a loopback proxy, which makes the occasional accidental joystick press much less annoying. Other settings might achieve equal or better results; this is the best combination I found.</p>
]]></content:encoded>
			<wfw:commentRss>http://zoombody.com/articles/disabling-the-pantech-c150s-annoying-web-browser/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
