<?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>David Orlo .comDavid Orlo .com</title>
	<atom:link href="http://www.davidorlo.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.davidorlo.com</link>
	<description>Read-Learn-Create-Make-Build</description>
	<lastBuildDate>Thu, 12 Jul 2012 23:00:45 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
		<item>
		<title>Check Exchange Version Easily</title>
		<link>http://www.davidorlo.com/articles/it-admin/check-exchange-version-easily</link>
		<comments>http://www.davidorlo.com/articles/it-admin/check-exchange-version-easily#comments</comments>
		<pubDate>Tue, 08 May 2012 16:11:02 +0000</pubDate>
		<dc:creator>David Orlo</dc:creator>
				<category><![CDATA[IT Administration]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[Upgrade]]></category>
		<category><![CDATA[Version]]></category>

		<guid isPermaLink="false">http://www.davidorlo.com/?p=2071</guid>
		<description><![CDATA[From the Exchange Management Shell Run the following command GCM exsetup &#124;%{$_.Fileversioninfo} Note the ProductVersion number Check against Microsoft Exchange version referrence http://technet.microsoft.com/en-us/library/hh135098.aspx
No related posts.]]></description>
			<content:encoded><![CDATA[<p>From the Exchange Management Shell Run the following command</p>
<p>GCM exsetup |%{$_.Fileversioninfo}</p>
<p>Note the ProductVersion number</p>
<p>Check against Microsoft Exchange version referrence</p>
<p><a href="http://technet.microsoft.com/en-us/library/hh135098.aspx">http://technet.microsoft.com/en-us/library/hh135098.aspx</a></p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.davidorlo.com/articles/it-admin/check-exchange-version-easily/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Syntax Highlighter Evolved AutoIT Brush Plugin</title>
		<link>http://www.davidorlo.com/site-updates/syntax-highlighter-evolved-autoit-brush-plugin</link>
		<comments>http://www.davidorlo.com/site-updates/syntax-highlighter-evolved-autoit-brush-plugin#comments</comments>
		<pubDate>Thu, 03 May 2012 15:24:15 +0000</pubDate>
		<dc:creator>David Orlo</dc:creator>
				<category><![CDATA[AutoIT]]></category>
		<category><![CDATA[Software Programming]]></category>
		<category><![CDATA[~Site Updates~]]></category>
		<category><![CDATA[AIT]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Syntax Highlighter]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.davidorlo.com/?p=2054</guid>
		<description><![CDATA[Here is my second Syntax Highlighter Brush attempt. This one was far more complex than the last Arduino / Wiring Brush I made. There are still a few things that need to be worked out such as multiline comments and there seems to be a bug in WordPress / Syntax Highlighter that adds a semicolon in various places where one didn&#8217;t exist before. I noticed this because the semicolon is used to denote comments in AutoIT and after adding that section of code to the highlighter I was able to easily spot this flaw. I plan to do more work on the expressions used and colors for various themes but for now this is pretty good, much better than using the VB Brush as I was before. I used Scite script editor as a rough guide for the color scheme and if your using the default or another light theme the colors should be near identical. One exception is the  Preprocessor and Special Keywords which I just lumped together in the same category since there</p><a href="http://www.davidorlo.com/site-updates/syntax-highlighter-evolved-autoit-brush-plugin">(More)…</a><b>
Related posts:</b><ol>
<b><li><a href='http://www.davidorlo.com/articles/autoit/autoit-coming-to-davidorlo-com' rel='bookmark' title='AutoIT coming to DavidOrlo.com'>AutoIT coming to DavidOrlo.com</a> <small>I love the AutoIT language as it is very easy...</small></li></b>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Here is my second Syntax Highlighter Brush attempt. This one was far more complex than the last Arduino / Wiring Brush I made. There are still a few things that need to be worked out such as multiline comments and there seems to be a bug in WordPress / Syntax Highlighter that adds a semicolon in various places where one didn&#8217;t exist before. I noticed this because the semicolon is used to denote comments in AutoIT and after adding that section of code to the highlighter I was able to easily spot this flaw.</p>
<p>I plan to do more work on the expressions used and colors for various themes but for now this is pretty good, much better than using the VB Brush as I was before. I used Scite script editor as a rough guide for the color scheme and if your using the default or another light theme the colors should be near identical. One exception is the  Preprocessor and Special Keywords which I just lumped together in the same category since there is only 3 special keywords and a handful of Preprocessor keywords which are as follows.</p>
<p>au3.keywords.preprocessor=#ce #comments-end #comments-start #cs #include #include-once \<br />
#noautoit3execute #notrayicon #onautoitstartregister #requireadmin<br />
au3.keywords.special=#endregion #forceref #region</p>
<p>Another change I made to help lighten up the code and keep the syntax checking fast was to remove the keywords and use regular expressions for Preprocessor, Special, Sendkeys and Macros which means the Highlighter may match some keywords that don&#8217;t actually exists if you put an @ symbol before a word or enclose it in {} brackets.</p>
<p>I made 2 different CSS color themes, one for dark and one for light themes. I will copy and paste the instructions from the last Brush I made for installation so excuse me for being lazy.</p>
<p>Screen shots of the before and after, before using VB as language and after using the AutoIT custom Brush.</p>
<div id="attachment_2065" class="wp-caption alignnone" style="width: 259px"><a href="http://www.davidorlo.com/site-updates/syntax-highlighter-evolved-autoit-brush-plugin/attachment/autoit-before" rel="attachment wp-att-2065"><img class="size-medium wp-image-2065" title="AutoIT Before" src="http://i0.wp.com/www.davidorlo.com/wp-content/uploads/2012/05/AutoIT-Before.jpg?resize=249%2C300" alt="Syntax Highlighter using VB for AutoIT Code" /></a><p class="wp-caption-text">Syntax Highlighter using VB for AutoIT Code</p></div>
<div id="attachment_2064" class="wp-caption alignnone" style="width: 258px"><a href="http://www.davidorlo.com/site-updates/syntax-highlighter-evolved-autoit-brush-plugin/attachment/autoit-after" rel="attachment wp-att-2064"><img class="size-medium wp-image-2064" title="AutoIT After" src="http://i2.wp.com/www.davidorlo.com/wp-content/uploads/2012/05/AutoIT-After.jpg?resize=248%2C300" alt="Syntax Highlighter using AIT for AutoIT Code" /></a><p class="wp-caption-text">Syntax Highlighter using AIT for AutoIT Code</p></div>
<p>&nbsp;</p>
<p>I couldn’t find solid instruction on how to install these brushes so I just figured out a way to make it work on my own and I like the way this works so I don’ t plan to change it. First download the shBrushWiring.js file that I have attached to this post.</p>
<p><span style="font-family: 'arial black', 'avant garde';"><a href="http://www.davidorlo.com/site-updates/syntax-highlighter-evolved-autoit-brush-plugin/attachment/shbrushautoit" rel="attachment wp-att-2055">shBrushAutoIT</a></span></p>
<p>Next upload the file to the “<span style="font-family: 'arial black', 'avant garde';">/wp-content/plugins/syntaxhighlighter/third-party-brushes/</span>” folder.</p>
<p>Now we need to edit a few files, you can either do this directly in WordPress by going to Plugins and then the editor and choosing the files or you can download them via FTP and edit them in an editor which I think is the better way to go because you will get more predictable results.</p>
<p>First we need to edit the main php file called “<span style="font-family: 'arial black', 'avant garde';">syntaxhighlighter.php</span>” it’s located in ”<span style="font-family: 'arial black', 'avant garde';">/wp-content/plugins/syntaxhighlighter/</span>”<br />
Find the line that reads ”<span style="font-family: 'arial black', 'avant garde';">// Register some popular third-party brushes</span>” and after the last entry add the following line</p>
<p>“<span style="font-family: 'arial black', 'avant garde';">wp_register_script( ‘syntaxhighlighter-brush-autoit’, plugins_url(‘syntaxhighlighter/third-party-brushes/shBrushAutoIT.js’), array(‘syntaxhighlighter-core’), ’20120504? );</span>”</p>
<p>Now find the line that reads “<span style="font-family: 'arial black', 'avant garde';">// Create list of brush aliases and map them to their real brushes</span>” and at the top of the list before “<span style="font-family: 'arial black', 'avant garde';">&#8216;as3&#8242;           =&gt; &#8216;as3&#8242;,</span>” Add the following lines</p>
<p><span style="font-family: 'arial black', 'avant garde';">&#8216;ait&#8217; =&gt; &#8216;autoit&#8217;,</span><br />
<span style="font-family: 'arial black', 'avant garde';"> &#8216;AIT&#8217; =&gt; &#8216;autoit&#8217;,</span><br />
<span style="font-family: 'arial black', 'avant garde';"> &#8216;AutoIT&#8217; =&gt; &#8216;autoit&#8217;,</span><br />
<span style="font-family: 'arial black', 'avant garde';"> &#8216;Autoit&#8217; =&gt; &#8216;autoit&#8217;,</span><br />
<span style="font-family: 'arial black', 'avant garde';"> &#8216;autoit&#8217; =&gt; &#8216;autoit&#8217;,</span></p>
<p>Save, Close and upload the file if you downloaded it via FTP</p>
<p>Next we need to go into the “<span style="font-family: 'arial black', 'avant garde';">/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/styles/</span>” folder and edit the file which correlates to the theme you are using or you can edit all of the theme files which I recommend. The files we want to edit are the ones with THEME in the name, i.e. “<span style="font-family: 'arial black', 'avant garde';">shThemeDefault.css</span>” At the end of the file we need to add the following lines. These lines control the colors so if you want to edit them you can do that here. If you think a specific word should be in a different category, i.e. function labeled as a keyword, just drop me a comment below and I will fix it.</p>
<p>LIGHT COLORED THEME FILES, i.e. Default Theme</p>
<p><span style="font-family: 'arial black', 'avant garde';">.syntaxhighlighter .aitcomment {</span><br />
<span style="font-family: 'arial black', 'avant garde';"> color: #2e7b59 !important;</span><br />
<span style="font-family: 'arial black', 'avant garde';">}</span><br />
<span style="font-family: 'arial black', 'avant garde';">.syntaxhighlighter .aitvariables {</span><br />
<span style="font-family: 'arial black', 'avant garde';"> color: #7b1415 !important;</span><br />
<span style="font-family: 'arial black', 'avant garde';">}</span><br />
<span style="font-family: 'arial black', 'avant garde';">.syntaxhighlighter .aitfunctions {</span><br />
<span style="font-family: 'arial black', 'avant garde';"> color: #01042f !important;</span><br />
<span style="font-family: 'arial black', 'avant garde';">}</span><br />
<span style="font-family: 'arial black', 'avant garde';">.syntaxhighlighter .aitudfs {</span><br />
<span style="font-family: 'arial black', 'avant garde';"> color: #376fac !important;</span><br />
<span style="font-family: 'arial black', 'avant garde';">}</span><br />
<span style="font-family: 'arial black', 'avant garde';">.syntaxhighlighter .aitkeywords {</span><br />
<span style="font-family: 'arial black', 'avant garde';"> color: #1f1198 !important;</span><br />
<span style="font-family: 'arial black', 'avant garde';">}</span><br />
<span style="font-family: 'arial black', 'avant garde';">.syntaxhighlighter .aitmacros {</span><br />
<span style="font-family: 'arial black', 'avant garde';"> color: #d14ec0 !important;</span><br />
<span style="font-family: 'arial black', 'avant garde';">}</span><br />
<span style="font-family: 'arial black', 'avant garde';">.syntaxhighlighter .aitpreprocessor {</span><br />
<span style="font-family: 'arial black', 'avant garde';"> color: #9342a9 !important;</span><br />
<span style="font-family: 'arial black', 'avant garde';">}</span><br />
<span style="font-family: 'arial black', 'avant garde';">.syntaxhighlighter .aitspecial {</span><br />
<span style="font-family: 'arial black', 'avant garde';"> color: #6f4090 !important;</span><br />
<span style="font-family: 'arial black', 'avant garde';">}</span><br />
<span style="font-family: 'arial black', 'avant garde';">.syntaxhighlighter .aitsendkeys {</span><br />
<span style="font-family: 'arial black', 'avant garde';"> color: #000005 !important;</span><br />
<span style="font-family: 'arial black', 'avant garde';">}</span></p>
<p>DARK COLORED THEME FILES, i.e. EMacs Theme</p>
<p><span style="font-family: 'arial black', 'avant garde';">.syntaxhighlighter .aitcomment {</span><br />
<span style="font-family: 'arial black', 'avant garde';"> color: #00da17 !important;</span><br />
<span style="font-family: 'arial black', 'avant garde';">}</span><br />
<span style="font-family: 'arial black', 'avant garde';">.syntaxhighlighter .aitvariables {</span><br />
<span style="font-family: 'arial black', 'avant garde';"> color: #ff0106 !important;</span><br />
<span style="font-family: 'arial black', 'avant garde';">}</span><br />
<span style="font-family: 'arial black', 'avant garde';">.syntaxhighlighter .aitfunctions {</span><br />
<span style="font-family: 'arial black', 'avant garde';"> color: #0b25ff !important;</span><br />
<span style="font-family: 'arial black', 'avant garde';">}</span><br />
<span style="font-family: 'arial black', 'avant garde';">.syntaxhighlighter .aitudfs {</span><br />
<span style="font-family: 'arial black', 'avant garde';"> color: #0bccff !important;</span><br />
<span style="font-family: 'arial black', 'avant garde';">}</span><br />
<span style="font-family: 'arial black', 'avant garde';">.syntaxhighlighter .aitkeywords {</span><br />
<span style="font-family: 'arial black', 'avant garde';"> color: #0b76ff !important;</span><br />
<span style="font-family: 'arial black', 'avant garde';">}</span><br />
<span style="font-family: 'arial black', 'avant garde';">.syntaxhighlighter .aitmacros {</span><br />
<span style="font-family: 'arial black', 'avant garde';"> color: #ff49f8 !important;</span><br />
<span style="font-family: 'arial black', 'avant garde';">}</span><br />
<span style="font-family: 'arial black', 'avant garde';">.syntaxhighlighter .aitpreprocessor {</span><br />
<span style="font-family: 'arial black', 'avant garde';"> color: #b41fff !important;</span><br />
<span style="font-family: 'arial black', 'avant garde';">}</span><br />
<span style="font-family: 'arial black', 'avant garde';">.syntaxhighlighter .aitspecial {</span><br />
<span style="font-family: 'arial black', 'avant garde';"> color: #870fff !important;</span><br />
<span style="font-family: 'arial black', 'avant garde';">}</span><br />
<span style="font-family: 'arial black', 'avant garde';">.syntaxhighlighter .aitsendkeys {</span><br />
<span style="font-family: 'arial black', 'avant garde';"> color: #ffffff !important;</span><br />
<span style="font-family: 'arial black', 'avant garde';">}</span></p>
<p>Save, Close and upload the files if you downloaded them via FTP</p>
<p>That’s it your all done, to use the new code you can use the following example in your post, you must enclose these in brackets and follow them up with /code in brackets [].</p>
<p>code lang=”AutoIT”<br />
code lang=”AIT”</p>
<b><p>Related posts:</p></b><ol>
<b><li><a href='http://www.davidorlo.com/articles/autoit/autoit-coming-to-davidorlo-com' rel='bookmark' title='AutoIT coming to DavidOrlo.com'>AutoIT coming to DavidOrlo.com</a> <small>I love the AutoIT language as it is very easy...</small></li></b>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.davidorlo.com/site-updates/syntax-highlighter-evolved-autoit-brush-plugin/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Syntax Highlighter Evolved Arduino / Wiring Brush Plugin</title>
		<link>http://www.davidorlo.com/site-updates/syntax-highlighter-evolved-arduino-wiring-brush-plugin</link>
		<comments>http://www.davidorlo.com/site-updates/syntax-highlighter-evolved-arduino-wiring-brush-plugin#comments</comments>
		<pubDate>Wed, 02 May 2012 18:32:57 +0000</pubDate>
		<dc:creator>David Orlo</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Software Programming]]></category>
		<category><![CDATA[~Site Updates~]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[Syntax Highlighter]]></category>
		<category><![CDATA[Wiring]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.davidorlo.com/?p=2029</guid>
		<description><![CDATA[I finally got around to making a custom plugin also called a &#8220;brush&#8221; for Syntax Highlighter that properly highlights the Arduino language called Wiring. I haven&#8217;t fully worked out the colors for the different themes but so far the colors I have chosen look nice with the Default theme and the Emacs theme. I&#8217;m going to work on the colors more and make specific colors for each theme in the future. Check out the before and after pictures, the before is using standard C++ code and the after is using the custom wiring code. I couldn&#8217;t find solid instruction on how to install these brushes so I just figured out a way to make it work on my own and I like the way this works so I don&#8217; t plan to change it. First download the shBrushWiring.js file that I have attached to this post. shBrushWiring Next upload the file to the &#8220;/wp-content/plugins/syntaxhighlighter/third-party-brushes/&#8221; folder. Now we need to edit a few files, you can either do this directly in WordPress by going to Plugins and</p><a href="http://www.davidorlo.com/site-updates/syntax-highlighter-evolved-arduino-wiring-brush-plugin">(More)…</a><b>
Related posts:</b><ol>
<b><li><a href='http://www.davidorlo.com/articles/arduino/arduino-getting-started' rel='bookmark' title='Arduino &#8211; GettingStarted ~A Must Read'>Arduino &#8211; GettingStarted ~A Must Read</a> <small>Arduino Duemilanove I have always been into Electrical Engineering and...</small></li></b>
<b><li><a href='http://www.davidorlo.com/articles/arduino/arduino-getting-started-pt-1' rel='bookmark' title='Arduino Getting Started Pt.1'>Arduino Getting Started Pt.1</a> <small>So your ready to jump into the vastly complex world...</small></li></b>
<b><li><a href='http://www.davidorlo.com/articles/arduino/arduino-advanced-led-blink' rel='bookmark' title='Arduino &#8211; Advanced LED Blink'>Arduino &#8211; Advanced LED Blink</a> <small>By now you should have your Arduino and have gone...</small></li></b>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I finally got around to making a custom plugin also called a &#8220;brush&#8221; for Syntax Highlighter that properly highlights the Arduino language called Wiring. I haven&#8217;t fully worked out the colors for the different themes but so far the colors I have chosen look nice with the Default theme and the Emacs theme.</p>
<p>I&#8217;m going to work on the colors more and make specific colors for each theme in the future. Check out the before and after pictures, the before is using standard C++ code and the after is using the custom wiring code.</p>
<div id="attachment_2043" class="wp-caption alignnone" style="width: 303px"><a href="http://www.davidorlo.com/site-updates/syntax-highlighter-evolved-arduino-wiring-brush-plugin/attachment/wiring-before" rel="attachment wp-att-2043"><img class="size-medium wp-image-2043" title="Wiring Before" src="http://i0.wp.com/www.davidorlo.com/wp-content/uploads/2012/05/Wiring-Before.jpg?resize=293%2C300" alt="Syntax Highlighter using C++ for Arduino Code" /></a><p class="wp-caption-text">Syntax Highlighter using C++ for Arduino Code</p></div>
<div id="attachment_2042" class="wp-caption alignnone" style="width: 301px"><a href="http://www.davidorlo.com/site-updates/syntax-highlighter-evolved-arduino-wiring-brush-plugin/attachment/wiring-after" rel="attachment wp-att-2042"><img class="size-medium wp-image-2042" title="Wiring After" src="http://i0.wp.com/www.davidorlo.com/wp-content/uploads/2012/05/Wiring-After.jpg?resize=291%2C300" alt="Syntax Highlighter using Wiring for Arduino Code" /></a><p class="wp-caption-text">Syntax Highlighter using Wiring for Arduino Code</p></div>
<p>I couldn&#8217;t find solid instruction on how to install these brushes so I just figured out a way to make it work on my own and I like the way this works so I don&#8217; t plan to change it. First download the shBrushWiring.js file that I have attached to this post.</p>
<p><span style="font-family: 'arial black', 'avant garde';"><a href="http://www.davidorlo.com/site-updates/syntax-highlighter-evolved-arduino-wiring-brush-plugin/attachment/shbrushwiring" rel="attachment wp-att-2030">shBrushWiring</a></span></p>
<p>Next upload the file to the &#8220;<span style="font-family: 'arial black', 'avant garde';">/wp-content/plugins/syntaxhighlighter/third-party-brushes/</span>&#8221; folder.</p>
<p>Now we need to edit a few files, you can either do this directly in WordPress by going to Plugins and then the editor and choosing the files or you can download them via FTP and edit them in an editor which I think is the better way to go because you will get more predictable results.</p>
<p>First we need to edit the main php file called &#8220;<span style="font-family: 'arial black', 'avant garde';">syntaxhighlighter.php<span style="font-family: 'trebuchet ms', geneva;">&#8221; it&#8217;s located in &#8221;</span>/wp-content/plugins/syntaxhighlighter/</span>&#8221;<br />
Find the line that reads  &#8221;<span style="font-family: 'arial black', 'avant garde';">// Register some popular third-party brushes</span>&#8221; and after the last entry add the following line</p>
<p>&#8220;<span style="font-family: 'arial black', 'avant garde';">wp_register_script( &#8216;syntaxhighlighter-brush-wiring&#8217;,     plugins_url(&#8216;syntaxhighlighter/third-party-brushes/shBrushWiring.js&#8217;),           array(&#8216;syntaxhighlighter-core&#8217;), &#8217;20120503&#8242;     );</span>&#8221;</p>
<p>Now find the line that reads &#8220;<span style="font-family: 'arial black', 'avant garde';">// Create list of brush aliases and map them to their real brushes</span>&#8221; and in between &#8220;&#8216;<span style="font-family: 'arial black', 'avant garde';">vbnet&#8217;         =&gt; &#8216;vb&#8217;,</span>&#8221; And &#8220;<span style="font-family: 'arial black', 'avant garde';">&#8216;xml&#8217;           =&gt; &#8216;xml&#8217;,</span>&#8221; Add the following lines</p>
<p><span style="font-family: 'arial black', 'avant garde';">&#8216;arduino&#8217; =&gt; &#8216;wiring&#8217;,</span><br />
<span style="font-family: 'arial black', 'avant garde';"> &#8216;Arduino&#8217; =&gt; &#8216;wiring&#8217;,</span><br />
<span style="font-family: 'arial black', 'avant garde';"> &#8216;wiring&#8217; =&gt; &#8216;wiring&#8217;,</span><br />
<span style="font-family: 'arial black', 'avant garde';"> &#8216;Wiring&#8217; =&gt; &#8216;wiring&#8217;,</span></p>
<p>Save, Close and upload the file if you downloaded it via FTP</p>
<p>Next we need to go into the &#8220;<span style="font-family: 'arial black', 'avant garde';">/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/styles/</span>&#8221; folder and edit the file which correlates to the theme you are using or you can edit all of the theme files which I recommend. The files we want to edit are the ones with THEME in the name, i.e. &#8220;<span style="font-family: 'arial black', 'avant garde';">shThemeDefault.css</span>&#8221; At the end of the file we need to add the following lines. These lines control the colors so if you want to edit them you can do that here. If you think a specific word should be in a different category, i.e. function labeled as a keyword, just drop me a comment below and I will fix it.</p>
<p><span style="font-family: 'arial black', 'avant garde';">.syntaxhighlighter .wirekeyword {</span><br />
<span style="font-family: 'arial black', 'avant garde';"> color: #ff5105 !important;</span><br />
<span style="font-family: 'arial black', 'avant garde';"> }</span><br />
<span style="font-family: 'arial black', 'avant garde';"> .syntaxhighlighter .wirefunction {</span><br />
<span style="font-family: 'arial black', 'avant garde';"> color: #ff5105 !important;</span><br />
<span style="font-family: 'arial black', 'avant garde';"> }</span><br />
<span style="font-family: 'arial black', 'avant garde';"> .syntaxhighlighter .wirefunctionb {</span><br />
<span style="font-family: 'arial black', 'avant garde';"> font-weight: bold !important;</span><br />
<span style="font-family: 'arial black', 'avant garde';"> color: #ff5105 !important;</span><br />
<span style="font-family: 'arial black', 'avant garde';"> }</span><br />
<span style="font-family: 'arial black', 'avant garde';"> .syntaxhighlighter .wirepinmode {</span><br />
<span style="font-family: 'arial black', 'avant garde';"> color: #1b79ff !important;</span><br />
<span style="font-family: 'arial black', 'avant garde';"> }</span><br />
<span style="font-family: 'arial black', 'avant garde';"> .syntaxhighlighter .wirecomment {</span><br />
<span style="font-family: 'arial black', 'avant garde';"> color: #8d8d8d !important;</span><br />
<span style="font-family: 'arial black', 'avant garde';"> }</span></p>
<p>Save, Close and upload the files if you downloaded them via FTP</p>
<p>That&#8217;s it your all done, to use the new code you can use the following example in your post, you must enclose these in brackets and follow them up with /code in brackets [].</p>
<p><span style="font-family: 'arial black', 'avant garde';">code lang=&#8221;Arduino&#8221;</span><br />
<span style="font-family: 'arial black', 'avant garde';"> code lang=&#8221;Wiring&#8221;</span></p>
<b><p>Related posts:</p></b><ol>
<b><li><a href='http://www.davidorlo.com/articles/arduino/arduino-getting-started' rel='bookmark' title='Arduino &#8211; GettingStarted ~A Must Read'>Arduino &#8211; GettingStarted ~A Must Read</a> <small>Arduino Duemilanove I have always been into Electrical Engineering and...</small></li></b>
<b><li><a href='http://www.davidorlo.com/articles/arduino/arduino-getting-started-pt-1' rel='bookmark' title='Arduino Getting Started Pt.1'>Arduino Getting Started Pt.1</a> <small>So your ready to jump into the vastly complex world...</small></li></b>
<b><li><a href='http://www.davidorlo.com/articles/arduino/arduino-advanced-led-blink' rel='bookmark' title='Arduino &#8211; Advanced LED Blink'>Arduino &#8211; Advanced LED Blink</a> <small>By now you should have your Arduino and have gone...</small></li></b>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.davidorlo.com/site-updates/syntax-highlighter-evolved-arduino-wiring-brush-plugin/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LogFlush Tool Source Code</title>
		<link>http://www.davidorlo.com/articles/autoit/logflush-tool-source-code</link>
		<comments>http://www.davidorlo.com/articles/autoit/logflush-tool-source-code#comments</comments>
		<pubDate>Wed, 02 May 2012 16:34:23 +0000</pubDate>
		<dc:creator>David Orlo</dc:creator>
				<category><![CDATA[AutoIT]]></category>
		<category><![CDATA[Software Programming]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[LogFlush]]></category>
		<category><![CDATA[Logs]]></category>

		<guid isPermaLink="false">http://www.davidorlo.com/?p=2017</guid>
		<description><![CDATA[I have completed the LogFlush tool less a few extra features which I plan to add later. In the meantime here is the source code for the project. The tools is divided into 2 executables, 1 for the configuration and another which is the main task. The configuration data is stored in the registry and the task executable can be called at any time from a scheduler and it will call the last saved settings from the registry. Completed project is located at the link below with a self extracting installer http://ittechtools.net/windows/admin/logflush-intelligent-log-maintenance-application-with-recursive-folder-scanning The closest Syntax I could find is VB so some of the code isn&#8217;t highlighted properly. I am going to work on making my own plugin for AutoIT and Arduino Wiring Language once I have some time. Source Main GUI Task Executable
No related posts.]]></description>
			<content:encoded><![CDATA[<p>I have completed the LogFlush tool less a few extra features which I plan to add later. In the meantime here is the source code for the project. The tools is divided into 2 executables, 1 for the configuration and another which is the main task. The configuration data is stored in the registry and the task executable can be called at any time from a scheduler and it will call the last saved settings from the registry.</p>
<p>Completed project is located at the link below with a self extracting installer</p>
<p><a href="http://ittechtools.net/windows/admin/logflush-intelligent-log-maintenance-application-with-recursive-folder-scanning">http://ittechtools.net/windows/admin/logflush-intelligent-log-maintenance-application-with-recursive-folder-scanning</a></p>
<p>The closest Syntax I could find is VB so some of the code isn&#8217;t highlighted properly. I am going to work on making my own plugin for AutoIT and Arduino Wiring Language once I have some time.</p>
<p>Source<br />
Main GUI</p>
<pre class="brush: autoit; title: ; notranslate">
#cs ----------------------------------------------------------------------------

	App: LogFlush
	By: David Orlo
	www.DavidOrlo.com

	Artistic License 2.0

http://www.perlfoundation.org/artistic_license_2_0

	Creative Commons License
	Attribution Non-Commercial Share Alike (cc by-nc-sa)

http://creativecommons.org/licenses/by-nc-sa/3.0/

#ce ----------------------------------------------------------------------------

#include &lt;StringSize.au3&gt;
#include &lt;GDIPlus.au3&gt;
#include &lt;WinAPI.au3&gt;
#include &lt;ButtonConstants.au3&gt;
#include &lt;ComboConstants.au3&gt;
#include &lt;EditConstants.au3&gt;
#include &lt;StaticConstants.au3&gt;
#include &lt;WindowsConstants.au3&gt;
#include &lt;GuiConstantsEx.au3&gt;
#include &lt;FontConstants.au3&gt;
#include &lt;File.au3&gt;
#include &lt;Array.au3&gt;
#include &lt;Date.au3&gt;
#include &lt;Math.au3&gt;

Global $AppName = &quot;LogFlush&quot;
Global $AppVersion = &quot;2.8&quot;
Global $machinename = @ComputerName
Global $time = @HOUR &amp; &quot;:&quot; &amp; @MIN &amp; &quot;:&quot; &amp; @SEC
Global $date = @YEAR &amp; &quot;/&quot; &amp; @MON &amp; &quot;/&quot; &amp; @MDAY

Global Const $AC_SRC_ALPHA = 1
Dim $title[20] = [&quot;Log Flush&quot;, _ ;Borrowed this cool little idea from UEZ (Thanks Man You Rock)
		&quot;Version &quot; &amp; $AppVersion, _
		&quot;Flush Your Log Files&quot;, _
		&quot;Recursive Folder Scaning&quot;, _
		&quot;Log Aging&quot;, _
		&quot;Need Help?&quot;, _
		&quot;View the ReadME File&quot;, _
		&quot;Log Flush&quot;, _
		&quot;By: David Orlo&quot;, _
		&quot;www.DavidOrlo.com&quot;, _
		&quot;Programmed In&quot;, _
		&quot;100% Pure AutoIT&quot;, _
		&quot;•*´¯`*•.¸ .. ¥ .. ¸.•*´¯`*•*´¯`*•.¸ .. ¥ .. ¸.•*´¯`*•*´¯`*•.¸ .. ¥ .. ¸.•*´¯`*.¸ .. ¥ .. ¸.•*´¯&quot;, _
		&quot;•*´¯`*•.¸ .. ¥ .. ¸.•*´¯`*•*´¯`*•.¸ .. ¥ .. ¸.•*´¯`*•*´¯`*•.¸ .. ¥ .. ¸.•*´¯`*.¸ .. ¥ .. ¸.•*´¯&quot;, _
		&quot;•*´¯`*•.¸ .. ¥ .. ¸.•*´¯`*•*´¯`*•.¸ .. ¥ .. ¸.•*´¯`*•*´¯`*•.¸ .. ¥ .. ¸.•*´¯`*.¸ .. ¥ .. ¸.•*´¯&quot;, _
		&quot;•*´¯`*•.¸ .. ¥ .. ¸.•*´¯`*•*´¯`*•.¸ .. ¥ .. ¸.•*´¯`*•*´¯`*•.¸ .. ¥ .. ¸.•*´¯`*.¸ .. ¥ .. ¸.•*´¯&quot;, _
		&quot;•*´¯`*•.¸ .. ¥ .. ¸.•*´¯`*•*´¯`*•.¸ .. ¥ .. ¸.•*´¯`*•*´¯`*•.¸ .. ¥ .. ¸.•*´¯`*.¸ .. ¥ .. ¸.•*´¯&quot;, _
		&quot;•*´¯`*•.¸ .. ¥ .. ¸.•*´¯`*•*´¯`*•.¸ .. ¥ .. ¸.•*´¯`*•*´¯`*•.¸ .. ¥ .. ¸.•*´¯`*.¸ .. ¥ .. ¸.•*´¯&quot;, _
		&quot;•*´¯`*•.¸ .. ¥ .. ¸.•*´¯`*•*´¯`*•.¸ .. ¥ .. ¸.•*´¯`*•*´¯`*•.¸ .. ¥ .. ¸.•*´¯`*.¸ .. ¥ .. ¸.•*´¯&quot;, _
		&quot;•*´¯`*•.¸ .. ¥ .. ¸.•*´¯`*•*´¯`*•.¸ .. ¥ .. ¸.•*´¯`*•*´¯`*•.¸ .. ¥ .. ¸.•*´¯`*.¸ .. ¥ .. ¸.•*´¯&quot;]
Global $c = 0 ;counter for sleep
Global $i = 1 ;for character
Global $j = 0 ;for array
Global $k = UBound($title) - 1
Global $s = 150 ;sleep time
Global $in = True
Global $effect = Random(1, 2, 1)
Global $igui
Global $lfgui
Global $guiimg
Global $time = @HOUR &amp; &quot;:&quot; &amp; @MIN &amp; &quot;:&quot; &amp; @SEC
Global $date = @YEAR &amp; &quot;/&quot; &amp; @MON &amp; &quot;/&quot; &amp; @MDAY
Global $inifile = &quot;includes\LogFlush.ini&quot;

If FileExists(&quot;includes\LogFlush.ini&quot;) = 0 Then
	createini()
EndIf

$RAppVersion = RegRead(&quot;HKEY_LOCAL_MACHINE\Software\IT3\LogFlush\Options&quot;, &quot;AppVersion&quot;)
If $RAppVersion &lt;&gt; $AppVersion Then
	createini()
EndIf

Global $startlocation = IniRead($inifile,&quot;Options&quot;,&quot;Startlocation&quot;,&quot;C:\inetpub&quot;)
Global $filetype = IniRead($inifile,&quot;Options&quot;,&quot;filetype&quot;,&quot;.log&quot;)
Global $recursion = IniRead($inifile,&quot;Options&quot;,&quot;recursion&quot;,5)
Global $ignorefolders = IniRead($inifile,&quot;Options&quot;,&quot;ignorefolders&quot;,&quot;NONE&quot;)
Global $usefolders = IniRead($inifile,&quot;Options&quot;,&quot;usefolders&quot;,&quot;*&quot;)
Global $aging = IniRead($inifile,&quot;Options&quot;,&quot;aging&quot;,15)

_GDIPlus_Startup()
introgui()
Sleep(5000)
maingui()

While 1
	$Msg = GUIGetMsg()
	Display_Info()
	Switch $Msg
		Case $GUI_EVENT_CLOSE
			Exit
		Case $Browse
			$var = FileSelectFolder(&quot;Choose a folder.&quot;, &quot;&quot;)
			GUICtrlSetData($InputLoc, $var)
		Case $Save
			writeini()
			$winpos = WinGetPos(&quot;&quot;,&quot;Start Log Location&quot;)
			SplashTextOn(&quot;LogFlush&quot;, &quot;Configuration Saved&quot;, 250, 55, $winpos[0] +10, $winpos[1] +180, 1, &quot;&quot;, 18)
			Sleep(1500)
			SplashOff()
		Case $Flush
			writeini()
			runflush()
	EndSwitch
WEnd

Func introgui()
	$igui = GUICreate(&quot;&quot;, 265, 330, -1, -1, $WS_POPUP, $WS_EX_TOPMOST + $WS_EX_LAYERED + $WS_EX_TOOLWINDOW)
	$guiimg = _GDIPlus_ImageLoadFromFile(&quot;includes\LogFlush.png&quot;)
	SETBITMAP($igui, $guiimg, 255)
	DllCall(&quot;user32.dll&quot;, &quot;int&quot;, &quot;AnimateWindow&quot;, &quot;hwnd&quot;, $igui, &quot;int&quot;, 500, &quot;long&quot;, 262160)
	GUISetState(@SW_SHOW, $igui)
EndFunc   ;==&gt;introgui

Func maingui()
	DllCall(&quot;user32.dll&quot;, &quot;int&quot;, &quot;AnimateWindow&quot;, &quot;hwnd&quot;, $igui, &quot;int&quot;, 1000, &quot;long&quot;, 0x00090000)
	$lfgui = GUICreate(&quot;Log Flush&quot;, 266, 379, -1, -1)
	GUISetBkColor(0x3c3c3c)
	GUICtrlCreatePic(&quot;includes\LFHeader.jpg&quot;, 0, 0, 265, 39, BitOR($SS_NOTIFY, $WS_GROUP, $WS_CLIPSIBLINGS))
	$Group1 = GUICtrlCreateGroup(&quot;Start Log Location&quot;, 5, 42, 255, 80, BitOR($BS_CENTER, $BS_FLAT))
	DllCall(&quot;UxTheme.dll&quot;, &quot;int&quot;, &quot;SetWindowTheme&quot;, &quot;hwnd&quot;, GUICtrlGetHandle($Group1), &quot;wstr&quot;, 0, &quot;wstr&quot;, 0)
	GUICtrlSetColor(-1, 0xFFFFFF)
	Global $InputLoc = GUICtrlCreateInput($startlocation, 10, 61, 245, 21)
	Global $Browse = GUICtrlCreateButton(&quot;Browse&quot;, 180, 88, 75, 25, $WS_GROUP)
	GUICtrlSetBkColor(-1, 0x07d9ff)
	GUICtrlCreateGroup(&quot;&quot;, -99, -99, 1, 1)
	$Group2 = GUICtrlCreateGroup(&quot;File Types&quot;, 5, 124, 255, 50)
	DllCall(&quot;UxTheme.dll&quot;, &quot;int&quot;, &quot;SetWindowTheme&quot;, &quot;hwnd&quot;, GUICtrlGetHandle($Group2), &quot;wstr&quot;, 0, &quot;wstr&quot;, 0)
	GUICtrlSetColor(-1, 0xFFFFFF)
	Global $InputType = GUICtrlCreateInput($filetype, 10, 143, 245, 21)
	GUICtrlCreateGroup(&quot;&quot;, -99, -99, 1, 1)
	$Group4 = GUICtrlCreateGroup(&quot;Use Folders&quot;, 5, 178, 255, 46)
	DllCall(&quot;UxTheme.dll&quot;, &quot;int&quot;, &quot;SetWindowTheme&quot;, &quot;hwnd&quot;, GUICtrlGetHandle($Group4), &quot;wstr&quot;, 0, &quot;wstr&quot;, 0)
	GUICtrlSetColor(-1, 0xFFFFFF)
	Global $InputUse = GUICtrlCreateInput($usefolders, 10, 194, 245, 21)
	GUICtrlCreateGroup(&quot;&quot;, -99, -99, 1, 1)
	$Group5 = GUICtrlCreateGroup(&quot;Ignore Folders&quot;, 5, 230, 255, 46)
	DllCall(&quot;UxTheme.dll&quot;, &quot;int&quot;, &quot;SetWindowTheme&quot;, &quot;hwnd&quot;, GUICtrlGetHandle($Group5), &quot;wstr&quot;, 0, &quot;wstr&quot;, 0)
	GUICtrlSetColor(-1, 0xFFFFFF)
	Global $InputIgnore = GUICtrlCreateInput($ignorefolders, 10, 248, 245, 21)
	GUICtrlCreateGroup(&quot;&quot;, -99, -99, 1, 1)
	$Group3 = GUICtrlCreateGroup(&quot;Recursion&quot;, 5, 279, 125, 48)
	DllCall(&quot;UxTheme.dll&quot;, &quot;int&quot;, &quot;SetWindowTheme&quot;, &quot;hwnd&quot;, GUICtrlGetHandle($Group3), &quot;wstr&quot;, 0, &quot;wstr&quot;, 0)
	GUICtrlSetColor(-1, 0xFFFFFF)
	Global $InputRecursion = GUICtrlCreateCombo(&quot;&quot;, 15, 298, 105, 25)
	GUICtrlSetData(-1, &quot;6|5|4|3|2|1&quot;, $recursion)
	GUICtrlCreateGroup(&quot;&quot;, -99, -99, 1, 1)
	$Group6 = GUICtrlCreateGroup(&quot;Aging&quot;, 135, 279, 125, 48)
	DllCall(&quot;UxTheme.dll&quot;, &quot;int&quot;, &quot;SetWindowTheme&quot;, &quot;hwnd&quot;, GUICtrlGetHandle($Group6), &quot;wstr&quot;, 0, &quot;wstr&quot;, 0)
	GUICtrlSetColor(-1, 0xFFFFFF)
	Global $InputAging = GUICtrlCreateInput($aging, 143, 298, 105, 21)
	GUICtrlCreateGroup(&quot;&quot;, -99, -99, 1, 1)
	Global $Save = GUICtrlCreateButton(&quot;Save&quot;, 5, 329, 65, 44, $WS_GROUP)
	GUICtrlSetBkColor(-1, 0x068dff)
	Global $Flush = GUICtrlCreateButton(&quot;FLUSH 'EM&quot;, 74, 330, 186, 44, $WS_GROUP)
	GUICtrlSetState(-1, $GUI_FOCUS)
	GUICtrlSetBkColor(-1, 0x068dff)
	GUISetState(@SW_SHOW, $lfgui)
EndFunc   ;==&gt;maingui

Func Display_Info()
	Sleep(10)
	If $in Then
		If $i &lt;&gt; StringLen($title[$j]) + 1 Then
			If $effect = 1 Then
				WinSetTitle($lfgui, &quot;&quot;, StringLeft($title[$j], $i)) ;effect 1a, 1 by 1
			Else
				WinSetTitle($lfgui, &quot;&quot;, StringRight($title[$j], $i)) ;effect 2a, scroll to right
			EndIf
			$i += 1
		Else
			If $c = $s Then
				$i = 1
				$in = False
				$c = 0
				$effect = Random(1, 2, 1)
			Else
				$c += 1
			EndIf
		EndIf
	Else
		If $i &lt;&gt; StringLen($title[$j]) + 1 Then
			If $effect = 1 Then
				WinSetTitle($lfgui, &quot;&quot;, StringLeft($title[$j], StringLen($title[$j]) - $i)) ;effect 1b, 1 by 1
			Else
				WinSetTitle($lfgui, &quot;&quot;, StringRight($title[$j], StringLen($title[$j]) - $i)) ;effect 2b, scroll to left
			EndIf
			$i += 1
		Else
			$i = 1
			$in = True
			$effect = Random(1, 2, 1)
			If $j = $k Then
				$j = 0
			Else
				$j += 1
			EndIf
		EndIf
	EndIf
EndFunc   ;==&gt;Display_Info

Func writeini()
If RegRead(&quot;HKEY_LOCAL_MACHINE\Software\IT3\IT-Tech-Tools&quot;,&quot;IT Tech Tools&quot;) = &quot;&quot; Then
	RegWrite(&quot;HKEY_LOCAL_MACHINE\Software\IT3&quot;, &quot;IT-Tech-Tools&quot;, &quot;REG_SZ&quot;, &quot;IT Tech Tools&quot;)
EndIf

If RegRead(&quot;HKEY_LOCAL_MACHINE\Software\IT3\LogFlush&quot;,&quot;LF&quot;) = &quot;&quot; Then
	RegWrite(&quot;HKEY_LOCAL_MACHINE\Software\IT3\LogFlush&quot;, &quot;LF&quot;, &quot;REG_SZ&quot;, &quot;Log Flush&quot;)
EndIf
RegWrite(&quot;HKEY_LOCAL_MACHINE\Software\IT3\LogFlush\Options&quot;, &quot;startlocation&quot;, &quot;REG_SZ&quot;, GUICtrlRead($InputLoc))
RegWrite(&quot;HKEY_LOCAL_MACHINE\Software\IT3\LogFlush\Options&quot;, &quot;filetype&quot;, &quot;REG_SZ&quot;, GUICtrlRead($InputType))
RegWrite(&quot;HKEY_LOCAL_MACHINE\Software\IT3\LogFlush\Options&quot;, &quot;recursion&quot;, &quot;REG_SZ&quot;, GUICtrlRead($InputRecursion))
RegWrite(&quot;HKEY_LOCAL_MACHINE\Software\IT3\LogFlush\Options&quot;, &quot;ignorefolders&quot;, &quot;REG_SZ&quot;, GUICtrlRead($InputIgnore))
RegWrite(&quot;HKEY_LOCAL_MACHINE\Software\IT3\LogFlush\Options&quot;, &quot;usefolders&quot;, &quot;REG_SZ&quot;, GUICtrlRead($InputUse))
RegWrite(&quot;HKEY_LOCAL_MACHINE\Software\IT3\LogFlush\Options&quot;, &quot;aging&quot;, &quot;REG_SZ&quot;, GUICtrlRead($InputAging))
RegWrite(&quot;HKEY_LOCAL_MACHINE\Software\IT3\LogFlush\Options&quot;, &quot;appversion&quot;, &quot;REG_SZ&quot;, $AppVersion)

	$inifile = &quot;includes\LogFlush.ini&quot;
	IniWrite($inifile, &quot;options&quot;, &quot;startlocation&quot;, GUICtrlRead($InputLoc))
	IniWrite($inifile, &quot;options&quot;, &quot;filetype&quot;, GUICtrlRead($InputType))
	IniWrite($inifile, &quot;options&quot;, &quot;recursion&quot;, GUICtrlRead($InputRecursion))
	IniWrite($inifile, &quot;options&quot;, &quot;ignorefolders&quot;, GUICtrlRead($InputIgnore))
	IniWrite($inifile, &quot;options&quot;, &quot;usefolders&quot;, GUICtrlRead($InputUse))
	IniWrite($inifile, &quot;options&quot;, &quot;aging&quot;, GUICtrlRead($InputAging))
EndFunc

Func runflush()
$winpos = WinGetPos(&quot;&quot;,&quot;Start Log Location&quot;)
SplashTextOn(&quot;LogFlush&quot;, &quot;Running&quot;, 250, 55, $winpos[0] +10, $winpos[1] +180, 1, &quot;&quot;, 18)
writeini()
RunWait(&quot;LFTask.exe&quot;)
$tfoldercount = RegRead(&quot;HKEY_LOCAL_MACHINE\Software\IT3\LogFlush\Stats&quot;,&quot;Folders Processed TD&quot;)
$tfilecount = RegRead(&quot;HKEY_LOCAL_MACHINE\Software\IT3\LogFlush\Stats&quot;,&quot;Files Processed TD&quot;)
$foldercount = RegRead(&quot;HKEY_LOCAL_MACHINE\Software\IT3\LogFlush\Stats&quot;, &quot;Folders Processed&quot;)
$filecount = RegRead(&quot;HKEY_LOCAL_MACHINE\Software\IT3\LogFlush\Stats&quot;, &quot;Files Processed&quot;)
$skippedfolder = RegRead(&quot;HKEY_LOCAL_MACHINE\Software\IT3\LogFlush\Stats&quot;, &quot;Folders Skipped&quot;)
$skippedfiletotal = RegRead(&quot;HKEY_LOCAL_MACHINE\Software\IT3\LogFlush\Stats&quot;, &quot;Files Skipped&quot;)
$skippedfileage = RegRead(&quot;HKEY_LOCAL_MACHINE\Software\IT3\LogFlush\Stats&quot;, &quot;Skipped Aging&quot;)
$skippedfileext = RegRead(&quot;HKEY_LOCAL_MACHINE\Software\IT3\LogFlush\Stats&quot;, &quot;Skipped Extension&quot;)
SplashOff()
MsgBox(0, &quot;Log Flush Report&quot;, &quot;Machine Name: &quot; &amp; $machinename &amp; @CRLF &amp; _
		&quot;Folders Processed Total: &quot; &amp; $foldercount &amp; @CRLF &amp; _
		&quot;Files Processed Total: &quot; &amp; $filecount &amp; @CRLF &amp; _
		&quot;Folders Skipped Total: &quot; &amp; $skippedfolder &amp; @CRLF &amp; _
		&quot;Files Skipped Total: &quot; &amp; $skippedfiletotal &amp; @CRLF &amp; _
		&quot;Skipped due to Aging: &quot; &amp; $skippedfileage &amp; @CRLF &amp; _
		&quot;Skipped due to Extension: &quot; &amp; $skippedfileext &amp; @CRLF &amp; _
		&quot;----------------------------&quot; &amp; @CRLF &amp; _
		&quot;Folders Processed Lifetime: &quot; &amp; $tfoldercount &amp; @CRLF &amp; _
		&quot;Files Processed Lifetime: &quot; &amp; $tfilecount)
EndFunc

Func createini()
$ANLEN = StringLen ($AppName)
$eo = _MathCheckDiv ($ANLEN,2)
$starcount = (22 - $ANLEN) / 2
$starcount = Round($starcount, 0)
If $eo = 1 Then
	$starcount = $starcount -1
EndIf
If $starcount = 11 Then
$star = &quot;***********&quot;
ElseIf $starcount = 10 Then
$star = &quot;**********&quot;
ElseIf $starcount = 9 Then
$star = &quot;*********&quot;
ElseIf $starcount = 8 Then
$star = &quot;********&quot;
ElseIf $starcount = 7 Then
$star = &quot;*******&quot;
ElseIf $starcount = 6 Then
$star = &quot;******&quot;
ElseIf $starcount = 5 Then
$star = &quot;*****&quot;
ElseIf $starcount = 4 Then
$star = &quot;****&quot;
ElseIf $starcount = 3 Then
$star = &quot;***&quot;
ElseIf $starcount = 2 Then
$star = &quot;**&quot;
ElseIf $starcount = 1 Then
$star = &quot;*&quot;
Else
$star = &quot;&quot;
EndIf

$file = FileOpen($inifile, 2)
FileWrite($file, &quot;¸.•*´¯`*•*´¯`*•.¸ .. ¥ .. ¸.•*´¯`*•*´¯`*•.¸&quot; &amp; @CRLF)
FileWrite($file, $star &amp; &quot; &quot; &amp; $AppName &amp; &quot; &quot; &amp; $AppVersion &amp; &quot; by: David Orlo &quot; &amp; $star &amp; @CRLF)
FileWrite($file, &quot;************ www.DavidOrlo.com ************&quot; &amp; @CRLF)
FileWrite($file, &quot;******* Creative Commons (BY-NC-SA) *******&quot; &amp; @CRLF)
FileWrite($file, &quot;-- Please Read the ReadME File for HELP --&quot; &amp; @CRLF)
FileWrite($file, &quot;¸.•*\_/*•*\_/*•.¸ .. ¥ .. ¸.•*\_/*•*\_/*•.¸&quot; &amp; @CRLF)
FileWrite($file, &quot;&quot; &amp; @CRLF)
FileWrite($file, &quot;[Options]&quot; &amp; @CRLF)
FileWrite($file, &quot;startlocation=C:\inetpub&quot; &amp; @CRLF)
FileWrite($file, &quot;filetype=.log&quot; &amp; @CRLF)
FileWrite($file, &quot;recursion=5&quot; &amp; @CRLF)
FileWrite($file, &quot;ignorefolders=NONE&quot; &amp; @CRLF)
FileWrite($file, &quot;usefolders=*&quot; &amp; @CRLF)
FileWrite($file, &quot;aging=15&quot; &amp; @CRLF)
FileClose($file)
EndFunc

Func _GUICtrlCreateGroup($sText, $iLeft, $iTop, $iWidth, $iHeight, $bColor = 0x000000)
	Local $aLabel[6] = [5]
	Local $aStringSize = _StringSize($sText)
	$aLabel[1] = GUICtrlCreateLabel(&quot;&quot;, $iLeft + 1, $iTop + 1, 1, $iHeight) ; Left Line.
	$aLabel[2] = GUICtrlCreateLabel(&quot;&quot;, $iLeft + 1, $iTop + 1, 10, 1) ; Top Left Line.
	GUICtrlCreateLabel(&quot; &quot; &amp; $sText, $iLeft + 7, $iTop - 6, $aStringSize[2] - 3, 15)
	$aLabel[3] = GUICtrlCreateLabel(&quot;&quot;, $iLeft + $aStringSize[2] + 4, $iTop + 1, $iWidth - $aStringSize[2] - 3, 1) ; Top Right Line.
	$aLabel[4] = GUICtrlCreateLabel(&quot;&quot;, $iLeft + $iWidth + 1, $iTop + 1, 1, $iHeight) ; Right Line.
	$aLabel[5] = GUICtrlCreateLabel(&quot;&quot;, $iLeft + 1, $iTop + $iHeight + 1, $iWidth + 1, 1) ; Bottom Line.
	For $i = 1 To $aLabel[0]
		GUICtrlSetBkColor($aLabel[$i], $bColor)
	Next
EndFunc   ;==&gt;_GUICtrlCreateGroup

Func WM_HSCROLL($HWND, $IMSG, $IWPARAM, $ILPARAM)
	SETBITMAP($igui, $guiimg, 255)
EndFunc   ;==&gt;WM_HSCROLL
Func WM_NCHITTEST($HWND, $IMSG, $IWPARAM, $ILPARAM)
	If ($HWND = $igui) And ($IMSG = $WM_NCHITTEST) Then Return $HTCAPTION
EndFunc   ;==&gt;WM_NCHITTEST
Func SETBITMAP($HGUI, $guiimg, $IOPACITY)
	Local $HSCRDC, $HMEMDC, $HBITMAP, $HOLD, $PSIZE, $TSIZE, $PSOURCE, $TSOURCE, $PBLEND, $TBLEND
	$HSCRDC = _WinAPI_GetDC(0)
	$HMEMDC = _WinAPI_CreateCompatibleDC($HSCRDC)
	$HBITMAP = _GDIPlus_BitmapCreateHBITMAPFromBitmap($guiimg)
	$HOLD = _WinAPI_SelectObject($HMEMDC, $HBITMAP)
	$TSIZE = DllStructCreate($TAGSIZE)
	$PSIZE = DllStructGetPtr($TSIZE)
	DllStructSetData($TSIZE, &quot;X&quot;, _GDIPlus_ImageGetWidth($guiimg))
	DllStructSetData($TSIZE, &quot;Y&quot;, _GDIPlus_ImageGetHeight($guiimg))
	$TSOURCE = DllStructCreate($TAGPOINT)
	$PSOURCE = DllStructGetPtr($TSOURCE)
	$TBLEND = DllStructCreate($TAGBLENDFUNCTION)
	$PBLEND = DllStructGetPtr($TBLEND)
	DllStructSetData($TBLEND, &quot;Alpha&quot;, $IOPACITY)
	DllStructSetData($TBLEND, &quot;Format&quot;, $AC_SRC_ALPHA)
	_WinAPI_UpdateLayeredWindow($HGUI, $HSCRDC, 0, $PSIZE, $HMEMDC, $PSOURCE, 0, $PBLEND, $ULW_ALPHA)
	_WinAPI_ReleaseDC(0, $HSCRDC)
	_WinAPI_SelectObject($HMEMDC, $HOLD)
	_WinAPI_DeleteObject($HBITMAP)
	_WinAPI_DeleteDC($HMEMDC)
EndFunc   ;==&gt;SETBITMAP
</pre>
<p>Task Executable</p>
<pre class="brush: autoit; title: ; notranslate">
#cs ----------------------------------------------------------------------------

	App: LogFlush
	By: David Orlo
	www.DavidOrlo.com

	Artistic License 2.0

http://www.perlfoundation.org/artistic_license_2_0

	Creative Commons License
	Attribution Non-Commercial Share Alike (cc by-nc-sa)

http://creativecommons.org/licenses/by-nc-sa/3.0/

#ce ----------------------------------------------------------------------------

#include &lt;File.au3&gt;
#include &lt;Array.au3&gt;
#include &lt;Date.au3&gt;

Global $time = @HOUR &amp; &quot;:&quot; &amp; @MIN &amp; &quot;:&quot; &amp; @SEC
Global $date = @YEAR &amp; &quot;/&quot; &amp; @MON &amp; &quot;/&quot; &amp; @MDAY
Global $inifile = &quot;includes\LogFlush.ini&quot;
Global $foldercount = 0
Global $filecount = 0
Global $skippedfolder = 0
Global $skippedfileage = 0
Global $skippedfileext = 0
Global $skippedfiletotal = 0

Global $Level1Folder = IniRead($inifile, &quot;Options&quot;, &quot;Startlocation&quot;, &quot;C:\inetpub&quot;)
Global $filetype = IniRead($inifile, &quot;Options&quot;, &quot;filetype&quot;, &quot;.log&quot;)
Global $recursion = IniRead($inifile, &quot;Options&quot;, &quot;recursion&quot;, 5)
Global $ignorefolders = IniRead($inifile, &quot;Options&quot;, &quot;ignorefolders&quot;, &quot;NONE&quot;)
Global $usefolders = IniRead($inifile, &quot;Options&quot;, &quot;usefolders&quot;, &quot;*&quot;)
Global $aging = IniRead($inifile, &quot;Options&quot;, &quot;aging&quot;, 15)

;List Folders on 1
$FoldersOnLevel1 = _FileListToArray($Level1Folder, &quot;*&quot;, 2)
If UBound($FoldersOnLevel1, 1) &lt;&gt; 0 And $recursion &gt; 1 Then
	For $r2a = 1 To UBound($FoldersOnLevel1) - 1 Step 1
		$foldercount = $foldercount +1
		$Level2Folder = $FoldersOnLevel1[$r2a]
		$FolderResultU = StringInStr($Level2Folder, $usefolders)
		If $FolderResultU &lt;&gt; 0 Or $usefolders = &quot;*&quot; Then
			$FolderResultI = StringInStr($Level2Folder, $ignorefolders)
			If $FolderResultI = 0 Then
				;List Folders on 2
				$FoldersOnLevel2 = _FileListToArray($Level1Folder &amp; &quot;\&quot; &amp; $Level2Folder, &quot;*&quot;, 2)
				If UBound($FoldersOnLevel2, 1) &lt;&gt; 0 And $recursion &gt; 2 Then
					For $r3a = 1 To UBound($FoldersOnLevel2) - 1 Step 1
						$foldercount = $foldercount +1
						$Level3Folder = $FoldersOnLevel2[$r3a]
						$FolderResultU = StringInStr($Level3Folder, $usefolders)
						If $FolderResultU &lt;&gt; 0 Or $usefolders = &quot;*&quot; Then
							$FolderResultI = StringInStr($Level3Folder, $ignorefolders)
							If $FolderResultI = 0 Then
								;List Folders on 3
								$FoldersOnLevel3 = _FileListToArray($Level1Folder &amp; &quot;\&quot; &amp; $Level2Folder &amp; &quot;\&quot; &amp; $Level3Folder, &quot;*&quot;, 2)
								If UBound($FoldersOnLevel3, 1) &lt;&gt; 0 And $recursion &gt; 3 Then
									For $r4a = 1 To UBound($FoldersOnLevel3) - 1 Step 1
										$foldercount = $foldercount +1
										$Level4Folder = $FoldersOnLevel3[$r4a]
										$FolderResultU = StringInStr($Level4Folder, $usefolders)
										If $FolderResultU &lt;&gt; 0 Or $usefolders = &quot;*&quot; Then
											$FolderResultI = StringInStr($Level4Folder, $ignorefolders)
											If $FolderResultI = 0 Then
												;List Folders on 4
												$FoldersOnLevel4 = _FileListToArray($Level1Folder &amp; &quot;\&quot; &amp; $Level2Folder &amp; &quot;\&quot; &amp; $Level3Folder &amp; &quot;\&quot; &amp; $Level4Folder, &quot;*&quot;, 2)
												If UBound($FoldersOnLevel4, 1) &lt;&gt; 0 And $recursion &gt; 4 Then
													For $r5a = 1 To UBound($FoldersOnLevel4) - 1 Step 1
														$foldercount = $foldercount +1
														$Level5Folder = $FoldersOnLevel4[$r5a]
														$FolderResultU = StringInStr($Level5Folder, $usefolders)
														If $FolderResultU &lt;&gt; 0 Or $usefolders = &quot;*&quot; Then
															$FolderResultI = StringInStr($Level5Folder, $ignorefolders)
															If $FolderResultI = 0 Then
																;List Folders on 5
																$FoldersOnLevel5 = _FileListToArray($Level1Folder &amp; &quot;\&quot; &amp; $Level2Folder &amp; &quot;\&quot; &amp; $Level3Folder &amp; &quot;\&quot; &amp; $Level4Folder &amp; &quot;\&quot; &amp; $Level5Folder, &quot;*&quot;, 2)
																If UBound($FoldersOnLevel5, 1) &lt;&gt; 0 And $recursion &gt; 5 Then
																	For $r6a = 1 To UBound($FoldersOnLevel5) - 1 Step 1
																		$foldercount = $foldercount +1
																		$Level6Folder = $FoldersOnLevel5[$r6a]
																		$FolderResultU = StringInStr($Level6Folder, $usefolders)
																		If $FolderResultU &lt;&gt; 0 Or $usefolders = &quot;*&quot; Then
																			$FolderResultI = StringInStr($Level6Folder, $ignorefolders)
																			If $FolderResultI = 0 Then
																				;List Files on 6
																				$FileList6 = _FileListToArray($Level1Folder &amp; &quot;\&quot; &amp; $Level2Folder &amp; &quot;\&quot; &amp; $Level3Folder &amp; &quot;\&quot; &amp; $Level4Folder &amp; &quot;\&quot; &amp; $Level5Folder &amp; &quot;\&quot; &amp; $Level6Folder, &quot;*&quot;, 1)
																				For $r6b = 1 To UBound($FileList6) - 1 Step 1
																					$FilesLevel6 = $FileList6[$r6b]
																					$filecount = $filecount + 1
																					$FileResult = StringInStr($FilesLevel6, $filetype)
																					If $FileResult &lt;&gt; 0 Then
																						$filetime = FileGetTime($Level1Folder &amp; &quot;\&quot; &amp; $Level2Folder &amp; &quot;\&quot; &amp; $Level3Folder &amp; &quot;\&quot; &amp; $Level4Folder &amp; &quot;\&quot; &amp; $Level5Folder &amp; &quot;\&quot; &amp; $Level6Folder &amp; &quot;\&quot; &amp; $FilesLevel6)
																						$yyyymd = $filetime[0] &amp; &quot;/&quot; &amp; $filetime[1] &amp; &quot;/&quot; &amp; $filetime[2]
																						$daycount = _DateDiff('D', $yyyymd, $date)
																						If $daycount &gt; $aging Then
																							FileDelete($Level1Folder &amp; &quot;\&quot; &amp; $Level2Folder &amp; &quot;\&quot; &amp; $Level3Folder &amp; &quot;\&quot; &amp; $Level4Folder &amp; &quot;\&quot; &amp; $Level5Folder &amp; &quot;\&quot; &amp; $Level6Folder &amp; &quot;\&quot; &amp; $FilesLevel6)
																						Else
																							$skippedfileage = $skippedfileage + 1
																						EndIf
																					Else
																						$skippedfileext = $skippedfileext + 1
																					EndIf
																				Next
																			Else
																				$skippedfolder = $skippedfolder + 1
																			EndIf
																		Else
																			$skippedfolder = $skippedfolder + 1
																		EndIf
																	Next
																EndIf
																;List Files on 5
																$FileList5 = _FileListToArray($Level1Folder &amp; &quot;\&quot; &amp; $Level2Folder &amp; &quot;\&quot; &amp; $Level3Folder &amp; &quot;\&quot; &amp; $Level4Folder &amp; &quot;\&quot; &amp; $Level5Folder, &quot;*&quot;, 1)
																For $r5b = 1 To UBound($FileList5) - 1 Step 1
																	$FilesLevel5 = $FileList5[$r5b]
																	$filecount = $filecount + 1
																	$FileResult = StringInStr($FilesLevel5, $filetype)
																	If $FileResult &lt;&gt; 0 Then
																		$filetime = FileGetTime($Level1Folder &amp; &quot;\&quot; &amp; $Level2Folder &amp; &quot;\&quot; &amp; $Level3Folder &amp; &quot;\&quot; &amp; $Level4Folder &amp; &quot;\&quot; &amp; $Level5Folder &amp; &quot;\&quot; &amp; $FilesLevel5)
																		$yyyymd = $filetime[0] &amp; &quot;/&quot; &amp; $filetime[1] &amp; &quot;/&quot; &amp; $filetime[2]
																		$daycount = _DateDiff('D', $yyyymd, $date)
																		If $daycount &gt; $aging Then
																			FileDelete($Level1Folder &amp; &quot;\&quot; &amp; $Level2Folder &amp; &quot;\&quot; &amp; $Level3Folder &amp; &quot;\&quot; &amp; $Level4Folder &amp; &quot;\&quot; &amp; $Level5Folder &amp; &quot;\&quot; &amp; $FilesLevel5)
																		Else
																			$skippedfileage = $skippedfileage + 1
																		EndIf
																	Else
																		$skippedfileext = $skippedfileext + 1
																	EndIf
																Next
															Else
																$skippedfolder = $skippedfolder + 1
															EndIf
														Else
															$skippedfolder = $skippedfolder + 1
														EndIf
													Next
												EndIf
												;List Files on 4
												$FileList4 = _FileListToArray($Level1Folder &amp; &quot;\&quot; &amp; $Level2Folder &amp; &quot;\&quot; &amp; $Level3Folder &amp; &quot;\&quot; &amp; $Level4Folder, &quot;*&quot;, 1)
												For $r4b = 1 To UBound($FileList4) - 1 Step 1
													$FilesLevel4 = $FileList4[$r4b]
													$filecount = $filecount + 1
													$FileResult = StringInStr($FilesLevel4, $filetype)
													If $FileResult &lt;&gt; 0 Then
														$filetime = FileGetTime($Level1Folder &amp; &quot;\&quot; &amp; $Level2Folder &amp; &quot;\&quot; &amp; $Level3Folder &amp; &quot;\&quot; &amp; $Level4Folder &amp; &quot;\&quot; &amp; $FilesLevel4)
														$yyyymd = $filetime[0] &amp; &quot;/&quot; &amp; $filetime[1] &amp; &quot;/&quot; &amp; $filetime[2]
														$daycount = _DateDiff('D', $yyyymd, $date)
														If $daycount &gt; $aging Then
															FileDelete($Level1Folder &amp; &quot;\&quot; &amp; $Level2Folder &amp; &quot;\&quot; &amp; $Level3Folder &amp; &quot;\&quot; &amp; $Level4Folder &amp; &quot;\&quot; &amp; $FilesLevel4)
														Else
															$skippedfileage = $skippedfileage + 1
														EndIf
													Else
														$skippedfileext = $skippedfileext + 1
													EndIf
												Next
											Else
												$skippedfolder = $skippedfolder + 1
											EndIf
										Else
											$skippedfolder = $skippedfolder + 1
										EndIf
									Next
								EndIf
								;List Files on 3
								$FileList3 = _FileListToArray($Level1Folder &amp; &quot;\&quot; &amp; $Level2Folder &amp; &quot;\&quot; &amp; $Level3Folder, &quot;*&quot;, 1)
								For $r3b = 1 To UBound($FileList3) - 1 Step 1
									$FilesLevel3 = $FileList3[$r3b]
									$filecount = $filecount + 1
									$FileResult = StringInStr($FilesLevel3, $filetype)
									If $FileResult &lt;&gt; 0 Then
										$filetime = FileGetTime($Level1Folder &amp; &quot;\&quot; &amp; $Level2Folder &amp; &quot;\&quot; &amp; $Level3Folder &amp; &quot;\&quot; &amp; $FilesLevel3)
										$yyyymd = $filetime[0] &amp; &quot;/&quot; &amp; $filetime[1] &amp; &quot;/&quot; &amp; $filetime[2]
										$daycount = _DateDiff('D', $yyyymd, $date)
										If $daycount &gt; $aging Then
											FileDelete($Level1Folder &amp; &quot;\&quot; &amp; $Level2Folder &amp; &quot;\&quot; &amp; $Level3Folder &amp; &quot;\&quot; &amp; $FilesLevel3)
										Else
											$skippedfileage = $skippedfileage + 1
										EndIf
									Else
										$skippedfileext = $skippedfileext + 1
									EndIf
								Next
							Else
								$skippedfolder = $skippedfolder + 1
							EndIf
						Else
							$skippedfolder = $skippedfolder + 1
						EndIf
					Next
				EndIf
				;List Files on 2
				$FileList2 = _FileListToArray($Level1Folder &amp; &quot;\&quot; &amp; $Level2Folder, &quot;*&quot;, 1)
				For $r2b = 1 To UBound($FileList2) - 1 Step 1
					$FilesLevel2 = $FileList2[$r2b]
					$filecount = $filecount + 1
					$FileResult = StringInStr($FilesLevel2, $filetype)
					If $FileResult &lt;&gt; 0 Then
						$filetime = FileGetTime($Level1Folder &amp; &quot;\&quot; &amp; $Level2Folder &amp; &quot;\&quot; &amp; $FilesLevel2)
						$yyyymd = $filetime[0] &amp; &quot;/&quot; &amp; $filetime[1] &amp; &quot;/&quot; &amp; $filetime[2]
						$daycount = _DateDiff('D', $yyyymd, $date)
						If $daycount &gt; $aging Then
							FileDelete($Level1Folder &amp; &quot;\&quot; &amp; $Level2Folder &amp; &quot;\&quot; &amp; $FilesLevel2)
						Else
							$skippedfileage = $skippedfileage + 1
						EndIf
					Else
						$skippedfileext = $skippedfileext + 1
					EndIf
				Next
			Else
				$skippedfolder = $skippedfolder + 1
			EndIf
		Else
			$skippedfolder = $skippedfolder + 1
		EndIf
	Next
EndIf
;List Files on 1
$FileList1 = _FileListToArray($Level1Folder, &quot;*&quot;, 1)
For $r1b = 1 To UBound($FileList1) - 1 Step 1
	$FilesLevel1 = $FileList1[$r1b]
	$filecount = $filecount + 1
	$FileResult = StringInStr($FilesLevel1, $filetype)
	If $FileResult &lt;&gt; 0 Then
		$filetime = FileGetTime($Level1Folder &amp; &quot;\&quot; &amp; $FilesLevel1)
		$yyyymd = $filetime[0] &amp; &quot;/&quot; &amp; $filetime[1] &amp; &quot;/&quot; &amp; $filetime[2]
		$daycount = _DateDiff('D', $yyyymd, $date)
		If $daycount &gt; $aging Then
			FileDelete($Level1Folder &amp; &quot;\&quot; &amp; $FilesLevel1)
		Else
			$skippedfileage = $skippedfileage + 1
		EndIf
	Else
		$skippedfileext = $skippedfileext + 1
	EndIf
Next

;Output Results
$skippedfiletotal = $skippedfileage + $skippedfileext
If RegRead(&quot;HKEY_LOCAL_MACHINE\Software\IT3\LogFlush\Stats&quot;,&quot;Folders Processed TD&quot;) = &quot;&quot; Then
	$tfoldercount = $foldercount
	$tfilecount = $filecount
Else
	$tfoldercount = RegRead(&quot;HKEY_LOCAL_MACHINE\Software\IT3\LogFlush\Stats&quot;,&quot;Folders Processed TD&quot;)
	If $tfoldercount &lt;= $foldercount Then
		$tfoldercount = $foldercount
	EndIf

	$tfilecount = RegRead(&quot;HKEY_LOCAL_MACHINE\Software\IT3\LogFlush\Stats&quot;,&quot;Files Processed TD&quot;)
	$tfilecount = $tfilecount + $filecount
EndIf

RegWrite(&quot;HKEY_LOCAL_MACHINE\Software\IT3\LogFlush\Stats&quot;, &quot;Folders Processed TD&quot;, &quot;REG_SZ&quot;, ($tfoldercount))
RegWrite(&quot;HKEY_LOCAL_MACHINE\Software\IT3\LogFlush\Stats&quot;, &quot;Files Processed TD&quot;, &quot;REG_SZ&quot;, ($tfilecount))
RegWrite(&quot;HKEY_LOCAL_MACHINE\Software\IT3\LogFlush\Stats&quot;, &quot;Folders Processed&quot;, &quot;REG_SZ&quot;, $foldercount)
RegWrite(&quot;HKEY_LOCAL_MACHINE\Software\IT3\LogFlush\Stats&quot;, &quot;Files Processed&quot;, &quot;REG_SZ&quot;, $filecount)
RegWrite(&quot;HKEY_LOCAL_MACHINE\Software\IT3\LogFlush\Stats&quot;, &quot;Folders Skipped&quot;, &quot;REG_SZ&quot;, $skippedfolder)
RegWrite(&quot;HKEY_LOCAL_MACHINE\Software\IT3\LogFlush\Stats&quot;, &quot;Files Skipped&quot;, &quot;REG_SZ&quot;, $skippedfiletotal)
RegWrite(&quot;HKEY_LOCAL_MACHINE\Software\IT3\LogFlush\Stats&quot;, &quot;Skipped Aging&quot;, &quot;REG_SZ&quot;, $skippedfileage)
RegWrite(&quot;HKEY_LOCAL_MACHINE\Software\IT3\LogFlush\Stats&quot;, &quot;Skipped Extension&quot;, &quot;REG_SZ&quot;, $skippedfileext)
</pre>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.davidorlo.com/articles/autoit/logflush-tool-source-code/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>1971 Williams Zodiac EM Pinball Machine Resto</title>
		<link>http://www.davidorlo.com/projects/pinball/1971-williams-zodiac-em-pinball-machine-resto</link>
		<comments>http://www.davidorlo.com/projects/pinball/1971-williams-zodiac-em-pinball-machine-resto#comments</comments>
		<pubDate>Tue, 01 May 2012 21:41:01 +0000</pubDate>
		<dc:creator>David Orlo</dc:creator>
				<category><![CDATA[EM Pinball Machine Resto]]></category>
		<category><![CDATA[Pinball]]></category>
		<category><![CDATA[Restoration]]></category>
		<category><![CDATA[Williams]]></category>
		<category><![CDATA[Zodiac]]></category>

		<guid isPermaLink="false">http://www.davidorlo.com/?p=2012</guid>
		<description><![CDATA[So I was given this pinball machine for free from a neighbor. He had it out front with a sign that said free and at first I didn&#8217;t think anything of it and ignored it for most of the day but then my curiosity got the best of me and I finally went over and asked about it later that night. He said it was working but then just stopped but no one had messed with it to figure out why. This was the key reason that made me say I&#8217;d take it because I didn&#8217;t want someone else&#8217;s problems. When I got the machine is was pretty beat up as you can see in the picture to the left. It looked like it was left out somewhere damp like a garage because the wood had swelled up slightly in spots. I was able to get it to turn on by simply cleaning some contacts and since then I have started a full blown project by cleaning the machine and all the little spring switch contacts but</p><a href="http://www.davidorlo.com/projects/pinball/1971-williams-zodiac-em-pinball-machine-resto">(More)…</a>
No related posts.]]></description>
			<content:encoded><![CDATA[<p>So I was given this pinball machine for free from a neighbor. He had it out front with a sign that said free and at first I didn&#8217;t think anything of it and ignored it for most of the day but then my curiosity<a href="http://www.davidorlo.com/projects/pinball/1971-williams-zodiac-em-pinball-machine-resto/attachment/1971-williams-zodiac-1" rel="attachment wp-att-2013"><img class="alignleft size-medium wp-image-2013" style="border-image: initial; border-width: 2px; border-color: black; border-style: solid; margin: 5px;" title="1971 Williams Zodiac 1" src="http://i1.wp.com/www.davidorlo.com/wp-content/uploads/2012/05/1971-Williams-Zodiac-1.jpg?resize=225%2C300" alt="" /></a> got the best of me and I finally went over and asked about it later that night. He said it was working but then just stopped but no one had messed with it to figure out why. This was the key reason that made me say I&#8217;d take it because I didn&#8217;t want someone else&#8217;s problems.</p>
<p>When I got the machine is was pretty beat up as you can see in the picture to the left. It looked like it was left out somewhere damp like a garage because the wood had swelled up slightly in spots. I was able to get it to turn on by simply cleaning some contacts and since then I have started a full blown project by cleaning the machine and all the little spring switch contacts but it still didn&#8217;t play well so I ended up ordered some new parts to get it back going again.</p>
<p>I have ordered and installed new flipper bushings and I cleaned the flipper parts but I think they will likely need to be rebuilt. I ran into several problems which I have been able to fix by cleaning contacts such as playfield lights not advancing or score wheels not advancing and the ball eject button not working. Another curious thing I noticed is since this machine has 2 sets of flippers the buttons on the sides have 2 sets of contacts. Why each set of flippers couldn&#8217;t share a single contact is beyond me unless it was intended this way. The reason I found this out was because I noticed if I pressed the button in slightly only one flipper would kick while the other would lay dead until depressing the button all the way. I thought if this was a deliberate feature it would be pretty cool for the pro who wanted to show off his skill by only activating the upper flippers when needed but the switch on the right side is opposite activating the upper flipper first which doesn&#8217;t make any sense.</p>
<p>I have noticed some coin mech parts missing and some newer wire going to the ball eject button so it is possible that someone re-wired that switch at one time or maybe this feature isn&#8217;t deliberate at all. Anyway I haven&#8217;t fully decided where I want to go with this thing just yet, My current options are just cleaning it up a bit and making it fully operational again, fully restoring it like new or as new as I can get it by fully ripping it down and rebuilding it, or doing one of the aforementioned items while converting it over to digital using a few Arduinos, one for the playfield and one for the scoreboard and use something like I2C to communicate.</p>
<p>So those are my four options but at this point with other more important things on the table I am leaning towards the simple restore. Some of my driving force towards going digital was the insane amount of switches, relays and banks of relays linked together with mechanical solenoids and linkages. I will upload some pictures of this stuff next post I make but in the meantime just think about making a complex game that has dozens of mini goals and larger goals with rules and score keeping and then think about not being able to use a single piece of silicon to make that happen and voila you got one of these mechanical beasts on your hands.</p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.davidorlo.com/projects/pinball/1971-williams-zodiac-em-pinball-machine-resto/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quadcopter (Quadrocopter?) My Ideas and Thoughts, Comments Welcome</title>
		<link>http://www.davidorlo.com/projects/quadrocopter/quadcopter-quadrocopter-my-ideas-and-thoughts-comments-welcome</link>
		<comments>http://www.davidorlo.com/projects/quadrocopter/quadcopter-quadrocopter-my-ideas-and-thoughts-comments-welcome#comments</comments>
		<pubDate>Tue, 01 May 2012 21:16:59 +0000</pubDate>
		<dc:creator>David Orlo</dc:creator>
				<category><![CDATA[QuadCopter Project]]></category>
		<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Project]]></category>
		<category><![CDATA[Quadcopter]]></category>

		<guid isPermaLink="false">http://www.davidorlo.com/?p=2006</guid>
		<description><![CDATA[So I have really been wanting to take on this project but didn&#8217;t really know where to start so I started with a list of things I wanted this project copter to do or be able to do with future expansion. The thought of all of the programming involved to get all these parts to talk is dizzying but I really want a Quadcopter and I want one that&#8217;s done right with all the bells and whistles just the way I want it. I have been bookmarking sites for quite some time now and for a while I was stuck on one component and that was the frame. The thing that makes my project different from most others is the desire to use the bigger 540 Can size RC Motors. These are the standard 1/10 Car and Truck electric motors while most other Quads and standard Heli&#8217;s use the much smaller 380 size motors. For all I know there called something different now but back when I was heavy into RC cars and trucks everything</p><a href="http://www.davidorlo.com/projects/quadrocopter/quadcopter-quadrocopter-my-ideas-and-thoughts-comments-welcome">(More)…</a>
No related posts.]]></description>
			<content:encoded><![CDATA[<p>So I have really been wanting to take on this project but didn&#8217;t really know where to start so I started with a list of things I wanted this project copter to do or be able to do with future expansion. The thought of all of the programming involved to get all these parts to talk is dizzying but I really want a Quadcopter and I want one that&#8217;s done right with all the bells and whistles just the way I want it.</p>
<p>I have been bookmarking sites for quite some time now and for a while I was stuck on one component and that was the frame. The thing that makes my project different from most others is the desire to use the bigger 540 Can size RC Motors. These are the standard 1/10 Car and Truck electric motors while most other Quads and standard Heli&#8217;s use the much smaller 380 size motors. For all I know there called something different now but back when I was heavy into RC cars and trucks everything was brushed motors and brushless where literally just coming onto the scene, this was back in 2002-2003? somewhere around there maybe a little earlier.</p>
<p>I know much more than the average RC fan should know about brushed motors including how to proximate your RPM and torque based on the turns of wire on your armature and then factor in tire size and ring and pinion gear ratios for top speed vs. low end torque. However when it comes to brushless all I know is none of the old school rules apply, but I also know you can get a stock brushless car that hits 60MPH which is something you could only accomplish with an over-sized nitro (.18 instead of .15) in a stadium truck prior to brushless motors.</p>
<p>Well recently I figured out what I would like to attempt a frame out of, I always knew I would use a plastic base, maybe ABS or something and then I will make a mold from modeling clay which I will heat form Acrylic or Polycarbonate to using an oven and heat gun but I couldn&#8217;t figure out what to make the 4 shafts out of that would hold the motors or the landing gear. Well the landing gear is still up in the air but not as big of a deal but I have found what to make the 4 main shafts from and its relatively affordable less that fact you need to purchase 10&#8242; of the material.</p>
<p><a href="http://www.usplastic.com/catalog/item.aspx?itemid=23192&amp;catid=561">http://www.usplastic.com/catalog/item.aspx?itemid=23192&amp;catid=561</a></p>
<p>It&#8217;s called Fibragate Dynaform and looks like its tough enough to handle the lift of the motors yet flexible enough that it won&#8217;t crack on a rough landing. I was looking at the 1.5&#8243; wide which at 10&#8242; will run me about $50 less tax and shipping. Some things I am still unsure of is which motors to get, what blades do I get? I know I need 2 different types and even more importantly because its the hardest to change is how long do I cut the shafts that will hold the motors? I would assume the longer they are the better stability will be to an extent but I am sure the shorter they are has some advantages as well. I figured I could use several completed projects as my guideline and scale up the designs proportionally and see what users say on how they fly.</p>
<p>Anyway that&#8217;s enough rambling here is my long list of must haves and would likes.</p>
<p>Arduino Mega Controlled (its the only language I know well enough to take this on)<br />
Gyroscope, Accelerometer and Magnometer (3 Axis Each to detect exact orientation of the craft)<br />
GPS with Compass (For unmanned flights or setting way points and taking video / photos)<br />
Voltage and Current Sensors (Detection of batteries to know when to come home or emergency land)<br />
Altimeter (So I know when I&#8217;m above the trees and telephone lines)<br />
Barometric Pressure Sensor (Additional Altitude sensing)<br />
Infrared Proximity Sensor and / or Ultrasonic Range Finder (Obstacle Avoidance)<br />
FPV Camera with On Screen Display of above (This is for ground control and onboard data collection)<br />
Micro SD Card Reader (Data Logging and Diagnostics)<br />
XBee or other RF (Something to send signals back to ground control)<br />
Ground Control Software (I have found a few open source that look like they will work good)</p>
<p>So as you can see the list of electronics is pretty exhaustive and thinking about connecting it all together is a nightmare. Recently I have been looking into pricing these parts and unless I want to buy surface mount and make my own custom boards it looks like Sparkfun is the only resource for everything on breakout boards but it doesn&#8217;t come cheap. Just the first item on my list after the Arduino itself is over $100 which got me looking back into the Ardupilot. As much as I want to build my own setup from scratch I think I am going to be stuck with getting one of these at $200 + the $65 MinimOSD which adds FPV / OSD and GPS.</p>
<p><a href="https://store.diydrones.com/APM_2_0_Kit_p/br-ardupilotmega-03.htm">https://store.diydrones.com/APM_2_0_Kit_p/br-ardupilotmega-03.htm</a></p>
<p><a href="https://store.diydrones.com/Ardupilot_Mega_Minimal_OSD_p/br-apmminosd.htm">https://store.diydrones.com/Ardupilot_Mega_Minimal_OSD_p/br-apmminosd.htm</a></p>
<p>As you can see at $200 I will save over $100 easily on electronics so unless I can find a cheaper route I will have to investigate this further and see if it will truly work for my needs. In the meantime here are some links I have collected along my journey, chances are if your reading this you have already seen some if not all of these but if you just stumbled on this page and are interested in building a Quad yourself then these links may be of interest to you as well.</p>
<p>Arducopter Complete Kit<br />
<a href="http://www.rcgroups.com/forums/member.php?u=316305">http://www.rcgroups.com/forums/member.php?u=316305</a><br />
<a href="http://code.google.com/p/arducopter/wiki/ArduCopter?tm=6">http://code.google.com/p/arducopter/wiki/ArduCopter?tm=6</a><br />
<a href="http://code.google.com/p/arducopter/wiki/Purchase">http://code.google.com/p/arducopter/wiki/Purchase</a></p>
<p>Other Quads based on the Arduino<br />
<a href="http://www.rcgroups.com/forums/showthread.php?t=1066119">http://www.rcgroups.com/forums/showthread.php?t=1066119</a></p>
<p>AeroQuad Home Page<br />
<a href="http://aeroquad.com/">http://aeroquad.com/</a></p>
<p>AeroQuad Arduino Code<br />
<a href="http://code.google.com/p/aeroquad/source/browse/#svn/branches/FlightControlMegaV1%3Fstate%3Dclosed">http://code.google.com/p/aeroquad/source/browse/#svn/branches/FlightControlMegaV1%3Fstate%3Dclosed</a></p>
<p>Flight Dynamics Wiki<br />
<a href="http://en.wikipedia.org/wiki/Flight_dynamics">http://en.wikipedia.org/wiki/Flight_dynamics</a></p>
<p>DIY Drones, Some GREAT Videos on this site<br />
<a href="http://diydrones.com/">http://diydrones.com/</a></p>
<p>A LARGE Quad I found surfing for images on Google<br />
<a href="http://www.cam-and-carrier.com/products.html">http://www.cam-and-carrier.com/products.html</a></p>
<p>Cheap FPV Camera<br />
<a href="http://www.fpvhobby.com/27-3-grams-cmos-ntsc-camera.html">http://www.fpvhobby.com/27-3-grams-cmos-ntsc-camera.html</a></p>
<p>FPV Servo Controlled Pan Tilt Device<br />
<a href="http://www.urbandrones.com/FPV-Camera-Pan-and-Tilt_p_130.html">http://www.urbandrones.com/FPV-Camera-Pan-and-Tilt_p_130.html</a></p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.davidorlo.com/projects/quadrocopter/quadcopter-quadrocopter-my-ideas-and-thoughts-comments-welcome/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Software site is up for completed projects</title>
		<link>http://www.davidorlo.com/site-updates/new-software-site-is-up-for-completed-projects</link>
		<comments>http://www.davidorlo.com/site-updates/new-software-site-is-up-for-completed-projects#comments</comments>
		<pubDate>Tue, 01 May 2012 20:26:05 +0000</pubDate>
		<dc:creator>David Orlo</dc:creator>
				<category><![CDATA[Software Programming]]></category>
		<category><![CDATA[~Site Updates~]]></category>
		<category><![CDATA[AutoIT]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Downloads]]></category>
		<category><![CDATA[Programs]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Source]]></category>

		<guid isPermaLink="false">http://www.davidorlo.com/?p=2003</guid>
		<description><![CDATA[Well not all of the projects are completed on the site but they are at least 90% or even 100% with the possibility of added features in the future. http://ittechtools.net/ Is the new site, I currently have 1 completed project up for download. I haven&#8217;t decided yet weather to keep the source code here or post it there. I would like to keep most of it here and link it back to some AutoIT tutorials since that&#8217;s the language its programmed in. Most of the programs listed on the site are 80-90% complete but I just need to polish them up and package them into an installer. I have some other larger projects I am working on including a simple server / service monitoring tool and a more complex monitoring solution. Comments are welcome on all of the posts so please if you have a suggestion for a current piece of software or an idea for a program just drop me a comment and let me know what you think.
No related posts.]]></description>
			<content:encoded><![CDATA[<p>Well not all of the projects are completed on the site but they are at least 90% or even 100% with the possibility of added features in the future.</p>
<p><a href="http://ittechtools.net/">http://ittechtools.net/</a></p>
<p>Is the new site, I currently have 1 completed project up for download. I haven&#8217;t decided yet weather to keep the source code here or post it there. I would like to keep most of it here and link it back to some AutoIT tutorials since that&#8217;s the language its programmed in. Most of the programs listed on the site are 80-90% complete but I just need to polish them up and package them into an installer.</p>
<p>I have some other larger projects I am working on including a simple server / service monitoring tool and a more complex monitoring solution. Comments are welcome on all of the posts so please if you have a suggestion for a current piece of software or an idea for a program just drop me a comment and let me know what you think.</p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.davidorlo.com/site-updates/new-software-site-is-up-for-completed-projects/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Macbook Pro Unibody Hard Drive Disk Activity Light &#8211; MOD</title>
		<link>http://www.davidorlo.com/articles/mods-guides/macbook-pro-unibody-hard-drive-disk-activity-light-mod</link>
		<comments>http://www.davidorlo.com/articles/mods-guides/macbook-pro-unibody-hard-drive-disk-activity-light-mod#comments</comments>
		<pubDate>Mon, 19 Mar 2012 02:05:17 +0000</pubDate>
		<dc:creator>David Orlo</dc:creator>
				<category><![CDATA[Misc Mods & Guides]]></category>
		<category><![CDATA[Computer]]></category>
		<category><![CDATA[Hard Drive]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[laptop]]></category>
		<category><![CDATA[LED]]></category>
		<category><![CDATA[Mod]]></category>
		<category><![CDATA[Upgrade]]></category>

		<guid isPermaLink="false">http://www.davidorlo.com/?p=1959</guid>
		<description><![CDATA[Recently I started to run low on space so I decided to buy a new hard drive and although the speed increase from the faster drive was a nice bonus I still felt like something was missing, oh thats right an HD ACTIVITY LIGHT APPLE! I can see Steve Jobs making this call while saying something along the lines of it distracting from the cleanliness of the design and he probably called it an obsolete feature stating most disks are constantly active with modern search indexing and background tasks blah blah, I obviously don&#8217;t agree with this and many others don&#8217;t agree either. Even if I didn&#8217;t find this useful in OSX I do dual boot Windows and sometimes I find myself saying &#8220;what the hell is this thing doing&#8221;, its nice to know if it is doing something or if the OS is hung up on a task. Anyway enough ranting let&#8217;s get into the mod. I wanted to keep everything stock looking so I needed a place to put the LED where it</p><a href="http://www.davidorlo.com/articles/mods-guides/macbook-pro-unibody-hard-drive-disk-activity-light-mod">(More)…</a><b>
Related posts:</b><ol>
<b><li><a href='http://www.davidorlo.com/articles/mods-guides/upgrade-zt-ms-16362-to-4gb-of-ram' rel='bookmark' title='Upgrade ZT MS-16362 to 4GB of RAM'>Upgrade ZT MS-16362 to 4GB of RAM</a> <small>This is a quick litle guide on upgrading a ZT...</small></li></b>
<b><li><a href='http://www.davidorlo.com/articles/it-admin/slow-disk-to-disk-file-transfers-caching' rel='bookmark' title='Slow Disk to Disk File Transfers (Caching)'>Slow Disk to Disk File Transfers (Caching)</a> <small>Recently I ran into an issue that I would like...</small></li></b>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Recently I started to run low on space so I decided to buy a new hard drive and although the speed increase from the faster drive was a nice bonus I still felt like something was missing, oh thats right an HD ACTIVITY LIGHT APPLE! I can see Steve Jobs making this call while saying something along the lines of it distracting from the cleanliness of the design and he probably called it an obsolete feature stating most disks are constantly active with modern search indexing and background tasks blah blah, I obviously don&#8217;t agree with this and many others don&#8217;t agree either. Even if I didn&#8217;t find this useful in OSX I do dual boot Windows and sometimes I find myself saying &#8220;what the hell is this thing doing&#8221;, its nice to know if it is doing something or if the OS is hung up on a task.</p>
<p>Anyway enough ranting let&#8217;s get into the mod. I wanted to keep everything stock looking so I needed a place to put the LED where it wouldn&#8217;t stand out or require any serious hacking. Originally I thought the sleep indicator light was the HD Activity light so it seems only natural that would be the perfect place to put the new LED. I wanted to keep the sleep LED so I knew some mods would be needed, one thought was replacing both LED&#8217;s with 3mm LED&#8217;s or I could use one of my RGB LED&#8217;s.</p>
<p>First I started with the hard drive and modded it by soldering a wire to pin 9 and pin 11 on the hard drive. Pin 9 is the 5 Volt Positive lead and pin 11 is the ground trigger, the positive lead is constant while the ground actually triggers the LED on and off. The thing I like about WD Hard drives is the solder points right on the drive which makes this mod much easier to perform. If the computer supplies ground to pin 11 on the hard drive then you must cut that connection, an easy way to do this is simply bend the pin up on the hard drive so you dont void the warranty (although the mod alone voids the warranty). You can see where to solder the wires and the bent pin in the gallery photos below.</p>
<p>You must add a resistor to the LED because the pin 9 on the drive is 5 Volt and the LED requires less voltage than that. You can use any resistor from about 400 ohm to 1k ohm, you can wire it to the positive or the ground. As a side note I highly recommend using one of those cheap 3in1 adapters or plugging the drive into a cheap power supply for testing just in case something goes wrong you will only be out of a drive and not a couple thousand dollars for a laptop too. After I wired up the drive and verified it worked I started looking into the sleep light on the Macbook. Unfortunately I found the sleep LED was positive triggered instead of negative so the RGB LED wouldn&#8217;t work and I couldn&#8217;t really fit two LED&#8217;s in the space needed so I would have to keep the factory LED. This actually wasn&#8217;t a problem once I removed the LED from the housing I found it to be very small and very bright, I was able to tape the LED in place just above where the new 3mm LED would be mounted. I drilled a hole for the new LED but did not affix it in place with any glue or tape because it would be fixed to the drive permanently.</p>
<p>I taped the LED wires up on the bottom of the drive so I would have some slack on the wires if needed later and to keep the LED in the relative position I needed. As a side note if you need small wire for a mod like this I found old ethernet cables to be perfect. I dissected an old programming CAT 5 cable from a Baystack unit that worked perfectly, I left the end on the cable to keep the wires in order for later use. After everything was put back together I tested the sleep light and hard drive activity light and both seemed perfect to me. I found the sleep light to be equal in brightness in comparison to before the mod and the new HD light was about as bright as I expected and desired. The light is just bright enough to be noticed but not distracting when your working, even in low light conditions the light isn&#8217;t distracting.</p>
<p>All in all I would say the mod was fairly easy but very time consuming because I didn&#8217;t have any guide to follow or know exactly how I was going to go about the mod. Everything turned out just as good as I had hoped and as long as your soldering skills are up to par I would say just about anyone could pull of this mod. I hope I included enough photos and later I will go through them and add some additional details to the photos to help describe the contents. I also included 2 short film clips of the sleep and HD activity LED in action so be sure to check those out as well.</p>
<p><a href="http://www.davidorlo.com/articles/mods-guides/macbook-pro-unibody-hard-drive-disk-activity-light-mod/attachment/hd1" rel="attachment wp-att-1982">Macbook Pro Modded HD Activity LED</a> Video 1</p>
<p><a href="http://www.davidorlo.com/articles/mods-guides/macbook-pro-unibody-hard-drive-disk-activity-light-mod/attachment/hd2" rel="attachment wp-att-1985">Macbook Pro Modded Sleep LED</a> Video 2</p>

<a href='http://www.davidorlo.com/articles/mods-guides/macbook-pro-unibody-hard-drive-disk-activity-light-mod/attachment/mac-hd-mod-01' title='MAC HD LED MOD-01'><img src="http://i2.wp.com/www.davidorlo.com/wp-content/uploads/2012/03/MAC-HD-MOD-01.jpg?resize=150%2C150" class="attachment-thumbnail" alt="MAC HD LED MOD-01" title="MAC HD LED MOD-01" /></a>
<a href='http://www.davidorlo.com/articles/mods-guides/macbook-pro-unibody-hard-drive-disk-activity-light-mod/attachment/mac-hd-mod-02' title='MAC HD LED MOD-02'><img src="http://i1.wp.com/www.davidorlo.com/wp-content/uploads/2012/03/MAC-HD-MOD-02.jpg?resize=150%2C150" class="attachment-thumbnail" alt="MAC HD LED MOD-02" title="MAC HD LED MOD-02" /></a>
<a href='http://www.davidorlo.com/articles/mods-guides/macbook-pro-unibody-hard-drive-disk-activity-light-mod/attachment/mac-hd-mod-03' title='MAC HD LED MOD-03'><img src="http://i2.wp.com/www.davidorlo.com/wp-content/uploads/2012/03/MAC-HD-MOD-03.jpg?resize=150%2C150" class="attachment-thumbnail" alt="MAC HD LED MOD-03" title="MAC HD LED MOD-03" /></a>
<a href='http://www.davidorlo.com/articles/mods-guides/macbook-pro-unibody-hard-drive-disk-activity-light-mod/attachment/mac-hd-mod-04' title='MAC HD LED MOD-04'><img src="http://i1.wp.com/www.davidorlo.com/wp-content/uploads/2012/03/MAC-HD-MOD-04.jpg?resize=150%2C150" class="attachment-thumbnail" alt="MAC HD LED MOD-04" title="MAC HD LED MOD-04" /></a>
<a href='http://www.davidorlo.com/articles/mods-guides/macbook-pro-unibody-hard-drive-disk-activity-light-mod/attachment/mac-hd-mod-05' title='MAC HD LED MOD-05'><img src="http://i2.wp.com/www.davidorlo.com/wp-content/uploads/2012/03/MAC-HD-MOD-05.jpg?resize=150%2C150" class="attachment-thumbnail" alt="MAC HD LED MOD-05" title="MAC HD LED MOD-05" /></a>
<a href='http://www.davidorlo.com/articles/mods-guides/macbook-pro-unibody-hard-drive-disk-activity-light-mod/attachment/mac-hd-mod-08' title='MAC HD LED MOD-08'><img src="http://i0.wp.com/www.davidorlo.com/wp-content/uploads/2012/03/MAC-HD-MOD-08.jpg?resize=150%2C150" class="attachment-thumbnail" alt="MAC HD LED MOD-08" title="MAC HD LED MOD-08" /></a>
<a href='http://www.davidorlo.com/articles/mods-guides/macbook-pro-unibody-hard-drive-disk-activity-light-mod/attachment/mac-hd-mod-10' title='MAC HD LED MOD-10'><img src="http://i2.wp.com/www.davidorlo.com/wp-content/uploads/2012/03/MAC-HD-MOD-10.jpg?resize=150%2C150" class="attachment-thumbnail" alt="MAC HD LED MOD-10" title="MAC HD LED MOD-10" /></a>
<a href='http://www.davidorlo.com/articles/mods-guides/macbook-pro-unibody-hard-drive-disk-activity-light-mod/attachment/mac-hd-mod-12' title='MAC HD LED MOD-12'><img src="http://i0.wp.com/www.davidorlo.com/wp-content/uploads/2012/03/MAC-HD-MOD-12.jpg?resize=150%2C150" class="attachment-thumbnail" alt="MAC HD LED MOD-12" title="MAC HD LED MOD-12" /></a>
<a href='http://www.davidorlo.com/articles/mods-guides/macbook-pro-unibody-hard-drive-disk-activity-light-mod/attachment/mac-hd-mod-16' title='MAC HD LED MOD-16'><img src="http://i0.wp.com/www.davidorlo.com/wp-content/uploads/2012/03/MAC-HD-MOD-16.jpg?resize=150%2C150" class="attachment-thumbnail" alt="MAC HD LED MOD-16" title="MAC HD LED MOD-16" /></a>
<a href='http://www.davidorlo.com/articles/mods-guides/macbook-pro-unibody-hard-drive-disk-activity-light-mod/attachment/mac-hd-mod-18' title='MAC HD LED MOD-18'><img src="http://i2.wp.com/www.davidorlo.com/wp-content/uploads/2012/03/MAC-HD-MOD-18.jpg?resize=150%2C150" class="attachment-thumbnail" alt="MAC HD LED MOD-18" title="MAC HD LED MOD-18" /></a>
<a href='http://www.davidorlo.com/articles/mods-guides/macbook-pro-unibody-hard-drive-disk-activity-light-mod/attachment/mac-hd-mod-19' title='MAC HD LED MOD-19'><img src="http://i0.wp.com/www.davidorlo.com/wp-content/uploads/2012/03/MAC-HD-MOD-19.jpg?resize=150%2C150" class="attachment-thumbnail" alt="MAC HD LED MOD-19" title="MAC HD LED MOD-19" /></a>
<a href='http://www.davidorlo.com/articles/mods-guides/macbook-pro-unibody-hard-drive-disk-activity-light-mod/attachment/mac-hd-mod-20' title='MAC HD LED MOD-20'><img src="http://i1.wp.com/www.davidorlo.com/wp-content/uploads/2012/03/MAC-HD-MOD-20.jpg?resize=150%2C150" class="attachment-thumbnail" alt="MAC HD LED MOD-20" title="MAC HD LED MOD-20" /></a>
<a href='http://www.davidorlo.com/articles/mods-guides/macbook-pro-unibody-hard-drive-disk-activity-light-mod/attachment/mac-hd-mod-21' title='MAC HD LED MOD-21'><img src="http://i2.wp.com/www.davidorlo.com/wp-content/uploads/2012/03/MAC-HD-MOD-21.jpg?resize=150%2C150" class="attachment-thumbnail" alt="MAC HD LED MOD-21" title="MAC HD LED MOD-21" /></a>
<a href='http://www.davidorlo.com/articles/mods-guides/macbook-pro-unibody-hard-drive-disk-activity-light-mod/attachment/mac-hd-mod-22' title='MAC HD LED MOD-22'><img src="http://i2.wp.com/www.davidorlo.com/wp-content/uploads/2012/03/MAC-HD-MOD-22.jpg?resize=150%2C150" class="attachment-thumbnail" alt="MAC HD LED MOD-22" title="MAC HD LED MOD-22" /></a>
<a href='http://www.davidorlo.com/articles/mods-guides/macbook-pro-unibody-hard-drive-disk-activity-light-mod/attachment/mac-hd-mod-23' title='MAC HD LED MOD-23'><img src="http://i0.wp.com/www.davidorlo.com/wp-content/uploads/2012/03/MAC-HD-MOD-23.jpg?resize=150%2C150" class="attachment-thumbnail" alt="MAC HD LED MOD-23" title="MAC HD LED MOD-23" /></a>
<a href='http://www.davidorlo.com/articles/mods-guides/macbook-pro-unibody-hard-drive-disk-activity-light-mod/attachment/mac-hd-mod-24' title='MAC HD LED MOD-24'><img src="http://i2.wp.com/www.davidorlo.com/wp-content/uploads/2012/03/MAC-HD-MOD-24.jpg?resize=150%2C150" class="attachment-thumbnail" alt="MAC HD LED MOD-24" title="MAC HD LED MOD-24" /></a>
<a href='http://www.davidorlo.com/articles/mods-guides/macbook-pro-unibody-hard-drive-disk-activity-light-mod/attachment/mac-hd-mod-28' title='MAC HD LED MOD-28'><img src="http://i0.wp.com/www.davidorlo.com/wp-content/uploads/2012/03/MAC-HD-MOD-28.jpg?resize=150%2C150" class="attachment-thumbnail" alt="MAC HD LED MOD-28" title="MAC HD LED MOD-28" /></a>
<a href='http://www.davidorlo.com/articles/mods-guides/macbook-pro-unibody-hard-drive-disk-activity-light-mod/attachment/img_1' title='IMG_1'><img src="http://i2.wp.com/www.davidorlo.com/wp-content/uploads/2012/03/IMG_1.jpg?resize=150%2C150" class="attachment-thumbnail" alt="IMG_1" title="IMG_1" /></a>
<a href='http://www.davidorlo.com/articles/mods-guides/macbook-pro-unibody-hard-drive-disk-activity-light-mod/attachment/img_0' title='IMG_0'><img src="http://i0.wp.com/www.davidorlo.com/wp-content/uploads/2012/03/IMG_0.jpg?resize=150%2C150" class="attachment-thumbnail" alt="IMG_0" title="IMG_0" /></a>

<b><p>Related posts:</p></b><ol>
<b><li><a href='http://www.davidorlo.com/articles/mods-guides/upgrade-zt-ms-16362-to-4gb-of-ram' rel='bookmark' title='Upgrade ZT MS-16362 to 4GB of RAM'>Upgrade ZT MS-16362 to 4GB of RAM</a> <small>This is a quick litle guide on upgrading a ZT...</small></li></b>
<b><li><a href='http://www.davidorlo.com/articles/it-admin/slow-disk-to-disk-file-transfers-caching' rel='bookmark' title='Slow Disk to Disk File Transfers (Caching)'>Slow Disk to Disk File Transfers (Caching)</a> <small>Recently I ran into an issue that I would like...</small></li></b>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.davidorlo.com/articles/mods-guides/macbook-pro-unibody-hard-drive-disk-activity-light-mod/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>SAS/SATA LSI Hardware PCI-e RAID under $50</title>
		<link>http://www.davidorlo.com/articles/reviews/sassata-lsi-hardware-pci-e-raid-under-50</link>
		<comments>http://www.davidorlo.com/articles/reviews/sassata-lsi-hardware-pci-e-raid-under-50#comments</comments>
		<pubDate>Fri, 16 Mar 2012 18:34:47 +0000</pubDate>
		<dc:creator>David Orlo</dc:creator>
				<category><![CDATA[IT Administration]]></category>
		<category><![CDATA[Product Reviews]]></category>
		<category><![CDATA[Hard Drive]]></category>
		<category><![CDATA[Hardware Review]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[LSI]]></category>
		<category><![CDATA[RAID]]></category>

		<guid isPermaLink="false">http://www.davidorlo.com/?p=1938</guid>
		<description><![CDATA[SAS/SATA LSI Hardware PCI-e RAID under $50, say what? Yes its true and I will show you how. Recently I was shopping for some Raid controllers for our Dell PowerEdge 2950&#8242;s at work which typically use a Dell PERC 5/i or you can outfit them with something better but I was looking for the OEM solution. I was hunting on eBay when I started to notice most of these cards where under $50, in fact I purchased 3 of them for $35 each. If you don&#8217;t know already a Dell PERC 5/i is nothing more than a re-branded LSI MegaRAID SAS 8480e utilizing an Intel IOP333 Processor. Intel makes some of the best and fastest RAID controller processors so any card with an Intel Processor is likely a good bet. I found this great article which details the Dell PERC 5/i, Dell PERC 6/i and goes into detail about reflashing the PERC 5/i with the MegaRAID 8480e firmware, there&#8217;s also a host of benchmarks including comparison to an onbaord Intel ICH9R. http://www.overclock.net/t/359025/perc-5-i-raid-card-tips-and-benchmarks So whats the catch?</p><a href="http://www.davidorlo.com/articles/reviews/sassata-lsi-hardware-pci-e-raid-under-50">(More)…</a>
No related posts.]]></description>
			<content:encoded><![CDATA[<p>SAS/SATA LSI Hardware PCI-e RAID under $50, say what? Yes its true and I will show you how. Recently I was shopping for some Raid controllers for our Dell PowerEdge 2950&#8242;s at work which typically use a Dell PERC 5/i or you can outfit them with something better but I was looking for the OEM solution. I was hunting on eBay when I started to notice most of these cards where under $50, in fact I purchased 3 of them for $35 each. If you don&#8217;t know already a Dell PERC 5/i is nothing more than a re-branded LSI MegaRAID SAS 8480e utilizing an Intel IOP333 Processor. Intel makes some of the best and fastest RAID controller processors so any card with an Intel Processor is likely a good bet.</p>
<p>I found this great article which details the Dell PERC 5/i, Dell PERC 6/i and goes into detail about reflashing the PERC 5/i with the MegaRAID 8480e firmware, there&#8217;s also a host of benchmarks including comparison to an onbaord Intel ICH9R.<br />
<a href="http://www.overclock.net/t/359025/perc-5-i-raid-card-tips-and-benchmarks">http://www.overclock.net/t/359025/perc-5-i-raid-card-tips-and-benchmarks</a></p>
<p>So whats the catch? A few things actually, #1 and the most important is that you need specific cables to utilize these cards and they are not cheap. The first time around I bought the wrong cables and had to cut them in half and re-solder the wires in the opposite order, see my Article entitled &#8220;Dell PERC 5/i doesn&#8217;t detect hard drives&#8221;. I still haven&#8217;t got around to replacing my cables but as far as I know the correct cables are SAS SFF-8484 to 4xSATA  Pass Through NOT Backplane or Crossover.<br />
<a href="http://www.dealextreme.com/p/4-in-1-sata-to-scsi-hard-disk-data-cable-1940">http://www.dealextreme.com/p/4-in-1-sata-to-scsi-hard-disk-data-cable-1940</a></p>
<p>If those are no longer available then you might end up spending up to $50 per cable, yes they are expensive but if you can get those for $12 and if you only need to connect 4 or less drives than you are still doing pretty good but your not out of the water yet. We still have a couple more things to buy, If you want to enable Write-Back Cache without modding the card than you will need a backup battery. I bought mine on eBay for $25.00 each but I am sure they can be had elsewhere for less. I originally agreed to spend the $25.00 each because I assumed they would #1 fit perfectly in the Dell PowerEdge 2950 Chassis, and #2 come with the correct connection cable, I was wrong on both accounts. Because of this I would say either spend the money if you are sure it has the correct connection cable or buy the cheapest batter you can find that has been confirmed to work. <a href="http://www.ebay.com/itm/1890mAh-7Wh-Battery-DELL-Poweredge-M9602-X8483-PERC5e-PERC5i-IN-USA-/160687843246?pt=LH_DefaultDomain_0&amp;hash=item2569bde7ae#ht_2674wt_905">http://www.ebay.com/itm/1890mAh-7Wh-Battery-DELL-Poweredge-M9602-X8483-PERC5e-PERC5i-IN-USA-/160687843246?pt=LH_DefaultDomain_0&amp;hash=item2569bde7ae#ht_2674wt_905</a></p>
<p>As you can see from the auction photo the battery does come with a cable but its not the correct one. Even if it was the correct cable it still wouldn&#8217;t be long enough for most server applications.</p>
<p>I ended up needing the battery connection cables which ran me $10.00 each, I know isn&#8217;t that crazy? But I could only find one seller selling them on eBay and I didn&#8217;t really know what else would fit so I just decided to suck it up and buy them since it was the last thing I needed.<br />
<a href="http://www.ebay.com/itm/Dell-PERC5-PERC5i-PERC-5i-Battery-Cable-JC881-/360420767070?pt=COMP_EN_Networking_Components&amp;hash=item53eac0755e#ht_2074wt_1396">http://www.ebay.com/itm/Dell-PERC5-PERC5i-PERC-5i-Battery-Cable-JC881-/360420767070?pt=COMP_EN_Networking_Components&amp;hash=item53eac0755e#ht_2074wt_1396</a></p>
<p>This auction looks like it has the correct cable and the battery for only $16, with some searching you can find a much better deal than what I got.<br />
<a href="http://www.ebay.com/itm/Dell-Perc-5-i-Battery-Backup-Unit-BBU-w-35-40-Charge-BBU-Connector-Cable-/220970833481?pt=COMP_EN_Networking_Components&amp;hash=item3372e35649">http://www.ebay.com/itm/Dell-Perc-5-i-Battery-Backup-Unit-BBU-w-35-40-Charge-BBU-Connector-Cable-/220970833481?pt=COMP_EN_Networking_Components&amp;hash=item3372e35649</a></p>
<p>So in total I spent $35 for the controller, $25 for two SAS SFF-8484 cables, $25 for the battery and another $10 for the cable, which comes to $95 total. With some bargain shopping I could see you getting this whole setup for as little as $70. This is a huge difference from the $400 that the LSI equivalent card usually fetches and a small price to pay for true hardware RAID with 256MB of onboard memory and a nice Intel IOP333 Processor. So how does it perform? I thought you might ask that, check out the gallery below.</p>
<p>My current drive configuration is as follows (I recently switched to Hitachi&#8217;s after the WD price jump)<br />
Hitachi 1TB 60GB Partition 1 / Drive C:<br />
Hitachi 1TB 870GB Partition 2 / Drive D:<br />
Hitachi 2TB x4 5.45TB RAID-5 Drive F:</p>

<a href='http://www.davidorlo.com/articles/reviews/sassata-lsi-hardware-pci-e-raid-under-50/attachment/c-amd' title='C PERC'><img src="http://i2.wp.com/www.davidorlo.com/wp-content/uploads/2012/03/C-AMD.png?resize=150%2C150" class="attachment-thumbnail" alt="Hitachi 1TB Partition 1 Dell PERC 5/i" title="C PERC" /></a>
<a href='http://www.davidorlo.com/articles/reviews/sassata-lsi-hardware-pci-e-raid-under-50/attachment/c-perc' title='C AMD'><img src="http://i0.wp.com/www.davidorlo.com/wp-content/uploads/2012/03/C-PERC.jpg?resize=150%2C150" class="attachment-thumbnail" alt="Hitachi 1TB Partition 1 AMD SB850" title="C AMD" /></a>
<a href='http://www.davidorlo.com/articles/reviews/sassata-lsi-hardware-pci-e-raid-under-50/attachment/d-amd' title='D PERC'><img src="http://i0.wp.com/www.davidorlo.com/wp-content/uploads/2012/03/D-AMD.jpg?resize=150%2C150" class="attachment-thumbnail" alt="Hitachi 1TB Partition 2 Dell PERC 5/i" title="D PERC" /></a>
<a href='http://www.davidorlo.com/articles/reviews/sassata-lsi-hardware-pci-e-raid-under-50/attachment/d-perc' title='D AMD'><img src="http://i2.wp.com/www.davidorlo.com/wp-content/uploads/2012/03/D-PERC.png?resize=150%2C150" class="attachment-thumbnail" alt="Hitachi 1TB Partition 2 AMD SB850" title="D AMD" /></a>
<a href='http://www.davidorlo.com/articles/reviews/sassata-lsi-hardware-pci-e-raid-under-50/attachment/f-amd' title='F PERC'><img src="http://i0.wp.com/www.davidorlo.com/wp-content/uploads/2012/03/F-AMD.jpg?resize=150%2C150" class="attachment-thumbnail" alt="Hitachi 2TB x4 RAID 5 ARRAY Dell PERC 5/i" title="F PERC" /></a>
<a href='http://www.davidorlo.com/articles/reviews/sassata-lsi-hardware-pci-e-raid-under-50/attachment/f-perc' title='F AMD'><img src="http://i2.wp.com/www.davidorlo.com/wp-content/uploads/2012/03/F-PERC.png?resize=150%2C150" class="attachment-thumbnail" alt="Hitachi 2TB x4 RAID 5 ARRAY AMD SB850" title="F AMD" /></a>
<a href='http://www.davidorlo.com/articles/reviews/sassata-lsi-hardware-pci-e-raid-under-50/attachment/dell2950-perc5i' title='Dell2950-perc5i'><img src="http://i1.wp.com/www.davidorlo.com/wp-content/uploads/2012/03/Dell2950-perc5i.jpg?resize=150%2C150" class="attachment-thumbnail" alt="Dell2950-perc5i" title="Dell2950-perc5i" /></a>

<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.davidorlo.com/articles/reviews/sassata-lsi-hardware-pci-e-raid-under-50/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Slow Disk to Disk File Transfers (Caching)</title>
		<link>http://www.davidorlo.com/articles/it-admin/slow-disk-to-disk-file-transfers-caching</link>
		<comments>http://www.davidorlo.com/articles/it-admin/slow-disk-to-disk-file-transfers-caching#comments</comments>
		<pubDate>Wed, 14 Mar 2012 21:17:50 +0000</pubDate>
		<dc:creator>David Orlo</dc:creator>
				<category><![CDATA[IT Administration]]></category>
		<category><![CDATA[Cach]]></category>
		<category><![CDATA[Caching]]></category>
		<category><![CDATA[Hard Drive]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[LSI]]></category>
		<category><![CDATA[RAID]]></category>

		<guid isPermaLink="false">http://www.davidorlo.com/?p=1744</guid>
		<description><![CDATA[Recently I ran into an issue that I would like to share with you and it had to do with slow file transfers. To make a long story short I am upgrading my server which has a RAID 5 and I am replacing the onboard RAID with a hard controller. To do this I am going to need to back up all my data on the RAID Array but this is where I ran into an issue. When I would transfer files from the array to one of my non-array drives I would receive 40-50 MBps sustained writes on one drive while receiving 10-20 MBps sustained on another. I was getting very frustrated by this because the speeds would start out around 120 MBps but then dwindle down to nothing within 10-15 minutes. I did some searching but most of what I found led to what I already knew or only applied to IDE drives and not SATA drives. I checked and re-checked the settings in Device Manager which would be the cache settings for</p><a href="http://www.davidorlo.com/articles/it-admin/slow-disk-to-disk-file-transfers-caching">(More)…</a><b>
Related posts:</b><ol>
<b><li><a href='http://www.davidorlo.com/articles/mods-guides/macbook-pro-unibody-hard-drive-disk-activity-light-mod' rel='bookmark' title='Macbook Pro Unibody Hard Drive Disk Activity Light &#8211; MOD'>Macbook Pro Unibody Hard Drive Disk Activity Light &#8211; MOD</a> <small>Recently I started to run low on space so I...</small></li></b>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Recently I ran into an issue that I would like to share with you and it had to do with slow file transfers. To make a long story short I am upgrading my server which has a RAID 5 and I am replacing the onboard RAID with a hard controller. To do this I am going to need to back up all my data on the RAID Array but this is where I ran into an issue. When I would transfer files from the array to one of my non-array drives I would receive 40-50 MBps sustained writes on one drive while receiving 10-20 MBps sustained on another. I was getting very frustrated by this because the speeds would start out around 120 MBps but then dwindle down to nothing within 10-15 minutes. I did some searching but most of what I found led to what I already knew or only applied to IDE drives and not SATA drives. I checked and re-checked the settings in Device Manager which would be the cache settings for those of you that don&#8217;t know. Here is a screen shot of those settings.</p>
<div id="attachment_1924" class="wp-caption alignleft" style="width: 310px"><a href="http://www.davidorlo.com/articles/it-admin/slow-disk-to-disk-file-transfers-caching/attachment/cache" rel="attachment wp-att-1924"><img class="size-medium wp-image-1924" title="Windows Drive Cache Options" src="http://i0.wp.com/www.davidorlo.com/wp-content/uploads/2012/03/cache.jpg?resize=300%2C200" alt="" /></a><p class="wp-caption-text">Windows Drive Cache Options</p></div>
<p>As you can see my Disk Cache options where correct but something still wasn&#8217;t correct. Finally I fired up AMD / ATI RaidXpert and I found my issue, Although all disks had the correct options enabled (Caching &amp; Native Command Queuing NCQ) I found the Raid settings were not setup correctly. I apologize ahead of time now that I no longer use the onboard Raid controller I don&#8217;t have the options to configure the controller any longer as well. Therefore I had to scour the web and find the best screen shots I could to help detail the settings.</p>
<p>The first screenshot shows the Windows Disk Caching Options, the second shows the individual drive options within RaidXpert and the third screen shot shows the Raid Controller options for the Array. Obviously not all options are shown but I will explain what is available.</p>
<p>The Disk caching option for each individual drive only tells the controller that the drive is capable of using this advanced feature, it doesn&#8217;t actually enable anything. The Raid controller itself has 2 sets of caching options, one for Reads and one for Writes. Read caching is a simple on or off switch while write caching has a few different modes. Write caching is available in Write-Back, Write-Through and a Hybrid mode. I don&#8217;t recall the actual term for the Hybrid mode but its usually a mesh of Write-Back and no Caching. Write-Back caching is generally the fastest option however its not recommended unless you have a Raid Controller Backup Battery, even Write-Through Caching is recommended unless you at least have a UPS backup battery for your PC.</p>
<p><a href="http://www.davidorlo.com/articles/it-admin/slow-disk-to-disk-file-transfers-caching/attachment/raidexpert2" rel="attachment wp-att-1926"><img class="alignleft size-medium wp-image-1926" title="raidexpert2" src="http://i0.wp.com/www.davidorlo.com/wp-content/uploads/2012/03/raidexpert2.jpg?resize=300%2C180" alt="" /></a></p>
<p>With Write-Through cache data is written to both the drive and the cache thus there is a performance hit since the data is being written twice. The performance increase comes in IF the data is required it can then be read from the cache instead of the disk.</p>
<p>Write-Back cache only writes to the cache initially, once the cache is full or the cache is required is the data flushed to the disk. This is why this option is so risky without a backup battery, if you lose power while your data is in cache you will lose all of that data, the amount of data depends on the size of the cache and how much data was in the cache with the power failure occurred.</p>
<p>Hybrid cache differs from vendor to vendor but generally its similar to Write-Back for the performance increase but yet generally utilizes some sort of additional disk flushing to improve reliability.</p>
<p><a href="http://www.davidorlo.com/articles/it-admin/slow-disk-to-disk-file-transfers-caching/attachment/raidexpert1" rel="attachment wp-att-1925"><img class="alignleft size-medium wp-image-1925" title="raidexpert1" src="http://i1.wp.com/www.davidorlo.com/wp-content/uploads/2012/03/raidexpert1.png?resize=300%2C206" alt="" /></a> For additional reading I recommend checking on the Wiki article on Cache.<br />
<a href="http://en.wikipedia.org/wiki/Cache">http://en.wikipedia.org/wiki/Cache</a></p>
<b><p>Related posts:</p></b><ol>
<b><li><a href='http://www.davidorlo.com/articles/mods-guides/macbook-pro-unibody-hard-drive-disk-activity-light-mod' rel='bookmark' title='Macbook Pro Unibody Hard Drive Disk Activity Light &#8211; MOD'>Macbook Pro Unibody Hard Drive Disk Activity Light &#8211; MOD</a> <small>Recently I started to run low on space so I...</small></li></b>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.davidorlo.com/articles/it-admin/slow-disk-to-disk-file-transfers-caching/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: basic
Database Caching using disk: basic
Object Caching 4098/4365 objects using disk: basic

Served from: davidorlo.com @ 2013-06-19 22:59:30 -->