<?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>Zenovation's Blog &#187; Technical</title>
	<atom:link href="http://zenovations.com/blog/tag/technical/feed/" rel="self" type="application/rss+xml" />
	<link>http://zenovations.com/blog</link>
	<description>A blog about web design, programming, hosting, and virtualmin hacks</description>
	<lastBuildDate>Mon, 16 Jan 2012 15:01:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Dealing with CSS unit conversions in jQuery (px to em to percentages)</title>
		<link>http://zenovations.com/blog/2012/01/dealing-with-css-unit-conversions-in-jquery-px-to-em-to-percentages/</link>
		<comments>http://zenovations.com/blog/2012/01/dealing-with-css-unit-conversions-in-jquery-px-to-em-to-percentages/#comments</comments>
		<pubDate>Mon, 16 Jan 2012 14:59:01 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[webdev]]></category>

		<guid isPermaLink="false">http://zenovations.com/blog/?p=267</guid>
		<description><![CDATA[I spent some time working on a plugin to convert px to em and percentages for the upcoming Wordspot site. The problem lies in the fact that measurements are based on the element they are attached to. Thus, to convert any CSS property (i.e. &#8220;5em&#8221; or &#8220;20%&#8221;) to pixels, one must determine what the relative [...]]]></description>
			<content:encoded><![CDATA[<p>I spent some time working on a plugin to convert px to em and percentages for the upcoming <a href="http://www.wordspot.org">Wordspot</a> site. </p>
<p>The problem lies in the fact that measurements are based on the element they are attached to. Thus, to convert any CSS property (i.e. &#8220;5em&#8221; or &#8220;20%&#8221;) to pixels, one must determine what the relative height of a single line of text is in pixels.</p>
<p>This tool creates an invisible child element, measures a single line of text, and uses that for measurements.</p>
<p>Thus, to convert 90% (or any measurement, for that matter) to pixels, you could do the following:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p267code3'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p2673"><td class="code" id="p267code3"><pre class="javascript" style="font-family:monospace;">   <span style="color: #003366; font-weight: bold;">var</span> borderRadiusPixels <span style="color: #339933;">=</span> $.<span style="color: #660066;">UnitConverter</span>.<span style="color: #660066;">px</span><span style="color: #009900;">&#40;</span> $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#mydiv'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">css</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'border-top-left-radius'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p><a href="/blog/misc/jquery.unitconverter.js.txt" title="UnitConverter source code">Here&#8217;s the source</a>.</p>
<p>For more advanced operations, you can do things like this:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p267code4'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p2674"><td class="code" id="p267code4"><pre class="javascript" style="font-family:monospace;">   <span style="color: #006600; font-style: italic;">// create a new unit conversion</span>
   <span style="color: #003366; font-weight: bold;">var</span> measurement <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> $.<span style="color: #660066;">UnitConverter</span><span style="color: #009900;">&#40;</span> $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#mydiv'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
   <span style="color: #006600; font-style: italic;">// load a value to be examined</span>
   measurement.<span style="color: #660066;">load</span><span style="color: #009900;">&#40;</span> $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#mydiv'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">css</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'border-left-width'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
   <span style="color: #006600; font-style: italic;">// add 10% to the height</span>
   measurement.<span style="color: #660066;">add</span><span style="color: #009900;">&#40;</span> <span style="color: #3366CC;">'10%'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
   <span style="color: #006600; font-style: italic;">// convert the measurement to various output types</span>
   <span style="color: #003366; font-weight: bold;">var</span> pxs <span style="color: #339933;">=</span> measurement.<span style="color: #660066;">px</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
   <span style="color: #003366; font-weight: bold;">var</span> ems <span style="color: #339933;">=</span> measurement.<span style="color: #660066;">convert</span><span style="color: #009900;">&#40;</span> <span style="color: #3366CC;">'em'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
   <span style="color: #003366; font-weight: bold;">var</span> pct <span style="color: #339933;">=</span> measurement.<span style="color: #660066;">convert</span><span style="color: #009900;">&#40;</span> <span style="color: #3366CC;">'%'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
   <span style="color: #006600; font-style: italic;">// determine what the measurement would be in another element (i.e. with a different line height)</span>
   <span style="color: #003366; font-weight: bold;">var</span> clonePxs <span style="color: #339933;">=</span> measurement.<span style="color: #660066;">clone</span><span style="color: #009900;">&#40;</span> $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#nudderElement'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span>.<span style="color: #660066;">px</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>Hopefully this will give you a good head start on conquering similar issues, without having to invent any wheels!</p>
]]></content:encoded>
			<wfw:commentRss>http://zenovations.com/blog/2012/01/dealing-with-css-unit-conversions-in-jquery-px-to-em-to-percentages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Regular expressions tester for your regex fiddling</title>
		<link>http://zenovations.com/blog/2012/01/regular-expressions-tester-for-your-regex-fiddling/</link>
		<comments>http://zenovations.com/blog/2012/01/regular-expressions-tester-for-your-regex-fiddling/#comments</comments>
		<pubDate>Fri, 06 Jan 2012 20:48:43 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[regex]]></category>
		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://zenovations.com/blog/?p=265</guid>
		<description><![CDATA[I was teaching a good friend a bit about regular expressions and wrote up a regular expression tester. It was a blast to write and simple to implement. It&#8217;s all in one HTML page so you can download it and fiddle away. Hope it helps someone else as well: http://www.zenovations.com/blog/misc/regex.html]]></description>
			<content:encoded><![CDATA[<p>I was teaching a good friend a bit about regular expressions and wrote up a regular expression tester. It was a blast to write and simple to implement. It&#8217;s all in one HTML page so you can download it and fiddle away. Hope it helps someone else as well:</p>
<p>http://www.zenovations.com/blog/misc/regex.html</p>
]]></content:encoded>
			<wfw:commentRss>http://zenovations.com/blog/2012/01/regular-expressions-tester-for-your-regex-fiddling/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Advanced Bash Scripting Guide</title>
		<link>http://zenovations.com/blog/2011/07/advanced-bash-scripting-guide/</link>
		<comments>http://zenovations.com/blog/2011/07/advanced-bash-scripting-guide/#comments</comments>
		<pubDate>Sun, 10 Jul 2011 06:36:14 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://zenovations.com/blog/?p=253</guid>
		<description><![CDATA[This guide really is a complete resource for understanding bash syntax; very easy to get around and understand. http://tldp.org/LDP/abs/html/index.html]]></description>
			<content:encoded><![CDATA[<p>This guide really is a complete resource for understanding bash syntax; very easy to get around and understand.</p>
<p><a href="http://tldp.org/LDP/abs/html/index.html">http://tldp.org/LDP/abs/html/index.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://zenovations.com/blog/2011/07/advanced-bash-scripting-guide/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>remote debugging PHP for a single virtualhost with PhpStorm and xdebug</title>
		<link>http://zenovations.com/blog/2011/07/remote-debugging-php-for-a-single-virtualhost-with-phpstorm-and-xdebug/</link>
		<comments>http://zenovations.com/blog/2011/07/remote-debugging-php-for-a-single-virtualhost-with-phpstorm-and-xdebug/#comments</comments>
		<pubDate>Sun, 10 Jul 2011 01:16:30 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Web Dev]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[debugging]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[phpstorm]]></category>
		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://zenovations.com/blog/?p=231</guid>
		<description><![CDATA[I struggled for several days to set up remote debugging. I wanted to be able to remotely debug a single virtualhost on my CentOS server using my local IDE (PhpStorm) and xdebug. Since this took me quite a while to figure out, I thought I&#8217;d include the steps here for others. Installing Xdebug Over SSH, [...]]]></description>
			<content:encoded><![CDATA[<p>I struggled for several days to set up remote debugging. I wanted to be able to remotely debug a single virtualhost on my CentOS server using my local IDE (<a href="http://www.jetbrains.com/phpstorm/">PhpStorm</a>) and <a href="http://xdebug.org/">xdebug</a>.</p>
<p>Since this took me quite a while to figure out, I thought I&#8217;d include the steps here for others.</p>
<h2>Installing Xdebug</h2>
<p>Over SSH, I ran the following:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p231code12'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p23112"><td class="code" id="p231code12"><pre class="bash" style="font-family:monospace;">$ pecl <span style="color: #c20cb9; font-weight: bold;">install</span> xdebug</pre></td></tr></table></div>

<h2>Configuring Xdebug in php.ini</h2>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p231code13'); return false;">View Code</a> INI</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p23113"><td class="code" id="p231code13"><pre class="ini" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">;;;;;;;;;;;;;;;;;;;</span>
<span style="color: #666666; font-style: italic;">; Module Settings ;</span>
<span style="color: #666666; font-style: italic;">;;;;;;;;;;;;;;;;;;;</span>
<span style="color: #000099;">zend_extension</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">/usr/lib/php/modules/xdebug.so</span>
&nbsp;
<span style="color: #000066; font-weight:bold;"><span style="">&#91;</span>xdebug<span style="">&#93;</span></span>
xdebug.remote_enable<span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">1</span>
xdebug.remote_port<span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">9000</span>
xdebug.idekey<span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">PHPSTORM-XDEBUG</span>
xdebug.remote_connect_back<span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">1</span>
&nbsp;
<span style="color: #000066; font-weight:bold;"><span style="">&#91;</span>Date<span style="">&#93;</span></span></pre></td></tr></table></div>

<p>Note the use of zend_extension; as of PHP 5.3, this is the only one that works (extension=&#8230;) will appear to function, but never connect!</p>
<p>Also, I used xdebug.remote_connect_back=1 &#8211; this allows connections from anywhere. But since I&#8217;ve configured my server to load a separate php.ini for each site (sorry, this is outside the scope of this discussion), and the entire site is under development and protected by .htaccess, I didn&#8217;t have to worry about other people debugging remotely.</p>
<p>An alternative to using remote_connect_back is to specify the remote_host to your <a href="http://www.whatsmyip.org/">local ip address</a>:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p231code14'); return false;">View Code</a> INI</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p23114"><td class="code" id="p231code14"><pre class="ini" style="font-family:monospace;">xdebug.remote_host<span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">0.0.0.0 </span><span style="color: #666666; font-style: italic;">;your ip address</span>
<span style="color: #666666; font-style: italic;">;xdebug.remote_connect_back=0</span></pre></td></tr></table></div>

<p><strong> Alternative: Loading via .htaccess instead of php.ini</strong></p>
<p>Alternately, I could have dropped a .htaccess file into my root directory for the virtualhost, if the php.ini for each site were too much trouble:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p231code15'); return false;">View Code</a> INI</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p23115"><td class="code" id="p231code15"><pre class="ini" style="font-family:monospace;">php_value  zend_extension<span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">/usr/lib/php/modules/xdebug.so</span>
php_flag   xdebug.remote_enable on
php_value  xdebug.remote_port <span style="">9000</span>
php_value  xdebug.idekey PHPSTORM-XDEBUG
php_flag   xdebug.remote_connect_back on</pre></td></tr></table></div>

<h2>Configuring PhpStorm</h2>
<p>I followed <a href="http://blogs.jetbrains.com/webide/2011/03/configure-php-debugging-in-phpstorm-2-0/">these instructions</a> to the letter. Make sure you set up the &#8220;PHP Remote Debug&#8221; and not the &#8220;PHP Server&#8221; option if you&#8217;re using my list here as a guide (both work, I just chose the remote)</p>
<p>Remember to get those IDEKEY values to match up in the editor and on the server!</p>
<h2>Configure Firewalls</h2>
<p>On CentOS, I use apf, so I configured my firewall by adding port 9000 into the following settings: IG_TCP_PORTS, EG_TCP_PORTS</p>
<p>Then I restarted apf:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p231code16'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p23116"><td class="code" id="p231code16"><pre class="bash" style="font-family:monospace;">$ <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>apf restart</pre></td></tr></table></div>

<p>At home, I opened a connection in my firewall by adding a redirect for port 9000 to my personal PC.</p>
<h2>Starting it Up</h2>
<p>Remember to reload Apache&#8217;s config!</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p231code17'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p23117"><td class="code" id="p231code17"><pre class="bash" style="font-family:monospace;">$ <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>httpd reload</pre></td></tr></table></div>

<p>Make sure PhpStorm is set to break on first line, or you won&#8217;t know if it worked! (you need the debugger to get involved):</p>
<p><a href="http://zenovations.com/blog/wp-content/uploads/2011/07/2011-07-09-1800_03.png"><img class="alignnone size-full wp-image-234" title="2011-07-09-1800_03" src="http://zenovations.com/blog/wp-content/uploads/2011/07/2011-07-09-1800_03.png" alt="" width="554" height="259" /></a></p>
<p>&nbsp;</p>
<p>Start the PhpStorm Remote Debug:<br />
<a href="http://zenovations.com/blog/wp-content/uploads/2011/07/2011-07-09-1752_01.png"><img class="alignnone size-full wp-image-232" title="2011-07-09-1752_01" src="http://zenovations.com/blog/wp-content/uploads/2011/07/2011-07-09-1752_01.png" alt="" width="400" height="132" /></a></p>
<p>&nbsp;</p>
<p>Make sure to click the &#8220;listen for connections&#8221; icon!</p>
<p><a href="http://zenovations.com/blog/wp-content/uploads/2011/07/2011-07-09-1755_02.png"><img class="alignnone size-full wp-image-233" title="2011-07-09-1755_02" src="http://zenovations.com/blog/wp-content/uploads/2011/07/2011-07-09-1755_02.png" alt="" width="502" height="131" /></a></p>
<p>A quick note on semantics here: It is not technically necessary to have the debug server running and &#8220;listen for connections&#8221; clicked. Listen for connections will, in fact, start the debugger when an incoming connection is received. However, for initial testing, having the debugger actually ON was very helpful in being sure PhpStorm wasn&#8217;t failing to start incoming connections.</p>
<p>&nbsp;</p>
<p>Connect to your IP address from the web server to make sure it can talk to your IDE:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p231code18'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p23118"><td class="code" id="p231code18"><pre class="bash" style="font-family:monospace;">$ telnet 0.0.0.0 <span style="color: #000000;">9000</span></pre></td></tr></table></div>

<p>&nbsp;</p>
<p>Add <strong>XDEBUG_SESSION_START=PHPSTORM-XDEBUG</strong> in the URL of the site to initiate a connection:</p>
<p><a href="http://zenovations.com/blog/wp-content/uploads/2011/07/2011-07-09-1804_05.png"><img class="alignnone size-full wp-image-236" title="2011-07-09-1804_05" src="http://zenovations.com/blog/wp-content/uploads/2011/07/2011-07-09-1804_05.png" alt="" width="396" height="164" /></a></p>
<p>&nbsp;</p>
<p>Witness debugging in all its glory!</p>
<p><a href="http://zenovations.com/blog/wp-content/uploads/2011/07/2011-07-09-1807_06.png"><img class="alignnone size-full wp-image-237" title="2011-07-09-1807_06" src="http://zenovations.com/blog/wp-content/uploads/2011/07/2011-07-09-1807_06.png" alt="" width="625" height="162" /></a></p>
<p>&nbsp;</p>
<h2>Browser Plugins</h2>
<p>There are browser plugins for <a href="https://chrome.google.com/webstore/detail/eadndfjplgieldjbigjakmdgkmoaaaoc" target="_blank">Chrome </a>and <a href="https://addons.mozilla.org/en-US/firefox/addon/easy-xdebug/" target="_blank">Firefox </a>that make remote connections a breeze; you no longer have to type the parms into the URL. I&#8217;ve used both of these with success and highly recommend this simplification.</p>
]]></content:encoded>
			<wfw:commentRss>http://zenovations.com/blog/2011/07/remote-debugging-php-for-a-single-virtualhost-with-phpstorm-and-xdebug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash cards for jQuery certification</title>
		<link>http://zenovations.com/blog/2011/04/flash-cards-for-jquery-certification/</link>
		<comments>http://zenovations.com/blog/2011/04/flash-cards-for-jquery-certification/#comments</comments>
		<pubDate>Sat, 30 Apr 2011 14:59:49 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[webdev]]></category>

		<guid isPermaLink="false">http://zenovations.com/blog/?p=227</guid>
		<description><![CDATA[I&#8217;ve been studying up for a jQuery certification.  I created a set of almost a thousand flash cards to prepare. I&#8217;ll be adding more for the jQuery UI in the near future. This is a great site as once registered, you can check any number of the flash cards sets, then say &#8220;study 50&#8243; or [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been studying up for a jQuery certification.  I created a <a href="http://www.flashcardexchange.com/user/view/731163">set of almost a thousand flash cards</a> to prepare. I&#8217;ll be adding more for the jQuery UI in the near future.</p>
<p>This is a great site as once registered, you can check any number of the flash cards sets, then say &#8220;study 50&#8243; or &#8220;study 100&#8243; and it will give you a random cross section of the sets to study for the day. It tracks correct/incorrect and provides charting, as well as some other nice tools (keyboard navigation&#8211;yay!)</p>
]]></content:encoded>
			<wfw:commentRss>http://zenovations.com/blog/2011/04/flash-cards-for-jquery-certification/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>making Freeow work with jQuery 1.2.6</title>
		<link>http://zenovations.com/blog/2011/04/making-freeow-work-with-jquery-1-2-6/</link>
		<comments>http://zenovations.com/blog/2011/04/making-freeow-work-with-jquery-1-2-6/#comments</comments>
		<pubDate>Wed, 27 Apr 2011 18:32:53 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://zenovations.com/blog/?p=223</guid>
		<description><![CDATA[Hi, I was able to make this lib work with jQuery 1.2.6 by making only this one-liner change: ?View Code JAVASCRIPT //this.element.hover(this.options.onHover);  this.element.hover&#40;this.options.onHover, this.options.onHover&#41;;]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>I was able to make this lib work with jQuery 1.2.6 by making only this one-liner change:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p223code20'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p22320"><td class="code" id="p223code20"><pre class="javascript" style="font-family:monospace;">    <span style="color: #006600; font-style: italic;">//this.element.hover(this.options.onHover); </span>
    <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">element</span>.<span style="color: #660066;">hover</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">options</span>.<span style="color: #660066;">onHover</span><span style="color: #339933;">,</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">options</span>.<span style="color: #660066;">onHover</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://zenovations.com/blog/2011/04/making-freeow-work-with-jquery-1-2-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Project Management and Time Tracking</title>
		<link>http://zenovations.com/blog/2010/07/project-management-and-time-tracking/</link>
		<comments>http://zenovations.com/blog/2010/07/project-management-and-time-tracking/#comments</comments>
		<pubDate>Wed, 28 Jul 2010 23:30:41 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[project management]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[time tracking]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://zenovations.com/blog/?p=201</guid>
		<description><![CDATA[The world of Time Tracking and Project Management is a vast one. For small businesses like ours, there are seemingly endless time tracking solutions and a good number of project management answers.  I spent nearly two weeks evaluating options in my spare time, so hopefully this data will help save you some time. Here are [...]]]></description>
			<content:encoded><![CDATA[<p>The world of Time Tracking and Project Management is a vast one. For small businesses like ours, there are seemingly endless time tracking solutions and a good number of project management answers.  I spent nearly two weeks evaluating options in my spare time, so hopefully this data will help save you some time.</p>
<p><span id="more-201"></span></p>
<p>Here are the criteria I used to narrow down the possible project management and time tracking solutions:</p>
<ul>
<li>Web based application<br />
<span style="color: #888888;">Our devs use various platforms and it needs to run everywhere without install and upgrade headaches, I also considered Air and Flash apps</span></li>
<li>Support for 5 users<br />
<span style="color: #808080;">Because, yanno, we need five people to record time</span></li>
<li>Time tracking must include timer with start/stop capabilities<br />
<span style="color: #808080;">We are multi taskers and like accuracy; we considered products with timer widgets as well</span></li>
<li>Feature list and pricing prominent<br />
<span style="color: #888888;">Excluded all sites with vague details, no screenshots,  or &#8220;contact us for details and pricing&#8221; models, due to sheer volume and time needed to research</span></li>
<li>Must have a free trial evaluation<br />
<span style="color: #888888;">Yanno, so I could evaluate them</span></li>
<li>Professional and sharp web site<br />
<span style="color: #888888;">Attention to detail is critical to good software design and project management, how they run their site should reflect this</span></li>
</ul>
<p>After nearly ten hours of research, I narrowed the field to fifteen products. Then I evaluated each product by importing several of our current projects into it and using the time tracking tools for one day. After which I ran reports and recorded my findings in a spreadsheet. The final ratings were on a 1-5 scale, based on usability, project management capabilities, time tracking capabilities, invoicing features, reporting capabilities, and API and integration tools. Here&#8217;s what I came up with:</p>
<p><a href="http://zenovations.com/blog/wp-content/uploads/2010/07/product_quality.png"><img class="alignnone size-full wp-image-208" title="product_quality" src="http://zenovations.com/blog/wp-content/uploads/2010/07/product_quality.png" alt="" width="800" height="600" /></a></p>
<p>Once I had some numbers to work with, I weighted each product to meet our needs, based on the following criteria:</p>
<ul>
<li>Usability: Ease and speed of use is very important to us, as we have little time for project management (x2)</li>
<li>Time tracking capabilities: highly critical (x5)</li>
<li>Project management capabilities: highly critical (x5)</li>
<li>Low price:  we want to keep the price under $50 a month, so our value calculation was tweaked accordingly:  rating *3 &#8211; (price per month/10)</li>
<li>Invoicing, reports, and so on are nice, of course, but we can make due with our external, existing solutions</li>
</ul>
<p>So, using this data, here were my findings:</p>
<p><a href="http://zenovations.com/blog/wp-content/uploads/2010/07/value_to_us.png"><img class="size-full wp-image-206 alignnone" title="value_to_us" src="http://zenovations.com/blog/wp-content/uploads/2010/07/value_to_us.png" alt="" width="800" height="600" /></a></p>
<p>It should be apparent that ProWorkflow is, hands down, the best overall product on the market. It&#8217;s quality, well thought out, bug free, fast, and powerful. Skylight was by far the best for our needs, according to price versus quality. The rest of the data is interesting, but several of the products listed had a time tracking or project management rating less than three, which is insufficient for our needs. So the final choices for us were as follows:</p>
<ul>
<li><a href="http://www.skylightit.com">Skylight </a>&#8211; use this and put up with the slow, laborious interface; our preference for now</li>
<li><a href="http://www.basecamphq.com">Basecamp </a>+ <a href="http://www.myhours.com/">MyHours</a>/<a href="http://www.getharvest.com/">Harvest</a>/<a href="http://www.tickspot.com/pricing/">Tick </a>&#8211; together, these products are a complete package, but pricey</li>
<li><a href="http://www.proworkflow.com/">ProWorkflow </a>&#8211; very pricey, but we could bite the bullet on this and get the best quality product on the market.</li>
</ul>
<p>If you&#8217;d like to view or download the complete data, including links to all of the product sites, you can <a href="https://spreadsheets.google.com/pub?key=0Asi9t45zMwJJdEd6LVpGSHhsQndmbjN2RllyTEZwOFE&amp;single=true&amp;gid=0&amp;output=html" target="_blank">find all the gory details in the Google spreadsheet</a>. You can also view <a href="https://spreadsheets.google.com/pub?key=0Asi9t45zMwJJdGc4REdPZndfVTh6ZC1vT2FNdVZHUVE&amp;single=true&amp;gid=0&amp;output=html">the same data sorted by total quality</a> instead.</p>
]]></content:encoded>
			<wfw:commentRss>http://zenovations.com/blog/2010/07/project-management-and-time-tracking/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>Get elements by CSS class name in javascript</title>
		<link>http://zenovations.com/blog/2010/06/get-elements-by-css-class-name-in-javascript/</link>
		<comments>http://zenovations.com/blog/2010/06/get-elements-by-css-class-name-in-javascript/#comments</comments>
		<pubDate>Thu, 17 Jun 2010 19:59:59 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[code clips]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://zenovations.com/blog/?p=195</guid>
		<description><![CDATA[Dustin Diaz wrote a nice, efficient version of getElementByClassName(), which searches HTML elements and retrieves all the items with a given CSS class specified. Of course, if you use a lib like extjs, jQuery, et al, then you have no need of this. But if you&#8217;re trying to hack out a greasemonkey script or insert [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.dustindiaz.com">Dustin Diaz</a> wrote a nice, efficient version of getElementByClassName(), which searches HTML elements and retrieves all the items with a given CSS class specified.</p>
<p>Of course, if you use a lib like extjs, jQuery, et al, then you have no need of this. But if you&#8217;re trying to hack out a greasemonkey script or insert some minimalist code, <a href="http://www.dustindiaz.com/getelementsbyclass/">here it is</a>.</p>
<p>And here it is, for my own archives:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p195code23'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p19523"><td class="code" id="p195code23"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">function</span> getElementsByClass<span style="color: #009900;">&#40;</span>searchClass<span style="color: #339933;">,</span>node<span style="color: #339933;">,</span>tag<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #003366; font-weight: bold;">var</span> classElements <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> Array<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span> node <span style="color: #339933;">==</span> <span style="color: #003366; font-weight: bold;">null</span> <span style="color: #009900;">&#41;</span>
		node <span style="color: #339933;">=</span> document<span style="color: #339933;">;</span>
	<span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span> tag <span style="color: #339933;">==</span> <span style="color: #003366; font-weight: bold;">null</span> <span style="color: #009900;">&#41;</span>
		tag <span style="color: #339933;">=</span> <span style="color: #3366CC;">'*'</span><span style="color: #339933;">;</span>
	<span style="color: #003366; font-weight: bold;">var</span> els <span style="color: #339933;">=</span> node.<span style="color: #660066;">getElementsByTagName</span><span style="color: #009900;">&#40;</span>tag<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #003366; font-weight: bold;">var</span> elsLen <span style="color: #339933;">=</span> els.<span style="color: #660066;">length</span><span style="color: #339933;">;</span>
	<span style="color: #003366; font-weight: bold;">var</span> pattern <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> RegExp<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;(^|<span style="color: #000099; font-weight: bold;">\\</span>s)&quot;</span><span style="color: #339933;">+</span>searchClass<span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;(<span style="color: #000099; font-weight: bold;">\\</span>s|$)&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000066; font-weight: bold;">for</span> <span style="color: #009900;">&#40;</span>i <span style="color: #339933;">=</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">,</span> j <span style="color: #339933;">=</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">;</span> i <span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span> elsLen<span style="color: #339933;">;</span> i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span> pattern.<span style="color: #660066;">test</span><span style="color: #009900;">&#40;</span>els<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">className</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
			classElements<span style="color: #009900;">&#91;</span>j<span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> els<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
			j<span style="color: #339933;">++;</span>
		<span style="color: #009900;">&#125;</span>
	<span style="color: #009900;">&#125;</span>
	<span style="color: #000066; font-weight: bold;">return</span> classElements<span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>Here&#8217;s another alternative I found on <a href="http://daniel.glazman.free.fr/weblog/">Glazblog</a>, using xpath to search the document:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p195code24'); return false;">View Code</a> JAVASCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p19524"><td class="code" id="p195code24"><pre class="javascript" style="font-family:monospace;">document.<span style="color: #660066;">getElementByClassName</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>needle<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #003366; font-weight: bold;">var</span> xpathResult <span style="color: #339933;">=</span> document.<span style="color: #660066;">evaluate</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'//*[@class = needle]'</span><span style="color: #339933;">,</span> document<span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">null</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #003366; font-weight: bold;">var</span> outArray <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> Array<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #000066; font-weight: bold;">while</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span>outArray<span style="color: #009900;">&#91;</span>outArray.<span style="color: #660066;">length</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> xpathResult.<span style="color: #660066;">iterateNext</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #009900;">&#125;</span>
  <span style="color: #000066; font-weight: bold;">return</span> outArray<span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>I don&#8217;t really know which is more efficient, though I suspect the xpath search could be taxing in very large documents. I&#8217;m positive, based on IE&#8217;s fake implementation of key/value pairs in the DOM, that they both suck in IE, even if you specify a specific tag type to search. Obviously, providing a node makes the regular expression search faster, by virtue of having less content to parse.</p>
]]></content:encoded>
			<wfw:commentRss>http://zenovations.com/blog/2010/06/get-elements-by-css-class-name-in-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sending Mail From Bash Scripts with an Attachment</title>
		<link>http://zenovations.com/blog/2010/04/sending-mail-from-bash-scripts-with-an-attachment/</link>
		<comments>http://zenovations.com/blog/2010/04/sending-mail-from-bash-scripts-with-an-attachment/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 14:06:02 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://zenovations.com/blog/?p=186</guid>
		<description><![CDATA[Here is a great little tut on getting started in Bash. I&#8217;d recommend it to anyone trying to hack their way into a shell script. Here is a quick script for sending an email: ?View Code BASH#!/bin/bash &#160; # Subject of email SUBJECT=&#34;Test email with attachment from a bash script&#34; &#160; # Where to send [...]]]></description>
			<content:encoded><![CDATA[<p>Here is <a href="http://www.linux.org/lessons/advanced/x1110.html">a great little tut on getting started in Bash</a>. I&#8217;d recommend it to anyone trying to hack their way into a shell script.</p>
<p>Here is a quick script for sending an email:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p186code26'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p18626"><td class="code" id="p186code26"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Subject of email</span>
<span style="color: #007800;">SUBJECT</span>=<span style="color: #ff0000;">&quot;Test email with attachment from a bash script&quot;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Where to send it</span>
<span style="color: #007800;">TO_ADDRESS</span>=<span style="color: #ff0000;">&quot;your@email.com&quot;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Where the attachment is</span>
<span style="color: #007800;">ATTACHMENT_FILE</span>=<span style="color: #ff0000;">&quot;/tmp/attachment.txt&quot;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># For fun, let's put something into the attachment</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;This goes into the file.&quot;</span>  <span style="color: #000000; font-weight: bold;">&gt;</span>  <span style="color: #007800;">$ATTACHMENT_FILE</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;This appends to the file.&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #007800;">$ATTACHMENT_FILE</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># send the message</span>
<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>mail <span style="color: #660033;">-s</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$SUBJECT</span>&quot;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$TO_ADDRESS</span>&quot;</span> <span style="color: #000000; font-weight: bold;">&lt;</span> <span style="color: #007800;">$ATTACHMENT_FILE</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://zenovations.com/blog/2010/04/sending-mail-from-bash-scripts-with-an-attachment/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Manually remove a service from windows</title>
		<link>http://zenovations.com/blog/2010/02/manually-remove-a-service-from-windows/</link>
		<comments>http://zenovations.com/blog/2010/02/manually-remove-a-service-from-windows/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 14:18:19 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[dos]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://zenovations.com/blog/?p=181</guid>
		<description><![CDATA[Today I needed to manually remove a service from windows. I found this command line approach, which worked great for me.  Be sure to use the service name and not the display name: ?View Code DOSsc delete ServiceName You can find the service name by going to Control Panel -&#62; Administrative Tools -&#62; Services, right [...]]]></description>
			<content:encoded><![CDATA[<p>Today I needed to manually remove a service from windows. I found this command line approach, which worked great for me.  Be sure to use the service name and not the display name:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p181code28'); return false;">View Code</a> DOS</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p18128"><td class="code" id="p181code28"><pre class="dos" style="font-family:monospace;">sc delete ServiceName</pre></td></tr></table></div>

<p>You can find the service name by going to Control Panel -&gt; Administrative Tools -&gt; Services, right click the service and choose properties, the service name is shown there.</p>
]]></content:encoded>
			<wfw:commentRss>http://zenovations.com/blog/2010/02/manually-remove-a-service-from-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

