<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Srini's Point of View</title>
	
	<link>http://www.nyayapati.com/srao</link>
	<description>My thoughts on technology, travel, food and movies…</description>
	<lastBuildDate>Tue, 13 Jul 2010 03:05:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/SrinisPointOfView" /><feedburner:info uri="srinispointofview" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Windows registry repair</title>
		<link>http://feedproxy.google.com/~r/SrinisPointOfView/~3/-o2WoGhz6yk/</link>
		<comments>http://www.nyayapati.com/srao/2010/06/windows-registry-repair/#comments</comments>
		<pubDate>Mon, 28 Jun 2010 11:52:28 +0000</pubDate>
		<dc:creator>srini</dc:creator>
				<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.nyayapati.com/srao/2010/06/windows-registry-repair/</guid>
		<description><![CDATA[<p>I found this wonderful free tool to repair registry problems.. It&#8217;s just simply called registry repair! Saw some good reviews and it is dead simple to use.. Just scan your registry and you will see a list of potential problems. You can then fix and repair the problem right there. Here is a link for [...]


Related posts:<ol><li><a href='http://www.nyayapati.com/srao/2009/12/shutdown-unused-windows-service/' rel='bookmark' title='Permanent Link: Shutdown unused windows service'>Shutdown unused windows service</a> <small>Download the tool from http://www.smartpcutilities.com/ to shutdown services not used...</small></li>
<li><a href='http://www.nyayapati.com/srao/2010/03/find-user-details-on-windows-user-in-a-domain/' rel='bookmark' title='Permanent Link: Find user details on windows user in a domain'>Find user details on windows user in a domain</a> <small>Here is a quick tip &#8211; If you want to...</small></li>
<li><a href='http://www.nyayapati.com/srao/2010/03/hit-by-av-exe-virus/' rel='bookmark' title='Permanent Link: Hit by AV.EXE virus &#8211; Cannot run any programs'>Hit by AV.EXE virus &#8211; Cannot run any programs</a> <small>I recently got hit by the AV.EXE virus. This was...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>I found this wonderful free tool to repair registry problems.. It&#8217;s just simply called registry repair! Saw some good reviews and it is dead simple to use.. Just scan your registry and you will see a list of potential problems. You can then fix and repair the problem right there. Here is a link for it &#8211; http://www.glarysoft.com/rr.html</p>


<p>Related posts:<ol><li><a href='http://www.nyayapati.com/srao/2009/12/shutdown-unused-windows-service/' rel='bookmark' title='Permanent Link: Shutdown unused windows service'>Shutdown unused windows service</a> <small>Download the tool from http://www.smartpcutilities.com/ to shutdown services not used...</small></li>
<li><a href='http://www.nyayapati.com/srao/2010/03/find-user-details-on-windows-user-in-a-domain/' rel='bookmark' title='Permanent Link: Find user details on windows user in a domain'>Find user details on windows user in a domain</a> <small>Here is a quick tip &#8211; If you want to...</small></li>
<li><a href='http://www.nyayapati.com/srao/2010/03/hit-by-av-exe-virus/' rel='bookmark' title='Permanent Link: Hit by AV.EXE virus &#8211; Cannot run any programs'>Hit by AV.EXE virus &#8211; Cannot run any programs</a> <small>I recently got hit by the AV.EXE virus. This was...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p><img src="http://feeds.feedburner.com/~r/SrinisPointOfView/~4/-o2WoGhz6yk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.nyayapati.com/srao/2010/06/windows-registry-repair/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.nyayapati.com/srao/2010/06/windows-registry-repair/</feedburner:origLink></item>
		<item>
		<title>Best Gyro in Boston</title>
		<link>http://feedproxy.google.com/~r/SrinisPointOfView/~3/6Z8JszSCvuM/</link>
		<comments>http://www.nyayapati.com/srao/2010/04/best-gyro-in-boston/#comments</comments>
		<pubDate>Thu, 22 Apr 2010 16:06:35 +0000</pubDate>
		<dc:creator>srini</dc:creator>
				<category><![CDATA[location]]></category>
		<category><![CDATA[food]]></category>

		<guid isPermaLink="false">http://www.nyayapati.com/srao/?p=502</guid>
		<description><![CDATA[<p>My quest for the best gyro sandwich is over!! Mick from timony.com/mickzblog pointed me to Zo Boston after seeing my yelp postings on other gyro places I had been to.
I fell in love with the first bite. The sandwich is soo tasty!! Don&#8217;t know if it is the tzatiki sauce or the fresh warm pita [...]


Related posts:<ol><li><a href='http://www.nyayapati.com/srao/2010/03/first-warm-weekend-of-2010/' rel='bookmark' title='Permanent Link: First warm weekend of 2010'>First warm weekend of 2010</a> <small>What a phenomenal weekend! It was nice and sunny and...</small></li>
<li><a href='http://www.nyayapati.com/srao/2010/02/pax-east-is-in-boston/' rel='bookmark' title='Permanent Link: PAX East is in Boston!!'>PAX East is in Boston!!</a> <small>Boston is finally getting a video game festival!! I am...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>My quest for the best gyro sandwich is over!! Mick from timony.com/mickzblog pointed me to Zo Boston after seeing my yelp postings on other gyro places I had been to.<br />
I fell in love with the first bite. The sandwich is soo tasty!! Don&#8217;t know if it is the tzatiki sauce or the fresh warm pita bread or the tasty pork meat.. Maybe it&#8217;s the combination of all the ingredients&#8230; It doesn&#8217;t matter.. What matters is how tasty this sandwich is!! </p>
<p>Zo Boston is different from other gyro places.. The way they are different is because of how they cook and add the meat to the sandwich. Other places have strips of meat in their sandwich whereas Zo shreds it&#8217;s pork meat!!</p>
<p>The last time I was there, I found out that they also serve a chicken and pork combination Gyro sandwich&#8230;  Man!! I love it when places have secret menu items.. It makes the experiance even more fun!! I can&#8217;t wait to go back and try the chicken and pork combination Gyro!!    </p>
<p><a href="http://www.nyayapati.com/srao/wp-content/uploads/2010/04/p_1600_1200_8B099230-3A71-443D-89E9-A098081BBCBA.jpeg" rel="lightbox[502]"><img src="http://www.nyayapati.com/srao/wp-content/uploads/2010/04/p_1600_1200_8B099230-3A71-443D-89E9-A098081BBCBA.jpeg" alt="" class="alignnone size-full" /></a></p>


<p>Related posts:<ol><li><a href='http://www.nyayapati.com/srao/2010/03/first-warm-weekend-of-2010/' rel='bookmark' title='Permanent Link: First warm weekend of 2010'>First warm weekend of 2010</a> <small>What a phenomenal weekend! It was nice and sunny and...</small></li>
<li><a href='http://www.nyayapati.com/srao/2010/02/pax-east-is-in-boston/' rel='bookmark' title='Permanent Link: PAX East is in Boston!!'>PAX East is in Boston!!</a> <small>Boston is finally getting a video game festival!! I am...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p><img src="http://feeds.feedburner.com/~r/SrinisPointOfView/~4/6Z8JszSCvuM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.nyayapati.com/srao/2010/04/best-gyro-in-boston/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		<feedburner:origLink>http://www.nyayapati.com/srao/2010/04/best-gyro-in-boston/</feedburner:origLink></item>
		<item>
		<title>Rotini with cheese and cream</title>
		<link>http://feedproxy.google.com/~r/SrinisPointOfView/~3/B1uFG9JANz0/</link>
		<comments>http://www.nyayapati.com/srao/2010/03/rotini-with-cheese-and-cream/#comments</comments>
		<pubDate>Tue, 30 Mar 2010 00:08:53 +0000</pubDate>
		<dc:creator>priya</dc:creator>
				<category><![CDATA[pasta]]></category>

		<guid isPermaLink="false">http://www.nyayapati.com/srao/?p=503</guid>
		<description><![CDATA[<p>Pasta is comfort food for me, specially white sauce pasta. I try to make the cooking exciting by changing the recipe at times. Some times I add tomato sauce to it or there are time when I have even tried to use cooking wine to my white sauce. I came across this recipe in one [...]


Related posts:<ol><li><a href='http://www.nyayapati.com/srao/2009/11/tuna-melt/' rel='bookmark' title='Permanent Link: Tuna Melt'>Tuna Melt</a> <small> My Brother-in-law Sumeet Diddee, made this fabulous tuna-melt which...</small></li>
<li><a href='http://www.nyayapati.com/srao/2010/03/first-warm-weekend-of-2010/' rel='bookmark' title='Permanent Link: First warm weekend of 2010'>First warm weekend of 2010</a> <small>What a phenomenal weekend! It was nice and sunny and...</small></li>
<li><a href='http://www.nyayapati.com/srao/2010/02/adraki-chicken/' rel='bookmark' title='Permanent Link: Adraki Chicken'>Adraki Chicken</a> <small>I have been thinking about cooking chicken a little differently...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Pasta is comfort food for me, specially white sauce pasta. I try to make the cooking exciting by changing the recipe at times. Some times I add tomato sauce to it or there are time when I have even tried to use cooking wine to my white sauce. I came across this recipe in one of the abundant cook books we have at home. I changed a few things on it and added few ingredients like garlic, chilly flakes etc to make it more flavorful.</p>
<p>The recipe goes like this -</p>
<p>Ingredients</p>
<blockquote><p>Rotini                                                         1 pound<br />
Egg yolks                                                  3<br />
Freshly grated Parmesan cheese    7 tablespoon<br />
Ricotta Cheese                                        1 cup<br />
Light Cream                                             4 tablespoon<br />
Butter                                                         3 tablespoon<br />
Onion (sliced)                                          1<br />
Green peppers                                         1<br />
Salt, red chilly flakes and pepper per your taste</p></blockquote>
<p>Method</p>
<ul>
<li> Cook pasta as per instruction</li>
<li>Meanwhile mix the egg york, grated Parmesan and ricotta cheese in a bowl. Add the cream and mix it with a fork.</li>
<li>Melt butter in a pan. Saute garlic. Add onions and fry till golden brown</li>
<li>Add green pepper and salt. Cover and cook till the green peppers are tender.</li>
<li>Add the cream sauce and then add pasta.</li>
<li>You can add black pepper and red chilly flakes according to your taste.</li>
</ul>
<p>This pasta has to be eaten hot as soon as it is cooked. The sauce tend to thicken if you wait.</p>


<p>Related posts:<ol><li><a href='http://www.nyayapati.com/srao/2009/11/tuna-melt/' rel='bookmark' title='Permanent Link: Tuna Melt'>Tuna Melt</a> <small> My Brother-in-law Sumeet Diddee, made this fabulous tuna-melt which...</small></li>
<li><a href='http://www.nyayapati.com/srao/2010/03/first-warm-weekend-of-2010/' rel='bookmark' title='Permanent Link: First warm weekend of 2010'>First warm weekend of 2010</a> <small>What a phenomenal weekend! It was nice and sunny and...</small></li>
<li><a href='http://www.nyayapati.com/srao/2010/02/adraki-chicken/' rel='bookmark' title='Permanent Link: Adraki Chicken'>Adraki Chicken</a> <small>I have been thinking about cooking chicken a little differently...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p><img src="http://feeds.feedburner.com/~r/SrinisPointOfView/~4/B1uFG9JANz0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.nyayapati.com/srao/2010/03/rotini-with-cheese-and-cream/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.nyayapati.com/srao/2010/03/rotini-with-cheese-and-cream/</feedburner:origLink></item>
		<item>
		<title>Convert AVCHD video to MPEG-2</title>
		<link>http://feedproxy.google.com/~r/SrinisPointOfView/~3/3x-pJQ_nYVo/</link>
		<comments>http://www.nyayapati.com/srao/2010/03/convert-avchd-video-to-mpeg-2/#comments</comments>
		<pubDate>Mon, 29 Mar 2010 13:00:23 +0000</pubDate>
		<dc:creator>srini</dc:creator>
				<category><![CDATA[videos]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.nyayapati.com/srao/?p=494</guid>
		<description><![CDATA[<p>I have a Canon H100 video camera. This records high definition 1080p videos in a digital video format called AVCHD. It has been a pain to watch these videos. First of all, these videos don&#8217;t even play properly on my single core PC. My 3-4 year old PC is just not powerful enough. The video [...]


Related posts:<ol><li><a href='http://www.nyayapati.com/srao/2010/03/wake-up-your-pc-from-your-xbox-using-xbmc/' rel='bookmark' title='Permanent Link: Wake up your PC from your xbox using xbmc'>Wake up your PC from your xbox using xbmc</a> <small>I read an old lifehacker article on wake-on-lan the other...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>I have a Canon H100 video camera. This records high definition 1080p videos in a digital video format called AVCHD. It has been a pain to watch these videos. First of all, these videos don&#8217;t even play properly on my single core PC. My 3-4 year old PC is just not powerful enough. The video is choppy and jittery.. It is completely unwatachable. I have been watching these by copying the files to my camera and then connect it to my TV. If I had a PS3, I could take my memory card and plug it directly and watch these videos. But I don&#8217;t have a PS3. I normally use my legacy xbox which has XBMC installed, to watch and listen to my media. It sucks big time that I can&#8217;t watch my AVCHD videos through my xbox. </p>
<p>So the only way I can watch these AVCHD videos is to convert it to either an MPEG or AVI format. I know.. I know.. I am loosing video quality by down converting these videos&#8230; but till the time I can find a better way to watch these videos&#8230; thats what I am going to do. I did find a script at <a href="http://forum.videohelp.com/threads/267544-Viewing-AVCHD-format-on-PC">videohelp.com</a> which was using some freeware tools.. But in my opinion the process was still painfull. My ideal tool would be to take these AVCHD files and either convert them to AVI/MPEG or to burn them to a DVD directly. Did I mention, I want this to be free too <img src='http://www.nyayapati.com/srao/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> . You could also pay $50.00 for <a href="http://www.vso-software.fr/products/convert_x_to_dvd/">ConvertXtoDVD </a>which does that for you.</p>
<p>Another option is to create an AVCHD DVD which will play directly on a blue ray player or a PS3. Scott Johnson, CEO of AtTask has a script on his <a href="http://saas-ppm.blogspot.com/2008/11/playing-avcdh-content-on-blu-ray.html">blog</a> which will create the DVD disc which will play on a blue ray player. </p>
<p>I got my camera in 2007 and in 2010 I have finally found a software which does the video conversion for me. It&#8217;s called <a href="http://www.koyotesoft.com/indexEn.html">Free HD Converter V1.6</a>.<br />
The software works on my old machine.. It&#8217;s not fast but I just batch all the videos and a couple of hours later, I have the converted MpEG files. I wish this tools would stitch the many generated mpeg files together too. Maybe it does and I haven&#8217;t found the setting! I can now burn a DVD from the Mpeg files and send the videos of my new born to my Mom or upload to YouTube directly!!</p>
<p>Next step is to convert all my AVCHD videos to MPEG. Now only if somebody could just do that for me too <img src='http://www.nyayapati.com/srao/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>


<p>Related posts:<ol><li><a href='http://www.nyayapati.com/srao/2010/03/wake-up-your-pc-from-your-xbox-using-xbmc/' rel='bookmark' title='Permanent Link: Wake up your PC from your xbox using xbmc'>Wake up your PC from your xbox using xbmc</a> <small>I read an old lifehacker article on wake-on-lan the other...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p><img src="http://feeds.feedburner.com/~r/SrinisPointOfView/~4/3x-pJQ_nYVo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.nyayapati.com/srao/2010/03/convert-avchd-video-to-mpeg-2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.nyayapati.com/srao/2010/03/convert-avchd-video-to-mpeg-2/</feedburner:origLink></item>
		<item>
		<title>Wake up your PC from your xbox using xbmc</title>
		<link>http://feedproxy.google.com/~r/SrinisPointOfView/~3/OlNGRHZpgcA/</link>
		<comments>http://www.nyayapati.com/srao/2010/03/wake-up-your-pc-from-your-xbox-using-xbmc/#comments</comments>
		<pubDate>Fri, 26 Mar 2010 12:00:29 +0000</pubDate>
		<dc:creator>srini</dc:creator>
				<category><![CDATA[general]]></category>
		<category><![CDATA[cygwin]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[xbmc]]></category>
		<category><![CDATA[xbox]]></category>

		<guid isPermaLink="false">http://www.nyayapati.com/srao/?p=484</guid>
		<description><![CDATA[<p>I read an old lifehacker article on wake-on-lan the other day and decided I should try it on my home network. After using the free tool Magic Packet Sender mentioned in the article successfully, I thought how cool would it be to start my media server from my xbox. I use my xbox as my [...]


Related posts:<ol><li><a href='http://www.nyayapati.com/srao/2010/03/convert-avchd-video-to-mpeg-2/' rel='bookmark' title='Permanent Link: Convert AVCHD video to MPEG-2'>Convert AVCHD video to MPEG-2</a> <small>I have a Canon H100 video camera. This records high...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>I read an old <a href="http://lifehacker.com/348197/access-your-computer-anytime-and-save-energy-with-wake+on+lan">lifehacker</a> article on wake-on-lan the other day and decided I should try it on my home network. After using the free tool <a href="http://magicpacket.free.fr/">Magic Packet Sender</a> mentioned in the article successfully, I thought how cool would it be to start my media server from my xbox. I use my xbox as my media center. I know&#8230; using the xbox is old news and it is not powerful enough for hi-definition  videos&#8230; but still.. I like my xbox and am not willing to get rid of it yet. Till something better and cheap comes along, I am going to continue using it. My brother bought the Acer Aspire Revo (AR3610-U9022) which comes with the Intel Atom 330 processor. I like it a lot and boxee and xbmc both work really well. Streaming 1080p video works flawlessly. Hulu desktop works too, but you have to use the adobe flash 10.1 beta drivers for the video to work. let&#8217;s see what path I take.</p>
<p>Going back to my little project, I thought I will study what is involved in sending a wake-on-lan packet to a PC to wake it up. I read the lifehacker article in detail and then googled for other resourses. I came across a really nice <a href="http://www.jibble.org/wake-on-lan/">resource</a> which explained how the wake-on-lan packet is constructed along with a sample java program. I also found, I am not the only person who thought about using this technology to start their media server from their xbox. I found this script in the forums at xbmc.org. Here you go -</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p484code19'); return false;">View Code</a> PYTHON</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p48419"><td class="code" id="p484code19"><pre class="python" style="font-family:monospace;"><span style="color: #808080; font-style: italic;"># Wake-On-LAN</span>
<span style="color: #808080; font-style: italic;">#</span>
<span style="color: #808080; font-style: italic;"># Copyright (C) 2002 by Micro Systems Marc Balmer</span>
<span style="color: #808080; font-style: italic;"># Written by Marc Balmer, marc@msys.ch, http://www.msys.ch/</span>
<span style="color: #808080; font-style: italic;"># This code is free software under the GPL</span>
&nbsp;
<span style="color: #ff7700;font-weight:bold;">import</span> <span style="color: #dc143c;">struct</span>, <span style="color: #dc143c;">socket</span>
&nbsp;
<span style="color: #ff7700;font-weight:bold;">def</span> WakeOnLan<span style="color: black;">&#40;</span>ethernet_address<span style="color: black;">&#41;</span>:
&nbsp;
  <span style="color: #808080; font-style: italic;"># Construct a six-byte hardware address</span>
&nbsp;
  addr_byte = ethernet_address.<span style="color: black;">split</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">':'</span><span style="color: black;">&#41;</span>
  hw_addr = <span style="color: #dc143c;">struct</span>.<span style="color: black;">pack</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">'BBBBBB'</span>, <span style="color: #008000;">int</span><span style="color: black;">&#40;</span>addr_byte<span style="color: black;">&#91;</span><span style="color: #ff4500;">0</span><span style="color: black;">&#93;</span>, <span style="color: #ff4500;">16</span><span style="color: black;">&#41;</span>,
    <span style="color: #008000;">int</span><span style="color: black;">&#40;</span>addr_byte<span style="color: black;">&#91;</span><span style="color: #ff4500;">1</span><span style="color: black;">&#93;</span>, <span style="color: #ff4500;">16</span><span style="color: black;">&#41;</span>,
    <span style="color: #008000;">int</span><span style="color: black;">&#40;</span>addr_byte<span style="color: black;">&#91;</span><span style="color: #ff4500;">2</span><span style="color: black;">&#93;</span>, <span style="color: #ff4500;">16</span><span style="color: black;">&#41;</span>,
    <span style="color: #008000;">int</span><span style="color: black;">&#40;</span>addr_byte<span style="color: black;">&#91;</span><span style="color: #ff4500;">3</span><span style="color: black;">&#93;</span>, <span style="color: #ff4500;">16</span><span style="color: black;">&#41;</span>,
    <span style="color: #008000;">int</span><span style="color: black;">&#40;</span>addr_byte<span style="color: black;">&#91;</span><span style="color: #ff4500;">4</span><span style="color: black;">&#93;</span>, <span style="color: #ff4500;">16</span><span style="color: black;">&#41;</span>,
    <span style="color: #008000;">int</span><span style="color: black;">&#40;</span>addr_byte<span style="color: black;">&#91;</span><span style="color: #ff4500;">5</span><span style="color: black;">&#93;</span>, <span style="color: #ff4500;">16</span><span style="color: black;">&#41;</span><span style="color: black;">&#41;</span>
&nbsp;
  <span style="color: #808080; font-style: italic;"># Build the Wake-On-LAN &quot;Magic Packet&quot;...</span>
&nbsp;
  msg = <span style="color: #483d8b;">'<span style="color: #000099; font-weight: bold;">\x</span>ff'</span> <span style="color: #66cc66;">*</span> <span style="color: #ff4500;">6</span> + hw_addr <span style="color: #66cc66;">*</span> <span style="color: #ff4500;">16</span>
&nbsp;
  <span style="color: #808080; font-style: italic;"># ...and send it to the broadcast address using UDP</span>
&nbsp;
  s = <span style="color: #dc143c;">socket</span>.<span style="color: #dc143c;">socket</span><span style="color: black;">&#40;</span><span style="color: #dc143c;">socket</span>.<span style="color: black;">AF_INET</span>, <span style="color: #dc143c;">socket</span>.<span style="color: black;">SOCK_DGRAM</span><span style="color: black;">&#41;</span>
  s.<span style="color: black;">setsockopt</span><span style="color: black;">&#40;</span><span style="color: #dc143c;">socket</span>.<span style="color: black;">SOL_SOCKET</span>, <span style="color: #dc143c;">socket</span>.<span style="color: black;">SO_BROADCAST</span>, <span style="color: #ff4500;">1</span><span style="color: black;">&#41;</span>
  s.<span style="color: black;">sendto</span><span style="color: black;">&#40;</span>msg, <span style="color: black;">&#40;</span><span style="color: #483d8b;">'&amp;lt;broadcast&amp;gt;'</span>, <span style="color: #ff4500;">9</span><span style="color: black;">&#41;</span><span style="color: black;">&#41;</span>
  s.<span style="color: black;">close</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>
&nbsp;
<span style="color: #808080; font-style: italic;"># Example use</span>
WakeOnLan<span style="color: black;">&#40;</span><span style="color: #483d8b;">'aa:bb:cc:dd:ee:ff'</span><span style="color: black;">&#41;</span>    <span style="color: #808080; font-style: italic;"># My PC</span></pre></td></tr></table></div>

<p>The last line in the script is calling the WakeOnLan method and passing the MAC address of the PC you are trying to wake up. You can get the MAC address of your PC from a DOS command prompt by the command -</p>

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

<p>It will show up as Physical Address in the detailed listing. Read the lifehacker article given above for more details. You can wake more than 1 by duplicating the WakeOnLan(MAC) line in the script. </p>
<p>You have a couple of options of executing this script. You could create a sub-folder under the scripts folder in your XBMC install and place this script there. In which case you can call it anything you want. I have created a script for every PC I want to wake up in my network and have the machine name as the script name. You could also start up all your computers as soon as the xbox is switched on. Just name the file autoexec.py and put it in XBMC/scripts. It&#8217;s similar to how autoexec.bat works for windows <img src='http://www.nyayapati.com/srao/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I also put these scripts on every PC in my network, so I can start any of them remotely. The pre-requisite is that you need python installed on your PC for the script to work. You can either install python or just use the python which comes with cygwin. I recommend that if you need a decent command line on windows, just get cygwin and give mintty a try. Andy Koppe the creator of mintty recommended it to me the other day and I love it so far!! I have also further recommended it to my friends at work. I just launch mintty to get a bash shell on my windows box and execute the script this way -</p>

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



<p>Related posts:<ol><li><a href='http://www.nyayapati.com/srao/2010/03/convert-avchd-video-to-mpeg-2/' rel='bookmark' title='Permanent Link: Convert AVCHD video to MPEG-2'>Convert AVCHD video to MPEG-2</a> <small>I have a Canon H100 video camera. This records high...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p><img src="http://feeds.feedburner.com/~r/SrinisPointOfView/~4/OlNGRHZpgcA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.nyayapati.com/srao/2010/03/wake-up-your-pc-from-your-xbox-using-xbmc/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.nyayapati.com/srao/2010/03/wake-up-your-pc-from-your-xbox-using-xbmc/</feedburner:origLink></item>
		<item>
		<title>Same music album showing up multiple times on iPhone</title>
		<link>http://feedproxy.google.com/~r/SrinisPointOfView/~3/H1TdeDyg7iw/</link>
		<comments>http://www.nyayapati.com/srao/2010/03/same-music-album-showing-up-multiple-times-on-iphone/#comments</comments>
		<pubDate>Thu, 25 Mar 2010 12:00:38 +0000</pubDate>
		<dc:creator>srini</dc:creator>
				<category><![CDATA[iphone]]></category>
		<category><![CDATA[itunes]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.nyayapati.com/srao/?p=466</guid>
		<description><![CDATA[<p>I created an album with different artists to listen on my iPhone. To my horror all the songs showed up as separate albums. Cover flow showed up the same album art for each of the songs. I hated this!! The fix is pretty quick. You have to make sure of the following to make your [...]


Related posts:<ol><li><a href='http://www.nyayapati.com/srao/2010/02/disable-auto-backup-of-iphoneipod-in-itunes-in-windows/' rel='bookmark' title='Permanent Link: Disable auto-backup of iPhone/iPod in itunes on windows'>Disable auto-backup of iPhone/iPod in itunes on windows</a> <small>If you have a lot of applications in your iphone,...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>I created an album with different artists to listen on my iPhone. To my horror all the songs showed up as separate albums. Cover flow showed up the same album art for each of the songs. I hated this!! The fix is pretty quick. You have to make sure of the following to make your songs show up as one album -</p>
<ol>
<li>The Album name has to be the same for all the songs</li>
<li>The Album Artist name has to be the same for all the songs</li>
<li>All the songs should be set as a part of a compilation.</li>
</ol>
<p>Here is how you do it . Select all the songs in itunes you want to show up as an album, then right click on one of  the chosen songs and click &#8216;get info&#8217;  -</p>
<ol>
<li>Type in the Album Name and Album Artist</li>
<li>Under the options tab, make sure the &#8216;Part of A Compilation&#8217; is checked  and set to Yes.</li>
</ol>
<p>That&#8217;s it&#8230; That will make sure the album shows up only once for the entire album</p>


<p>Related posts:<ol><li><a href='http://www.nyayapati.com/srao/2010/02/disable-auto-backup-of-iphoneipod-in-itunes-in-windows/' rel='bookmark' title='Permanent Link: Disable auto-backup of iPhone/iPod in itunes on windows'>Disable auto-backup of iPhone/iPod in itunes on windows</a> <small>If you have a lot of applications in your iphone,...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p><img src="http://feeds.feedburner.com/~r/SrinisPointOfView/~4/H1TdeDyg7iw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.nyayapati.com/srao/2010/03/same-music-album-showing-up-multiple-times-on-iphone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.nyayapati.com/srao/2010/03/same-music-album-showing-up-multiple-times-on-iphone/</feedburner:origLink></item>
		<item>
		<title>Mutton Curry revisited</title>
		<link>http://feedproxy.google.com/~r/SrinisPointOfView/~3/s0Azyy3kMe8/</link>
		<comments>http://www.nyayapati.com/srao/2010/03/mutton-curry-revisited/#comments</comments>
		<pubDate>Wed, 24 Mar 2010 12:00:34 +0000</pubDate>
		<dc:creator>srini</dc:creator>
				<category><![CDATA[goat]]></category>
		<category><![CDATA[food]]></category>
		<category><![CDATA[mutton]]></category>

		<guid isPermaLink="false">http://www.nyayapati.com/srao/?p=476</guid>
		<description><![CDATA[<p>I got about 5 pounds of goat leg from Waltham India Grocer. It is an Indian grocery store which also sells Halal meat. I normally get my meat from Cheema Supermarket but as I was in the neighborhood, I just picked it up from Waltham.</p>
<p>I was making my usual Mutton Curry and half way through [...]


Related posts:<ol><li><a href='http://www.nyayapati.com/srao/2010/02/adraki-chicken/' rel='bookmark' title='Permanent Link: Adraki Chicken'>Adraki Chicken</a> <small>I have been thinking about cooking chicken a little differently...</small></li>
<li><a href='http://www.nyayapati.com/srao/2010/02/chicken-65/' rel='bookmark' title='Permanent Link: Chicken 65'>Chicken 65</a> <small>Chicken 65 &#8211; Any Hyderabadi&#8217;s favorite dish! Well, I guess...</small></li>
<li><a href='http://www.nyayapati.com/srao/2009/11/tuna-melt/' rel='bookmark' title='Permanent Link: Tuna Melt'>Tuna Melt</a> <small> My Brother-in-law Sumeet Diddee, made this fabulous tuna-melt which...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>I got about 5 pounds of goat leg from <a href="http://www.yelp.com/biz/waltham-india-grocery-waltham-2">Waltham India Grocer</a>. It is an Indian grocery store which also sells Halal meat. I normally get my meat from <a href="http://www.yelp.com/biz/cheema-supermarket-allston">Cheema Supermarket</a> but as I was in the neighborhood, I just picked it up from Waltham.</p>
<p>I was making my usual Mutton Curry and half way through making this dish I realized I did not have any crushed tomatoes.. so I had to improvise. According to some purists Goat curry should not have any tomatoes. I have always used tomatoes.. so this was a chance to try make this dish without tomatoes&#8230; Unfortunately I don&#8217;t have a picture to show on how this looks.  It was a big hit at the party and that&#8217;s what counts <img src='http://www.nyayapati.com/srao/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Here is how I did it&#8230;</p>
<p>Ingredients</p>
<ol>
<li>Goat leg &#8211; cut into small pieces (1 inch)</li>
<li>Onions chopped &#8211; 4 large onions chopped</li>
<li>cinnamon &#8211; one 2 inches stick</li>
<li>cardamom &#8211; 5-10</li>
<li>cloves &#8211; 10-15</li>
<li>curry leaves &#8211; 10-12 leaves</li>
<li>green chillies &#8211; 4-5 cut into big pieces</li>
<li>garlic &#8211; 5-6 pods finely diced</li>
<li>ginger &#8211; finely diced &#8211; 2 inches</li>
<li>turmeric &#8211; 1-2 tsp</li>
<li>garam masala &#8211; 3 tsp</li>
<li>dhaniya powder &#8211; 4 tsp</li>
<li>lal mirch &#8211; 2 tsp</li>
<li>degi mirch &#8211; 2 tsp</li>
<li>jeera powder &#8211; 2 tsp</li>
<li>MDF Meat masala &#8211; 1 tsp</li>
<li>Coconut milk &#8211; 1 can</li>
</ol>
<p>Method</p>
<ol>
<li>Heat oil and some ghee in a big flat bottom vessel.</li>
<li>Add Cinnamon, cardamom and cloves</li>
<li>Once it sputters, add onions and start frying it. Add the salt to taste and turmeric immediately.</li>
<li>Once it is slightly brown, add the chopped ginger and garlic.</li>
<li>Continue sauteing and add the chopped green chillies and curry leaves.</li>
<li>Add the mixed powdered spices</li>
<li>Make sure you don&#8217;t burn the spices. Add a little ghee like maybe half a teaspoon.</li>
<li>Add the mutton and coat the onions and spices to all the meat.</li>
<li>Sear the meat so it cooks and changes color on all sides.</li>
<li>Add a can of coconut milk and mix everything together. After 5 minutes transfer all to a pressure cooker.</li>
<li>Wash the vessel you used and use the water for the pressure cooker. Put enough to cover the meat.</li>
<li>Add a cut potato in the cooker. This helps bring some texture to the gravy.</li>
<li>Add 2 tsp of MDF Meat masala.</li>
<li>Add chopped cilantro and then pressure cook for 30-40 minutes.</li>
<li>Once the pressure comes down, open and check if the meat is tender. If not tender, pressure cook for 10-15 more minutes.</li>
<li>Taste and adjust salt</li>
<li>Serve with Rice</li>
</ol>


<p>Related posts:<ol><li><a href='http://www.nyayapati.com/srao/2010/02/adraki-chicken/' rel='bookmark' title='Permanent Link: Adraki Chicken'>Adraki Chicken</a> <small>I have been thinking about cooking chicken a little differently...</small></li>
<li><a href='http://www.nyayapati.com/srao/2010/02/chicken-65/' rel='bookmark' title='Permanent Link: Chicken 65'>Chicken 65</a> <small>Chicken 65 &#8211; Any Hyderabadi&#8217;s favorite dish! Well, I guess...</small></li>
<li><a href='http://www.nyayapati.com/srao/2009/11/tuna-melt/' rel='bookmark' title='Permanent Link: Tuna Melt'>Tuna Melt</a> <small> My Brother-in-law Sumeet Diddee, made this fabulous tuna-melt which...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p><img src="http://feeds.feedburner.com/~r/SrinisPointOfView/~4/s0Azyy3kMe8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.nyayapati.com/srao/2010/03/mutton-curry-revisited/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://www.nyayapati.com/srao/2010/03/mutton-curry-revisited/</feedburner:origLink></item>
		<item>
		<title>First warm weekend of 2010</title>
		<link>http://feedproxy.google.com/~r/SrinisPointOfView/~3/6mQkaX9dXr8/</link>
		<comments>http://www.nyayapati.com/srao/2010/03/first-warm-weekend-of-2010/#comments</comments>
		<pubDate>Mon, 22 Mar 2010 18:13:38 +0000</pubDate>
		<dc:creator>srini</dc:creator>
				<category><![CDATA[location]]></category>
		<category><![CDATA[food]]></category>

		<guid isPermaLink="false">http://www.nyayapati.com/srao/?p=470</guid>
		<description><![CDATA[<p>What a phenomenal weekend! It was nice and sunny and the best part was it was not too hot!</p>
<p>Food wise it was a great weekend too.. Friday night we went to Aegean in Framingham. Their bread basket had fresh baked bread and Pita bread. This came with olive oil and feta cheese. This combination was [...]


Related posts:<ol><li><a href='http://www.nyayapati.com/srao/2010/03/rotini-with-cheese-and-cream/' rel='bookmark' title='Permanent Link: Rotini with cheese and cream'>Rotini with cheese and cream</a> <small>Pasta is comfort food for me, specially white sauce pasta....</small></li>
<li><a href='http://www.nyayapati.com/srao/2010/02/adraki-chicken/' rel='bookmark' title='Permanent Link: Adraki Chicken'>Adraki Chicken</a> <small>I have been thinking about cooking chicken a little differently...</small></li>
<li><a href='http://www.nyayapati.com/srao/2010/04/best-gyro-in-boston/' rel='bookmark' title='Permanent Link: Best Gyro in Boston'>Best Gyro in Boston</a> <small>My quest for the best gyro sandwich is over!! Mick...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>What a phenomenal weekend! It was nice and sunny and the best part was it was not too hot!</p>
<p>Food wise it was a great weekend too.. Friday night we went to <a href="http://www.aegeanrestaurants.com">Aegean</a> in Framingham. Their bread basket had fresh baked bread and Pita bread. This came with olive oil and feta cheese. This combination was so tasty. The key here was their Pita Bread&#8230; Fresh!! For the main course I order their Lamb Youvetsi. This was a Braised Lamb with <a href="http://en.wikipedia.org/wiki/Orzo">Orzo</a> topped with grated cheese. My wife ordered the Mousaka. This was  Layered eggplant, seasoned with ground meat, grated cheese and topped with bechamel sauce (My wife is a sucker for white sauce!!). Both dishes were very tasty and very very satisfying. My lamb was very succulent and tender.. This was cooked with tomato sauce, spices and orzo. Did I mention it was very satisfying! My wife&#8217;s dish was good too&#8230; It was like a lasagna but instead of pasta, made with eggplant.</p>
<p>Saturday morning was bright and started out a little cold but it got warmer and ultimately turned out to be a great day to spend outdoors. We met our cousins in Waltham and spent a couple of hours in Waltham Commons. Got coffee, coffee cake and cranberry scones from <a href="http://www.yelp.com/biz/cafe-on-the-common-waltham">Cafe on the Common</a>. A very cute place with some tasty baked goods. The place looked like an old school coffee shop.</p>
<p>For lunch we ended up in <a href="http://www.taqueriamexico.com/">Taqueria Mexico</a>. My Bro-in-law recommended it&#8230; looked like a whole in the wall..  the Food was very authentic and the prices were not too high. Check out their menu and you will find some traditional mexican dishes not available else where in and around Boston. I wanted to get the Guisado De Carne De Puerco. This was slices of pork cooked in green sauce with onions and peppers. Serverd with rice, beans, salad and tortillas. I got chicken instead of the pork. My Bro-in-law got the original dish and we both agreed the dish was better with the chicken. The corn tortilas were fresh and went good with both our dishes. My wife and my cousin got a chili reileno stuffed with cheese, one green chicken enchilada with melted cheese and sour chream on top. Served with rice, beans, saland. All dishes were yummy.</p>
<p>We then walked down Moody street to do some Indian Grocery Shopping at <a href="http://www.yelp.com/biz/patel-brothers-waltham">Patel Brothers</a>. While I was there I got 5 pounds of goat leg from waltham india grocery planning to make mutton curry on sunday (will share the recipe). We then stopped by <a href="http://www.lizzysicecream.com/">Lizzy&#8217;s Homemade Ice cream</a> <img src='http://www.nyayapati.com/srao/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  where I got their orange pineapple ice cream, my Wife got a chocolate frappe, my cousin got a cup of vanilla ice cream whereas my bro-in-law got some green tea.</p>
<p>Sunday was another fabulous day. The Sri Laxmi temple in Ashland was going to Host the Indian festival <a href="http://en.wikipedia.org/wiki/Holi">Holi</a>. I guess the temple chose to celebrate it on Sunday as it was really cold the weekend of the actual day. I celebrated Holi after like 10 years. It was a lot of fun playing with colors with your friends and family. The organizers did a good job of arranging for food and Indian tea for everybody. I then invited my cousin&#8217;s family along with other family friends for an impromptu dinner.</p>
<p>Dinner was a big hit! I made mutton curry, Priya made okra fry. My Cousin Vandana made an awesome dish with Cholle and Spinach. The family friends made Channa Dal. It turned out to be a feast and a fitting end to this awesome weekend!!</p>


<p>Related posts:<ol><li><a href='http://www.nyayapati.com/srao/2010/03/rotini-with-cheese-and-cream/' rel='bookmark' title='Permanent Link: Rotini with cheese and cream'>Rotini with cheese and cream</a> <small>Pasta is comfort food for me, specially white sauce pasta....</small></li>
<li><a href='http://www.nyayapati.com/srao/2010/02/adraki-chicken/' rel='bookmark' title='Permanent Link: Adraki Chicken'>Adraki Chicken</a> <small>I have been thinking about cooking chicken a little differently...</small></li>
<li><a href='http://www.nyayapati.com/srao/2010/04/best-gyro-in-boston/' rel='bookmark' title='Permanent Link: Best Gyro in Boston'>Best Gyro in Boston</a> <small>My quest for the best gyro sandwich is over!! Mick...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p><img src="http://feeds.feedburner.com/~r/SrinisPointOfView/~4/6mQkaX9dXr8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.nyayapati.com/srao/2010/03/first-warm-weekend-of-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.nyayapati.com/srao/2010/03/first-warm-weekend-of-2010/</feedburner:origLink></item>
		<item>
		<title>A better cygwin terminal – rxvt</title>
		<link>http://feedproxy.google.com/~r/SrinisPointOfView/~3/4B3E8-ob4f8/</link>
		<comments>http://www.nyayapati.com/srao/2010/03/a-better-cygwin-terminal-rxvt/#comments</comments>
		<pubDate>Mon, 22 Mar 2010 13:00:27 +0000</pubDate>
		<dc:creator>srini</dc:creator>
				<category><![CDATA[windows]]></category>
		<category><![CDATA[cygwin]]></category>

		<guid isPermaLink="false">http://www.nyayapati.com/srao/?p=459</guid>
		<description><![CDATA[<p>rxvt is so much more better than the default cygwin terminal. You will thank me once you switch to using rxvt. To get rxvt working without starting an X Server, just create a shortcut using the following -</p>

?View Code TXTC:\cygwin\bin\rxvt.exe -fg green -bg black -fn &#34;Lucida Console-14&#34; -e bash --login -i

<p>This is assuming that cygwin [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>rxvt is so much more better than the default cygwin terminal. You will thank me once you switch to using rxvt. To get rxvt working without starting an X Server, just create a shortcut using the following -</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p459code26'); return false;">View Code</a> TXT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p45926"><td class="code" id="p459code26"><pre class="txt" style="font-family:monospace;">C:\cygwin\bin\rxvt.exe -fg green -bg black -fn &quot;Lucida Console-14&quot; -e bash --login -i</pre></td></tr></table></div>

<p>This is assuming that cygwin is installed at c:\cygwin. You will get a foreground of green on a black background. The font used is &#8220;Lucida Console-14&#8243;.</p>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p><img src="http://feeds.feedburner.com/~r/SrinisPointOfView/~4/4B3E8-ob4f8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.nyayapati.com/srao/2010/03/a-better-cygwin-terminal-rxvt/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://www.nyayapati.com/srao/2010/03/a-better-cygwin-terminal-rxvt/</feedburner:origLink></item>
		<item>
		<title>Grep for multiple stuff in one file</title>
		<link>http://feedproxy.google.com/~r/SrinisPointOfView/~3/iXlo2dOZdl8/</link>
		<comments>http://www.nyayapati.com/srao/2010/03/grep-for-multiple-stuff-in-one-file/#comments</comments>
		<pubDate>Fri, 19 Mar 2010 12:00:08 +0000</pubDate>
		<dc:creator>srini</dc:creator>
				<category><![CDATA[unix/linux]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.nyayapati.com/srao/?p=457</guid>
		<description><![CDATA[<p>Update: See the comments to see how to do this correctly.</p>
<p>the UNIX grep command is very powerful, but the egrep command is even more powerful. You can grep for multiple strings in a file using the egrep command. All you have to do is use the &#124; (or) symbol and add as many strings you [...]


Related posts:<ol><li><a href='http://www.nyayapati.com/srao/2010/02/comment-multiple-lines-in-vi/' rel='bookmark' title='Permanent Link: comment multiple lines in vi'>comment multiple lines in vi</a> <small>The comment symbol for Unix scripts is typically &#8220;#&#8221;. You...</small></li>
<li><a href='http://www.nyayapati.com/srao/2010/03/sending-email-with-a-body-and-attachment-from-unix/' rel='bookmark' title='Permanent Link: Sending email with a body and attachment from UNIX'>Sending email with a body and attachment from UNIX</a> <small>It is easy to send a text file as the...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Update: See the comments to see how to do this correctly.</p>
<p>the UNIX grep command is very powerful, but the egrep command is even more powerful. You can grep for multiple strings in a file using the egrep command. All you have to do is use the | (or) symbol and add as many strings you want to look for. You have to make sure you escape the pipe symbol. This is especially helpful when you are wading through log files.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p457code42'); return false;">View Code</a> UNIX</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p45742"><td class="code" id="p457code42"><pre class="unix" style="font-family:monospace;">egrep &quot;string 1&quot;\|&quot;string 2&quot; file.log</pre></td></tr></table></div>

<p>The above command will only display the lines from file.log that have a reference of &#8220;string 1&#8243; and &#8220;string 2&#8243;</p>


<p>Related posts:<ol><li><a href='http://www.nyayapati.com/srao/2010/02/comment-multiple-lines-in-vi/' rel='bookmark' title='Permanent Link: comment multiple lines in vi'>comment multiple lines in vi</a> <small>The comment symbol for Unix scripts is typically &#8220;#&#8221;. You...</small></li>
<li><a href='http://www.nyayapati.com/srao/2010/03/sending-email-with-a-body-and-attachment-from-unix/' rel='bookmark' title='Permanent Link: Sending email with a body and attachment from UNIX'>Sending email with a body and attachment from UNIX</a> <small>It is easy to send a text file as the...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p><img src="http://feeds.feedburner.com/~r/SrinisPointOfView/~4/iXlo2dOZdl8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.nyayapati.com/srao/2010/03/grep-for-multiple-stuff-in-one-file/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.nyayapati.com/srao/2010/03/grep-for-multiple-stuff-in-one-file/</feedburner:origLink></item>
	</channel>
</rss>
