<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>For the love of CODE</title>
	<atom:link href="http://fortheloveofcode.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://fortheloveofcode.wordpress.com</link>
	<description>Mostly Dev related stuff.</description>
	<lastBuildDate>Fri, 25 Jul 2008 20:26:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='fortheloveofcode.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>For the love of CODE</title>
		<link>http://fortheloveofcode.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://fortheloveofcode.wordpress.com/osd.xml" title="For the love of CODE" />
	<atom:link rel='hub' href='http://fortheloveofcode.wordpress.com/?pushpress=hub'/>
		<item>
		<title>A joke</title>
		<link>http://fortheloveofcode.wordpress.com/2008/07/25/a-joke/</link>
		<comments>http://fortheloveofcode.wordpress.com/2008/07/25/a-joke/#comments</comments>
		<pubDate>Fri, 25 Jul 2008 20:24:51 +0000</pubDate>
		<dc:creator>Lior</dc:creator>
				<category><![CDATA[Funny]]></category>

		<guid isPermaLink="false">http://fortheloveofcode.wordpress.com/?p=31</guid>
		<description><![CDATA[Something I just made up and had to share&#8230; You need to read this out loud for it to make sense. - Do you remember that young lady that used to work here? What was her name, miss.. miss&#8230;? - Understood, Miss Understood. She&#8217;s married now, by the way. - Oh really? So it&#8217;s Mrs. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fortheloveofcode.wordpress.com&amp;blog=1548143&amp;post=31&amp;subd=fortheloveofcode&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Something I just made up and had to share&#8230;</p>
<p>You need to read this out loud for it to make sense.</p>
<blockquote><p>- Do you remember that young lady that used to work here? What was her name, miss.. miss&#8230;?</p>
<p>- Understood, Miss Understood. She&#8217;s married now, by the way.</p>
<p>- Oh really? So it&#8217;s <em>Mrs. </em>Understood now, is it?</p>
<p>- No, she took her husband&#8217;s name, Mrs. De&#8217;Point.</p></blockquote>
<p> <img src='http://s1.wp.com/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> )</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/fortheloveofcode.wordpress.com/31/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/fortheloveofcode.wordpress.com/31/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fortheloveofcode.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fortheloveofcode.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fortheloveofcode.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fortheloveofcode.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fortheloveofcode.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fortheloveofcode.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fortheloveofcode.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fortheloveofcode.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fortheloveofcode.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fortheloveofcode.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fortheloveofcode.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fortheloveofcode.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fortheloveofcode.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fortheloveofcode.wordpress.com/31/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fortheloveofcode.wordpress.com&amp;blog=1548143&amp;post=31&amp;subd=fortheloveofcode&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fortheloveofcode.wordpress.com/2008/07/25/a-joke/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2a6255beaa5d9d3a8acdf3198f8cf8fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Lior Elia</media:title>
		</media:content>
	</item>
		<item>
		<title>What, no HKCR in PowerShell?</title>
		<link>http://fortheloveofcode.wordpress.com/2008/06/08/what-no-hkcr-in-powershell/</link>
		<comments>http://fortheloveofcode.wordpress.com/2008/06/08/what-no-hkcr-in-powershell/#comments</comments>
		<pubDate>Sun, 08 Jun 2008 04:55:26 +0000</pubDate>
		<dc:creator>Lior</dc:creator>
				<category><![CDATA[powershell]]></category>
		<category><![CDATA[Registry]]></category>
		<category><![CDATA[scripting]]></category>

		<guid isPermaLink="false">http://fortheloveofcode.wordpress.com/2008/06/08/what-no-hkcr-in-powershell/</guid>
		<description><![CDATA[If you&#8217;ve been working with PowerShell for registry access, you&#8217;ve probably noticed by now that something is missing. PowerShell has two registry &#8216;drives&#8217; defined: HKLM for HKEY_LOCAL_MACHINE HKCU for HKEY_CURRENT_USER The other registry roots are not defined. A few days ago, a friend of mine was trying to find and remove some entries from HKEY_CLASSES_ROOT [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fortheloveofcode.wordpress.com&amp;blog=1548143&amp;post=27&amp;subd=fortheloveofcode&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve been working with PowerShell for registry access, you&#8217;ve probably noticed by now that something is missing.</p>
<p>PowerShell has two registry &#8216;drives&#8217; defined:</p>
<p><strong>HKLM</strong> for <strong>HKEY_LOCAL_MACHINE</strong></p>
<p><strong>HKCU</strong> for <strong>HKEY_CURRENT_USER</strong></p>
<p>The other registry roots are not defined.</p>
<p>A few days ago, a friend of mine was trying to find and remove some entries from HKEY_CLASSES_ROOT and was having a hard time using RegEdit.</p>
<p>So, I offered my help, while promoting my latest obsession &#8211; PowerShell.</p>
<p>Imagine my embarrassment when I found out a minute later that there is no HKCR drive defined in PowerShell.</p>
<p>Fear not, my friends, for the HKLM and HKCU are merely there for convenience.&nbsp; </p>
<p>You can define by yourself, with a simple command, any registry drive you want.</p>
<p>So, before working on the HKCR drive, we simply define it like this:</p>
<p><span style="font-weight:bold;color:#5f9ea0;">New-PSDrive</span><span style="color:#000000;"> </span><span style="color:#5f9ea0;font-style:italic;">-Name</span><span style="color:#000000;"> </span><span style="color:#800000;">HKCR</span><span style="color:#000000;"> </span><span style="color:#5f9ea0;font-style:italic;">-PSProvider</span><span style="color:#000000;"> </span><span style="color:#800000;">Registry</span><span style="color:#000000;"> </span><span style="color:#5f9ea0;font-style:italic;">-Root</span><span style="color:#000000;"> </span><span style="color:#800000;">HKEY_CLASSES_ROOT</span></p>
<p>Now, you have full access to HKEY_CLASSES_ROOT via HKCR.</p>
<p>Have fun.</p>
<p>&nbsp;</p>
<p><strong>P.S.</strong></p>
<p>While on this subject, Ever noticed how you can&#8217;t use &#8216;-filter&#8217; with the &#8216;dir&#8217; command on registry drives?</p>
<p>Well, you can pipe the results through the question mark filter to do the same job, though I&#8217;m quite sure there&#8217;s some performance penalty. Still, better than the old RegEdit.exe, right?</p>
<p>Here&#8217;s an example:</p>
<p><span style="font-weight:bold;color:#5f9ea0;">cd</span><span style="color:#000000;"> </span><span style="color:#800000;">HKLM</span><span style="color:#000000;">:\</span><span style="color:#800000;">SOFTWARE</span><span style="color:#000000;">\ </span></p>
<p><span style="color:#000000;"></span><span style="font-weight:bold;color:#5f9ea0;">dir</span><span style="color:#000000;"> | </span><span style="font-weight:bold;color:#5f9ea0;">?</span><span style="color:#000000;">{</span><span style="color:#000080;">$_</span><span style="color:#000000;">.Name </span><span style="color:#ff0000;">-like</span><span style="color:#000000;"> </span><span style="color:#800000;">&#8220;</span><span style="color:#800000;">*Int*</span><span style="color:#800000;">&#8220;</span><span style="color:#000000;">}</span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/fortheloveofcode.wordpress.com/27/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/fortheloveofcode.wordpress.com/27/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fortheloveofcode.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fortheloveofcode.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fortheloveofcode.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fortheloveofcode.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fortheloveofcode.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fortheloveofcode.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fortheloveofcode.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fortheloveofcode.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fortheloveofcode.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fortheloveofcode.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fortheloveofcode.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fortheloveofcode.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fortheloveofcode.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fortheloveofcode.wordpress.com/27/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fortheloveofcode.wordpress.com&amp;blog=1548143&amp;post=27&amp;subd=fortheloveofcode&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fortheloveofcode.wordpress.com/2008/06/08/what-no-hkcr-in-powershell/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2a6255beaa5d9d3a8acdf3198f8cf8fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Lior Elia</media:title>
		</media:content>
	</item>
		<item>
		<title>Consuming weather WebService with PowerShell</title>
		<link>http://fortheloveofcode.wordpress.com/2008/04/28/powershell-webservice-client/</link>
		<comments>http://fortheloveofcode.wordpress.com/2008/04/28/powershell-webservice-client/#comments</comments>
		<pubDate>Mon, 28 Apr 2008 11:43:55 +0000</pubDate>
		<dc:creator>Lior</dc:creator>
				<category><![CDATA[powershell]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://fortheloveofcode.wordpress.com/?p=23</guid>
		<description><![CDATA[If I had to sum up the benefits of PowerShell in one sentence it would be this:
"Object oriented, interpreted, .net enabled , well structured shell and scripting environment."
Have a look at this cool little script I wrote last night.
It uses Yahoo! weather web service to get the local weather.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fortheloveofcode.wordpress.com&amp;blog=1548143&amp;post=23&amp;subd=fortheloveofcode&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="color:#0000ff;"><strong>Update: </strong><em>Added the code in text form, after the jump.</em></span></p>
<p>Man, you&#8217;ve gotta love PowerShell.</p>
<p>Although I&#8217;m mostly into GUI and user experience, I just love console applications.</p>
<p>They&#8217;re super fast, powerful, concise, and if written correctly they are also easy to use (there&#8217;s that user experience theme again).</p>
<p>If I had to sum up the benefits of PowerShell in one sentence it would be this:</p>
<p><em>&#8220;Object oriented, interpreted, .net enabled , well structured shell and scripting environment.&#8221;</em></p>
<p>To install Windows PowerShell, just go <a href="http://www.microsoft.com/technet/scriptcenter/topics/msh/download.mspx" target="_blank">here</a>.</p>
<p>Now have a look at this cool little script I wrote last night.</p>
<p>It uses Yahoo! weather web service to get the local weather (in this example, local means Israel&#8217;s international airport, which happens to be close to where I live).</p>
<address>Here&#8217;s a snapshot of the script inside <a href="http://powergui.org/index.jspa" target="_blank">PowerGui </a>so you can see all the nice color coding, the actual text is after the jump.<br />
</address>
<p><a href="http://fortheloveofcode.files.wordpress.com/2008/04/weatherpowershell.png" target="_blank"><img class="alignnone size-full wp-image-24" src="http://fortheloveofcode.files.wordpress.com/2008/04/weatherpowershell.png?w=509&#038;h=308" alt="script source code" width="509" height="308" /></a></p>
<p><strong>Click on the image above to open it full-size and let&#8217;s go over the lines real quick.</strong></p>
<p>Line 2: creates a new .NET WebClient object.</p>
<p>Line 3: calls Yahoo&#8217;s WebService by downloading the result xml, converting it to a .NET XmlDocument object on the fly.</p>
<p>Lines 5,6,12,13,21-25: get a string value out of an xml node or attribute.</p>
<p><strong>Some other interesting things to consider:</strong></p>
<ul>
<li>Lines 8,14 and 26 use the -f formatter, which works basically like C#&#8217;s String.Format().</li>
<li>Also note the pipeline (|) used to manipulate the text color in these lines.</li>
<li>To get the weather someplace else, all you need to do is modify the url, see their <a href="http://developer.yahoo.com/weather/" target="_blank">instruction page</a> for more info.</li>
</ul>
<p><strong>And this is how it looks when I run it:</strong></p>
<p><a href="http://fortheloveofcode.files.wordpress.com/2008/04/result.png"></a></p>
<p style="text-align:center;"><img class="alignnone size-full wp-image-25 aligncenter" src="http://fortheloveofcode.files.wordpress.com/2008/04/result.png?w=485&#038;h=225" alt="" width="485" height="225" /></p>
<p style="text-align:center;"><span id="more-23"></span></p>
<p style="text-align:left;">
<p><span style="color:#0000ff;">function</span><span style="color:#000000;"> </span><span style="color:#5f9ea0;">weather</span><span style="color:#000000;"> {<br />
</span><span style="color:#800080;">$a</span><span style="color:#000000;"> </span><span style="color:#ff0000;">=</span><span style="color:#000000;"> </span><span style="font-weight:bold;color:#5f9ea0;">New-Object</span><span style="color:#000000;"> </span><span style="color:#800000;">net.webclient</span><span style="color:#000000;"><br />
[</span><span style="color:#008080;">xml</span><span style="color:#000000;">]</span><span style="color:#800080;">$x</span><span style="color:#000000;"> </span><span style="color:#ff0000;">=</span><span style="color:#000000;"> </span><span style="color:#800080;">$a</span><span style="color:#000000;">.DownloadString(</span><span style="color:#800000;">&#8220;</span><span style="color:#800000;">http://weather.yahooapis.com/forecastrss?p=ISXX0011&amp;u=c</span><span style="color:#800000;">&#8220;</span><span style="color:#000000;">)</span></p>
<p><span style="color:#800080;">$loc</span><span style="color:#000000;"> </span><span style="color:#ff0000;">=</span><span style="color:#000000;"> </span><span style="color:#800080;">$x</span><span style="color:#000000;">.GetElementsByTagName(</span><span style="color:#800000;">&#8220;</span><span style="color:#800000;">yweather:location</span><span style="color:#800000;">&#8220;</span><span style="color:#000000;">).item(</span><span style="color:#000000;">0</span><span style="color:#000000;">)<br />
</span><span style="color:#800080;">$current</span><span style="color:#000000;"> </span><span style="color:#ff0000;">=</span><span style="color:#000000;"> </span><span style="color:#800080;">$x</span><span style="color:#000000;">.GetElementsByTagName(</span><span style="color:#800000;">&#8220;</span><span style="color:#800000;">yweather:condition</span><span style="color:#800000;">&#8220;</span><span style="color:#000000;">).item(</span><span style="color:#000000;">0</span><span style="color:#000000;">)<br />
</span><span style="color:#800000;">&#8220;&#8221;</span><span style="color:#000000;"><br />
</span><span style="color:#800000;">&#8220;</span><span style="color:#800000;">Location: {0}</span><span style="color:#800000;">&#8220;</span><span style="color:#000000;"> </span><span style="color:#ff0000;">-f</span><span style="color:#000000;"> </span><span style="color:#800080;">$loc</span><span style="color:#000000;">.getattribute(</span><span style="color:#800000;">&#8220;</span><span style="color:#800000;">city</span><span style="color:#800000;">&#8220;</span><span style="color:#000000;">) | </span><span style="font-weight:bold;color:#5f9ea0;">Write-Host</span><span style="color:#000000;"> </span><span style="font-style:italic;color:#5f9ea0;">-ForegroundColor</span><span style="color:#000000;"> </span><span style="color:#800000;">gray</span><span style="color:#000000;"><br />
</span><span style="color:#800000;">&#8220;&#8221;</span><span style="color:#000000;"><br />
</span><span style="color:#800000;">&#8220;</span><span style="color:#800000;">Current weather $([datetime]::Now)</span><span style="color:#800000;">&#8220;</span><span style="color:#000000;"><br />
</span><span style="color:#800000;">&#8220;</span><span style="color:#800000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</span><span style="color:#800000;">&#8220;</span><span style="color:#000000;"><br />
</span><span style="color:#800080;">$text</span><span style="color:#000000;"> </span><span style="color:#ff0000;">=</span><span style="color:#000000;"> </span><span style="color:#800080;">$current</span><span style="color:#000000;">.getattribute(</span><span style="color:#800000;">&#8220;</span><span style="color:#800000;">text</span><span style="color:#800000;">&#8220;</span><span style="color:#000000;">)<br />
</span><span style="color:#800080;">$temp</span><span style="color:#000000;"> </span><span style="color:#ff0000;">=</span><span style="color:#000000;"> </span><span style="color:#800080;">$current</span><span style="color:#000000;">.getattribute(</span><span style="color:#800000;">&#8220;</span><span style="color:#800000;">temp</span><span style="color:#800000;">&#8220;</span><span style="color:#000000;">)<br />
</span><span style="color:#800000;">&#8220;</span><span style="color:#800000;">`t{0}, {1}°C</span><span style="color:#800000;">&#8220;</span><span style="color:#000000;"> </span><span style="color:#ff0000;">-f</span><span style="color:#000000;"> </span><span style="color:#800080;">$text</span><span style="color:#000000;">, </span><span style="color:#800080;">$temp</span><span style="color:#000000;"> | </span><span style="font-weight:bold;color:#5f9ea0;">Write-Host</span><span style="color:#000000;"> </span><span style="font-style:italic;color:#5f9ea0;">-ForegroundColor</span><span style="color:#000000;"> </span><span style="color:#800000;">yellow</span><span style="color:#000000;"> </span></p>
<p><span style="color:#800080;">$forecasts</span><span style="color:#000000;"> </span><span style="color:#ff0000;">=</span><span style="color:#000000;"> </span><span style="color:#800080;">$x</span><span style="color:#000000;">.GetElementsByTagName(</span><span style="color:#800000;">&#8220;</span><span style="color:#800000;">yweather:forecast</span><span style="color:#800000;">&#8220;</span><span style="color:#000000;">)<br />
</span><span style="color:#800000;">&#8220;&#8221;</span><span style="color:#000000;"><br />
</span><span style="color:#800000;">&#8220;</span><span style="color:#800000;">Forecasts</span><span style="color:#800000;">&#8220;</span><span style="color:#000000;"><br />
</span><span style="color:#800000;">&#8220;</span><span style="color:#800000;">&#8212;&#8212;&#8212;</span><span style="color:#800000;">&#8220;</span><span style="color:#000000;"><br />
</span><span style="color:#0000ff;">foreach</span><span style="color:#000000;"> (</span><span style="color:#800080;">$f</span><span style="color:#000000;"> </span><span style="color:#0000ff;">in</span><span style="color:#000000;"> </span><span style="color:#800080;">$forecasts</span><span style="color:#000000;">) {<br />
</span><span style="color:#800080;">$day</span><span style="color:#000000;"> </span><span style="color:#ff0000;">=</span><span style="color:#000000;"> </span><span style="color:#800080;">$f</span><span style="color:#000000;">.getattribute(</span><span style="color:#800000;">&#8220;</span><span style="color:#800000;">day</span><span style="color:#800000;">&#8220;</span><span style="color:#000000;">)<br />
</span><span style="color:#800080;">$date</span><span style="color:#000000;"> </span><span style="color:#ff0000;">=</span><span style="color:#000000;"> </span><span style="color:#800080;">$f</span><span style="color:#000000;">.getattribute(</span><span style="color:#800000;">&#8220;</span><span style="color:#800000;">date</span><span style="color:#800000;">&#8220;</span><span style="color:#000000;">)<br />
</span><span style="color:#800080;">$text</span><span style="color:#000000;"> </span><span style="color:#ff0000;">=</span><span style="color:#000000;"> </span><span style="color:#800080;">$f</span><span style="color:#000000;">.getattribute(</span><span style="color:#800000;">&#8220;</span><span style="color:#800000;">text</span><span style="color:#800000;">&#8220;</span><span style="color:#000000;">)<br />
</span><span style="color:#800080;">$low</span><span style="color:#000000;"> </span><span style="color:#ff0000;">=</span><span style="color:#000000;"> </span><span style="color:#800080;">$f</span><span style="color:#000000;">.getattribute(</span><span style="color:#800000;">&#8220;</span><span style="color:#800000;">low</span><span style="color:#800000;">&#8220;</span><span style="color:#000000;">)<br />
</span><span style="color:#800080;">$high</span><span style="color:#000000;"> </span><span style="color:#ff0000;">=</span><span style="color:#000000;"> </span><span style="color:#800080;">$f</span><span style="color:#000000;">.getattribute(</span><span style="color:#800000;">&#8220;</span><span style="color:#800000;">high</span><span style="color:#800000;">&#8220;</span><span style="color:#000000;">)<br />
</span><span style="color:#800000;">&#8220;</span><span style="color:#800000;">`t{0}, {1}: {2}, {3}-{4}°C</span><span style="color:#800000;">&#8220;</span><span style="color:#000000;"> </span><span style="color:#ff0000;">-f</span><span style="color:#000000;"> </span><span style="color:#800080;">$day</span><span style="color:#000000;">, </span><span style="color:#800080;">$date</span><span style="color:#000000;">, </span><span style="color:#800080;">$text</span><span style="color:#000000;">, </span><span style="color:#800080;">$low</span><span style="color:#000000;">, </span><span style="color:#800080;">$high</span><span style="color:#000000;"> | </span><span style="font-weight:bold;color:#5f9ea0;">Write-Host</span><span style="color:#000000;"> </span><span style="font-style:italic;color:#5f9ea0;">-ForegroundColor</span><span style="color:#000000;"> </span><span style="color:#800000;">green</span><span style="color:#000000;"><br />
}<br />
</span><span style="color:#800000;">&#8220;&#8221;</span></p>
<p>}<br />
<span style="color:#000000;"><br />
</span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/fortheloveofcode.wordpress.com/23/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/fortheloveofcode.wordpress.com/23/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fortheloveofcode.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fortheloveofcode.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fortheloveofcode.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fortheloveofcode.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fortheloveofcode.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fortheloveofcode.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fortheloveofcode.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fortheloveofcode.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fortheloveofcode.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fortheloveofcode.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fortheloveofcode.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fortheloveofcode.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fortheloveofcode.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fortheloveofcode.wordpress.com/23/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fortheloveofcode.wordpress.com&amp;blog=1548143&amp;post=23&amp;subd=fortheloveofcode&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fortheloveofcode.wordpress.com/2008/04/28/powershell-webservice-client/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2a6255beaa5d9d3a8acdf3198f8cf8fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Lior Elia</media:title>
		</media:content>

		<media:content url="http://fortheloveofcode.files.wordpress.com/2008/04/weatherpowershell.png" medium="image">
			<media:title type="html">script source code</media:title>
		</media:content>

		<media:content url="http://fortheloveofcode.files.wordpress.com/2008/04/result.png" medium="image" />
	</item>
		<item>
		<title>Never change members inside a property getter</title>
		<link>http://fortheloveofcode.wordpress.com/2008/03/26/never-change-members-inside-a-property-getter/</link>
		<comments>http://fortheloveofcode.wordpress.com/2008/03/26/never-change-members-inside-a-property-getter/#comments</comments>
		<pubDate>Wed, 26 Mar 2008 16:20:23 +0000</pubDate>
		<dc:creator>Lior</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[Coding pitfalls]]></category>

		<guid isPermaLink="false">http://fortheloveofcode.wordpress.com/?p=22</guid>
		<description><![CDATA[For example instead of using NextRow which advances the row cursor each time it is called, define a GetNextRow() method. This might seem petty, but consider the &#8216;Autos&#8217; and &#8216;Local&#8217; windows in the debugger. Each time the property is in context, it is being evaluated and the member is modified.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fortheloveofcode.wordpress.com&amp;blog=1548143&amp;post=22&amp;subd=fortheloveofcode&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>For example instead of using <code>NextRow</code> which advances the row cursor each time it is called, define a <code>GetNextRow()</code> method.<br />
This might seem petty, but consider the &#8216;Autos&#8217;  and &#8216;Local&#8217; windows in the debugger. Each time the property is in context, it is being <i>evaluated</i> and the member is modified.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/fortheloveofcode.wordpress.com/22/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/fortheloveofcode.wordpress.com/22/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fortheloveofcode.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fortheloveofcode.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fortheloveofcode.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fortheloveofcode.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fortheloveofcode.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fortheloveofcode.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fortheloveofcode.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fortheloveofcode.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fortheloveofcode.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fortheloveofcode.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fortheloveofcode.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fortheloveofcode.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fortheloveofcode.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fortheloveofcode.wordpress.com/22/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fortheloveofcode.wordpress.com&amp;blog=1548143&amp;post=22&amp;subd=fortheloveofcode&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fortheloveofcode.wordpress.com/2008/03/26/never-change-members-inside-a-property-getter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2a6255beaa5d9d3a8acdf3198f8cf8fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Lior Elia</media:title>
		</media:content>
	</item>
		<item>
		<title>Microsoft to Acquire Virtualization Company Kidaro</title>
		<link>http://fortheloveofcode.wordpress.com/2008/03/13/microsoft-acquires-kidaro/</link>
		<comments>http://fortheloveofcode.wordpress.com/2008/03/13/microsoft-acquires-kidaro/#comments</comments>
		<pubDate>Thu, 13 Mar 2008 08:54:55 +0000</pubDate>
		<dc:creator>Lior</dc:creator>
				<category><![CDATA[Kidaro]]></category>
		<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://fortheloveofcode.wordpress.com/?p=21</guid>
		<description><![CDATA[A dream comes true&#8230; Try to find me in this group photo&#8230;  ) New York Times Information Week<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fortheloveofcode.wordpress.com&amp;blog=1548143&amp;post=21&amp;subd=fortheloveofcode&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A dream comes true&#8230;</p>
<p>Try to find me in this group photo&#8230;  <img src='http://s1.wp.com/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> )</p>
<div style="text-align:center;"><a href="http://it.themarker.com/tmit/article/3055" title="Original article in TheMarker (in Hebrew)" target="_blank"><img src="http://www.themarker.com/ibo/images/it/it_body/kidaro.b.gif" height="301" width="450" /></a></div>
<div style="text-align:center;" align="center"></div>
<p><a href="http://www.nytimes.com/reuters/technology/tech-microsoft-acquisition.html?ex=1363060800&amp;en=17032f787923b097&amp;ei=5088&amp;partner=rssnyt&amp;emc=rss" target="_blank">New York Times</a></p>
<p><a href="http://www.informationweek.com/industries/showArticle.jhtml?articleID=206903294" target="_blank">Information Week</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/fortheloveofcode.wordpress.com/21/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/fortheloveofcode.wordpress.com/21/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fortheloveofcode.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fortheloveofcode.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fortheloveofcode.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fortheloveofcode.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fortheloveofcode.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fortheloveofcode.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fortheloveofcode.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fortheloveofcode.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fortheloveofcode.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fortheloveofcode.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fortheloveofcode.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fortheloveofcode.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fortheloveofcode.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fortheloveofcode.wordpress.com/21/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fortheloveofcode.wordpress.com&amp;blog=1548143&amp;post=21&amp;subd=fortheloveofcode&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fortheloveofcode.wordpress.com/2008/03/13/microsoft-acquires-kidaro/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2a6255beaa5d9d3a8acdf3198f8cf8fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Lior Elia</media:title>
		</media:content>

		<media:content url="http://www.themarker.com/ibo/images/it/it_body/kidaro.b.gif" medium="image" />
	</item>
		<item>
		<title>Performance Review (Comic Strip)</title>
		<link>http://fortheloveofcode.wordpress.com/2008/02/24/performance-review-comic-strip/</link>
		<comments>http://fortheloveofcode.wordpress.com/2008/02/24/performance-review-comic-strip/#comments</comments>
		<pubDate>Sun, 24 Feb 2008 11:20:25 +0000</pubDate>
		<dc:creator>Lior</dc:creator>
				<category><![CDATA[Comics]]></category>
		<category><![CDATA[Funny]]></category>

		<guid isPermaLink="false">http://fortheloveofcode.wordpress.com/?p=20</guid>
		<description><![CDATA[Click image for full size (opens in a new window/tab).<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fortheloveofcode.wordpress.com&amp;blog=1548143&amp;post=20&amp;subd=fortheloveofcode&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Click image for full size (opens in a new window/tab).</p>
<p><a href="http://www.wetherobots.com/2007/12/28/four-pronged-performance-review/" target="_blank"><img src="http://www.wetherobots.com/comics/2007-12-28-FourthProng.jpg" height="342" width="423" /></a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/fortheloveofcode.wordpress.com/20/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/fortheloveofcode.wordpress.com/20/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fortheloveofcode.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fortheloveofcode.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fortheloveofcode.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fortheloveofcode.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fortheloveofcode.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fortheloveofcode.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fortheloveofcode.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fortheloveofcode.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fortheloveofcode.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fortheloveofcode.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fortheloveofcode.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fortheloveofcode.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fortheloveofcode.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fortheloveofcode.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fortheloveofcode.wordpress.com&amp;blog=1548143&amp;post=20&amp;subd=fortheloveofcode&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fortheloveofcode.wordpress.com/2008/02/24/performance-review-comic-strip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2a6255beaa5d9d3a8acdf3198f8cf8fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Lior Elia</media:title>
		</media:content>

		<media:content url="http://www.wetherobots.com/comics/2007-12-28-FourthProng.jpg" medium="image" />
	</item>
		<item>
		<title>Editing resources in existing .net assemblies.</title>
		<link>http://fortheloveofcode.wordpress.com/2007/09/24/change-resources-inside-assembly/</link>
		<comments>http://fortheloveofcode.wordpress.com/2007/09/24/change-resources-inside-assembly/#comments</comments>
		<pubDate>Mon, 24 Sep 2007 17:42:20 +0000</pubDate>
		<dc:creator>Lior</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Assemblies]]></category>
		<category><![CDATA[Tweaking]]></category>

		<guid isPermaLink="false">http://fortheloveofcode.wordpress.com/2007/09/24/change-resources-inside-assembly/</guid>
		<description><![CDATA[Technorati Tags: .net resources Preface Editing binary resources when you have the source code is pretty easy. Just change the original file and maybe change some properties in the project to re-embed the modified resource. Piece of cake. But what if you don&#8217;t have the source code? Or maybe you do but the build process [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fortheloveofcode.wordpress.com&amp;blog=1548143&amp;post=18&amp;subd=fortheloveofcode&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p class="wlWriterSmartContent" style="display:inline;margin:0;padding:0;"><font color="#999999">Technorati Tags: <a href="http://technorati.com/tags/.net%20resources" rel="tag">.net resources</a></font></p>
<h2>Preface</h2>
<p>Editing binary resources when you have the source code is pretty easy. Just change the original file and maybe change some properties in the project to re-embed the modified resource. Piece of cake.</p>
<p><strong>But what if you don&#8217;t have the source code</strong>? Or maybe you do but the build process is too lengthy/fragile/complicated/error-prone/etc. ? Another good reason is obfuscation with a changing/random map file, which means you can&#8217;t rebuild a single assembly and expect it to interact with the previously built assemblies.</p>
<p>Here&#8217;s how to modify a binary resource in 3 easy steps.</p>
<h2>Step #1: Disassemble the assembly.</h2>
<p>Use the following command to disassemble your .net exe or dll:</p>
<p><code><font color="#0000ff">ildasm /out=<em>assembly_name</em>.il <em>assembly_name.dll</em></font></code><em> </em></p>
<p><font size="1">(replace <em><em>assembly_name</em>.dll</em> with your dll or exe name).</font></p>
<p>This will output plenty of data files. We are interested in these:</p>
<ol>
<li><strong>*.resources<em> </em></strong>- The binary resource files.</li>
<li><strong><em><em>assembly_name</em></em>.res </strong>- The resources manifest.</li>
<li><strong><em><em>assembly_name</em></em>.il </strong>- The actual MSIL code.</li>
</ol>
<h2>Step #2: Edit the resources file(s).</h2>
<p>Prepare the modified/new resource, it doesn&#8217;t matter what name it is but the format should be the same as the one originally included in the assembly (e.g. replacing bitmap for bitmap, icon for icon).</p>
<p>Use a resource editor to edit the resource file. I use <a href="http://www.aisto.com/roeder/dotnet/" target="_blank">Resourcer for DotNet</a> by Lutz Roeder, it&#8217;s freeware. By the way, the same author also wrote Reflector.NET, an awesome tool for .NET developers.</p>
<p>If you&#8217;re using the Resourcer, here are the steps required:</p>
<ol>
<li>Open the .resources file you want to change and rename the original resource item.</li>
<li>Hit Ctrl-F to insert file and select the modified version from you file system.</li>
<li>Rename the new item to have the same original name as the previous one (you can&#8217;t you copy/paste for that, for some reason it just copies the entire item instead of just the text).</li>
</ol>
<h2>Step #3: Reassemble the assembly.</h2>
<p>Use the following command to disassemble your .net exe or dll:</p>
<p><strong>Important:</strong> This will <u>overwrite</u> the original dll/exe !</p>
<p><code><font color="#0000ff">ilasm /resource=<em>assembly_name</em>.res /dll /output=<em>assembly_name</em>.dll /key=signing_key.snk <em>assembly_name</em>.il</font></code></p>
<p><font size="1">(replace <em><em>assembly_name</em>.dll</em> with your dll or exe name and of course change the /dll to /exe if needed).</font></p>
<p>The signing key parameter is optional and is only needed if the original assembly was signed.</p>
<p><font size="1">Of course, if it was signed by someone else to prevent tempering, you won&#8217;t be able to use the modified assembly unless you provide the original signing key, which I assume you won&#8217;t have. But that&#8217;s just how .NET works.</font></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/fortheloveofcode.wordpress.com/18/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/fortheloveofcode.wordpress.com/18/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fortheloveofcode.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fortheloveofcode.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fortheloveofcode.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fortheloveofcode.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fortheloveofcode.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fortheloveofcode.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fortheloveofcode.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fortheloveofcode.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fortheloveofcode.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fortheloveofcode.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fortheloveofcode.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fortheloveofcode.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fortheloveofcode.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fortheloveofcode.wordpress.com/18/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fortheloveofcode.wordpress.com&amp;blog=1548143&amp;post=18&amp;subd=fortheloveofcode&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fortheloveofcode.wordpress.com/2007/09/24/change-resources-inside-assembly/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2a6255beaa5d9d3a8acdf3198f8cf8fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Lior Elia</media:title>
		</media:content>
	</item>
		<item>
		<title>Happy Programmers day everyone!</title>
		<link>http://fortheloveofcode.wordpress.com/2007/09/13/programmers-day/</link>
		<comments>http://fortheloveofcode.wordpress.com/2007/09/13/programmers-day/#comments</comments>
		<pubDate>Thu, 13 Sep 2007 20:54:37 +0000</pubDate>
		<dc:creator>Lior</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Holiday]]></category>

		<guid isPermaLink="false">http://fortheloveofcode.wordpress.com/2007/09/13/programmers-day/</guid>
		<description><![CDATA[If you know how much is 28 without getting a calculator out, this day is for you. Well, if you&#8217;re reading this blog this day is for you. It&#8217;s programmers day! The 256th day of the year. Now go fix some bugs! (source)<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fortheloveofcode.wordpress.com&amp;blog=1548143&amp;post=15&amp;subd=fortheloveofcode&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.programmerday.info/"><img src="http://knightknetwork.com/wordpress/wp-content/uploads/2007/09/pd_logo.png" alt="Programmers day (un)official site" height="300" width="420" /></a></p>
<p>If you know how much is 2<sup>8</sup> without getting a calculator out, this day is for you.</p>
<p>Well, if you&#8217;re <em>reading this blog </em>this day is for you.</p>
<p>It&#8217;s <a href="http://www.programmerday.info/" target="_blank">programmers day!</a>  The 256<sup>th</sup> day of the year.</p>
<p>Now go fix some bugs!</p>
<p align="right"><font size="1">(<a href="http://www.engadget.com/2007/09/13/if-date-09-13-2007-engadget-write-happy-programmers-day/" title="Engadget article" target="_blank"><font size="1">source</font></a>)</font></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/fortheloveofcode.wordpress.com/15/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/fortheloveofcode.wordpress.com/15/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fortheloveofcode.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fortheloveofcode.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fortheloveofcode.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fortheloveofcode.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fortheloveofcode.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fortheloveofcode.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fortheloveofcode.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fortheloveofcode.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fortheloveofcode.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fortheloveofcode.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fortheloveofcode.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fortheloveofcode.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fortheloveofcode.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fortheloveofcode.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fortheloveofcode.wordpress.com&amp;blog=1548143&amp;post=15&amp;subd=fortheloveofcode&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fortheloveofcode.wordpress.com/2007/09/13/programmers-day/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2a6255beaa5d9d3a8acdf3198f8cf8fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Lior Elia</media:title>
		</media:content>

		<media:content url="http://knightknetwork.com/wordpress/wp-content/uploads/2007/09/pd_logo.png" medium="image">
			<media:title type="html">Programmers day (un)official site</media:title>
		</media:content>
	</item>
		<item>
		<title>Why I didn&#8217;t write any code today&#8230;</title>
		<link>http://fortheloveofcode.wordpress.com/2007/09/04/devenv-swiped-comics/</link>
		<comments>http://fortheloveofcode.wordpress.com/2007/09/04/devenv-swiped-comics/#comments</comments>
		<pubDate>Tue, 04 Sep 2007 11:27:12 +0000</pubDate>
		<dc:creator>Lior</dc:creator>
				<category><![CDATA[Comics]]></category>
		<category><![CDATA[Funny]]></category>

		<guid isPermaLink="false">http://fortheloveofcode.wordpress.com/2007/09/04/devenv-swiped-comics/</guid>
		<description><![CDATA[<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fortheloveofcode.wordpress.com&amp;blog=1548143&amp;post=13&amp;subd=fortheloveofcode&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:center;"><img src="http://www.runningbits.com/BlogImages/HatfaniStudio.jpg" alt="Why I didn't write any code today..." align="top" /></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/fortheloveofcode.wordpress.com/13/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/fortheloveofcode.wordpress.com/13/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fortheloveofcode.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fortheloveofcode.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fortheloveofcode.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fortheloveofcode.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fortheloveofcode.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fortheloveofcode.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fortheloveofcode.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fortheloveofcode.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fortheloveofcode.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fortheloveofcode.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fortheloveofcode.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fortheloveofcode.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fortheloveofcode.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fortheloveofcode.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fortheloveofcode.wordpress.com&amp;blog=1548143&amp;post=13&amp;subd=fortheloveofcode&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fortheloveofcode.wordpress.com/2007/09/04/devenv-swiped-comics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2a6255beaa5d9d3a8acdf3198f8cf8fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Lior Elia</media:title>
		</media:content>

		<media:content url="http://www.runningbits.com/BlogImages/HatfaniStudio.jpg" medium="image">
			<media:title type="html">Why I didn't write any code today...</media:title>
		</media:content>
	</item>
		<item>
		<title>Quote &#8211; Computers and Humans.</title>
		<link>http://fortheloveofcode.wordpress.com/2007/08/23/quote-computers-and-humans/</link>
		<comments>http://fortheloveofcode.wordpress.com/2007/08/23/quote-computers-and-humans/#comments</comments>
		<pubDate>Thu, 23 Aug 2007 12:21:29 +0000</pubDate>
		<dc:creator>Lior</dc:creator>
				<category><![CDATA[Famous Quotes]]></category>
		<category><![CDATA[OneLiners]]></category>

		<guid isPermaLink="false">http://fortheloveofcode.wordpress.com/2007/08/23/quote-computers-and-humans/</guid>
		<description><![CDATA[“Computers are incredibly fast, accurate and stupid; humans are incredibly slow, inaccurate and brilliant; together they are powerful beyond imagination.” — Albert Einstein<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fortheloveofcode.wordpress.com&amp;blog=1548143&amp;post=10&amp;subd=fortheloveofcode&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>“Computers are incredibly fast, accurate and stupid; humans are incredibly slow, inaccurate and brilliant; together they are powerful beyond imagination.”</p>
<p align="right"><em>— Albert Einstein</em></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/fortheloveofcode.wordpress.com/10/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/fortheloveofcode.wordpress.com/10/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fortheloveofcode.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fortheloveofcode.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fortheloveofcode.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fortheloveofcode.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/fortheloveofcode.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/fortheloveofcode.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/fortheloveofcode.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/fortheloveofcode.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fortheloveofcode.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fortheloveofcode.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fortheloveofcode.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fortheloveofcode.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fortheloveofcode.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fortheloveofcode.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fortheloveofcode.wordpress.com&amp;blog=1548143&amp;post=10&amp;subd=fortheloveofcode&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://fortheloveofcode.wordpress.com/2007/08/23/quote-computers-and-humans/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2a6255beaa5d9d3a8acdf3198f8cf8fb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Lior Elia</media:title>
		</media:content>
	</item>
	</channel>
</rss>
