<?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>Joseph Wahba</title>
	<atom:link href="http://www.josephwahba.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.josephwahba.com</link>
	<description>Rambling mind</description>
	<lastBuildDate>Tue, 14 May 2013 16:36:11 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>The sky really fell :(</title>
		<link>http://www.josephwahba.com/2013/05/14/the-sky-really-fell/</link>
		<comments>http://www.josephwahba.com/2013/05/14/the-sky-really-fell/#comments</comments>
		<pubDate>Tue, 14 May 2013 16:36:11 +0000</pubDate>
		<dc:creator>joseph</dc:creator>
				<category><![CDATA[Movies]]></category>
		<category><![CDATA[James Bond]]></category>
		<category><![CDATA[Skyfall]]></category>

		<guid isPermaLink="false">http://www.josephwahba.com/?p=30</guid>
		<description><![CDATA[As newly wed (sort of) I missed a lot of action movies, last week was my time to catch up with some of them. Skyfall was my first, definitely was a very bad decision, why? In my opinion that It &#8230; <a href="http://www.josephwahba.com/2013/05/14/the-sky-really-fell/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p style="text-align: left;">As newly wed (sort of<a href="http://www.josephwahba.com/wp-content/uploads/2013/05/images.jpg"><img class="alignright size-full wp-image-31" alt="images" src="http://www.josephwahba.com/wp-content/uploads/2013/05/images.jpg" width="284" height="177" /></a>) I missed a lot of action movies, last week was my time to catch up with some of them. Skyfall was my first, definitely was a very bad decision, why?<br />
In my opinion that It seems that guy in Hollywood simply hate James Bond these days either consciously or unconsciously (May be because it is British or something) , they are actively ruining the character for the older fans by their over philosophication of the character.<br />
James Bond was always about fast cars chasing, gadgets, pretty girls, fast actions. Taking the movie into more emotional side, dissecting his character and expose his childhood tragedy is just sad. It is really not what James Bond is all about. If I need to see a character complication and emotional tragedy there are other movies doing this job really good but not James Bond PLEASE.<br />
With two fictional hero ruined for me this season (Iron Man was a total bust for me too) I&#8217;m not that excited about Man of Steel specially that he will face members of his own race (I can imagine now how things can go wrong)<br />
Please Hollywood, don&#8217;t ruin comic heroes for us</p>
]]></content:encoded>
			<wfw:commentRss>http://www.josephwahba.com/2013/05/14/the-sky-really-fell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rails cycle through alternating css classes</title>
		<link>http://www.josephwahba.com/2013/04/20/rails-cycle-through-alternating-css-classes/</link>
		<comments>http://www.josephwahba.com/2013/04/20/rails-cycle-through-alternating-css-classes/#comments</comments>
		<pubDate>Sat, 20 Apr 2013 08:46:16 +0000</pubDate>
		<dc:creator>joseph</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://www.josephwahba.com/?p=22</guid>
		<description><![CDATA[In many places I needed to give rows in a table alternating classes, I was suprized that rails solved it using a simple helper method Cycle &#60;table&#62; &#60;tr class="&#60;%= cycle('even', 'odd', :name =&#62; "row_classes") %&#62;"&#62; &#60;td&#62;&#60;/td&#62; ..... &#60;/tr&#62; &#60;/table&#62; The &#8230; <a href="http://www.josephwahba.com/2013/04/20/rails-cycle-through-alternating-css-classes/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>In many places I needed to give rows in a table alternating classes, I was suprized that rails solved it using a simple helper method <a href="http://api.rubyonrails.org/classes/ActionView/Helpers/TextHelper.html#method-i-cycle">Cycle</a></p>
<pre>&lt;table&gt;
&lt;tr class="<strong>&lt;%= cycle('even', 'odd', :name =&gt; "row_classes") %&gt;</strong>"&gt;
    &lt;td&gt;&lt;/td&gt;
        .....
&lt;/tr&gt;
&lt;/table&gt;</pre>
<p>The helper method can be used also to alter between more than two values</p>
<pre>&lt;table&gt;
&lt;tr class="<strong>&lt;%= cycle('red', 'green', 'yellow') %&gt;</strong>"&gt;
    &lt;td&gt;&lt;/td&gt;
        .....
&lt;/tr&gt;
&lt;/table&gt;</pre>
<p>You can also get the current value in the cycle using the <a title="current_cycle" href="http://api.rubyonrails.org/classes/ActionView/Helpers/TextHelper.html#method-i-current_cycle">current_cycle</a></p>
<p>And you can reset the cycle value using the <a title="reset_cycle" href="http://api.rubyonrails.org/classes/ActionView/Helpers/TextHelper.html#method-i-reset_cycle">reset_cycle</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.josephwahba.com/2013/04/20/rails-cycle-through-alternating-css-classes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Change file/folder owner in linux</title>
		<link>http://www.josephwahba.com/2013/04/10/change-filefolder-owner-in-linux/</link>
		<comments>http://www.josephwahba.com/2013/04/10/change-filefolder-owner-in-linux/#comments</comments>
		<pubDate>Wed, 10 Apr 2013 07:29:48 +0000</pubDate>
		<dc:creator>joseph</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[user access]]></category>

		<guid isPermaLink="false">http://www.josephwahba.com/?p=10</guid>
		<description><![CDATA[To change the owner of a file/folder in Linux Example: the folder stats has the root as owner and we need to change the owner of user1 chown -R user1 stats This will change the owner of the folder and &#8230; <a href="http://www.josephwahba.com/2013/04/10/change-filefolder-owner-in-linux/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>To change the owner of a file/folder in Linux</p>
<p>Example: the folder stats has the root as owner and we need to change the owner of user1</p>
<pre>chown -R user1 stats</pre>
<p>This will change the owner of the folder and all subfolders and files</p>
]]></content:encoded>
			<wfw:commentRss>http://www.josephwahba.com/2013/04/10/change-filefolder-owner-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
