<?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>Mike&#039;s Blog &#187; Technical Journal</title>
	<atom:link href="http://www.brintech.net/category/technical-journal/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.brintech.net</link>
	<description>Gospel study notes and technical journal</description>
	<lastBuildDate>Sat, 04 Feb 2012 17:01:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Keyboard shortcuts for bulleted and numbered lists in office products</title>
		<link>http://www.brintech.net/keyboard-shortcuts-for-bulleted-and-numbered-lists-in-office-products/</link>
		<comments>http://www.brintech.net/keyboard-shortcuts-for-bulleted-and-numbered-lists-in-office-products/#comments</comments>
		<pubDate>Sat, 04 Feb 2012 17:01:19 +0000</pubDate>
		<dc:creator>mbrinson</dc:creator>
				<category><![CDATA[Technical Journal]]></category>

		<guid isPermaLink="false">http://www.brintech.net/?p=1304</guid>
		<description><![CDATA[I love OneNote. I&#8217;ve become so much more organized since I&#8217;ve made it the central tool I use to all of my note taking and planning. For me the key to being really proficient with it has been learning and using as many of the keyboard shortcuts as I can. One new keyboard shortcut that [...]]]></description>
			<content:encoded><![CDATA[<p>I love OneNote.  I&#8217;ve become so much more organized since I&#8217;ve made it the central tool I use to all of my note taking and planning.</p>
<p>For me the key to being really proficient with it has been learning and using as many of the keyboard shortcuts as I can.  One new keyboard shortcut that OneNote has added by default is for bulleted and numbered lists.  I really like the default as it makes sense and is easy to remember.  It is Ctrl + .  for bulleted lists and Ctrl + /  for numbered lists.  The period naturally makes me think of a bullet and the slash is right next to the preiod and can also be remembered (at least for me) as a slanted &#8220;1&#8243; which of course we would begin our numbered list with.</p>
<p>The only problem is this is not the default and not uniform throughout the office suite of products.  Here&#8217;s how to remedy this (at least for the bulleted and numbered list keyboard shortcuts.  In Word 2007 click on the &#8220;Office Button&#8221;</p>
<p><a href="http://www.brintech.net/wp-content/uploads/2010/03/OfficeButton.jpg"><img class="alignnone size-full wp-image-1309" title="OfficeButton" src="http://www.brintech.net/wp-content/uploads/2010/03/OfficeButton.jpg" alt="Office Button" width="340" height="246" /></a></p>
<p>Next, click on &#8220;Word Options&#8221; at the bottom right.</p>
<p><br class="spacer_" /></p>
<div id="attachment_1310" class="wp-caption alignnone" style="width: 437px"><a href="http://www.brintech.net/wp-content/uploads/2010/03/WordOptions.jpg"><img class="size-full wp-image-1310" title="WordOptions" src="http://www.brintech.net/wp-content/uploads/2010/03/WordOptions.jpg" alt="" width="427" height="472" /></a><p class="wp-caption-text">Word Options</p></div>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p>Then choose &#8220;Customize&#8221; on the left side</p>
<p><a href="http://www.brintech.net/wp-content/uploads/2010/03/Customize.jpg"><img class="alignnone size-full wp-image-1306" title="Customize" src="http://www.brintech.net/wp-content/uploads/2010/03/Customize.jpg" alt="Customize" width="245" height="282" /></a></p>
<p>Click on &#8220;Keyboard shortcuts: customize&#8221; as shown below.</p>
<p><a href="http://www.brintech.net/wp-content/uploads/2010/03/CustomizeKeyboardShortcuts.jpg"><img class="alignnone size-full wp-image-1307" title="CustomizeKeyboardShortcuts" src="http://www.brintech.net/wp-content/uploads/2010/03/CustomizeKeyboardShortcuts.jpg" alt="Keyboard shortcuts: Customize" width="286" height="141" /></a></p>
<p>On the left side under categories scroll down until you see &#8220;all commands.&#8221;  Click on that and then on the right side under commands scroll down until you see &#8220;FormatBulletDefault&#8221; and click on that.  If that seems unintuitive to you then you are not alone.  You&#8217;d think it would begin with Insert&#8230;  right?</p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<div id="attachment_1308" class="wp-caption alignnone" style="width: 581px"><a href="http://www.brintech.net/wp-content/uploads/2010/03/FormatBulletDefault.jpg"><img class="size-full wp-image-1308" title="FormatBulletDefault" src="http://www.brintech.net/wp-content/uploads/2010/03/FormatBulletDefault.jpg" alt="" width="571" height="448" /></a><p class="wp-caption-text">Format Bullet Default</p></div>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p>Now you click in the &#8220;Press new shortcut key&#8221; input box and then actually press the keyboard combination that you want to assign.  Then click on &#8220;Assign&#8221; at the bottom left.  You&#8217;re done!</p>
<p><a href="http://www.brintech.net/wp-content/uploads/2010/03/Assign.jpg"><img class="alignnone size-full wp-image-1305" title="Assign" src="http://www.brintech.net/wp-content/uploads/2010/03/Assign.jpg" alt="Press new shortcut key" width="404" height="275" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.brintech.net/keyboard-shortcuts-for-bulleted-and-numbered-lists-in-office-products/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress title problems &#8211; Yoast seo title broken or not working (But actually, it&#8217;s your theme!)</title>
		<link>http://www.brintech.net/wordpress-title-problems-yoast-seo-title-broken-or-not-working-but-actually-its-your-theme/</link>
		<comments>http://www.brintech.net/wordpress-title-problems-yoast-seo-title-broken-or-not-working-but-actually-its-your-theme/#comments</comments>
		<pubDate>Wed, 01 Feb 2012 17:36:16 +0000</pubDate>
		<dc:creator>mbrinson</dc:creator>
				<category><![CDATA[Technical Journal]]></category>

		<guid isPermaLink="false">http://www.brintech.net/?p=1440</guid>
		<description><![CDATA[Rather than stepping through the code in a debugger, the first thing you should think of when a title isn&#8217;t being rewritten as you&#8217;d expect when using an SEO plugin such as yoast seo is FILTERS. WordPress uses the &#8220;add_filter()&#8221; function to register or associate a custom function as a filter for a core wordpress function. [...]]]></description>
			<content:encoded><![CDATA[<p>Rather than stepping through the code in a debugger, the first thing you should think of when a title isn&#8217;t being rewritten as you&#8217;d expect when using an SEO plugin such as yoast seo is <span style="background-color: #ffff00;"><strong>FILTERS</strong></span>.</p>
<p>WordPress uses the &#8220;<span style="color: #0000ff;">add_filter()</span>&#8221; function to register or associate a custom function as a filter for a core wordpress function.  In the case of controlling the formatting of the &lt;title&gt;&lt;/title&gt; tag for pages, the &#8220;<span style="color: #0000ff;">wp_title()</span>&#8221; function is the core wordpress function that comes into play.</p>
<p>When a custom function gets registered as a filter for a core wordpress function the custom function gets added to an array that holds a list of the filters that are associated with the core wordpress function in question.  So, if we&#8217;re having a problem with the title tag not being formatted the way we expect it should be, then we should begin by getting a list of all of the custom functions that are registered as filters for the <span style="color: #0000ff;">wp_title()</span> wordpress function.</p>
<p>Thanks to t31os, we have a function that will provide the list that we are looking for.  <a href="http://stackoverflow.com/questions/5224209/wordpress-how-do-i-get-all-the-registered-functions-for-the-content-filter" rel="nofollow">Here is the function he provides</a>.  Just in case that link goes down, I&#8217;m reproducing his code here:</p>
<div id="highlighter_528511">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td>
<div>
<div><code>function print_filters_for( $hook = </code><code>''</code> <code>) {</code></div>
<div><code>    </code><code>global $wp_filter;</code></div>
<div><code>    </code><code>if</code><code>( empty( $hook ) || !isset( $wp_filter[$hook] ) )</code></div>
<div><code>        </code><code>return</code><code>;</code></div>
<div></div>
<div><code>    </code><code>print </code><code>'&lt;pre&gt;'</code><code>;</code></div>
<div><code>    </code><code>print_r( $wp_filter[$hook] );</code></div>
<div><code>    </code><code>print </code><code>'&lt;/pre&gt;'</code><code>;</code></div>
<div><code>}</code></div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<p>Call it where you need it.</p>
<div id="highlighter_804702">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td>
<div>
<div><code>print_filters_for( </code><code>'the_content'</code> <code>);</code></div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<p>&nbsp;</p>
<p>In our case, &#8216;<span style="color: #0000ff;">the_content</span>&#8216; is going to be <span style="color: #ff0000;">&#8216;wp_title</span>&#8216;.</p>
<p>Here&#8217;s the output that was generated from this for a site I was working on:</p>
<p>&nbsp;</p>
<div id="highlighter_23824">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td>
<div>
<div><code>Array</code></div>
<div><code>(</code></div>
<div><code>    </code><code>[</code><code>10</code><code>] =&gt; Array</code></div>
<div><code>        </code><code>(</code></div>
<div><code>            </code><code>[wptexturize] =&gt; Array</code></div>
<div><code>                </code><code>(</code></div>
<div><code>                    </code><code>[function] =&gt; wptexturize</code></div>
<div><code>                    </code><code>[accepted_args] =&gt; </code><code>1</code></div>
<div><code>                </code><code>)</code></div>
<div></div>
<div><code>            </code><code>[convert_chars] =&gt; Array</code></div>
<div><code>                </code><code>(</code></div>
<div><code>                    </code><code>[function] =&gt; convert_chars</code></div>
<div><code>                    </code><code>[accepted_args] =&gt; </code><code>1</code></div>
<div><code>                </code><code>)</code></div>
<div></div>
<div><code>            </code><code>[esc_html] =&gt; Array</code></div>
<div><code>                </code><code>(</code></div>
<div><code>                    </code><code>[function] =&gt; esc_html</code></div>
<div><code>                    </code><code>[accepted_args] =&gt; </code><code>1</code></div>
<div><code>                </code><code>)</code></div>
<div></div>
<div><code>            </code><code>[2f4715287fb31e3313798458a40aab59title] =&gt; Array</code></div>
<div><code>                </code><code>(</code></div>
<div><code>                    </code><code>[function] =&gt; Array</code></div>
<div><code>                        </code><code>(</code></div>
<div><code>                            </code><code>[</code><code>0</code><code>] =&gt; WPSEO_Frontend Object</code></div>
<div><code>                                </code><code>(</code></div>
<div><code>                                </code><code>)</code></div>
<div></div>
<div><code>                            </code><code>[</code><code>1</code><code>] =&gt; title</code></div>
<div><code>                        </code><code>)</code></div>
<div></div>
<div><code>                    </code><code>[accepted_args] =&gt; </code><code>3</code></div>
<div><code>                </code><code>)</code></div>
<div></div>
<div><code>            </code><code>[ts_filter_wp_title] =&gt; Array</code></div>
<div><code>                </code><code>(</code></div>
<div><code>                    </code><code>[function] =&gt; ts_filter_wp_title</code></div>
<div><code>                    </code><code>[accepted_args] =&gt; </code><code>2</code></div>
<div><code>                </code><code>)</code></div>
<div></div>
<div><code>        </code><code>)</code></div>
<div></div>
<div><code>)</code></div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<p>I got this by adding the <a href="#highlighter_528511">print_filters_for()</a> function to the theme function.php file at the top.  ie.  -&gt; <span style="color: #ff0000;">/wp-content/themes/[your theme]/functions.php</span></p>
<p>And then adding the <a href="#highlighter_804702">function call</a> in the header.php template file somewhere where it would show up on the page (being sure to put &#8220;wp_title&#8221; instead of &#8220;the_content&#8221;).  Then I loaded the home page so the information showed up, then before I even looked through the array results I commented out the call to the print_filters_for() function and saved it so that visitors to the site wouldn&#8217;t be seeing the array output.</p>
<p>So the output that we get represents all of the functions that are registered as filters for the wordpress wp_title() function.  Any of them could be the culprit, but my attention immediately gets drawn to the last one -&gt; [ts_filter_wp_title]</p>
<p>I&#8217;m sure there&#8217;s some way for the print_filters_for() function to also display the file where the function is defined, but I&#8217;m not going to take the time to figure out how to do that.  Because of that, we&#8217;ll just have to pull down all of the php files in the theme and search through all of them for the &#8220;ts_filter_wp_title&#8221; function.  It ends up for the site I&#8217;m working on that it&#8217;s in /wp-content/themes/[my theme]/includes/theme-function.php.</p>
<p>Now that we&#8217;ve found it, we just need to comment out the line where it actually registers the filter.</p>
<p>&nbsp;</p>
<div>
<div><strong>/wp-content/themes/[my theme]/includes/theme-function.php</strong></div>
<div>
<div>
<div id="highlighter_991219">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td>
<div>99</div>
</td>
<td>
<div>
<div><code>//add_filter( 'wp_title', 'ts_filter_wp_title', 10, 2 );</code></div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<p>&nbsp;</p>
<p>Yeah!  Now the yoast seo plugin works as expected.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brintech.net/wordpress-title-problems-yoast-seo-title-broken-or-not-working-but-actually-its-your-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quickbooks pdf Printer Not Working</title>
		<link>http://www.brintech.net/quickbooks-pdf-printer-not-working/</link>
		<comments>http://www.brintech.net/quickbooks-pdf-printer-not-working/#comments</comments>
		<pubDate>Fri, 30 Sep 2011 05:01:07 +0000</pubDate>
		<dc:creator>mbrinson</dc:creator>
				<category><![CDATA[Accounting]]></category>
		<category><![CDATA[Technical Journal]]></category>

		<guid isPermaLink="false">http://www.brintech.net/?p=1436</guid>
		<description><![CDATA[It looks like Intuit finally provided an easy fix for the perpetual and never-ending problem with the Ayumani print driver that comes with quickbooks previous to Quickbooks 2011 (I think). Your mileage may vary, but this worked for me.  Just download this file and run it. I actually did a google search to find the [...]]]></description>
			<content:encoded><![CDATA[<p>It looks like Intuit finally provided an easy fix for the perpetual and never-ending problem with the Ayumani print driver that comes with quickbooks previous to Quickbooks 2011 (I think).</p>
<p>Your mileage may vary, but this worked for me.  Just download this file and run it.</p>
<p>I actually did a google search to find the file online so I could point to it, but now I can&#8217;t find it.  I&#8217;m sure glad I did find it and that I kept a copy on my local pc.  Only problem is that some of you will probably be leery of running a program that you&#8217;re not downloading straight from intuit.  Nothing I can do about that except to say that I haven&#8217;t modified this file in any way and you&#8217;re just going to have to take a leap of faith and try it out.</p>
<p>Click this link for the file -&gt; <a title="pdfix - automatic fix for ayumani quickbooks printer driver" href="http://www.brintech.net/wp-content/uploads/2011/09/pdfix.exe">pdfix.exe</a></p>
<p>Good luck!  Hopefully it works as easily for you as it did for me.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brintech.net/quickbooks-pdf-printer-not-working/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Number Google Search Results In Firefox</title>
		<link>http://www.brintech.net/number-google-search-results-in-firefox/</link>
		<comments>http://www.brintech.net/number-google-search-results-in-firefox/#comments</comments>
		<pubDate>Fri, 30 Sep 2011 04:32:43 +0000</pubDate>
		<dc:creator>mbrinson</dc:creator>
				<category><![CDATA[Technical Journal]]></category>
		<category><![CDATA[Technology Recipes]]></category>
		<category><![CDATA[firefox addon number google results]]></category>
		<category><![CDATA[firefox addons]]></category>

		<guid isPermaLink="false">http://www.brintech.net/?p=1430</guid>
		<description><![CDATA[This is the best (only) way I have found to do it with the new google search results.. Ie: instant preview, instant search, etc. All of the new features that google has added has broken other add-ons that I have used.  For it to work now I use two add-ons in conjunction with each other.  [...]]]></description>
			<content:encoded><![CDATA[<p>This is the best (only) way I have found to do it with the new google search results.. Ie: instant preview, instant search, etc.</p>
<p>All of the new features that google has added has broken other add-ons that I have used.  For it to work now I use two add-ons in conjunction with each other.  OH, three actually..</p>
<p><a href="http://http/www.greasespot.net/">http://http://www.greasespot.net/</a></p>
<p><a href="http://userscripts.org/scripts/show/11213">http://userscripts.org/scripts/show/11213</a></p>
<p><a href="https://addons.mozilla.org/en-US/firefox/addon/googleenhancer/">https://addons.mozilla.org/en-US/firefox/addon/googleenhancer/</a></p>
<p>The key to getting things working is to return google to it&#8217;s glory days when it didn&#8217;t have all of the extra stuff.  You can do that with one checkbox in the options for the google enhancer add-on.</p>
<p><a href="http://www.brintech.net/wp-content/uploads/2011/09/revert-to-classic-google.png"><img class="alignnone size-full wp-image-1433" title="revert-to-classic-google" src="http://www.brintech.net/wp-content/uploads/2011/09/revert-to-classic-google.png" alt="" width="357" height="71" /></a></p>
<p>You also need to install the greasemonkey add-on and then restart firefox.  After you&#8217;ve restarted you can navigate to the site where the greasemonkey script resides that will number the result for you.  You could also just turn on the numbering option in the GoogleEnhancer options</p>
<p><a href="http://www.brintech.net/wp-content/uploads/2011/09/number-search-results-checkbox.png"><img class="alignnone size-full wp-image-1432" title="number-search-results-checkbox" src="http://www.brintech.net/wp-content/uploads/2011/09/number-search-results-checkbox.png" alt="" width="149" height="53" /></a></p>
<p>but it wasn&#8217;t working for me for some reason.  Also, when it did work, it would include numbering for the blended results which would throw off the regular numbering.</p>
<p>To install the greasemonkey script you click on this button in the upper-right-hand corner at <a href="http://userscripts.org/scripts/show/11213">http://userscripts.org/scripts/show/11213</a></p>
<p><a href="http://www.brintech.net/wp-content/uploads/2011/09/install-button.png"><img class="alignnone size-full wp-image-1431" title="install-button" src="http://www.brintech.net/wp-content/uploads/2011/09/install-button.png" alt="" width="118" height="75" /></a></p>
<p>Then you get happy results:</p>
<p><a href="http://www.brintech.net/wp-content/uploads/2011/09/happy-numbered-results.png"><img class="alignnone size-full wp-image-1434" title="happy-numbered-results" src="http://www.brintech.net/wp-content/uploads/2011/09/happy-numbered-results.png" alt="" width="567" height="512" /></a></p>
<p>When the search results include a 7 pack, it does not number those.  But when we get blended results as in the image above, it does number those results, which is not the most ideal, but beggars can&#8217;t be choosers.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brintech.net/number-google-search-results-in-firefox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Extract All Regular Expression Results (Copy all regex matches to clipboard)</title>
		<link>http://www.brintech.net/extract-all-regular-expression-results-copy-all-regex-matches-to-clipboard/</link>
		<comments>http://www.brintech.net/extract-all-regular-expression-results-copy-all-regex-matches-to-clipboard/#comments</comments>
		<pubDate>Tue, 15 Jun 2010 20:23:14 +0000</pubDate>
		<dc:creator>mbrinson</dc:creator>
				<category><![CDATA[Technical Journal]]></category>
		<category><![CDATA[Technology Recipes]]></category>
		<category><![CDATA[microsoft word]]></category>
		<category><![CDATA[regex]]></category>
		<category><![CDATA[regular expressions]]></category>

		<guid isPermaLink="false">http://www.brintech.net/?p=1345</guid>
		<description><![CDATA[This was difficult information to find.  I searched for a method using Notepad++, Vim for windows, and a few others, but finally found the easy way to do this using &#8211; of all things &#8211; Microsoft Word. I&#8217;ll spare you the details of the other methods I attempted and just give you the detailed answer [...]]]></description>
			<content:encoded><![CDATA[<ol>
<p>This was difficult information to  find.  I searched for a method using  Notepad++, Vim for windows, and a few others, but finally found the easy way  to do this using &#8211; of all things &#8211; Microsoft Word.</p>
<p><br class="spacer_" /></p>
<p>I&#8217;ll spare you the  details of the other methods I attempted and just give you the detailed answer  of how to accomplish this with Microsoft Word.</p>
<p><br class="spacer_" /></p>
<p>So I&#8217;ll use my  scenario as the example for what you might want to use this for.</p>
<p><br class="spacer_" /></p>
<p>I had a bunch of  html code from which I needed to extract every instance of anchor text between  the &lt;a href=&#8221;…&#8221;&gt;&lt;/a&gt; tags.  In this particular case here is how you  accomplish this:</p>
<p><br class="spacer_" /></p>
<li>Paste the html code you are      working on into a new word document.</li>
<p><a href="http://www.brintech.net/wp-content/uploads/2010/06/Step1.png"><img class="alignnone size-large wp-image-1346" title="Step1" src="http://www.brintech.net/wp-content/uploads/2010/06/Step1-1024x528.png" alt="" width="1024" height="528" /></a></p>
<p><br class="spacer_" /></p>
<li>Press ctrl+f to bring up the      &#8220;Find and Replace&#8221; dialog box.</li>
<p><a href="http://www.brintech.net/wp-content/uploads/2010/06/Step2.png"><img class="alignnone size-full wp-image-1347" title="Step2" src="http://www.brintech.net/wp-content/uploads/2010/06/Step2.png" alt="" width="974" height="550" /></a></p>
<p><br class="spacer_" /></p>
<li>In my particular case I used      this code in the &#8220;Find what:&#8221; field. -&gt;      \&#8221;\&gt;(*)\&lt;\/a\&gt;</li>
<p>Your needs will  most likely be different and you will need to research a bit if you&#8217;re  unfamiliar with regular expressions.   Even if you are familiar with regular expressions (as I am) you&#8217;ll  still probably need to do a little research to get the exact expression that  will work for you.  I&#8217;m sure there are  regex gurus out there who dream in regex, but in my case I find that I always  have to spend more time than I would like just coming up with the syntax for  the regular expression that will provide me the results I am looking for.  <a href="http://office.microsoft.com/en-us/help/ha010873051033.aspx">Microsoft  Word regular expressions</a>.</p>
<p><br class="spacer_" /></p>
<li>In the &#8220;Search      Options&#8221; portion on the bottom half of the dialog box you&#8217;ll need to      check the box &#8220;Use wildcards&#8221;.       This is what enables the regular expression functionality of      Microsoft Word.</li>
<p><br class="spacer_" /></p>
<li>Just to get a preview of your      results click on the &#8220;Reading Highlight&#8221; drop-down box and      choose &#8220;Highlight All&#8221;</li>
<p><a href="http://www.brintech.net/wp-content/uploads/2010/06/Step3.png"><img class="alignnone size-full wp-image-1348" title="Step5" src="http://www.brintech.net/wp-content/uploads/2010/06/Step3.png" alt="" width="547" height="385" /></a></p>
<p><br class="spacer_" /></p>
<p>Here are the  results in my scenario (which is exactly what I want… well, not exactly.  I&#8217;d like to just get the text in between the  &lt;a&gt; and &lt;/a&gt; tags, but I don&#8217;t know how to do that in one step.  The only way I know to do it is to include  the &#8220;&gt; and the &lt;/a&gt; at the beginning and end of the regular  expression so that it captures what I&#8217;m looking for):</p>
<p><a href="http://www.brintech.net/wp-content/uploads/2010/06/Step4.png"><img class="alignnone size-full wp-image-1349" title="Step5 Results" src="http://www.brintech.net/wp-content/uploads/2010/06/Step4.png" alt="" width="955" height="509" /></a></p>
<p><br class="spacer_" /></p>
<li>Once you&#8217;ve verified that      you&#8217;re getting the results you want by choosing &#8220;Highlight All&#8221;      to preview it, then you click on &#8220;Find in&#8221; and choose &#8220;Main      Document&#8221;</li>
<p><a href="http://www.brintech.net/wp-content/uploads/2010/06/Step5.png"><img class="alignnone size-full wp-image-1350" title="Step6" src="http://www.brintech.net/wp-content/uploads/2010/06/Step5.png" alt="" width="548" height="308" /></a></p>
<p><br class="spacer_" /></p>
<li>All of your highlighted text      will now actually♦ be selected.  Now      right click on top of any of the selected areas in the document and click      on &#8220;copy&#8221;.</li>
<p><a href="http://www.brintech.net/wp-content/uploads/2010/06/Step6.png"><img class="alignnone size-full wp-image-1351" title="Step7" src="http://www.brintech.net/wp-content/uploads/2010/06/Step6.png" alt="" width="831" height="481" /></a></p>
<p><br class="spacer_" /></p>
<li>Press ctrl+n to create a new      document.</li>
<p><br class="spacer_" /></p>
<li>Press ctrl+v to paste what      you&#8217;ve just copied to the clipboard into your new document.</li>
<p><br class="spacer_" /></p>
<li>Press ctrl+f to bring up the      &#8220;Find and Replace&#8221; dialog box again.  Now click on the &#8220;Replace&#8221;      tab.</li>
<p><a href="http://www.brintech.net/wp-content/uploads/2010/06/Step7.png"><img class="alignnone size-full wp-image-1352" title="Step10" src="http://www.brintech.net/wp-content/uploads/2010/06/Step7.png" alt="" width="831" height="611" /></a></p>
<p><br class="spacer_" /></p>
<li>In the &#8220;Find what:&#8221;      field make sure you still have this code -&gt;      \&#8221;\&gt;(*)\&lt;\/a\&gt;</li>
<p>In the  &#8220;Replace with:&#8221; field put this code -&gt; &#8220;\1&#8243; (without  the quotation marks)</p>
<p>Make sure the  &#8220;Use wildcards&#8221; checkbox is checked and then click &#8220;Replace  All&#8221;</p>
<p><br class="spacer_" /></p>
<li>&#8220;Wallah.  She is clean.&#8221;  (Jacques on &#8220;Finding Nemo&#8221;)</li>
<p><a href="http://www.brintech.net/wp-content/uploads/2010/06/Step8.png"><img class="alignnone size-full wp-image-1353" title="Step12" src="http://www.brintech.net/wp-content/uploads/2010/06/Step8.png" alt="" width="788" height="609" /></a></p>
<p><br class="spacer_" /></p>
<p>Kudos and thanks to  <a href="http://groups.google.com/group/regex/browse_thread/thread/d7db0f6c25477c38?pli=1">Ivaylo  for posting his workaround</a> which led to my finding this solution and  expanding on it here.</p>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.brintech.net/extract-all-regular-expression-results-copy-all-regex-matches-to-clipboard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ModX Manager Preview Page Problem</title>
		<link>http://www.brintech.net/modx-manager-preview-page-problem/</link>
		<comments>http://www.brintech.net/modx-manager-preview-page-problem/#comments</comments>
		<pubDate>Thu, 08 Apr 2010 21:10:46 +0000</pubDate>
		<dc:creator>mbrinson</dc:creator>
				<category><![CDATA[Technical Journal]]></category>
		<category><![CDATA[modx]]></category>
		<category><![CDATA[mod_rewrite]]></category>

		<guid isPermaLink="false">http://www.brintech.net/?p=1328</guid>
		<description><![CDATA[Wow, that was a fun little adventure. I could not figure out for the life of me why the QM overlay for modX was not working.  When you&#8217;re logged in as admin on the backend then when you preview a page you&#8217;re supposed to get what&#8217;s called the &#8220;Quick Manager&#8221; overlay at the top.  I [...]]]></description>
			<content:encoded><![CDATA[<p>Wow, that was a fun little adventure.</p>
<p>I could not figure out for the life of me why the QM overlay for modX was not working.  When you&#8217;re logged in as admin on the backend then when you preview a page you&#8217;re supposed to get what&#8217;s called the &#8220;Quick Manager&#8221; overlay at the top.  I was getting this when inexplicably it disappeared and I was only able to get it to come back here and there.  I could not figure out what caused it to work and what caused it not to work specifically.</p>
<p>Here&#8217;s some pics just to make this look nice:</p>
<p><a href="http://www.brintech.net/wp-content/uploads/2010/04/Missing-QM-overlay.png"><img class="alignnone size-full wp-image-1329" title="Missing QM overlay" src="http://www.brintech.net/wp-content/uploads/2010/04/Missing-QM-overlay.png" alt="" width="770" height="96" /></a></p>
<p>This is without the QM overlay.</p>
<p><br class="spacer_" /></p>
<p><a href="http://www.brintech.net/wp-content/uploads/2010/04/QM-overlay-peek.png"><img class="alignnone size-full wp-image-1331" title="QM overlay peek" src="http://www.brintech.net/wp-content/uploads/2010/04/QM-overlay-peek.png" alt="" width="770" height="96" /></a></p>
<p>Here it is with the QM overlay before it is extended when you hover over it (the thin little darker strip at the top)</p>
<p><br class="spacer_" /></p>
<p><a href="http://www.brintech.net/wp-content/uploads/2010/04/QM-overlay-full.png"><img class="alignnone size-full wp-image-1330" title="QM overlay full" src="http://www.brintech.net/wp-content/uploads/2010/04/QM-overlay-full.png" alt="" width="770" height="96" /></a></p>
<p>Here it is fully extended.</p>
<p><br class="spacer_" /></p>
<p>So, I went through A LOT to finally figure it out.  I tested it on valleywideplumbing.com with my firefox browser by backing up the DB and the templates folder and putting them into a fresh installation on that domain.  I avoided interrupting the production environment because right now it is set up statically with .html files and the apache web server is set to give precedence to .html extensions over .php.  The modX engine works beginning with the index.php file which is located in the root folder for your modX installation.  So, since there was an index.html file there it did not matter that the index.php file was there because the .html is what was displayed.  That&#8217;s how I was able to test this in parallel with the production site running.</p>
<p><br class="spacer_" /></p>
<p>Anyway, from my MANY different tests I was convinced there was something wrong with my firefox install.  I completely uninstalled firefox together with searching through the registry and removing any references to firefox and mozilla there.  I did back up my extensions, passwords, etc.  with <a title="MozBackup" href="http://www.mozbackup.org" target="_blank">MozBackup</a> which I am very glad I did as it was a huge time saver.  After all of that I got it to work and I thought &#8220;problem solved&#8221;.  But then it went back to not coming up again.</p>
<p><br class="spacer_" /></p>
<p>**Tld = &#8220;Top Level Domain&#8221;</p>
<p><br class="spacer_" /></p>
<p>Finally I discovered the difference.  For Valleywideplumbing.com the mod_rewrite 301 redirect for valleywideplumbing.com -&gt; www.valleywideplumbing.com was working correctly including for the tld**/manager/ folder.  For some reason the redirect was not working correctly for brinformation.com for the tld/manager folder.  I had worked on this extensively before and could not figure out how to get it to work.  It would redirect for the tld and other folders that were created via the &#8220;#friendly urls&#8221; mod_rewrite rules, but would not for manager.  Anyway, I copied what was set up for valleywideplubming and finally got it working for brinformation.</p>
<p><br class="spacer_" /></p>
<p>So, that was the problem.  You HAVE TO log in to the manager using the domain name that you have configured within modx.  Ie:  www.brinformation.com if that&#8217;s how it&#8217;s set up in modx, or just brinformation.com if that&#8217;s how it&#8217;s set up.  The [(site_url)] system variable is created via the config.inc.php file which resides in /manager/includes/ and is generated with the following line of code (within config.inc.php)</p>
<p><br class="spacer_" /></p>
<p>$site_url .= $_SERVER['HTTP_HOST'];</p>
<p><br class="spacer_" /></p>
<p>So, it pulls it from the apache $_SERVER['HTTP_HOST'] variable which is based on what was requested by the user-agent (me in this case.. Or my browser on my behalf technically).  So, since I was putting in &#8220;brinformation.com/manager&#8221; and it wasn&#8217;t getting rewritten properly to www.brinformation.com/manager then when previewing the pages the url was being written correctly with the preceeding www. and so the http_host variable was different between the http://brinformation.com/manager and the http://www.brinformation.com/index.php?id=1 (or whatever page id we&#8217;re previewing)</p>
<p><br class="spacer_" /></p>
<p><a href="http://www.brintech.net/wp-content/uploads/2010/04/url1.png"><img class="alignnone size-full wp-image-1332" title="url1" src="http://www.brintech.net/wp-content/uploads/2010/04/url1.png" alt="" width="375" height="92" /></a></p>
<p><br class="spacer_" /></p>
<p><a href="http://www.brintech.net/wp-content/uploads/2010/04/url2.png"><img class="alignnone size-full wp-image-1333" title="url2" src="http://www.brintech.net/wp-content/uploads/2010/04/url2.png" alt="" width="416" height="86" /></a></p>
<p><br class="spacer_" /></p>
<p>Whew.  I think that makes sense.  Even if it doesn&#8217;t, it&#8217;s fixed!  Woohoo!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brintech.net/modx-manager-preview-page-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox 3.6.3 and Move Media Player</title>
		<link>http://www.brintech.net/firefox-3-6-3-and-move-media-player/</link>
		<comments>http://www.brintech.net/firefox-3-6-3-and-move-media-player/#comments</comments>
		<pubDate>Thu, 08 Apr 2010 16:16:57 +0000</pubDate>
		<dc:creator>mbrinson</dc:creator>
				<category><![CDATA[Technical Journal]]></category>
		<category><![CDATA[firefox]]></category>

		<guid isPermaLink="false">http://www.brintech.net/?p=1323</guid>
		<description><![CDATA[I spent a while figuring out what was causing firefox to go up to 99% CPU utilization and Move Media Player was not playing at all. I found a few other posts through google of people having stability issues with firefox 3.6 in general.  But the particular fix for Move Media Player was to upgrade [...]]]></description>
			<content:encoded><![CDATA[<p>I spent a while figuring out what was causing firefox to go up to 99% CPU utilization and Move Media Player was not playing at all.</p>
<p>I found a few other posts through google of people having stability issues with firefox 3.6 in general.  But the particular fix for Move Media Player was to upgrade to the latest version of the player (of course).  But where do you find it?  I was trying to use the Move player to watch General Conference at beta.lds.org/general-conference.  As of 4/8/2010 the version they have you download is not the latest one offered by Move.</p>
<p>To get the most up to date one (again, as of 4/8/2010) you can <a href="http://www.brintech.net/files/MoveMediaPlayerWin_071701000002.exe">click here to download</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brintech.net/firefox-3-6-3-and-move-media-player/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Windows 7 to Windows 2000 network connection</title>
		<link>http://www.brintech.net/windows-7-to-windows-2000-network-connection/</link>
		<comments>http://www.brintech.net/windows-7-to-windows-2000-network-connection/#comments</comments>
		<pubDate>Mon, 22 Feb 2010 18:54:59 +0000</pubDate>
		<dc:creator>mbrinson</dc:creator>
				<category><![CDATA[Technical Journal]]></category>
		<category><![CDATA[Technology Recipes]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[windows 7]]></category>

		<guid isPermaLink="false">http://www.brintech.net/?p=1302</guid>
		<description><![CDATA[You need to tweak a registry setting in order to allow connecting to a windows share that is shared on a windows 2000 or xp machine from a Windows 7 machine. Here is the technet article that describes the registry setting that needs to be changed: http://technet.microsoft.com/en-us/library/cc960646.aspx Here is the relevant part from the post: [...]]]></description>
			<content:encoded><![CDATA[<p>You need to tweak a registry setting in order to allow connecting to a windows share that is shared on a windows 2000 or xp machine from a Windows 7 machine.  Here is the technet article that describes the registry setting that needs to be changed:</p>
<p><a href="http://technet.microsoft.com/en-us/library/cc960646.aspx">http://technet.microsoft.com/en-us/library/cc960646.aspx</a></p>
<p>Here is the relevant part from the post:</p>
<p>LmCompatibilityLevel</p>
<p>HKLM\SYSTEM\CurrentControlSet\Control\Lsa</p>
<p>Data type</p>
<p>Range</p>
<p>Default value</p>
<p>REG_DWORD</p>
<p>0–5</p>
<p>0</p>
<p>Description</p>
<p>Specifies the mode of authentication and session security to be used for network logons.</p>
<p>Value</p>
<p>Meaning</p>
<p>0</p>
<p>Clients use LM and NTLM authentication, but they never use NTLMv2 session security. Domain controllers accept LM, NTLM, and NTLMv2 authentication.</p>
<p>1</p>
<p>Clients use LM and NTLM authentication, and they use NTLMv2 session security if the server supports it. Domain controllers accept LM, NTLM, and NTLMv2 authentication.</p>
<p>2</p>
<p>Clients use only NTLM authentication, and they use NTLMv2 session security if the server supports it. Domain controller accepts LM, NTLM, and NTLMv2 authentication.</p>
<p>3</p>
<p>Clients use only NTLMv2 authentication, and they use NTLMv2 session security if the server supports it. Domain controllers accept LM, NTLM, and NTLMv2 authentication.</p>
<p>4</p>
<p>Clients use only NTLMv2 authentication, and they use NTLMv2 session security if the server supports it. Domain controller refuses LM authentication responses, but it accepts NTLM and NTLMv2.</p>
<p>5</p>
<p>Clients use only NTLMv2 authentication, and they use NTLMv2 session security if the server supports it. Domain controller refuses LM and NTLM authentication responses, but it accepts NTLMv2.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brintech.net/windows-7-to-windows-2000-network-connection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Command line Tips</title>
		<link>http://www.brintech.net/command-line-tips/</link>
		<comments>http://www.brintech.net/command-line-tips/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 17:58:33 +0000</pubDate>
		<dc:creator>mbrinson</dc:creator>
				<category><![CDATA[Technical Journal]]></category>

		<guid isPermaLink="false">http://www.brintech.net/2010/02/12/command-line-tips/</guid>
		<description><![CDATA[This has got to be one of the best tutorials I have seen on really helpful command line usage tips for linux: http://www.overclock.net/linux-unix/518232-linux-tips-overclock-your-command-line.html     Talks about how to move around between foreground, background tasks, how to move them between each and other good command line navigation techniques.    ]]></description>
			<content:encoded><![CDATA[<p>This has got to be one of the best tutorials I have seen on really helpful command line usage tips for linux:  <a href="http://www.overclock.net/linux-unix/518232-linux-tips-overclock-your-command-line.html">http://www.overclock.net/linux-unix/518232-linux-tips-overclock-your-command-line.html</a>
	</p>
<p> <br />
 </p>
<p>Talks about how to move around between foreground, background tasks, how to move them between each and other good command line navigation techniques.
</p>
<p> <br />
 </p>
]]></content:encoded>
			<wfw:commentRss>http://www.brintech.net/command-line-tips/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Documenting MythDora Install &#8211; 10.21 (VNC Remote Control with Vino)</title>
		<link>http://www.brintech.net/documenting-mythdora-install-10-21-vnc-remote-control-with-vino/</link>
		<comments>http://www.brintech.net/documenting-mythdora-install-10-21-vnc-remote-control-with-vino/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 23:29:59 +0000</pubDate>
		<dc:creator>mbrinson</dc:creator>
				<category><![CDATA[Technical Journal]]></category>

		<guid isPermaLink="false">http://www.brintech.net/2010/02/10/documenting-mythdora-install-10-21-vnc-remote-control-with-vino/</guid>
		<description><![CDATA[Okay, I already went through the install, but did not get any response from the snapstream firefly remote I&#8217;m using. The problem has to do with Fedora deprecating lirc_atiusb and now using atilibusb instead.   I tried a few things and now yum upgrade or yum anything won&#8217;t even work. It hangs on &#8220;Loaded plugins: [...]]]></description>
			<content:encoded><![CDATA[<p style="margin-left: 23pt">Okay, I already went through the install, but did not get any response from the snapstream firefly remote I&#8217;m using.  The problem has to do with Fedora deprecating lirc_atiusb and now using atilibusb instead.
</p>
<p style="margin-left: 23pt">
 </p>
<p style="margin-left: 23pt">I tried a few things and now yum upgrade or yum anything won&#8217;t even work.  It hangs on &#8220;Loaded plugins: refresh-packagekit&#8221;
</p>
<p style="margin-left: 23pt">I tried a few things to fix that, but can&#8217;t fix it.  I&#8217;m starting a new installation and this time I am documenting everything I do.
</p>
<p style="margin-left: 23pt">
 </p>
<ol>
<li>
<div>Doing fresh installation
</div>
<ol>
<li>Did all default options.
</li>
</ol>
</li>
<li>Fished install and rebooted.  Remove DVD so it doesn&#8217;t boot to it again.
</li>
<li>
<div>Go through &#8220;Welcome&#8221; setup screens.
</div>
<ol>
<li>Choose defaults.
</li>
<li>Click on &#8220;Setup MythTV&#8221; which launches the new web browser based installation options.
</li>
<li>Choose &#8220;A Master backend with frontend&#8221; from the dropdown and then choose &#8220;process selections&#8221;
</li>
<li>Under &#8220;MythTV User Creation&#8221; change the mythtv password and enable the SUDO  checkbox option.
</li>
</ol>
</li>
<li>
<div>Turn off the default firewall with this command (to allow remote control with Vino)
</div>
<ol>
<li><span style="background-color:aqua">chkconfig iptables off</span>
				</li>
</ol>
</li>
<li>
<div>Enable remote desktop control with Vino by getting to the desktop (exit mythtv) and then click on the top and clicking at the top &#8220;System->Preferences->Internet and network->Remote Desktop&#8221;
</div>
<p><img src="http://www.brintech.net/wp-content/uploads/2010/02/021010_2329_Documenting1.png" alt=""/>
			</p>
</li>
<li>
<div>Uncheck the option to allow connection and set up the security option to prompt for a password:
</div>
<p><img src="http://www.brintech.net/wp-content/uploads/2010/02/021010_2329_Documenting2.png" alt=""/>
			</p>
</li>
<li>Then  you can use uvnc or any other vnc viewer to remote control the desktop using &#8220;ip-address:0&#8243; for the connection string (replace &#8220;ip-address&#8221; with the ip address of the mythdora machine).  Yeah!!!
</li>
<li>
<div>Run &#8220;yum upgrade mythdora&#8221; from the commandline after first booting into it after configuring mythTV for the first time.
</div>
<ol>
<li>I ran &#8220;yum upgrade&#8221; before finding a page on mythdora.org that said to do &#8220;yum upgrade mythdora&#8221;.  &#8220;Yum upgrade&#8221; upgrades everything.  So, I&#8217;ll wait and see what happens.  It is normal for it to take a long time before it comes up with the prompt for you to enter &#8220;y/n&#8221; to proceed with the upgrades that are available.
</li>
<li>
<div>There were 420 upgrades when I ran it:
</div>
<p><img src="http://www.brintech.net/wp-content/uploads/2010/02/021010_2329_Documenting3.png" alt=""/>
					</p>
<p>It sat for quite a while on &#8220;Running Transaction Test&#8221; and then again on &#8220;Running Transaction&#8221;
</p>
</li>
<li>
<div>Then it had 800 transactions to run:
</div>
<p><img src="http://www.brintech.net/wp-content/uploads/2010/02/021010_2329_Documenting4.png" alt=""/>
					</p>
</li>
</ol>
<p>
 </p>
<p>Okay, I went through the whole install again because I posted some things to the forum and had the following exchange:
</p>
<p>
 </p>
<p><a href="http://www.mythdora.com/?q=node/4263"><span style="font-size:16pt"><strong>Snapstream firefly</strong></span></a>
			</p>
<p>Submitted by <a href="http://www.mythdora.com/?q=user/5018">mbrinson</a> on January 24, 2010 &#8211; 7:45am.
</p>
<p>I&#8217;m having the same problem, but mine is a firefly RF unit. Worked great under MD5.
</p>
<p>I&#8217;ve spent hours searching and trying different things, but no joy.
</p>
<p>My model of receiver is R1000-1.
</p>
<p>The thing that&#8217;s strange is that when I go to edit /etc/sysconfig/lirc the file is there, but it is completely empty. I tried adding the &#8220;&#8211;driver=atilibusb&#8221; line to it but I get an error when restarting the lircd service: /etc/sysconfig/lirc: line 1: &#8211;driver=atilibusb: command not found
</p>
<p>I was very surprised to find that the file /etc/lircd.conf contained a line saying that it was generated by lirc-0.7(lirc_atiusb) or something like that. I have since overwritten the file with the one from here -> <a href="http://www.mythtv.org/wiki/Snapstream_Firefly">http://www.mythtv.org/wiki/Snapstream_Firefly</a> that is generated by lirc-0.8.4a(atilibusb).
</p>
<p>Still when I run lsmod there is no entry for &#8220;lirc_atiusb&#8221; or for &#8220;atilibusb&#8221; as I&#8217;ve read in other posts should be the case.
</p>
<p>This is a completely fresh installation of MD10.21. I choose all of the default options and chose my remote from the list of options in the browser-based setup. From everyone else&#8217;s posts it&#8217;s supposed to just work with the defaults so I was surprised that with the default install I was finding the older version in /etc/lircd.conf
</p>
<p>I ran &#8220;yum upgrade&#8221; after the first run of mythtv and it all seemed to run fine. I got upgraded to .22 for mythtv but I still can not get anything for my remote. I changed the batteries in the remote so they are fresh but I get nothing when running irw and when I try irrecord I get
</p>
<p>&#8220;irrecord: could not get file information for /dev/lirc
</p>
<p>irrecord: default_init(): No such file or directory
</p>
<p>irrecord: could not init hardware (lircd running ? &#8211;> close it, check permissions)&#8221;
</p>
<p>Anyone have any thoughts?
</p>
<p>Thank you so much! Obviously the WAF is very low right now.
</p>
<p>
 </p>
<p style="margin-left: 27pt"><a href="http://www.mythdora.com/?q=node/4263"><span style="font-size:16pt"><strong>What are the contents of</strong></span></a><br/>Submitted by <a href="http://www.mythdora.com/?q=user/32">pisani</a> on January 24, 2010 &#8211; 8:21am.<br/>What are the contents of your /etc/sysconfig/lirc file?<br/>I believe it should read something like this: &#8220;LIRCD_OPTIONS=&#8217;-H atilibusb&#8217;&#8221;<br/>You can also check to make atilibusb is compiled in (if yum upgrade changed your lirc version) at the commandline with lirc -H &#8211;help.<br/>Ryan
</p>
<p>
 </p>
<p><a href="http://www.mythdora.com/?q=node/4263"><span style="font-size:16pt"><strong>My /etc/sysconfig/lirc file</strong></span></a>
			</p>
<p>Submitted by <a href="http://www.mythdora.com/?q=user/5018">mbrinson</a> on January 24, 2010 &#8211; 8:35am.
</p>
<p>My /etc/sysconfig/lirc file is completely empty.
</p>
<p>I ran the lirc -H command and I got &#8220;bash: lirc: command not found&#8221;
</p>
<p>
 </p>
<p><a href="http://www.mythdora.com/?q=node/4263"><span style="font-size:16pt"><strong>Sorry, I realized it needs</strong></span></a>
			</p>
<p>Submitted by <a href="http://www.mythdora.com/?q=user/5018">mbrinson</a> on January 24, 2010 &#8211; 8:38am.
</p>
<p>Sorry, I realized it needs to be lircd for the command.
</p>
<p>Here&#8217;s what I got:
</p>
<p>lircd -H &#8211;device=atilibusb
</p>
<p>Driver `&#8211;device=atilibusb&#8217; not supported.
</p>
<p>Supported drivers:
</p>
<p>accent
</p>
<p>alsa_usb
</p>
<p>asusdh
</p>
<p>atilibusb
</p>
<p>audio
</p>
<p>audio_alsa
</p>
<p>bte
</p>
<p>bw6130
</p>
<p>commandir
</p>
<p>creative
</p>
<p>creative_infracd
</p>
<p>default
</p>
<p>devinput
</p>
<p>dsp
</p>
<p>dvico
</p>
<p>ea65
</p>
<p>i2cuser
</p>
<p>irlink
</p>
<p>irman
</p>
<p>livedrive_midi
</p>
<p>livedrive_seq
</p>
<p>logitech
</p>
<p>macmini
</p>
<p>mp3anywhere
</p>
<p>mplay
</p>
<p>mouseremote
</p>
<p>mouseremote_ps2
</p>
<p>null
</p>
<p>pcmak
</p>
<p>pinsys
</p>
<p>pixelview
</p>
<p>samsung
</p>
<p>sb0540
</p>
<p>silitek
</p>
<p>tira
</p>
<p>udp
</p>
<p>uirt2
</p>
<p>uirt2_raw
</p>
<p>usb_uirt_raw
</p>
<p>usbx
</p>
<p>
 </p>
<p><a href="http://www.mythdora.com/?q=node/4263"><span style="font-size:16pt"><strong>Okay, obviously I don&#8217;t know</strong></span></a>
			</p>
<p>Submitted by <a href="http://www.mythdora.com/?q=user/5018">mbrinson</a> on January 24, 2010 &#8211; 8:48am.
</p>
<p>Okay, obviously I don&#8217;t know what I&#8217;m doing. Go easy on me. <img src='http://www.brintech.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />
</p>
<p>I finally found the right syntax and here is the result:
</p>
<p>&#8220;lircd -H atilibusb&#8221;
</p>
<p>lircd: there seems to already be a lircd process with pid 2024
</p>
<p>lircd: otherwise delete stale lockfile /var/run/lircd.pid
</p>
<p>So I stopped the lircd with &#8220;/sbin/service lirc stop&#8221; and then ran &#8220;lircd -H atilibusb&#8221; and then I ran irw and it WORKS!!
</p>
<p>So why wouldn&#8217;t this work by default since I used all the default install options for MD10.21?
</p>
<p>More importantly, where do I add this so that it autostarts and is running correctly?
</p>
<p>Thank you so much!!! You are the best!!!!
</p>
<p>
 </p>
<p style="margin-left: 27pt"><a href="http://www.mythdora.com/?q=node/4263"><span style="font-size:16pt"><strong>When you did you install,</strong></span></a><br/>Submitted by <a href="http://www.mythdora.com/?q=user/32">pisani</a> on January 24, 2010 &#8211; 9:40am.<br/>When you did you install, did you check the mythdora-updates repo to be active during the install? I think we made a fix for this after the release, and you&#8217;d have had to upgraded the mythdora rpm or checked it to update in the installer basically.<br/>If you missed enabling mythdora-updates it wouldn&#8217;t have had the proper fixes when you ran through the setup. <br/>Also, you could have re-run the infrared device configuration from the mythdora-settings menus. <br/>Ryan
</p>
<p>
 </p>
<p><a href="http://www.mythdora.com/?q=node/4263"><span style="font-size:16pt"><strong>Thanks for the reply Ryan.</strong></span></a>
			</p>
<p>Submitted by <a href="http://www.mythdora.com/?q=user/5018">mbrinson</a> on January 24, 2010 &#8211; 9:46am.
</p>
<p>Thanks for the reply Ryan. I was afraid to enable any other packages. When you say to enable the mythdora-updates you mean to check that additional repository during the install right?
</p>
<p>I checked a few additional repositories the first time I installed and it said I had some conflicts or something and then I had to re-run the install from the beginning as it errored out with some kind of a bug message.
</p>
<p>I want to be sure I&#8217;ve got it set up as stable as possible so if that&#8217;s what I need to do then I will re-run the installation from the start and wipe everything out again.
</p>
<p>Thanks again!
</p>
<p>
 </p>
<p style="margin-left: 27pt"><a href="http://www.mythdora.com/?q=node/4263"><span style="font-size:16pt"><strong>No. You don&#8217;t need to wipe</strong></span></a><br/>Submitted by <a href="http://www.mythdora.com/?q=user/32">pisani</a> on January 24, 2010 &#8211; 10:38am.<br/>No. You don&#8217;t need to wipe anything. I was just asking if you did that step or not, which would explain why it didn&#8217;t work the first time.<br/>You should run this from the command line as root however:<br/>yum upgrade mythdora<br/>To upgrade to the stable mythdora rpm. <br/>Ryan
</p>
<p>
 </p>
<p><a href="http://www.mythdora.com/?q=node/4263"><span style="font-size:16pt"><strong>Just to follow up for anyone</strong></span></a>
			</p>
<p>new
</p>
<p>Submitted by <a href="http://www.mythdora.com/?q=user/5018">mbrinson</a> on January 25, 2010 &#8211; 10:34pm.
</p>
<p>Just to follow up for anyone else going down the same road. I went ahead and reinstalled from scratch again and enabled the mythdora-updates package to see if the remote would work by default. It still did not work.
</p>
<p><span style="font-size:15pt"><strong>The key to getting it to work is to copy the updated /etc/lircd.conf file from this wiki page -> <a href="http://www.mythtv.org/wiki/Snapstream_Firefly">http://www.mythtv.org/wiki/Snapstream_Firefly</a><br />
					</strong></span></p>
<p>After copying that into the lircd.conf file then it did work without me having to add the &#8220;LIRCD_OPTIONS=&#8217;-H atilibusb&#8217;&#8221; line to the /etc/sysconfig/lirc file. So choosing to enable the mythdora-updates repository must have allowed it to add that line, but somehow it does not enable the correct /etc/lircd.conf file to be included by default.
</p>
<p>Thanks again for the help pisani. You guys are just incredible. <img src='http://www.brintech.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />
</p>
<p>
 </p>
<p><span style="font-family:Tahoma; font-size:8pt"><span style="color:#666666">Pasted from <a href="http://www.mythdora.com/?q=node/4263"/></span>http://www.mythdora.com/?q=node/4263#comment-20040<span style="color:#666666"></a><br />
</span></span></p>
<p>
 </p>
</li>
</ol>
<p>For errors with &#8220;yum install&#8221; hanging on &#8220;Loaded plugins: refresh-packagekit&#8221; the way I was able to get it moving on again was to deactivate a couple of repositories.  I went through the gui interface
</p>
<p style="margin-left: 1pt"><img src="http://www.brintech.net/wp-content/uploads/2010/02/021010_2329_Documenting5.png" alt=""/><span style="font-family:Times New Roman; font-size:12pt"><br />
		</span></p>
<p style="margin-left: 1pt">and unchecked  Fedora 10 &#8211; i386, Fedora 10 &#8211; i386 &#8211; Updates, and Livna for Fedora Core 10 &#8211; i386 &#8211; Base
</p>
<p style="margin-left: 1pt"><img src="http://www.brintech.net/wp-content/uploads/2010/02/021010_2329_Documenting6.png" alt=""/><span style="font-family:Times New Roman; font-size:12pt"><br />
		</span></p>
<p style="margin-left: 1pt">Then it started working again.
</p>
<p> <br />
 </p>
<p>Here&#8217;s a cool addon that should be installed for music visualizations:
</p>
<p>
 </p>
<p><span style="font-size:18pt"><strong>ProjectM in Fedora 10/11<br />
</strong></span></p>
<p>With Fedora 10 and 11, ProjectM seems to work through libvisual with MythMusic. There&#8217;s no need to do any mods, standard Fedora packages (<span style="font-size:14pt"><strong>libvisual, libvisual-plugins, projectM-libvisual</strong></span>) seem to work fine! <span style="font-size:12pt"><br />
		</span></p>
<p>
 </p>
<p><span style="font-family:Tahoma; font-size:8pt"><span style="color:#666666">Pasted from <a href="http://www.mythtv.org/wiki/ProjectM"/></span>http://www.mythtv.org/wiki/ProjectM<span style="color:#666666"></a><br />
</span></span></p>
<p>
 </p>
<p>Just &#8220;yum install</p>
<packagename>&#8221; and it should work.  I&#8217;m about to try it and will report back.
</p>
<p>
 </p>
<p><span style="font-size:14pt"><strong>HERE IS THE CRUCIAL lircd.conf FILE<br />
</strong></span></p>
<p>
 </p>
<p># Please make this file available to others<br/># by sending it to</p>
<lirc@bartelmus.de><br/>#<br/># this config file was automatically generated<br/># using lirc-0.8.4a(atilibusb) on Mon Nov 24 14:58:45 2008<br/>#<br/># contributed by <br/>#<br/># brand:                       lircd.conf<br/># model no. of remote control: <br/># devices being controlled by this remote:<br/>#<br/>
	</p>
<p>begin remote<br/>
	</p>
<p>name  lircd.conf<br/>  bits           16<br/>  eps            30<br/>  aeps          100<br/>  one             0     0<br/>  zero            0     0<br/>  pre_data_bits   8<br/>  pre_data       0&#215;14<br/>  post_data_bits  16<br/>  post_data      0&#215;0<br/>  gap          147992<br/>  min_repeat      5<br/>  toggle_bit_mask 0&#215;80800000<br/>
	</p>
<p>      begin codes<br/>          MAXI                     0x812C<br/>          MAXI                     0x01AC<br/>          CLOSE                    0&#215;5702<br/>          CLOSE                    0xD782<br/>          1                        0x620D<br/>          1                        0xE28D<br/>          2                        0x630E<br/>          2                        0xE38E<br/>          3                        0x640F<br/>          3                        0xE48F<br/>          4                        0&#215;6510<br/>          4                        0xE590<br/>          5                        0&#215;6611<br/>          5                        0xE691<br/>          6                        0&#215;6712<br/>          6                        0xE792<br/>          7                        0&#215;6813<br/>          7                        0xE893<br/>          8                        0&#215;6914<br/>          8                        0xE994<br/>          9                        0x6A15<br/>          9                        0xEA95<br/>          0                        0x6C17<br/>          0                        0xEC97<br/>          BACK                     0x6B16<br/>          BACK                     0xEB96<br/>          ENT                      0x6D18<br/>          ENT                      0xED98<br/>          VOL+                     0x5E09<br/>          VOL+                     0xDE89<br/>          VOL-                     0x5D08<br/>          VOL-                     0xDD88<br/>          MUTE                     0x5F0A<br/>          MUTE                     0xDF8A<br/>          FIREFLY                  0&#215;5500<br/>          FIREFLY                  0xD580<br/>          CH+                      0x600B<br/>         CH+                      0xE08B<br/>          CH-                      0x610C<br/>          CH-                      0xE18C<br/>          INFO                     0x832E<br/>          INFO                     0x03AE<br/>          OPTION                   0x842F<br/>          OPTION                   0x04AF<br/>          UP                       0x6F1A<br/>          UP                       0xEF9A<br/>          LEFT                     0x721D<br/>          LEFT                     0xF29D<br/>          DOWN                     0&#215;7722<br/>          DOWN                     0xF7A2<br/>          RIGHT                    0x741F<br/>          RIGHT                    0xF49F<br/>          OK                       0x731E<br/>          OK                       0xF39E<br/>          MENU                     0x711C<br/>          MENU                     0xF19C<br/>          EXIT                     0&#215;7520<br/>          EXIT                     0xF5A0<br/>          REC                      0x7C27<br/>          REC                      0xFCA7<br/>          PLAY                     0x7A25<br/>          PLAY                     0xFAA5<br/>          STOP                     0x7D28<br/>          STOP                     0xFDA8<br/>          REW                      0&#215;7924<br/>          REW                      0xF9A4<br/>          FWD                      0x7B26<br/>          FWD                      0xFBA6<br/>          PREV                     0x802B<br/>          PREV                     0x00AB<br/>          PAUSE                    0x7E29<br/>          PAUSE                    0xFEA9<br/>          NEXT                     0x7F2A<br/>          NEXT                     0xFFAA<br/>          MUSIC                    0x5B06<br/>          MUSIC                    0xDB86<br/>          PHOTOS                   0x5A05<br/>          PHOTOS                   0xDA85<br/>          DVD                      0&#215;5904<br/>          DVD                      0xD984<br/>          TV                       0&#215;5803<br/>          TV                       0xD883<br/>          VIDEO                    0x5C07<br/>          VIDEO                    0xDC87<br/>          HELP                     0&#215;5601<br/>          HELP                     0xD681<br/>          MOUSE                    0x822D<br/>          MOUSE                    0x02AD<br/>          A                        0x6E19<br/>          A                        0xEE99<br/>          B                        0x701B<br/>          B                        0xF09B<br/>          C                        0&#215;7621<br/>          C                        0xF6A1<br/>          D                        0&#215;7823<br/>          D                        0xF8A3<br/>      end codes<br/>
	</p>
<p>end remote
</p>
<p><span style="font-family:Tahoma; font-size:8pt"><span style="color:#666666">Pasted from <a href="http://www.mythtv.org/wiki/Snapstream_Firefly"/></span>http://www.mythtv.org/wiki/Snapstream_Firefly<span style="color:#666666"></a><br />
</span></span></p>
<p>
 </p>
<p>Option &#8220;UseEvents&#8221; &#8220;True&#8221;
</p>
<p>
 </p>
<p><span style="font-family:Tahoma; font-size:8pt"><span style="color:#666666">Pasted from <a href="http://mythdora.com/?q=node/4897"/></span>http://mythdora.com/?q=node/4897<span style="color:#666666"></a><br />
</span></span></p>
<p> <br />
 </p>
]]></content:encoded>
			<wfw:commentRss>http://www.brintech.net/documenting-mythdora-install-10-21-vnc-remote-control-with-vino/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

