<?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>$Avinash Dubey$</title>
	<atom:link href="http://avdubey.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://avdubey.wordpress.com</link>
	<description>Even if fate means you to lose ; atleast give it a good fight</description>
	<lastBuildDate>Sun, 15 Jan 2012 21:18:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='avdubey.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>$Avinash Dubey$</title>
		<link>http://avdubey.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://avdubey.wordpress.com/osd.xml" title="$Avinash Dubey$" />
	<atom:link rel='hub' href='http://avdubey.wordpress.com/?pushpress=hub'/>
		<item>
		<title>RHEL5 FEDORA &#8212; yum install  giving Nothing to do</title>
		<link>http://avdubey.wordpress.com/2011/03/18/rhel5-fedora-yum-install-giving-nothing-to-do/</link>
		<comments>http://avdubey.wordpress.com/2011/03/18/rhel5-fedora-yum-install-giving-nothing-to-do/#comments</comments>
		<pubDate>Fri, 18 Mar 2011 16:15:31 +0000</pubDate>
		<dc:creator>Avinash Dubey</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://avdubey.wordpress.com/?p=259</guid>
		<description><![CDATA[Problem: yum install was not working whenever i was trying to install some s/w using yum, it used to check local repository and ended up saying Nothing to do Solution: Actually whenever we install some s/w or package using yum , it looks into cd /etc/yum.repos.d/*.repo files there you would see many different sections under [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=avdubey.wordpress.com&amp;blog=6873014&amp;post=259&amp;subd=avdubey&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Problem:<br />
yum install  was not working<br />
whenever i was trying to install some s/w using yum, it used to check local repository and ended up saying Nothing to do</p>
<p>Solution:<br />
Actually whenever we install some s/w or package using yum , it looks into cd /etc/yum.repos.d/*.repo  files<br />
there you would see many different sections under heading<br />
[heading]<br />
baseurl=http://</p>
<p>yum looks for the package under these mentioned repositories i.e. baseurls</p>
<p>just add one more section with this heading to make it look for open source pkgs under fedora repository (works both for rhel5 and fedora)</p>
<p>example.. this worked for me</p>
<p>i wasn&#8217;t able to install pkgs like perl,perl-WWW::Mechanize, yumex etc</p>
<p>avidubey@avidubey] cd /etc/yum.repos.d                                                                                                                                                                    /etc<br />
avidubey@avidubey] ls                                                                                                                                                                         /etc/yum.repos.d<br />
 already-present.repo  <strong>MyOwn.repo</strong><br />
avidubey@avidubey] cat MyOwn.repo                                                                                                                                                             /etc/yum.repos.d<br />
[MySection]<br />
name=MyOwnRepo<br />
baseurl=http://download.fedora.redhat.com/pub/archive/fedora/linux/updates/7/i386/<br />
enabled=1<br />
gpgcheck=0</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/avdubey.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/avdubey.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/avdubey.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/avdubey.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/avdubey.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/avdubey.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/avdubey.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/avdubey.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/avdubey.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/avdubey.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/avdubey.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/avdubey.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/avdubey.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/avdubey.wordpress.com/259/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=avdubey.wordpress.com&amp;blog=6873014&amp;post=259&amp;subd=avdubey&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://avdubey.wordpress.com/2011/03/18/rhel5-fedora-yum-install-giving-nothing-to-do/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fc8b14e3d835adb373e9d37fac06738a?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">avdubey</media:title>
		</media:content>
	</item>
		<item>
		<title>Eclipse &#8212; workspace in use or cannot be created error</title>
		<link>http://avdubey.wordpress.com/2011/03/06/eclipse-workspace-in-use-or-cannot-be-created-error/</link>
		<comments>http://avdubey.wordpress.com/2011/03/06/eclipse-workspace-in-use-or-cannot-be-created-error/#comments</comments>
		<pubDate>Sun, 06 Mar 2011 07:40:52 +0000</pubDate>
		<dc:creator>Avinash Dubey</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://avdubey.wordpress.com/?p=257</guid>
		<description><![CDATA[Scenario.. I had opened a workspace using eclipse on my linux machine. Now when I was trying to open the same workspace using my laptop through remote connection I was getting a message like &#8220;Workspace in use or cannot be created&#8221;. Solution: whenever you open a workspace using eclipse a .lock file is created that [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=avdubey.wordpress.com&amp;blog=6873014&amp;post=257&amp;subd=avdubey&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Scenario..<br />
I had opened a workspace using eclipse on my linux machine. Now when I was trying to open the same workspace using my laptop through remote connection I was getting a message like &#8220;Workspace in use or cannot be created&#8221;.</p>
<p>Solution:<br />
whenever you open a workspace using eclipse a .lock file is created that locks the workspace so as to disallow opening the same workspace by someone else.<br />
I just deleted that .lock file and the problem was solved.</p>
<p>Path of .lock file&#8230;<br />
the path is<br />
/workspace/package_directory/.metadata/.lock</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/avdubey.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/avdubey.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/avdubey.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/avdubey.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/avdubey.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/avdubey.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/avdubey.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/avdubey.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/avdubey.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/avdubey.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/avdubey.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/avdubey.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/avdubey.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/avdubey.wordpress.com/257/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=avdubey.wordpress.com&amp;blog=6873014&amp;post=257&amp;subd=avdubey&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://avdubey.wordpress.com/2011/03/06/eclipse-workspace-in-use-or-cannot-be-created-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fc8b14e3d835adb373e9d37fac06738a?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">avdubey</media:title>
		</media:content>
	</item>
		<item>
		<title>javascript hashmap</title>
		<link>http://avdubey.wordpress.com/2011/02/10/javascript-hashmap/</link>
		<comments>http://avdubey.wordpress.com/2011/02/10/javascript-hashmap/#comments</comments>
		<pubDate>Thu, 10 Feb 2011 15:01:45 +0000</pubDate>
		<dc:creator>Avinash Dubey</dc:creator>
				<category><![CDATA[JQUERY]]></category>

		<guid isPermaLink="false">http://avdubey.wordpress.com/?p=254</guid>
		<description><![CDATA[Q. Define and iterate hashmap in javascript &#8211; //declaration var myHashmap = {} //add elements myHashmap['one'] = &#8220;two&#8221;; myHashmap.one = &#8220;two&#8221;; //iteration for(key in myHashmap){ alert(&#8220;key is &#8220;+ key + &#8221; and element is &#8221; + myHashmap[key]); }<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=avdubey.wordpress.com&amp;blog=6873014&amp;post=254&amp;subd=avdubey&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Q. Define and iterate hashmap in javascript</p>
<p>&#8211;<br />
//declaration<br />
var myHashmap = {}</p>
<p>//add elements<br />
myHashmap['one']  = &#8220;two&#8221;;<br />
myHashmap.one    = &#8220;two&#8221;;</p>
<p>//iteration<br />
for(key in myHashmap){<br />
    alert(&#8220;key is &#8220;+ key + &#8221; and element is &#8221; + myHashmap[key]);<br />
}</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/avdubey.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/avdubey.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/avdubey.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/avdubey.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/avdubey.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/avdubey.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/avdubey.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/avdubey.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/avdubey.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/avdubey.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/avdubey.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/avdubey.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/avdubey.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/avdubey.wordpress.com/254/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=avdubey.wordpress.com&amp;blog=6873014&amp;post=254&amp;subd=avdubey&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://avdubey.wordpress.com/2011/02/10/javascript-hashmap/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fc8b14e3d835adb373e9d37fac06738a?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">avdubey</media:title>
		</media:content>
	</item>
		<item>
		<title>kill a process if already running</title>
		<link>http://avdubey.wordpress.com/2010/11/08/kill-a-process-if-already-running/</link>
		<comments>http://avdubey.wordpress.com/2010/11/08/kill-a-process-if-already-running/#comments</comments>
		<pubDate>Mon, 08 Nov 2010 13:53:06 +0000</pubDate>
		<dc:creator>Avinash Dubey</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://avdubey.wordpress.com/?p=248</guid>
		<description><![CDATA[process_id=`ps -e &#124; grep firefox &#124; cut -f1 -d&#8217; &#8216;` #check if process exists if [ "$process_id" != "" ] then kill $process_id fi<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=avdubey.wordpress.com&amp;blog=6873014&amp;post=248&amp;subd=avdubey&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>  process_id=`ps -e | grep firefox | cut -f1 -d&#8217; &#8216;`<br />
  #check if process exists<br />
  if [ "$process_id" != "" ]<br />
  then<br />
              kill $process_id<br />
  fi </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/avdubey.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/avdubey.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/avdubey.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/avdubey.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/avdubey.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/avdubey.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/avdubey.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/avdubey.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/avdubey.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/avdubey.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/avdubey.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/avdubey.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/avdubey.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/avdubey.wordpress.com/248/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=avdubey.wordpress.com&amp;blog=6873014&amp;post=248&amp;subd=avdubey&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://avdubey.wordpress.com/2010/11/08/kill-a-process-if-already-running/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fc8b14e3d835adb373e9d37fac06738a?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">avdubey</media:title>
		</media:content>
	</item>
		<item>
		<title>dig command to know hostname</title>
		<link>http://avdubey.wordpress.com/2010/06/17/dig-command-to-know-hostname/</link>
		<comments>http://avdubey.wordpress.com/2010/06/17/dig-command-to-know-hostname/#comments</comments>
		<pubDate>Thu, 17 Jun 2010 06:58:27 +0000</pubDate>
		<dc:creator>Avinash Dubey</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://avdubey.wordpress.com/?p=243</guid>
		<description><![CDATA[dig +short hostname (to get ip address of hostname) dig +short -x ip-address (for reverse dns ..ie to get hostname from ip address)<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=avdubey.wordpress.com&amp;blog=6873014&amp;post=243&amp;subd=avdubey&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>dig +short hostname (to get ip address of hostname)<br />
dig +short -x ip-address (for reverse dns ..ie to get hostname from ip address)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/avdubey.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/avdubey.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/avdubey.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/avdubey.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/avdubey.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/avdubey.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/avdubey.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/avdubey.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/avdubey.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/avdubey.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/avdubey.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/avdubey.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/avdubey.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/avdubey.wordpress.com/243/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=avdubey.wordpress.com&amp;blog=6873014&amp;post=243&amp;subd=avdubey&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://avdubey.wordpress.com/2010/06/17/dig-command-to-know-hostname/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fc8b14e3d835adb373e9d37fac06738a?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">avdubey</media:title>
		</media:content>
	</item>
		<item>
		<title>cannot display this video mode problem</title>
		<link>http://avdubey.wordpress.com/2010/06/04/cannot-display-this-video-mode-problem/</link>
		<comments>http://avdubey.wordpress.com/2010/06/04/cannot-display-this-video-mode-problem/#comments</comments>
		<pubDate>Fri, 04 Jun 2010 12:46:09 +0000</pubDate>
		<dc:creator>Avinash Dubey</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://avdubey.wordpress.com/?p=236</guid>
		<description><![CDATA[to login press [ctrl] + F(1-6) a console promt will come and you can login using your user id and password then open file /etc/X11/xorg.conf edit / add line Modes &#8220;1280&#215;1024&#8243; i.e.(axb) where a and b is the screen resolution your monitor supports the file will look somethin like this Section &#8220;Screen&#8221; Identifier &#8220;Screen0&#8243; Device [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=avdubey.wordpress.com&amp;blog=6873014&amp;post=236&amp;subd=avdubey&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>to login press [ctrl] + F(1-6)<br />
a console promt will come and you can login using your user id and password<br />
then open file /etc/X11/xorg.conf</p>
<p>edit / add line Modes &#8220;1280&#215;1024&#8243; i.e.(axb) where a and b is the screen resolution your monitor supports<br />
the file will look somethin like this<br />
Section &#8220;Screen&#8221;<br />
Identifier &#8220;Screen0&#8243;<br />
Device &#8220;Videocard0&#8243;<br />
Monitor &#8220;Monitor0&#8243;<br />
DefaultDepth 24<br />
SubSection &#8220;Display&#8221;<br />
Viewport 0 0<br />
Depth 16<br />
Modes &#8220;800&#215;600&#8243; &#8220;640&#215;480&#8243;<br />
EndSubSection<br />
SubSection &#8220;Display&#8221;<br />
Viewport 0 0<br />
Depth 24<br />
Modes &#8220;1024&#215;768&#8243; #changed from &#8220;1280&#215;1024&#8243;<br />
EndSubSection<br />
EndSection </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/avdubey.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/avdubey.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/avdubey.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/avdubey.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/avdubey.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/avdubey.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/avdubey.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/avdubey.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/avdubey.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/avdubey.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/avdubey.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/avdubey.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/avdubey.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/avdubey.wordpress.com/236/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=avdubey.wordpress.com&amp;blog=6873014&amp;post=236&amp;subd=avdubey&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://avdubey.wordpress.com/2010/06/04/cannot-display-this-video-mode-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fc8b14e3d835adb373e9d37fac06738a?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">avdubey</media:title>
		</media:content>
	</item>
		<item>
		<title>port 80 problem of apache due to selinux..</title>
		<link>http://avdubey.wordpress.com/2010/02/03/port-80-problem-of-apache-due-to-selinux/</link>
		<comments>http://avdubey.wordpress.com/2010/02/03/port-80-problem-of-apache-due-to-selinux/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 14:10:18 +0000</pubDate>
		<dc:creator>Avinash Dubey</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://avdubey.wordpress.com/?p=212</guid>
		<description><![CDATA[problem : i was having problem with my apache web server&#8230;. when i was typing http://localhost apache test page was opening when i was typing http://172.31.80.205:80 apache test page was opening when i was typing http://172.31.80.205 &#8230;it was giving me error // bad request &#8230; do this to solve te problem&#8230; solution: first selinux was [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=avdubey.wordpress.com&amp;blog=6873014&amp;post=212&amp;subd=avdubey&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>problem :</p>
<p>i was having problem with my apache web server&#8230;.<br />
when i was typing http://localhost apache test page was opening<br />
when i was typing http://172.31.80.205:80 apache test page was opening<br />
when i was typing http://172.31.80.205 &#8230;it was giving me error // bad request &#8230;<br />
do this to solve te problem&#8230;<br />
solution:<br />
first selinux was disabled but no use..so did this and the problem was solved&#8230;<br />
kwrite /etc/httpd/modsecurity.d/modsecurity_crs_21_protocol_anomalies.conf<br />
type this and search line containing numeric type of thing&#8230;<br />
just comment that line and the problem will be solved&#8230;</p>
<p>problem :</p>
<p>i was having problem with my apache web server&#8230;.<br />
when i was typing http://localhost apache test page was opening<br />
when i was typing http://172.31.80.205:80 apache test page was opening<br />
when i was typing http://172.31.80.205 &#8230;it was giving me error // bad request &#8230;</p>
<p>Solution:</p>
<p>do this to solve te problem&#8230;first selinux was disabled but no use..so did this and the problem was solved&#8230;</p>
<p>kwrite /etc/httpd/modsecurity.d/modsecurity_crs_21_protocol_anomalies.conf<br />
type this and search line containing numeric type of thing&#8230;just comment that line and the problem will be solved&#8230;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/avdubey.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/avdubey.wordpress.com/212/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/avdubey.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/avdubey.wordpress.com/212/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/avdubey.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/avdubey.wordpress.com/212/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/avdubey.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/avdubey.wordpress.com/212/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/avdubey.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/avdubey.wordpress.com/212/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/avdubey.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/avdubey.wordpress.com/212/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/avdubey.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/avdubey.wordpress.com/212/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=avdubey.wordpress.com&amp;blog=6873014&amp;post=212&amp;subd=avdubey&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://avdubey.wordpress.com/2010/02/03/port-80-problem-of-apache-due-to-selinux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fc8b14e3d835adb373e9d37fac06738a?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">avdubey</media:title>
		</media:content>
	</item>
		<item>
		<title>reverse linked list using recursion..</title>
		<link>http://avdubey.wordpress.com/2010/02/03/reverse-linked-list-using-recursion/</link>
		<comments>http://avdubey.wordpress.com/2010/02/03/reverse-linked-list-using-recursion/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 14:08:12 +0000</pubDate>
		<dc:creator>Avinash Dubey</dc:creator>
				<category><![CDATA[fundoo programs]]></category>

		<guid isPermaLink="false">http://avdubey.wordpress.com/?p=210</guid>
		<description><![CDATA[node* Reverse(node* ptr) { if(ptr-&#62;next == NULL) { Head = ptr; return ptr; } Reverse(ptr-&#62;next)-&#62;next = ptr; return ptr; } node* Reverse(node* ptr){if(ptr-&#62;next == NULL){Head = ptr;return ptr;} Reverse(ptr-&#62;next)-&#62;next = ptr; return ptr;}<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=avdubey.wordpress.com&amp;blog=6873014&amp;post=210&amp;subd=avdubey&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste">node* Reverse(node* ptr)</div>
<div id="_mcePaste">{</div>
<div id="_mcePaste">if(ptr-&gt;next == NULL)</div>
<div id="_mcePaste">{</div>
<div id="_mcePaste">Head = ptr;</div>
<div id="_mcePaste">return ptr;</div>
<div id="_mcePaste">}</div>
<div id="_mcePaste">Reverse(ptr-&gt;next)-&gt;next = ptr;</div>
<div id="_mcePaste">return ptr;</div>
<div id="_mcePaste">}</div>
<p>node* Reverse(node* ptr){if(ptr-&gt;next == NULL){Head = ptr;return ptr;}<br />
Reverse(ptr-&gt;next)-&gt;next = ptr;<br />
return ptr;}</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/avdubey.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/avdubey.wordpress.com/210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/avdubey.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/avdubey.wordpress.com/210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/avdubey.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/avdubey.wordpress.com/210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/avdubey.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/avdubey.wordpress.com/210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/avdubey.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/avdubey.wordpress.com/210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/avdubey.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/avdubey.wordpress.com/210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/avdubey.wordpress.com/210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/avdubey.wordpress.com/210/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=avdubey.wordpress.com&amp;blog=6873014&amp;post=210&amp;subd=avdubey&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://avdubey.wordpress.com/2010/02/03/reverse-linked-list-using-recursion/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fc8b14e3d835adb373e9d37fac06738a?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">avdubey</media:title>
		</media:content>
	</item>
		<item>
		<title>Efficient code for counting set bits&#8230;</title>
		<link>http://avdubey.wordpress.com/2010/01/23/efficient-code-for-counting-set-bits/</link>
		<comments>http://avdubey.wordpress.com/2010/01/23/efficient-code-for-counting-set-bits/#comments</comments>
		<pubDate>Sat, 23 Jan 2010 04:25:34 +0000</pubDate>
		<dc:creator>Avinash Dubey</dc:creator>
				<category><![CDATA[fundoo programs]]></category>

		<guid isPermaLink="false">http://avdubey.wordpress.com/?p=208</guid>
		<description><![CDATA[This is the very efficient code for counting set bits. int NumberOfSetBits(int i) { i = i &#8211; ((i &#62;&#62; 1) &#38; 0&#215;55555555); i = (i &#38; 0&#215;33333333) + ((i &#62;&#62; 2) &#38; 0&#215;33333333); return ((i + (i &#62;&#62; 4) &#38; 0xF0F0F0F) * 0&#215;1010101) &#62;&#62; 24; } Explanation The first statement partitions i into 2-bit [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=avdubey.wordpress.com&amp;blog=6873014&amp;post=208&amp;subd=avdubey&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is the very efficient code for counting set bits.</p>
<p>int NumberOfSetBits(int i)<br />
{<br />
i = i &#8211; ((i &gt;&gt; 1) &amp; 0&#215;55555555);<br />
i = (i &amp; 0&#215;33333333) + ((i &gt;&gt; 2) &amp; 0&#215;33333333);<br />
return ((i + (i &gt;&gt; 4) &amp; 0xF0F0F0F) * 0&#215;1010101) &gt;&gt; 24;<br />
}</p>
<p>Explanation</p>
<p>The first statement partitions i into 2-bit groups and replaces each 2<br />
bit group with the number of 1-bits set in that group. The second<br />
statement partitions the number into 4-bit groups and adds together<br />
the two 2-bit groups in each to get the number of 1-bits originally<br />
set in that 4-bit group. The last statement partitions the number into<br />
8-bit groups and adds the two 4-bit groups in each to get the number<br />
of 1-bits in the 8-bit group. Then the multiplication adds the 8-bit<br />
groups, leaving the sum in the upper 8 bits of the number. The shift<br />
right-justifies the sum in the word.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/avdubey.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/avdubey.wordpress.com/208/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/avdubey.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/avdubey.wordpress.com/208/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/avdubey.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/avdubey.wordpress.com/208/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/avdubey.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/avdubey.wordpress.com/208/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/avdubey.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/avdubey.wordpress.com/208/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/avdubey.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/avdubey.wordpress.com/208/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/avdubey.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/avdubey.wordpress.com/208/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=avdubey.wordpress.com&amp;blog=6873014&amp;post=208&amp;subd=avdubey&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://avdubey.wordpress.com/2010/01/23/efficient-code-for-counting-set-bits/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fc8b14e3d835adb373e9d37fac06738a?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">avdubey</media:title>
		</media:content>
	</item>
		<item>
		<title>Faizan n me @ first day in college&#8230;</title>
		<link>http://avdubey.wordpress.com/2009/12/20/faizan-n-me-first-day-in-college/</link>
		<comments>http://avdubey.wordpress.com/2009/12/20/faizan-n-me-first-day-in-college/#comments</comments>
		<pubDate>Sun, 20 Dec 2009 17:23:58 +0000</pubDate>
		<dc:creator>Avinash Dubey</dc:creator>
				<category><![CDATA[Faizan]]></category>

		<guid isPermaLink="false">http://avdubey.wordpress.com/?p=204</guid>
		<description><![CDATA[it was my first day of college, room no 2 , Tagore hostel. i was busy chatting  with irfan when a very lean and thin guy having an equally lean and thin moustache entered the room along with his father. We both stood up to welcome him and after a very short formal introduction when [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=avdubey.wordpress.com&amp;blog=6873014&amp;post=204&amp;subd=avdubey&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://avdubey.files.wordpress.com/2009/12/faizan1.jpg"><img class="alignleft size-full wp-image-203" title="faizan" src="http://avdubey.files.wordpress.com/2009/12/faizan1.jpg?w=497" alt=""   /></a> it was my first day of college, room no 2 , Tagore hostel. i was busy chatting  with irfan when a very lean and thin guy having an equally lean and thin moustache entered the room along with his father. We both stood up to welcome him and after a very short formal introduction when i thought that its the right time to start our normal informal boys talks this guy started talking like gradpa. His branch was production at that time, so the main topic of his talks was &#8220;production is at par with mechanical the only difference being in the name&#8230;&#8221; and &#8220;&#8211;do&#8211;&#8221; and &#8220;&#8211;do&#8211;&#8221;&#8230;. bole to sirf production ki badai aur kuch ni&#8230;uff &#8230;.o bhai isne do teen din tak itna pakaya na production ko leke ki kya bataun&#8230;</p>
<p>Bbut we were lucky enough that this ordeal ended soon as he finally managed to change his branch to Electrical after a few days.. bas phir kya tha&#8230;then he saw the real dubey &#8230; itni mari iski pure wing mein ki poocho mat&#8230; but i was really happy to see that he never took ma words to heart &#8230;. n because of these things only we came quite close to each other&#8230;</p>
<p>he was my partner in crime and stayed so till third year&#8230;. ek baar to fansa bhi hai achcha khasa meri wajah se&#8230;. iam damn sure he can never forget that NIGHT&#8230; the most special night in our batch&#8217;s history&#8230;</p>
<p>the most funny game we used to play was &#8220;Hansi &#8212; Hansi&#8221;&#8230;. i donno how come this thing started but this is the main reason which changed the Mr padhaku and sincy faizan into the one f the most bhasad guys of our college.. i still remember during first few weeks of college he used to study separately on his neat n clean table that too under a table lamp&#8230; haha guys used to come in our room askin Mr faizan for his notes&#8230; but once dat game started wowo&#8230; we all saw a new avatar of faizan which never turned back into original one&#8230;we used to sit together and laugh continuously unnecessarily for hours till our stomach gave up due to pain&#8230; and the irony is that anyone who dared to ask us y we were laughing , after sometime he too used to become the part f dat chain&#8230;.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/avdubey.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/avdubey.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/avdubey.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/avdubey.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/avdubey.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/avdubey.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/avdubey.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/avdubey.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/avdubey.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/avdubey.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/avdubey.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/avdubey.wordpress.com/204/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/avdubey.wordpress.com/204/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/avdubey.wordpress.com/204/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=avdubey.wordpress.com&amp;blog=6873014&amp;post=204&amp;subd=avdubey&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://avdubey.wordpress.com/2009/12/20/faizan-n-me-first-day-in-college/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fc8b14e3d835adb373e9d37fac06738a?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">avdubey</media:title>
		</media:content>

		<media:content url="http://avdubey.files.wordpress.com/2009/12/faizan1.jpg" medium="image">
			<media:title type="html">faizan</media:title>
		</media:content>
	</item>
	</channel>
</rss>
