<?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>Arturito.net</title>
	<atom:link href="http://dartharturito.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://dartharturito.wordpress.com</link>
	<description>Come to The Dark Side, We Have Cookies!</description>
	<lastBuildDate>Thu, 08 Dec 2011 14:58:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='dartharturito.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Arturito.net</title>
		<link>http://dartharturito.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://dartharturito.wordpress.com/osd.xml" title="Arturito.net" />
	<atom:link rel='hub' href='http://dartharturito.wordpress.com/?pushpress=hub'/>
		<item>
		<title>How to fix XBMC that quits on Apple TV 2G and disable updates</title>
		<link>http://dartharturito.wordpress.com/2011/03/21/how-to-fix-xbmc-that-quits-exits-on-apple-tv-2g-disable-update/</link>
		<comments>http://dartharturito.wordpress.com/2011/03/21/how-to-fix-xbmc-that-quits-exits-on-apple-tv-2g-disable-update/#comments</comments>
		<pubDate>Mon, 21 Mar 2011 22:38:19 +0000</pubDate>
		<dc:creator>arturito</dc:creator>
				<category><![CDATA[Apple TV 2]]></category>

		<guid isPermaLink="false">http://arturito.net/?p=560</guid>
		<description><![CDATA[If you have NitoTV installed there is a very simple solution: 1. NitoTV&#62;Settings&#62;Update NitoTV 2. NitoTV&#62;Settings&#62;Reboot 3. NitoTV&#62;Install Software&#62; updatesBeGone 4. NitoTV&#62;Settings&#62;Reboot Silly message will go away<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dartharturito.wordpress.com&amp;blog=995682&amp;post=560&amp;subd=dartharturito&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you have NitoTV installed there is a very simple solution:</p>
<p>1. <strong>NitoTV&gt;Settings&gt;Update NitoTV</strong></p>
<p>2. <strong>NitoTV&gt;Settings&gt;Reboot</strong></p>
<p>3. <strong>NitoTV&gt;Install Software&gt; updatesBeGone</strong></p>
<p>4. <strong>NitoTV&gt;Settings&gt;Reboot</strong></p>
<p><strong> </strong></p>
<p><strong> </strong>Silly message will go away <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dartharturito.wordpress.com/560/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dartharturito.wordpress.com/560/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dartharturito.wordpress.com/560/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dartharturito.wordpress.com/560/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dartharturito.wordpress.com/560/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dartharturito.wordpress.com/560/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dartharturito.wordpress.com/560/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dartharturito.wordpress.com/560/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dartharturito.wordpress.com/560/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dartharturito.wordpress.com/560/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dartharturito.wordpress.com/560/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dartharturito.wordpress.com/560/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dartharturito.wordpress.com/560/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dartharturito.wordpress.com/560/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dartharturito.wordpress.com&amp;blog=995682&amp;post=560&amp;subd=dartharturito&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dartharturito.wordpress.com/2011/03/21/how-to-fix-xbmc-that-quits-exits-on-apple-tv-2g-disable-update/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c39dac7b55838dad24e32285a0a9d674?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">arturito</media:title>
		</media:content>
	</item>
		<item>
		<title>How to change time zone on Apple TV 2G</title>
		<link>http://dartharturito.wordpress.com/2011/03/21/how-to-change-configure-time-zone-on-apple-tv-2g-xbmc-time/</link>
		<comments>http://dartharturito.wordpress.com/2011/03/21/how-to-change-configure-time-zone-on-apple-tv-2g-xbmc-time/#comments</comments>
		<pubDate>Mon, 21 Mar 2011 22:11:38 +0000</pubDate>
		<dc:creator>arturito</dc:creator>
				<category><![CDATA[Apple TV 2]]></category>

		<guid isPermaLink="false">http://arturito.net/?p=551</guid>
		<description><![CDATA[On the jailbreaked Apple TV 2 login as root using ssh. it should come up with now got to this directory remove link and create new one for example in my case Madrid. to get your time zone check what&#8217;s available in Reboot and that should be it.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dartharturito.wordpress.com&amp;blog=995682&amp;post=551&amp;subd=dartharturito&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>On the jailbreaked Apple TV 2 login as root using ssh.</p>
<p><pre class="brush: bash;">
find / -name localtime
</pre></p>
<p>it should come up with</p>
<p><pre class="brush: bash;">
/private/var/db/timezone/localtime
</pre></p>
<p>now got to this directory</p>
<p><pre class="brush: bash;">

cd /private/var/db/timezone/
</pre></p>
<p>remove link</p>
<p><pre class="brush: bash;">

rm localtime
</pre></p>
<p><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;font-size:13px;line-height:19px;white-space:normal;">and create new one for example </span>in my case Madrid.</p>
<p><pre class="brush: bash;">
ln -s /usr/share/zoneinfo/Europe/Madrid localtime
</pre></p>
<p>to get your time zone</p>
<p>check what&#8217;s available in</p>
<p><pre class="brush: bash;">
cd /usr/share/zoneinfo/
</pre></p>
<p>Reboot and that should be it.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dartharturito.wordpress.com/551/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dartharturito.wordpress.com/551/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dartharturito.wordpress.com/551/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dartharturito.wordpress.com/551/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dartharturito.wordpress.com/551/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dartharturito.wordpress.com/551/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dartharturito.wordpress.com/551/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dartharturito.wordpress.com/551/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dartharturito.wordpress.com/551/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dartharturito.wordpress.com/551/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dartharturito.wordpress.com/551/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dartharturito.wordpress.com/551/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dartharturito.wordpress.com/551/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dartharturito.wordpress.com/551/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dartharturito.wordpress.com&amp;blog=995682&amp;post=551&amp;subd=dartharturito&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dartharturito.wordpress.com/2011/03/21/how-to-change-configure-time-zone-on-apple-tv-2g-xbmc-time/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c39dac7b55838dad24e32285a0a9d674?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">arturito</media:title>
		</media:content>
	</item>
		<item>
		<title>Apple TV 2 XBMC installation dkg was interrupted, you must manually run dpkg –configure –a to correct the problem</title>
		<link>http://dartharturito.wordpress.com/2011/02/25/apple-tv-2-xbmc-installation-dkg-was-interrupted-you-must-manually-run-dpkg-%e2%80%93configure-%e2%80%93a-to-correct-the-problem/</link>
		<comments>http://dartharturito.wordpress.com/2011/02/25/apple-tv-2-xbmc-installation-dkg-was-interrupted-you-must-manually-run-dpkg-%e2%80%93configure-%e2%80%93a-to-correct-the-problem/#comments</comments>
		<pubDate>Fri, 25 Feb 2011 08:42:19 +0000</pubDate>
		<dc:creator>arturito</dc:creator>
				<category><![CDATA[Apple TV 2]]></category>

		<guid isPermaLink="false">http://arturito.net/?p=542</guid>
		<description><![CDATA[In the artice below I described how to install XBMC on Apple TV 2. http://arturito.net/2011/02/14/apple-tv-2-untethered-jailbreak-on-windows-and-xbmc-media-centre-installation/ Some users reported errors while installing XBMC on Apple TV 2. In the step 5  where we go to NitoTV &#62; Install Software &#62; XBMC-ATV2 Apple TV 2 downloads XBMC, reboots and XBMC does not appear in the menu or [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dartharturito.wordpress.com&amp;blog=995682&amp;post=542&amp;subd=dartharturito&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In the artice below I described how to install XBMC on Apple TV 2.</p>
<p><a href="http://arturito.net/2011/02/14/apple-tv-2-untethered-jailbreak-on-windows-and-xbmc-media-centre-installation/" target="_blank"> http://arturito.net/2011/02/14/apple-tv-2-untethered-jailbreak-on-windows-and-xbmc-media-centre-installation/</a></p>
<p>Some users reported errors while installing XBMC on Apple TV 2.<br />
In the step 5  where we go to<strong> NitoTV </strong>&gt;<strong> Install Software</strong> &gt; <strong>XBMC-ATV2</strong></p>
<p>Apple TV 2 downloads XBMC, reboots and XBMC does not appear in the menu or this error appears:</p>
<p><strong>E: dkg was interrupted, you must manually run ‘dpkg –configure –a’<br />
</strong><br />
To correct the problem follow these steps:</p>
<p>1. Find out the IP address of the APTV2 in <strong>Settings</strong> &gt;<strong>Network</strong><br />
2. If you are on Windows download Putty <a href="http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe" target="_blank">http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe</a> (it is ssh client)<br />
3. Launch Putty and in Host Name (or Ip Address) enter the IP address of Apple TV 2 for example <strong>192.168.1.24</strong><br />
4. If you get message about encryption click <strong>Yes</strong><br />
5. You will get login screen. As user type in <strong>root</strong> and as password <strong>alpine</strong><br />
6. Launch the following command:</p>
<p><pre class="brush: bash;">
apt-get install wget
wget -O- http://apt.awkwardtv.org/awkwardtv.pub | apt-key add -
echo &quot;deb http://apt.awkwardtv.org/ stable main&quot; &gt; /etc/apt/sources.list.d/awkwardtv.list
echo &quot;deb http://mirrors.xbmc.org/apt/atv2 ./&quot; &gt; /etc/apt/sources.list.d/xbmc.list
apt-get update
apt-get install org.xbmc.xbmc-atv2
</pre></p>
<p>If by any chance you get error <span style="color:#800000;"><strong>exit status 1</strong></span></p>
<p>1. Run commands:</p>
<p><pre class="brush: bash;">
apt-get remove org.xbmc.xbmc-atv2
apt-get install org.xbmc.xbmc-atv2 --fix-missing
</pre></p>
<p>2. XBMC should appear in  Apple TV 2 Menu.</p>
<p>If you still get the problem the best idea is to do Restore thorugh iTunes and start the process again.</p>
<p><a href="http://arturito.net/2011/02/14/apple-tv-2-untethered-jailbreak-on-windows-and-xbmc-media-centre-installation/" target="_blank">http://arturito.net/2011/02/14/apple-tv-2-untethered-jailbreak-on-windows-and-xbmc-media-centre-installation/</a></p>
<p>For some reason restore and installation worked for many.</p>
<p>Good Luck <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dartharturito.wordpress.com/542/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dartharturito.wordpress.com/542/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dartharturito.wordpress.com/542/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dartharturito.wordpress.com/542/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dartharturito.wordpress.com/542/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dartharturito.wordpress.com/542/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dartharturito.wordpress.com/542/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dartharturito.wordpress.com/542/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dartharturito.wordpress.com/542/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dartharturito.wordpress.com/542/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dartharturito.wordpress.com/542/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dartharturito.wordpress.com/542/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dartharturito.wordpress.com/542/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dartharturito.wordpress.com/542/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dartharturito.wordpress.com&amp;blog=995682&amp;post=542&amp;subd=dartharturito&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dartharturito.wordpress.com/2011/02/25/apple-tv-2-xbmc-installation-dkg-was-interrupted-you-must-manually-run-dpkg-%e2%80%93configure-%e2%80%93a-to-correct-the-problem/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c39dac7b55838dad24e32285a0a9d674?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">arturito</media:title>
		</media:content>
	</item>
		<item>
		<title>Cheap Multiroom Media Center System with  Apple TV and XBMC</title>
		<link>http://dartharturito.wordpress.com/2011/02/16/cheap-multiroom-media-center-system-with-apple-tv-and-xbmc/</link>
		<comments>http://dartharturito.wordpress.com/2011/02/16/cheap-multiroom-media-center-system-with-apple-tv-and-xbmc/#comments</comments>
		<pubDate>Wed, 16 Feb 2011 13:08:37 +0000</pubDate>
		<dc:creator>arturito</dc:creator>
				<category><![CDATA[Apple TV 2]]></category>

		<guid isPermaLink="false">http://arturito.net/?p=529</guid>
		<description><![CDATA[Many people look for cheap multiroom media solutions. There are many options.  In this article I would like to share what media center system I have built and how reliable it has been so far. Firstly, I started with my living room. I&#8217;ve already had plasma TV and audio amplifier with 5.1 speaker system. All [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dartharturito.wordpress.com&amp;blog=995682&amp;post=529&amp;subd=dartharturito&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Many people look for cheap multiroom media solutions. There are many options.  In this article I would like to share what media center system I have built and how reliable it has been so far.</p>
<p>Firstly, I started with my living room. I&#8217;ve already had plasma TV and audio amplifier with 5.1 speaker system. All I needed was some sweet media center and storage for my films, music and pictures. As storage I went for NAS Storage <a href="http://www.synology.com/enu/products/DS110j/index.php" target="_blank">Synology DS110j</a>. Honestly, forget NAS systems from WD, LinkStation and Netgear. I have read a lot of comments about NAS products before buying one and a lot of people always had some problems with these.Synology though has good reputation amongst its users and there is no mistake &#8211; this product is great!I bought 2TB hard drive and installed it in the NAS. Created shares and uploaded content to it.</p>
<p>What about media center? Well, I&#8217;ve always been big fan media center software and I have tried few. At the begging I had PC with Windows Media Centre 2005 hooked up to the TV. Not a good solution. Big case and fan noise. Also, I didn&#8217;t like Windows Media Centre. It didn&#8217;t support many file formats, subtitles and I got windows errors while watching films too many times. I moved to <a href="http://xbmc.org/" target="_blank">XBMC </a> and it became my best friend!. I strongly recommend trying it. It has so much to offer!<br />
What most I like about it is:<br />
- haven&#8217;t found video or audio format xbmc doesn&#8217;t support<br />
- multiple subtitles in various formats<br />
- allows me to add content from various sources : windows and linux shares , UPnP AV &#8230;.<br />
- choice of skin<br />
- allows me to stream content directly from internet (youtube, megavideo)</p>
<p>Some months later I took PC out and put first generation of Xbox with XBMC on it. I didn&#8217;t have to wait for PC to boot up and shutdown anymore. Xbox was ready in about 5 seconds and I could just shut it down with 1 button click just as DVD player. It served me well until I got Apple TV 2 and installed XBMC on it.</p>
<p>This is what I came up with:</p>
<p><img class="alignnone" title="Apple TV 2 and XBMC" src="http://i1134.photobucket.com/albums/m614/Arturito_Net/system_small.jpg" alt="" width="700" height="479" /></p>
<p><a href="http://i1134.photobucket.com/albums/m614/Arturito_Net/system_big.jpg" target="_blank">View Larger</a></p>
<p>And what you get is this:</p>
<p><object width="700" height="419"><param name="movie" value="http://www.youtube.com/v/HuDs0HV0Pls?version=3"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/HuDs0HV0Pls?version=3" type="application/x-shockwave-flash" width="700" height="419" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>Here are links where you can buy this stuff:</p>
<p>Synology DS110j<br />
<a href="http://www.amazon.co.uk/Synology-DS110j-Disk-Station-Enclosure/dp/B002U42XD6/ref=sr_1_1?ie=UTF8&amp;qid=1297860833&amp;sr=1-1" target="_blank">http://www.amazon.co.uk/Synology-DS110j-Disk-Station-Enclosure/dp/B002U42XD6/ref=sr_1_1?ie=UTF8&amp;qid=1297860833&amp;sr=1-1</a></p>
<p>Seagate 2TB hard drive</p>
<p><a href="http://www.amazon.co.uk/Seagate-Barracuda-Power-Drive-Cache/dp/B002C1ANNO/ref=sr_1_1?s=computers&amp;ie=UTF8&amp;qid=1297860852&amp;sr=1-1" target="_blank">http://www.amazon.co.uk/Seagate-Barracuda-Power-Drive-Cache/dp/B002C1ANNO/ref=sr_1_1?s=computers&amp;ie=UTF8&amp;qid=1297860852&amp;sr=1-1</a></p>
<p>Apple TV</p>
<p><a href="http://www.apple.com/appletv/" target="_blank">http://www.apple.com/appletv/</a></p>
<p>Here you can learn how to install XBMC on Apple TV 2</p>
<p><a href="http://arturito.net/2011/02/14/apple-tv-2-untethered-jailbreak-on-windows-and-xbmc-media-centre-installation/" target="_blank">http://arturito.net/2011/02/14/apple-tv-2-untethered-jailbreak-on-windows-and-xbmc-media-centre-installation/</a></p>
<p><a href="http://arturito.net/2011/02/14/apple-tv-2-untethered-jailbreak-on-windows-and-xbmc-media-centre-installation/"> </a></p>
<p><a href="http://arturito.net/2011/02/14/apple-tv-2-untethered-jailbreak-on-windows-and-xbmc-media-centre-installation/"></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dartharturito.wordpress.com/529/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dartharturito.wordpress.com/529/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dartharturito.wordpress.com/529/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dartharturito.wordpress.com/529/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dartharturito.wordpress.com/529/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dartharturito.wordpress.com/529/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dartharturito.wordpress.com/529/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dartharturito.wordpress.com/529/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dartharturito.wordpress.com/529/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dartharturito.wordpress.com/529/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dartharturito.wordpress.com/529/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dartharturito.wordpress.com/529/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dartharturito.wordpress.com/529/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dartharturito.wordpress.com/529/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dartharturito.wordpress.com&amp;blog=995682&amp;post=529&amp;subd=dartharturito&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dartharturito.wordpress.com/2011/02/16/cheap-multiroom-media-center-system-with-apple-tv-and-xbmc/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c39dac7b55838dad24e32285a0a9d674?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">arturito</media:title>
		</media:content>

		<media:content url="http://i1134.photobucket.com/albums/m614/Arturito_Net/system_small.jpg" medium="image">
			<media:title type="html">Apple TV 2 and XBMC</media:title>
		</media:content>
	</item>
		<item>
		<title>Apple TV 2  Untethered Jailbreak on Windows and XBMC media centre installation</title>
		<link>http://dartharturito.wordpress.com/2011/02/14/apple-tv-2-untethered-jailbreak-on-windows-and-xbmc-media-centre-installation/</link>
		<comments>http://dartharturito.wordpress.com/2011/02/14/apple-tv-2-untethered-jailbreak-on-windows-and-xbmc-media-centre-installation/#comments</comments>
		<pubDate>Mon, 14 Feb 2011 07:24:12 +0000</pubDate>
		<dc:creator>arturito</dc:creator>
				<category><![CDATA[Apple TV 2]]></category>

		<guid isPermaLink="false">http://dartharturito.wordpress.com/?p=520</guid>
		<description><![CDATA[Yesterday I got a new Apple TV 2 as a birthday gift and I decided to stick XBMC media centre on it since I already have one on the first generation of Xbox. I thought that would be perfect fanless replacement. I read a lot of post how to jailbreak it with Pwnage Tool and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dartharturito.wordpress.com&amp;blog=995682&amp;post=520&amp;subd=dartharturito&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Yesterday I got a new Apple TV 2 as a birthday gift and I decided to stick <strong>XBMC</strong> media centre on it since I already have one on the first generation of Xbox. I thought that would be perfect fanless replacement.</p>
<p><img src="http://i1134.photobucket.com/albums/m614/Arturito_Net/aptv-01.jpg" border="0" alt="" /></p>
<p>I read a lot of post how to jailbreak it with <strong>Pwnage Tool</strong> and <strong>Seas0nPass </strong>but all these methods have two huge disadvantages.</p>
<p>1. These programs come <strong>only for Mac</strong> computer for now. (I don’t have one)<br />
2. They are <strong>tethered</strong>, which means everytime you shutdown Apple TV you will have to connect it to the Mac to boot it in jailbreaked mode.</p>
<p>I found little program that is called <strong>GreenPois0n</strong> and it comes for Mac, Linux and Windows and very little reference on the internet on how to use it. I thought I will give it a go. Program can be downloaded here: <a href="http://greenpois0n.com/">http://greenpois0n.com/</a></p>
<p><strong>What you need:</strong></p>
<p>1. Micro USB cable – unfortunately it is not supplied with Apple TV 2 so you need to get one or ask your friends. I had one as it came with my Blackberry.<br />
2. iTunes software on your computer. <a href="http://www.apple.com/itunes/">http://www.apple.com/itunes/</a><br />
3. GreenPois0n program <a href="http://greenpois0n.com/">http://greenpois0n.com/</a> (latest version RC6)<br />
4. Find out which version your Apple TV 2 is running  (<strong>Settings &gt; General &gt; About</strong>) Ideally should be <strong>4.1.1</strong>.  Mine came with 4.1 and I had updated it via iTunes to 4.1.1</p>
<p><strong>UPDATE: 06.04.2011</strong></p>
<p>If you have version 4.1  update your Apple TV with this  firmware <a rel="nofollow" href="http://appldnld.apple.com/AppleTV/061-8940.20100926.Tvtnz/AppleTV2,1_4.1_8M89_Restore.ipsw">http://appldnld.apple.com/AppleTV/061-8940.20100926.Tvtnz/AppleTV2,1_4.1_8M89_Restore.ipsw</a><br />
as doing it via iTunes now will update to 4.2.1.</p>
<p>If you already  have 4.2.1 do not upgrade or downgrade. Just follow instructions below.  I haven&#8217;t tested it but apparently it works.</p>
<p>Ok let’s do the magic:</p>
<p><span style="color:#800000;"><strong>Important! I do not take responsibility to any damage you do to your Apple TV 2. Remember, you are doing it at your own risk.<br />
*</strong>It is highly unlikely to brick it or break it. Never heard of anyone messing up Apple TV 2 yet. You can always restore the firmware to its original state through iTunes.</span></p>
<p>1. Unplug all cable from <strong>Apple TV 2<br />
</strong>2. Run the <strong>GreenPois0n</strong> program and follow instructions</p>
<p><img src="http://i1134.photobucket.com/albums/m614/Arturito_Net/aptv-03.jpg" border="0" alt="" /></p>
<p><img src="http://i1134.photobucket.com/albums/m614/Arturito_Net/aptv-04.jpg" border="0" alt="" /></p>
<p><img src="http://i1134.photobucket.com/albums/m614/Arturito_Net/aptv-05.jpg" border="0" alt="" /><br />
If <strong>Jailbreak!</strong> button is not active that means you failed to put Apple TV 2 in <strong> DFU mode</strong>. Try again.  When Apple TV 2 goes into DFU mode the LED light on the front panel flashes rapidly. Make sure that your timing is ok.  I managed to put it in DFU mode on 3rd attempt.</p>
<p><img src="http://i1134.photobucket.com/albums/m614/Arturito_Net/aptv-06.png" border="0" alt="" /></p>
<p>3. Once GreenPois0n is done. Disconnect it and hook it back to your TV.</p>
<p>*When I did mine for the first time it didn’t boot properly. I have noticed that before jailbreaking my version was 4.1. I connected Apple TV 2 back to my PC and did the Restore process through the iTunes. Restore process updated latest Apple TV 2 firmware to 4.1.1. I run Green Pois0n again and it did work.</p>
<p>* Although I haven&#8217;t experienced any problems and all worked well once I had 4.1.1 user Fluxx has recommended to wait 40 seconds after the jailbreak is done.</p>
<p>4. Now you should get this option:</p>
<p><img src="http://i1134.photobucket.com/albums/m614/Arturito_Net/aptv-07.jpg" border="0" alt="" /></p>
<p>5. Click on <strong>Inject Software</strong> and than Install . Your Apple TV 2 will automatically restart and you will get this new menu item called <strong>NitoTV</strong>. Select <strong>NitoTV</strong> and in the submenu select <strong>Install Software</strong>.  Find <strong>XBMC-ATV2</strong> and hit install it.</p>
<p><img src="http://i1134.photobucket.com/albums/m614/Arturito_Net/aptv-08.jpg" border="0" alt="" /></p>
<p>6. It will automatically download and install XBMC. After install Apple TV 2 will automatically reboot.</p>
<p>* If you don&#8217;t see XBMC in menu option after the installation.<br />
Reboot Apple TV 2 and install again.<br />
It happend to me while jailbreaking aptv2  of one of my friends. If you still get the problems such as:</p>
<p><strong>E: dkg was interrupted, you must manually run ‘dpkg –configure –a’ to correct the problem</strong></p>
<p>Check this post: <a href="http://arturito.net/2011/02/25/apple-tv-2-xbmc-installation-dkg-was-interrupted-you-must-manually-run-dpkg-%E2%80%93configure-%E2%80%93a-to-correct-the-problem/">http://arturito.net/2011/02/25/apple-tv-2-xbmc-installation-dkg-was-interrupted-you-must-manually-run-dpkg-%E2%80%93configure-%E2%80%93a-to-correct-the-problem/</a></p>
<p><img src="http://i1134.photobucket.com/albums/m614/Arturito_Net/aptv-09.jpg" border="0" alt="" /></p>
<p><img src="http://i1134.photobucket.com/albums/m614/Arturito_Net/aptv-10.jpg" border="0" alt="" /><br />
Skins I have tried that work well on Apple TV 2:</p>
<p>Alaska Revisited</p>
<p><object width="700" height="419"><param name="movie" value="http://www.youtube.com/v/zgtszrN_tjU?version=3"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/zgtszrN_tjU?version=3" type="application/x-shockwave-flash" width="700" height="419" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>Night</p>
<p><object width="700" height="419"><param name="movie" value="http://www.youtube.com/v/qP7oQova9cA?version=3"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/qP7oQova9cA?version=3" type="application/x-shockwave-flash" width="700" height="419" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>I will be trying to install these too:</p>
<p>Rapier &#8211; I used to use in XBMC on my xbox &#8211; very responsive</p>
<p><object width="700" height="550"><param name="movie" value="http://www.youtube.com/v/epg0Lm68dFc?version=3"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/epg0Lm68dFc?version=3" type="application/x-shockwave-flash" width="700" height="550" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>Aeon &#8211; my favorite</p>
<p><object width="700" height="419"><param name="movie" value="http://www.youtube.com/v/HuDs0HV0Pls?version=3"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/HuDs0HV0Pls?version=3" type="application/x-shockwave-flash" width="700" height="419" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>* You can also log in via SSH to your Apple TV2 <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
1. Find out what IP is assigned to the box:  <strong>Settings &gt;Network</strong></p>
<p><img class="alignnone" title="Apple TV 2" src="http://i1134.photobucket.com/albums/m614/Arturito_Net/aptv-12.jpg" alt="" width="409" height="310" /></p>
<p>2. Use program such as <strong>Putty</strong> <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html">http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html</a> to login</p>
<p><img class="alignnone" title="Apple TV 2 Putty" src="http://i1134.photobucket.com/albums/m614/Arturito_Net/aptv-13.jpg" alt="" width="481" height="184" /></p>
<p>Username: <strong>root</strong><br />
Password: <strong>alpine</strong></p>
<p>*Also since the TV I hooked up Apple TV 2 to doesn’t have HDMI input I used a converter from HD Fury (version 1) to convert HDMI to VGA. It works perefectly without any additional power supply.</p>
<p><img src="http://i1134.photobucket.com/albums/m614/Arturito_Net/aptv-11.jpg" border="0" alt="" /></p>
<p><strong><br />
UPDATE: 21.03.2010</strong></p>
<p>Solutions to some common problems:</p>
<p>1. Changing time zone / setting up date and time:</p>
<p><a href="http://arturito.net/2011/03/21/how-to-change-configure-time-zone-on-apple-tv-2g-xbmc-time/">http://arturito.net/2011/03/21/how-to-change-configure-time-zone-on-apple-tv-2g-xbmc-time/</a></p>
<p>2.  XBMC exiting/crashing is due to the Apple TV 2 updates<br />
This fixes it and gets a rid off the annoying update prompt.</p>
<p><a href="http://arturito.net/2011/03/21/how-to-fix-xbmc-that-quits-exits-on-apple-tv-2g/"></a><a href="http://arturito.net/2011/03/21/how-to-fix-xbmc-that-quits-exits-on-apple-tv-2g-disable-update/">http://arturito.net/2011/03/21/how-to-fix-xbmc-that-quits-exits-on-apple-tv-2g-disable-update/</a></p>
<p>Good Luck!!!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dartharturito.wordpress.com/520/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dartharturito.wordpress.com/520/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dartharturito.wordpress.com/520/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dartharturito.wordpress.com/520/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dartharturito.wordpress.com/520/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dartharturito.wordpress.com/520/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dartharturito.wordpress.com/520/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dartharturito.wordpress.com/520/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dartharturito.wordpress.com/520/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dartharturito.wordpress.com/520/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dartharturito.wordpress.com/520/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dartharturito.wordpress.com/520/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dartharturito.wordpress.com/520/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dartharturito.wordpress.com/520/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dartharturito.wordpress.com&amp;blog=995682&amp;post=520&amp;subd=dartharturito&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dartharturito.wordpress.com/2011/02/14/apple-tv-2-untethered-jailbreak-on-windows-and-xbmc-media-centre-installation/feed/</wfw:commentRss>
		<slash:comments>81</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c39dac7b55838dad24e32285a0a9d674?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">arturito</media:title>
		</media:content>

		<media:content url="http://i1134.photobucket.com/albums/m614/Arturito_Net/aptv-01.jpg" medium="image" />

		<media:content url="http://i1134.photobucket.com/albums/m614/Arturito_Net/aptv-03.jpg" medium="image" />

		<media:content url="http://i1134.photobucket.com/albums/m614/Arturito_Net/aptv-04.jpg" medium="image" />

		<media:content url="http://i1134.photobucket.com/albums/m614/Arturito_Net/aptv-05.jpg" medium="image" />

		<media:content url="http://i1134.photobucket.com/albums/m614/Arturito_Net/aptv-06.png" medium="image" />

		<media:content url="http://i1134.photobucket.com/albums/m614/Arturito_Net/aptv-07.jpg" medium="image" />

		<media:content url="http://i1134.photobucket.com/albums/m614/Arturito_Net/aptv-08.jpg" medium="image" />

		<media:content url="http://i1134.photobucket.com/albums/m614/Arturito_Net/aptv-09.jpg" medium="image" />

		<media:content url="http://i1134.photobucket.com/albums/m614/Arturito_Net/aptv-10.jpg" medium="image" />

		<media:content url="http://i1134.photobucket.com/albums/m614/Arturito_Net/aptv-12.jpg" medium="image">
			<media:title type="html">Apple TV 2</media:title>
		</media:content>

		<media:content url="http://i1134.photobucket.com/albums/m614/Arturito_Net/aptv-13.jpg" medium="image">
			<media:title type="html">Apple TV 2 Putty</media:title>
		</media:content>

		<media:content url="http://i1134.photobucket.com/albums/m614/Arturito_Net/aptv-11.jpg" medium="image" />
	</item>
		<item>
		<title>ASP.NET MVC2 jQuery Form Post with JSON Tutorial</title>
		<link>http://dartharturito.wordpress.com/2011/01/25/asp-net-mvc2-jquery-form-post-with-json-tutorial/</link>
		<comments>http://dartharturito.wordpress.com/2011/01/25/asp-net-mvc2-jquery-form-post-with-json-tutorial/#comments</comments>
		<pubDate>Tue, 25 Jan 2011 21:11:00 +0000</pubDate>
		<dc:creator>arturito</dc:creator>
				<category><![CDATA[ASP.NET MVC2]]></category>
		<category><![CDATA[C sharp]]></category>

		<guid isPermaLink="false">http://dartharturito.wordpress.com/?p=504</guid>
		<description><![CDATA[In one of the previous post I covered how to post form with ASP.NET MVC2 using jQuery. Today I will explain how to return data in JSON format. Why return data in JSON format. Well there are several reasons for it: 1. You can easily update several parts of the page without reloading entire page Imagine [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dartharturito.wordpress.com&amp;blog=995682&amp;post=504&amp;subd=dartharturito&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In one of the previous post I covered how to <a href="http://arturito.net/2010/12/02/asp-net-mvc2-jquery-form-post-tutorial/" target="_blank">post form with ASP.NET MVC2 using jQuery</a>.</p>
<p>Today I will explain how to return data in JSON format. Why return data in JSON format. Well there are several reasons for it:</p>
<p>1. You can easily update several parts of the page without reloading entire page</p>
<p>Imagine that you have ajax login and after successful login the name of the user is updated in the header of the page and content of the saved cart in the right column.</p>
<p>2. It reduces the amount of data sent from the server to the browser.</p>
<p>In a lot of cases developers send data wrapped in html such as:</p>
<hr />
<p><span style="color:#0000ff;"><span style="color:#0000ff;">return</span></span> Content(<span style="color:#a31515;"><span style="color:#a31515;">&#8220;&lt;p class=\&#8221;mark-it-green\&#8221;&gt;You submitted: &#8220;</span></span> + data.FirstName + <span style="color:#a31515;"><span style="color:#a31515;">&#8221; &#8220;</span></span> + data.LastName +<span style="color:#a31515;"><span style="color:#a31515;">&#8220;&lt;p&gt;&#8221;</span></span>);</p>
<p><span style="color:#0000ff;"> </span></p>
<hr />
<p>or they send PartialView. But the idea of JSON is to send data only without html tags, which also reduces the traffic.</p>
<p>3. It separates application logic from design</p>
<p>Sending only data using JSON means data doesn’t have to be wrapped in html tags in your controller, you only send pure data. This way one developer can concentrate on developing logic and doesn’t have to think how it will be displayed, leaving web designer to handle presentation part.</p>
<p>Let’s start modifying previous project:</p>
<p>1. Open MVC2JQuery project that can be downloaded here <a href="http://www.mediafire.com/?aruy99z1y54prn4" target="_blank">MVC2JQuery at MediaFire</a></p>
<p>2. Open <strong>RegisterViewModel </strong>and modified it as below:</p>
<hr />
<p><span style="color:#0000ff;">public</span> <span style="color:#0000ff;"><span style="color:#0000ff;">class</span></span> <span style="color:#2b91af;">RegisterViewModel<br />
</span>{<br />
<span style="color:#0000ff;">public</span> <span style="color:#0000ff;"><span style="color:#0000ff;">string</span></span> FirstName { <span style="color:#0000ff;"><span style="color:#0000ff;">get</span></span>; <span style="color:#0000ff;"><span style="color:#0000ff;">set</span></span>; }<br />
<span style="color:#0000ff;"> public</span> <span style="color:#0000ff;"><span style="color:#0000ff;">string</span></span> LastName { <span style="color:#0000ff;"><span style="color:#0000ff;">get</span></span>; <span style="color:#0000ff;"><span style="color:#0000ff;">set</span></span>; }<br />
<span style="color:#0000ff;"><span style="color:#0000ff;">public</span></span> <span style="color:#0000ff;"><span style="color:#0000ff;">int</span></span> NumberOfPosts { <span style="color:#0000ff;">get</span>; <span style="color:#0000ff;"><span style="color:#0000ff;">set</span></span>; }<br />
<span style="color:#0000ff;">public</span> <span style="color:#0000ff;"><span style="color:#0000ff;">string</span></span> LastPost { <span style="color:#0000ff;"><span style="color:#0000ff;">get</span></span>; <span style="color:#0000ff;"><span style="color:#0000ff;">set</span></span>; }<br />
}</p>
<hr />
<p>3. Open <strong>HomeController</strong> and make changes as shown below:</p>
<hr />
<p>[<span style="color:#2b91af;">HttpPost</span>]<br />
<span style="color:#0000ff;"><span style="color:#0000ff;">public</span></span> <span style="color:#2b91af;"><span style="color:#2b91af;">ActionResult</span></span> Index(<span style="color:#2b91af;"><span style="color:#2b91af;">RegisterViewModel</span></span> data)<br />
{</p>
<p><span style="color:#008000;"><span style="color:#008000;">// here you can save data to database</span></span></p>
<p><span style="color:#008000;"><span style="color:#008000;"> </span></span></p>
<p><span style="color:#008000;"><span style="color:#008000;"> </span></span></p>
<p><span style="color:#008000;"><span style="color:#008000;">// and return some feedback to the user</span></span></p>
<p><span style="color:#008000;"><span style="color:#008000;"> </span></span></p>
<p><span style="color:#008000;"><span style="color:#008000;"> </span></span></p>
<p>data.NumberOfPosts = 5;</p>
<p>data.LastPost = <span style="color:#a31515;"><span style="color:#a31515;">&#8220;This is my last post&#8221;</span></span>;</p>
<p><span style="color:#0000ff;"><span style="color:#0000ff;">if</span></span>(Request.IsAjaxRequest())</p>
<p><span style="color:#0000ff;"><span style="color:#0000ff;"> return</span></span> Json(data);  <span style="color:#008000;"><span style="color:#008000;">// here data object is being converted to JSON format</span></span></p>
<p><span style="color:#008000;"><span style="color:#008000;"> </span></span></p>
<p><span style="color:#008000;"><span style="color:#008000;"> </span></span></p>
<p><span style="color:#0000ff;"><span style="color:#0000ff;">else</span></span></p>
<p><span style="color:#0000ff;"><span style="color:#0000ff;"> </span></span></p>
<p><span style="color:#0000ff;"><span style="color:#0000ff;"> </span></span></p>
<p><span style="color:#0000ff;"> return</span> Content(<span style="color:#a31515;"><span style="color:#a31515;">&#8220;Please enable JavaScript&#8221;</span></span>);</p>
<p>}</p>
<hr />
<p>4. Also modify Views/<strong>Index</strong> accordingly</p>
<p>In the &lt;head&gt; part:</p>
<hr />
<p><span style="color:#0000ff;"><span style="color:#0000ff;">&lt;</span></span><span style="color:#a31515;"><span style="color:#a31515;">script</span></span> <span style="color:#ff0000;"><span style="color:#ff0000;">type</span></span><span style="color:#0000ff;"><span style="color:#0000ff;">=&#8221;text/javascript&#8221;</span></span> <span style="color:#ff0000;"><span style="color:#ff0000;">src</span></span><span style="color:#0000ff;"><span style="color:#0000ff;">=&#8221;</span></span>&lt;%=Url.Content(&#8220;~/Scripts/jquery-1.4.4.min.js&#8221;)%&gt;<span style="color:#0000ff;"><span style="color:#0000ff;">&#8220;&gt;&lt;/</span></span><span style="color:#a31515;"><span style="color:#a31515;">script</span></span><span style="color:#0000ff;"><span style="color:#0000ff;">&gt;<br />
</span></span><span style="color:#0000ff;"><span style="color:#0000ff;">&lt;</span></span><span style="color:#a31515;"><span style="color:#a31515;">script</span></span> <span style="color:#ff0000;"><span style="color:#ff0000;">type</span></span><span style="color:#0000ff;"><span style="color:#0000ff;">=&#8221;text/javascript&#8221;</span></span> <span style="color:#ff0000;">src</span><span style="color:#0000ff;"><span style="color:#0000ff;">=&#8221;</span></span>&lt;%=Url.Content(&#8220;~/Scripts/jquery.form.js&#8221;)%&gt;<span style="color:#0000ff;"><span style="color:#0000ff;">&#8220;&gt;&lt;/</span></span><span style="color:#a31515;"><span style="color:#a31515;">script</span></span><span style="color:#0000ff;"><span style="color:#0000ff;">&gt;</span></span><br />
<span style="color:#0000ff;"><span style="color:#0000ff;">&lt;</span></span><span style="color:#a31515;"><span style="color:#a31515;">script</span></span> <span style="color:#ff0000;"><span style="color:#ff0000;">type</span></span><span style="color:#0000ff;"><span style="color:#0000ff;">=&#8221;text/javascript&#8221;&gt;</span></span></p>
<p>$(document).ready(<span style="color:#0000ff;"><span style="color:#0000ff;">function</span></span>() {<br />
<span style="color:#0000ff;"><span style="color:#0000ff;"> var</span></span> options = {<br />
beforeSubmit: showRequest, // call this function before sending data to the server<br />
success: showResponse, // call this function once we have a response form the server<br />
type: <span style="color:#a31515;"><span style="color:#a31515;">&#8216;post&#8217;</span></span>,<br />
dataType: <span style="color:#a31515;"><span style="color:#a31515;">&#8216;json&#8217;</span></span>, <span style="color:#008000;"><span style="color:#008000;">// important! expecting data type is JSON<br />
</span></span> resetForm: <span style="color:#0000ff;"><span style="color:#0000ff;">true<br />
</span></span>};</p>
<p>$(<span style="color:#a31515;"><span style="color:#a31515;">&#8216;#form-user&#8217;</span></span>).ajaxForm(options);<br />
});</p>
<p><span style="color:#0000ff;"><span style="color:#0000ff;">function</span></span> showRequest(formData, jqForm, options) {<br />
$(<span style="color:#a31515;"><span style="color:#a31515;">&#8220;#result-user&#8221;</span></span>).empty().html(<span style="color:#a31515;"><span style="color:#a31515;">&#8216;Loading&#8230;.&#8217;</span></span>); <span style="color:#008000;"><span style="color:#008000;">// display loading<br />
</span></span>$(<span style="color:#a31515;"><span style="color:#a31515;">&#8220;#form-user :input&#8221;</span></span>).attr(<span style="color:#a31515;"><span style="color:#a31515;">&#8220;disabled&#8221;</span></span>, <span style="color:#0000ff;"><span style="color:#0000ff;">true</span></span>); <span style="color:#008000;"><span style="color:#008000;">// disable inputs<br />
</span></span>}</p>
<p><span style="color:#0000ff;"><span style="color:#0000ff;">function</span></span> showResponse(data, statusText, xhr, $form) {<br />
$(<span style="color:#a31515;"><span style="color:#a31515;">&#8220;#result-user&#8221;</span></span>).empty();<br />
$(<span style="color:#a31515;"><span style="color:#a31515;">&#8220;#form-user :input&#8221;</span></span>).attr(<span style="color:#a31515;"><span style="color:#a31515;">&#8220;disabled&#8221;</span></span>, <span style="color:#0000ff;"><span style="color:#0000ff;">false</span></span>);<br />
<span style="color:#008000;"> // here &#8216;data&#8217; is an object. See below how it is used:<br />
</span>$(<span style="color:#a31515;"><span style="color:#a31515;">&#8220;#welcome&#8221;</span></span>).html(<span style="color:#a31515;"><span style="color:#a31515;">&#8220;Hello, &#8220;</span></span> + data.FirstName + <span style="color:#a31515;"><span style="color:#a31515;">&#8221; &#8220;</span></span> + data.LastName);<br />
$(<span style="color:#a31515;"><span style="color:#a31515;">&#8220;#number&#8221;</span></span>).html(<span style="color:#a31515;"><span style="color:#a31515;">&#8220;Number of posts: &#8220;</span></span> + data.NumberOfPosts);<br />
$(<span style="color:#a31515;"><span style="color:#a31515;">&#8220;#lastpost&#8221;</span></span>).html(data.LastPost);<br />
}<br />
<span style="color:#0000ff;"><span style="color:#0000ff;">&lt;/</span></span><span style="color:#a31515;"><span style="color:#a31515;">script</span></span><span style="color:#0000ff;"><span style="color:#0000ff;">&gt;</span></span></p>
<p><span style="color:#0000ff;"><span style="color:#0000ff;"> </span></span></p>
<p><span style="color:#0000ff;"><span style="color:#0000ff;"> </span></span></p>
<hr />
<p>In the &lt;body&gt; part:</p>
<hr />
<p><span style="color:#0000ff;"><span style="color:#0000ff;"> </span></span></p>
<p><span style="color:#0000ff;"><span style="color:#0000ff;">&lt;</span></span><span style="color:#a31515;"><span style="color:#a31515;">body</span></span><span style="color:#0000ff;">&gt;<br />
</span><span style="color:#0000ff;">&lt;%</span> <span style="color:#0000ff;"><span style="color:#0000ff;">using</span></span> (Html.BeginForm(<span style="color:#a31515;"><span style="color:#a31515;">&#8220;Index&#8221;</span></span>,<span style="color:#a31515;"><span style="color:#a31515;">&#8220;Home&#8221;</span></span>,<span style="color:#2b91af;"><span style="color:#2b91af;">FormMethod</span></span>.Post, <span style="color:#0000ff;"><span style="color:#0000ff;">new</span></span> { id=<span style="color:#a31515;"><span style="color:#a31515;">&#8220;form-user&#8221;</span></span>, name=<span style="color:#a31515;"><span style="color:#a31515;">&#8220;form-user&#8221;</span></span>})) {%&gt;</p>
<p>&lt;<span style="color:#a31515;"><span style="color:#a31515;">div</span></span> <span style="color:#ff0000;"><span style="color:#ff0000;">style</span></span><span style="color:#0000ff;"><span style="color:#0000ff;">=&#8221;</span></span><span style="color:#ff0000;"><span style="color:#ff0000;">float</span></span>:<span style="color:#0000ff;"><span style="color:#0000ff;">left&#8221;</span></span> <span style="color:#ff0000;"><span style="color:#ff0000;">id</span></span><span style="color:#0000ff;"><span style="color:#0000ff;">=&#8221;welcome&#8221;&gt;&lt;/</span></span><span style="color:#a31515;"><span style="color:#a31515;">div</span></span><span style="color:#0000ff;"><span style="color:#0000ff;">&gt;<br />
</span></span><span style="color:#0000ff;"><span style="color:#0000ff;">&lt;</span></span><span style="color:#a31515;"><span style="color:#a31515;">div</span></span> <span style="color:#ff0000;"><span style="color:#ff0000;">style</span></span><span style="color:#0000ff;"><span style="color:#0000ff;">=&#8221;</span></span><span style="color:#ff0000;"><span style="color:#ff0000;">float</span></span>:<span style="color:#0000ff;"><span style="color:#0000ff;">right&#8221;</span></span> <span style="color:#ff0000;"><span style="color:#ff0000;">id</span></span><span style="color:#0000ff;"><span style="color:#0000ff;">=&#8221;number&#8221;&gt;&lt;/</span></span><span style="color:#a31515;"><span style="color:#a31515;">div</span></span><span style="color:#0000ff;"><span style="color:#0000ff;">&gt;<br />
</span></span><span style="color:#0000ff;"><span style="color:#0000ff;">&lt;</span></span><span style="color:#a31515;"><span style="color:#a31515;">div</span></span> <span style="color:#ff0000;"><span style="color:#ff0000;">style</span></span><span style="color:#0000ff;"><span style="color:#0000ff;">=&#8221;</span></span><span style="color:#ff0000;"><span style="color:#ff0000;">clear</span></span>:<span style="color:#0000ff;"><span style="color:#0000ff;">both</span></span>;<span style="color:#0000ff;"><span style="color:#0000ff;">&#8220;&gt;&lt;/</span></span><span style="color:#a31515;"><span style="color:#a31515;">div</span></span><span style="color:#0000ff;"><span style="color:#0000ff;">&gt;<br />
</span></span><span style="color:#0000ff;"><span style="color:#0000ff;">&lt;</span></span><span style="color:#a31515;"><span style="color:#a31515;">fieldset</span></span><span style="color:#0000ff;"><span style="color:#0000ff;">&gt;<br />
</span></span><span style="color:#0000ff;"><span style="color:#0000ff;">&lt;</span></span><span style="color:#a31515;"><span style="color:#a31515;">legend</span></span><span style="color:#0000ff;"><span style="color:#0000ff;">&gt;</span></span>Fields<span style="color:#0000ff;"><span style="color:#0000ff;">&lt;/</span></span><span style="color:#a31515;"><span style="color:#a31515;">legend</span></span><span style="color:#0000ff;"><span style="color:#0000ff;">&gt;<br />
</span></span><span style="color:#0000ff;"><span style="color:#0000ff;"><br />
&lt;</span></span><span style="color:#a31515;"><span style="color:#a31515;">div</span></span> <span style="color:#ff0000;"><span style="color:#ff0000;">class</span></span><span style="color:#0000ff;">=&#8221;editor-label&#8221;&gt;<br />
&lt;%=</span> Html.LabelFor(model =&gt; model.FirstName) %&gt;<br />
&lt;/<span style="color:#a31515;"><span style="color:#a31515;">div</span></span><span style="color:#0000ff;"><span style="color:#0000ff;">&gt;<br />
</span></span><span style="color:#0000ff;"><span style="color:#0000ff;"><br />
&lt;</span></span><span style="color:#a31515;"><span style="color:#a31515;">div</span></span> <span style="color:#ff0000;"><span style="color:#ff0000;">class</span></span><span style="color:#0000ff;">=&#8221;editor-field&#8221;&gt;<br />
&lt;%=</span> Html.TextBoxFor(model =&gt; model.FirstName) %&gt;<br />
&lt;%<span style="color:#0000ff;"><span style="color:#0000ff;">=</span></span> Html.ValidationMessageFor(model =&gt; model.FirstName) %&gt;<br />
&lt;/<span style="color:#a31515;"><span style="color:#a31515;">div</span></span><span style="color:#0000ff;"><span style="color:#0000ff;">&gt;<br />
</span></span><span style="color:#0000ff;"><span style="color:#0000ff;"><br />
&lt;</span></span><span style="color:#a31515;"><span style="color:#a31515;">div</span></span> <span style="color:#ff0000;"><span style="color:#ff0000;">class</span></span><span style="color:#0000ff;">=&#8221;editor-label&#8221;&gt;<br />
&lt;%=</span> Html.LabelFor(model =&gt; model.LastName) %&gt;<br />
&lt;/<span style="color:#a31515;"><span style="color:#a31515;">div</span></span><span style="color:#0000ff;"><span style="color:#0000ff;">&gt;</span></span></p>
<p><span style="color:#0000ff;"><span style="color:#0000ff;"> </span></span></p>
<p><span style="color:#0000ff;"><span style="color:#0000ff;"> </span></span></p>
<p><span style="color:#0000ff;"><span style="color:#0000ff;">&lt;</span></span><span style="color:#a31515;"><span style="color:#a31515;">div</span></span> <span style="color:#ff0000;"><span style="color:#ff0000;">class</span></span><span style="color:#0000ff;">=&#8221;editor-field&#8221;&gt;<br />
&lt;%=</span> Html.TextBoxFor(model =&gt; model.LastName) %&gt;<br />
&lt;%<span style="color:#0000ff;"><span style="color:#0000ff;">=</span></span> Html.ValidationMessageFor(model =&gt; model.LastName) %&gt;<br />
&lt;/<span style="color:#a31515;"><span style="color:#a31515;">div</span></span><span style="color:#0000ff;"><span style="color:#0000ff;">&gt;</span></span></p>
<p><span style="color:#0000ff;"><span style="color:#0000ff;"> </span></span></p>
<p><span style="color:#0000ff;"><span style="color:#0000ff;"> </span></span></p>
<p><span style="color:#0000ff;"><span style="color:#0000ff;">&lt;</span></span><span style="color:#a31515;"><span style="color:#a31515;">p</span></span><span style="color:#0000ff;"><span style="color:#0000ff;">&gt;<br />
</span></span><span style="color:#0000ff;"><span style="color:#0000ff;"> &lt;</span></span><span style="color:#a31515;"><span style="color:#a31515;">input</span></span> <span style="color:#ff0000;"><span style="color:#ff0000;">type</span></span><span style="color:#0000ff;"><span style="color:#0000ff;">=&#8221;submit&#8221;</span></span> <span style="color:#ff0000;"><span style="color:#ff0000;">value</span></span><span style="color:#0000ff;"><span style="color:#0000ff;">=&#8221;Save&#8221;</span></span> <span style="color:#0000ff;"><span style="color:#0000ff;">/&gt;<br />
</span></span><span style="color:#0000ff;"><span style="color:#0000ff;">&lt;/</span></span><span style="color:#a31515;"><span style="color:#a31515;">p</span></span><span style="color:#0000ff;"><span style="color:#0000ff;">&gt;</span></span></p>
<p><span style="color:#0000ff;"><span style="color:#0000ff;"> </span></span></p>
<p><span style="color:#0000ff;"><span style="color:#0000ff;"> </span></span></p>
<p><span style="color:#0000ff;">&lt;/</span><span style="color:#a31515;"><span style="color:#a31515;">fieldset</span></span><span style="color:#0000ff;"><span style="color:#0000ff;">&gt;</span></span></p>
<p><span style="color:#0000ff;"><span style="color:#0000ff;"> </span></span></p>
<p><span style="color:#0000ff;"><span style="color:#0000ff;"> </span></span></p>
<p>&lt;% } %&gt;</p>
<p>&lt;<span style="color:#a31515;"><span style="color:#a31515;">div</span></span> <span style="color:#ff0000;"><span style="color:#ff0000;">id</span></span><span style="color:#0000ff;"><span style="color:#0000ff;">=&#8221;result-user&#8221;&gt;&lt;/</span></span><span style="color:#a31515;"><span style="color:#a31515;">div</span></span><span style="color:#0000ff;"><span style="color:#0000ff;">&gt;<br />
</span></span><span style="color:#0000ff;"><span style="color:#0000ff;">&lt;</span></span><span style="color:#a31515;"><span style="color:#a31515;">div</span></span> <span style="color:#ff0000;"><span style="color:#ff0000;">style</span></span><span style="color:#0000ff;"><span style="color:#0000ff;">=&#8221;</span></span><span style="color:#ff0000;"><span style="color:#ff0000;">border</span></span>:<span style="color:#0000ff;"><span style="color:#0000ff;">solid</span></span> <span style="color:#0000ff;"><span style="color:#0000ff;">1px</span></span> <span style="color:#0000ff;"><span style="color:#0000ff;">#ccc</span></span>;<span style="color:#ff0000;"><span style="color:#ff0000;">margin</span></span>:<span style="color:#0000ff;"><span style="color:#0000ff;">10px</span></span>;<span style="color:#0000ff;"><span style="color:#0000ff;">&#8220;</span></span> <span style="color:#ff0000;"><span style="color:#ff0000;">id</span></span><span style="color:#0000ff;"><span style="color:#0000ff;">=&#8221;lastpost&#8221;</span></span> <span style="color:#0000ff;"><span style="color:#0000ff;">&gt;&lt;/</span></span><span style="color:#a31515;"><span style="color:#a31515;">div</span></span><span style="color:#0000ff;"><span style="color:#0000ff;">&gt;<br />
&lt;/</span></span><span style="color:#a31515;"><span style="color:#a31515;">body</span></span><span style="color:#0000ff;">&gt;</span></p>
<hr />
<p>5. And we are done! Hit F5 and see result:</p>
<p><img src="http://i1134.photobucket.com/albums/m614/Arturito_Net/mvc2_json_01.gif" border="0" alt="ASP.NET MVC2 JQuery JSON Form Post" /></p>
<p><img src="http://i1134.photobucket.com/albums/m614/Arturito_Net/mvc2_json_02.gif" border="0" alt="" /></p>
<p><strong>Here you can download complete source code:</strong> <a href="http://www.mediafire.com/?ul8wl6o2fe47qk4" target="_blank">http://www.mediafire.com/?ul8wl6o2fe47qk4</a></p>
<p>Good Luck!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dartharturito.wordpress.com/504/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dartharturito.wordpress.com/504/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dartharturito.wordpress.com/504/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dartharturito.wordpress.com/504/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dartharturito.wordpress.com/504/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dartharturito.wordpress.com/504/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dartharturito.wordpress.com/504/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dartharturito.wordpress.com/504/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dartharturito.wordpress.com/504/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dartharturito.wordpress.com/504/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dartharturito.wordpress.com/504/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dartharturito.wordpress.com/504/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dartharturito.wordpress.com/504/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dartharturito.wordpress.com/504/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dartharturito.wordpress.com&amp;blog=995682&amp;post=504&amp;subd=dartharturito&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dartharturito.wordpress.com/2011/01/25/asp-net-mvc2-jquery-form-post-with-json-tutorial/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c39dac7b55838dad24e32285a0a9d674?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">arturito</media:title>
		</media:content>

		<media:content url="http://i1134.photobucket.com/albums/m614/Arturito_Net/mvc2_json_01.gif" medium="image">
			<media:title type="html">ASP.NET MVC2 JQuery JSON Form Post</media:title>
		</media:content>

		<media:content url="http://i1134.photobucket.com/albums/m614/Arturito_Net/mvc2_json_02.gif" medium="image" />
	</item>
		<item>
		<title>Funny SQL jokes</title>
		<link>http://dartharturito.wordpress.com/2011/01/25/funny-sql-jokes/</link>
		<comments>http://dartharturito.wordpress.com/2011/01/25/funny-sql-jokes/#comments</comments>
		<pubDate>Tue, 25 Jan 2011 20:55:56 +0000</pubDate>
		<dc:creator>arturito</dc:creator>
				<category><![CDATA[Humor]]></category>

		<guid isPermaLink="false">http://dartharturito.wordpress.com/?p=496</guid>
		<description><![CDATA[Just a bunch of sql jokes that I found on the net and I thought they are funny.   Then the wife writes the below query: A SQL query goes into a bar, walks up to a table and asks 'May I join you?<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dartharturito.wordpress.com&amp;blog=995682&amp;post=496&amp;subd=dartharturito&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<pre>Just a bunch of sql jokes that I found on the net and I thought they are funny.
 
<pre class="brush: sql;">
CREATE PROCEDURE MyMarriage
BrideGroom Male (25) ,
Bride Female(20) AS
BEGIN
SELECT Bride FROM india_ Brides WHERE FatherInLaw = 'Millionaire' AND Count(Car) &gt; 20
AND HouseStatus ='ThreeStoreyed'
AND BrideEduStatus IN (B.TECH ,BE ,Degree ,MCA ,MiBA)
AND Having Brothers= Null AND Sisters =Null

SELECT Gold ,Cash,Car,BankBalanceFROM FatherInLaw
UPDATE MyBankAccout SETMyBal = MyBal + FatherInLawBal
UPDATE MyLockerSET MyLockerContents = MyLockerContents + FatherInLawGold
INSERT INTO MyCarShed VALUES('BMW')
END
GO
</pre>

Then the wife writes the below query:
 <pre class="brush: sql;">
DROP HUSBAND;
Commit;
</pre>

A SQL query goes into a bar, walks up to a table and asks 'May I join you?
 <pre class="brush: sql;">
SELECT * FROM politicians WHERE clue &gt; 0;
SELECT finger FROM hand WHERE id=3;
SELECT * FROM girls WHERE freesex = True;
</pre>
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dartharturito.wordpress.com/496/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dartharturito.wordpress.com/496/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dartharturito.wordpress.com/496/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dartharturito.wordpress.com/496/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dartharturito.wordpress.com/496/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dartharturito.wordpress.com/496/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dartharturito.wordpress.com/496/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dartharturito.wordpress.com/496/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dartharturito.wordpress.com/496/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dartharturito.wordpress.com/496/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dartharturito.wordpress.com/496/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dartharturito.wordpress.com/496/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dartharturito.wordpress.com/496/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dartharturito.wordpress.com/496/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dartharturito.wordpress.com&amp;blog=995682&amp;post=496&amp;subd=dartharturito&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dartharturito.wordpress.com/2011/01/25/funny-sql-jokes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c39dac7b55838dad24e32285a0a9d674?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">arturito</media:title>
		</media:content>
	</item>
		<item>
		<title>Publishing ASP.NET MVC2 Application on Windows Server 2008 IIS 7 with Visual Studio 2008 on platform .NET 3.5 SP1</title>
		<link>http://dartharturito.wordpress.com/2011/01/21/publishing-asp-net-mvc2-application-on-windows-server-2008-iis-7-with-visual-studio-2008-on-platform-net-3-5-sp1/</link>
		<comments>http://dartharturito.wordpress.com/2011/01/21/publishing-asp-net-mvc2-application-on-windows-server-2008-iis-7-with-visual-studio-2008-on-platform-net-3-5-sp1/#comments</comments>
		<pubDate>Fri, 21 Jan 2011 08:45:47 +0000</pubDate>
		<dc:creator>arturito</dc:creator>
				<category><![CDATA[ASP.NET MVC2]]></category>
		<category><![CDATA[C sharp]]></category>

		<guid isPermaLink="false">http://dartharturito.wordpress.com/?p=484</guid>
		<description><![CDATA[Prepare you server: 1. Go to Server Manager and select Add Roles, and install Web Server 2. Mark ASP.NET and install 3. Confirm the CLR of ASP.NET has been installed 4. Install .NET Framework 3.5 and .NET Framework 3.5 SP1 5. Let&#8217;s create a directory where we stick our MVC2 application. In my case it [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dartharturito.wordpress.com&amp;blog=995682&amp;post=484&amp;subd=dartharturito&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-size:medium;">Prepare you server:</span></p>
<p>1. Go to <strong>Server Manager</strong> and select<strong> Add Roles</strong>, and install <strong>Web Server</strong></p>
<p><img style="width:686px;height:439px;" src="http://i1134.photobucket.com/albums/m614/Arturito_Net/mvc2_publish_01.jpg" border="0" alt="" width="773" height="578" /></p>
<p><img style="width:683px;height:475px;" src="http://i1134.photobucket.com/albums/m614/Arturito_Net/mvc2_publish_02.jpg" border="0" alt="" width="676" height="564" /></p>
<p><img src="http://i1134.photobucket.com/albums/m614/Arturito_Net/mvc2_publish_03.jpg" border="0" alt="" /></p>
<p>2. Mark <strong>ASP.NET</strong> and install</p>
<p><img src="http://i1134.photobucket.com/albums/m614/Arturito_Net/mvc2_publish_04.jpg" border="0" alt="" /></p>
<p><img src="http://i1134.photobucket.com/albums/m614/Arturito_Net/mvc2_publish_05.jpg" border="0" alt="" /></p>
<p><img src="http://i1134.photobucket.com/albums/m614/Arturito_Net/mvc2_publish_06.jpg" border="0" alt="" /></p>
<p>3. Confirm the CLR of ASP.NET has been installed</p>
<p><img src="http://i1134.photobucket.com/albums/m614/Arturito_Net/mvc2_publish_10.jpg" border="0" alt="" /></p>
<p>4. Install <strong>.NET Framework 3.5</strong> and <em><strong>.NET Framework 3.5 SP1</strong></em></p>
<p><img src="http://i1134.photobucket.com/albums/m614/Arturito_Net/mvc2_publish_11.jpg" border="0" alt="" /></p>
<p>5. Let&#8217;s create a directory where we stick our MVC2 application. In my case it is <em>C:\www\windows.amk</em></p>
<p>6. Once you are done go to the Security properties of that directory and add read and write permissions for group <strong>IIS_IUSRS </strong></p>
<p><img src="http://i1134.photobucket.com/albums/m614/Arturito_Net/mvc2_publish_12.jpg" border="0" alt="" /></p>
<p>7. Go back to <strong>IIS Manager</strong> and <strong>Add Site</strong></p>
<p><img src="http://i1134.photobucket.com/albums/m614/Arturito_Net/mvc2_publish_13.jpg" border="0" alt="" /></p>
<p><img src="http://i1134.photobucket.com/albums/m614/Arturito_Net/mvc2_publish_14.jpg" border="0" alt="" /></p>
<p>8. In <strong>Application Pool </strong>double click pool of your site and make sure that <strong>Managed pipeline mode</strong> is <strong>Integrated</strong></p>
<p><img src="http://i1134.photobucket.com/albums/m614/Arturito_Net/mvc2_publish_15.jpg" border="0" alt="" /></p>
<p><img src="http://i1134.photobucket.com/albums/m614/Arturito_Net/mvc2_publish_16.jpg" border="0" alt="" /></p>
<p><strong>Now the server is prepared to run MVC2 web application!</strong></p>
<p><strong> </strong></p>
<p><strong> </strong></p>
<p><span style="font-size:medium;">Prepare your project to be published</span></p>
<p>1. Go to your project properties and mark <strong>Release</strong></p>
<p><img src="http://i1134.photobucket.com/albums/m614/Arturito_Net/mvc2_publish_vs_15.jpg" border="0" alt="" /></p>
<p>2. Go to <strong>References</strong> and and change Property <strong>Copy Local</strong> to true for</p>
<p><em>System.ComponentModel.DataAnnotations.dll<br />
System.Web.Mvc.dll</em></p>
<p><img src="http://i1134.photobucket.com/albums/m614/Arturito_Net/mvc2_publish_vs_14.jpg" border="0" alt="" /></p>
<p><img src="http://i1134.photobucket.com/albums/m614/Arturito_Net/mvc2_publish_vs_13.jpg" border="0" alt="" /></p>
<p>If you are running <strong>.NET Framework 3.5</strong> NOT <strong>.NET Framework 3.5 SP1 </strong>change properties for all these.</p>
<p><em>System.ComponentModel.DataAnnotations.dll<br />
System.Web.Abstractions.dll<br />
System.Web.Mvc.dll<br />
System.Web.Routing.dll</em></p>
<p>6. In <strong>Web.config</strong> change lines</p>
<p><pre class="brush: xml;">&lt;compilation debug=&quot;true&quot;&gt;</pre></p>
<p>to</p>
<p><pre class="brush: xml;">&lt;compilation debug=&quot;false&quot;&gt;</pre></p>
<p>And uncomment this bit:</p>
<p><pre class="brush: xml;">
        &lt;customerrors mode=&quot;RemoteOnly&quot; defaultredirect=&quot;GenericErrorPage.htm&quot;&gt;
            &lt;error statuscode=&quot;403&quot; redirect=&quot;NoAccess.htm&quot; /&gt;
            &lt;error statuscode=&quot;404&quot; redirect=&quot;FileNotFound.htm&quot; /&gt;
        &lt;/customerrors&gt;
</pre></p>
<p>&nbsp;</p>
<p>7. Generate and upload files to directory on the server in my case <em>c:\www\windows.amk </em></p>
<p>* What we need:<br />
- Configuration and settings files (e.g., Web.config and any *.settings files)<br />
- Uncompiled view templates (*.aspx, *.ascx, and *.Master)<br />
- Global.asax (this tells ASP.NET which compiled class represents your global HttpApplication)<br />
- Any static files (e.g., images, CSS files, and JavaScript files)<br />
- Optionally, the *.pdb files in your \bin folder, which enable extra debugging information (these are rarely deployed to production servers)</p>
<p>* We don&#8217;t need:</p>
<p>- C# code files (*.cs, including Global.asax.cs or any other &#8216;code behind&#8217; files)<br />
- Project and solution files (*.sln, *.suo, *.csproj, or *.csproj.user)<br />
- The \obj folder<br />
- Anything specific to your source control system (e.g., .svn folders if you use Subversion, or the .hg or .git folders if you use Mercurial or Git)</p>
<p><img src="http://i1134.photobucket.com/albums/m614/Arturito_Net/mvc2_publish_vs_16.jpg" border="0" alt="" /></p>
<p>Good Luck!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dartharturito.wordpress.com/484/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dartharturito.wordpress.com/484/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dartharturito.wordpress.com/484/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dartharturito.wordpress.com/484/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dartharturito.wordpress.com/484/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dartharturito.wordpress.com/484/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dartharturito.wordpress.com/484/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dartharturito.wordpress.com/484/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dartharturito.wordpress.com/484/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dartharturito.wordpress.com/484/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dartharturito.wordpress.com/484/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dartharturito.wordpress.com/484/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dartharturito.wordpress.com/484/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dartharturito.wordpress.com/484/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dartharturito.wordpress.com&amp;blog=995682&amp;post=484&amp;subd=dartharturito&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dartharturito.wordpress.com/2011/01/21/publishing-asp-net-mvc2-application-on-windows-server-2008-iis-7-with-visual-studio-2008-on-platform-net-3-5-sp1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c39dac7b55838dad24e32285a0a9d674?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">arturito</media:title>
		</media:content>

		<media:content url="http://i1134.photobucket.com/albums/m614/Arturito_Net/mvc2_publish_01.jpg" medium="image" />

		<media:content url="http://i1134.photobucket.com/albums/m614/Arturito_Net/mvc2_publish_02.jpg" medium="image" />

		<media:content url="http://i1134.photobucket.com/albums/m614/Arturito_Net/mvc2_publish_03.jpg" medium="image" />

		<media:content url="http://i1134.photobucket.com/albums/m614/Arturito_Net/mvc2_publish_04.jpg" medium="image" />

		<media:content url="http://i1134.photobucket.com/albums/m614/Arturito_Net/mvc2_publish_05.jpg" medium="image" />

		<media:content url="http://i1134.photobucket.com/albums/m614/Arturito_Net/mvc2_publish_06.jpg" medium="image" />

		<media:content url="http://i1134.photobucket.com/albums/m614/Arturito_Net/mvc2_publish_10.jpg" medium="image" />

		<media:content url="http://i1134.photobucket.com/albums/m614/Arturito_Net/mvc2_publish_11.jpg" medium="image" />

		<media:content url="http://i1134.photobucket.com/albums/m614/Arturito_Net/mvc2_publish_12.jpg" medium="image" />

		<media:content url="http://i1134.photobucket.com/albums/m614/Arturito_Net/mvc2_publish_13.jpg" medium="image" />

		<media:content url="http://i1134.photobucket.com/albums/m614/Arturito_Net/mvc2_publish_14.jpg" medium="image" />

		<media:content url="http://i1134.photobucket.com/albums/m614/Arturito_Net/mvc2_publish_15.jpg" medium="image" />

		<media:content url="http://i1134.photobucket.com/albums/m614/Arturito_Net/mvc2_publish_16.jpg" medium="image" />

		<media:content url="http://i1134.photobucket.com/albums/m614/Arturito_Net/mvc2_publish_vs_15.jpg" medium="image" />

		<media:content url="http://i1134.photobucket.com/albums/m614/Arturito_Net/mvc2_publish_vs_14.jpg" medium="image" />

		<media:content url="http://i1134.photobucket.com/albums/m614/Arturito_Net/mvc2_publish_vs_13.jpg" medium="image" />

		<media:content url="http://i1134.photobucket.com/albums/m614/Arturito_Net/mvc2_publish_vs_16.jpg" medium="image" />
	</item>
		<item>
		<title>ImageMagick PHP Image Resizing Imagick with Canvas</title>
		<link>http://dartharturito.wordpress.com/2011/01/08/imagemagick-php-image-resizing-imagick-with-canvas/</link>
		<comments>http://dartharturito.wordpress.com/2011/01/08/imagemagick-php-image-resizing-imagick-with-canvas/#comments</comments>
		<pubDate>Sat, 08 Jan 2011 20:33:50 +0000</pubDate>
		<dc:creator>arturito</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://arturito.net/?p=468</guid>
		<description><![CDATA[<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dartharturito.wordpress.com&amp;blog=995682&amp;post=468&amp;subd=dartharturito&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><pre class="brush: php;">
&lt;?php
    try{
        $width = 60;
        $height = 60;
        $image = 'ct.jpg';
        $im = new Imagick($image);
        $im-&gt;thumbnailImage($width, null );
	$canvas = new Imagick();
	$canvas-&gt;newImage($width, $height, 'white', 'jpg' );
	$geometry = $im-&gt;getImageGeometry();

	/* The overlay x and y coordinates */
	$x = ( $width - $geometry['width'] ) / 2;
	$y = ( $height - $geometry['height'] ) / 2;

	/* Composite on the canvas  */
	$canvas-&gt;compositeImage( $im, imagick::COMPOSITE_OVER, $x, $y );

        /* Save image  */
        $canvas-&gt;writeImage( 'ct_th.jpg');
        /* Output the image*/
	header( &quot;Content-Type: image/jpg&quot; );
	echo $canvas;
       }
      catch(Exception $e)
      {
        echo $e-&gt;getMessage();
      }
?&gt;
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dartharturito.wordpress.com/468/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dartharturito.wordpress.com/468/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dartharturito.wordpress.com/468/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dartharturito.wordpress.com/468/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dartharturito.wordpress.com/468/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dartharturito.wordpress.com/468/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dartharturito.wordpress.com/468/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dartharturito.wordpress.com/468/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dartharturito.wordpress.com/468/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dartharturito.wordpress.com/468/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dartharturito.wordpress.com/468/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dartharturito.wordpress.com/468/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dartharturito.wordpress.com/468/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dartharturito.wordpress.com/468/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dartharturito.wordpress.com&amp;blog=995682&amp;post=468&amp;subd=dartharturito&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dartharturito.wordpress.com/2011/01/08/imagemagick-php-image-resizing-imagick-with-canvas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c39dac7b55838dad24e32285a0a9d674?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">arturito</media:title>
		</media:content>
	</item>
		<item>
		<title>Remote Desktop Data Encryption Error When Connecting to Windows 2003</title>
		<link>http://dartharturito.wordpress.com/2010/12/20/remote-desktop-data-encryption-error-when-connecting-to-windows-2003/</link>
		<comments>http://dartharturito.wordpress.com/2010/12/20/remote-desktop-data-encryption-error-when-connecting-to-windows-2003/#comments</comments>
		<pubDate>Mon, 20 Dec 2010 20:11:42 +0000</pubDate>
		<dc:creator>arturito</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://arturito.net/?p=465</guid>
		<description><![CDATA[Today I have tried to connect to my Windows Server 2003 on the LAN and I got welcomed by a message decorated with Christmas colours (red dominating).  Data Encryption Error! Huh?? Googled here and there and found a solution: Start Registry Editor. Locate and then click the following registry subkey: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\TermService\Parameters Under this registry subkey, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dartharturito.wordpress.com&amp;blog=995682&amp;post=465&amp;subd=dartharturito&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today I have tried to connect to my Windows Server 2003 on the LAN and I got welcomed by a message decorated with Christmas colours (red dominating).  Data Encryption Error! Huh??</p>
<p>Googled here and there and found a solution:</p>
<ol>
<li>Start Registry Editor.</li>
<li>Locate and then click the following registry subkey:
<div><strong>HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\TermService\Parameters</strong></div>
</li>
<li>Under this registry subkey, delete the following values:
<ul>
<li>Certificate</li>
<li>X509 Certificate</li>
<li>X509 Certificate ID</li>
</ul>
</li>
<li>Quit Registry Editor, and then restart the server.
<p>Full description: <a href="http://support.microsoft.com/?kbid=323497" target="_blank">http://support.microsoft.com/?kbid=323497</a></li>
</ol>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dartharturito.wordpress.com/465/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dartharturito.wordpress.com/465/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dartharturito.wordpress.com/465/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dartharturito.wordpress.com/465/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dartharturito.wordpress.com/465/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dartharturito.wordpress.com/465/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dartharturito.wordpress.com/465/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dartharturito.wordpress.com/465/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dartharturito.wordpress.com/465/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dartharturito.wordpress.com/465/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dartharturito.wordpress.com/465/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dartharturito.wordpress.com/465/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dartharturito.wordpress.com/465/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dartharturito.wordpress.com/465/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dartharturito.wordpress.com&amp;blog=995682&amp;post=465&amp;subd=dartharturito&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dartharturito.wordpress.com/2010/12/20/remote-desktop-data-encryption-error-when-connecting-to-windows-2003/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c39dac7b55838dad24e32285a0a9d674?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">arturito</media:title>
		</media:content>
	</item>
	</channel>
</rss>
