<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/rss2full.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/itemcontent.css" type="text/css" media="screen"?><!-- generator="wordpress/2.3.2" --><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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>zohair ahmad</title>
	<link>http://www.zohairahmad.com</link>
	<description />
	<pubDate>Sat, 15 Nov 2008 17:42:54 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.2</generator>
	<language>en</language>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/zohairahmad/rss" type="application/rss+xml" /><item>
		<title>Splat</title>
		<link>http://feeds.feedburner.com/~r/zohairahmad/rss/~3/454161889/</link>
		<comments>http://www.zohairahmad.com/2008/11/15/splat/#comments</comments>
		<pubDate>Sat, 15 Nov 2008 17:42:54 +0000</pubDate>
		<dc:creator>zohair</dc:creator>
		
	<dc:subject>general</dc:subject>
		<guid isPermaLink="false">http://www.zohairahmad.com/2008/11/15/splat/</guid>
		<description><![CDATA[Always hurts when you fall from a certain height. Just wish I&#8217;d stop learning these lessons the hard way.
People down there! Look out! I&#8217;m coming over.
Wow, it looks far from up here.
&#8230; this is going to sting.
]]></description>
			<content:encoded><![CDATA[<p>Always hurts when you fall from a certain height. Just wish I&#8217;d stop learning these lessons the hard way.</p>
<p>People down there! Look out! I&#8217;m coming over.</p>
<p>Wow, it looks far from up here.</p>
<p>&#8230; this is going to sting.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zohairahmad.com/2008/11/15/splat/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.zohairahmad.com/2008/11/15/splat/</feedburner:origLink></item>
		<item>
		<title>M$ Bull</title>
		<link>http://feeds.feedburner.com/~r/zohairahmad/rss/~3/447226828/</link>
		<comments>http://www.zohairahmad.com/2008/11/09/m-bull/#comments</comments>
		<pubDate>Sun, 09 Nov 2008 08:38:02 +0000</pubDate>
		<dc:creator>zohair</dc:creator>
		
	<dc:subject>web crawling</dc:subject>
		<guid isPermaLink="false">http://www.zohairahmad.com/2008/11/09/m-bull/</guid>
		<description><![CDATA[Needing to access a web-page recently to get some info on a course, i visited the following site.
http://www.sdc.com.pk/lnkpg/Chip_design.asp 
I was promptly greeted, not by the page, but by the source code!

 
Take a look at the code, the first line shows
&#60;html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
What the heck is this? I&#8217;m no expert on web terminology, but this does [...]]]></description>
			<content:encoded><![CDATA[<p>Needing to access a web-page recently to get some info on a course, i visited the following site.</p>
<p><a href="http://www.sdc.com.pk/lnkpg/Chip_design.asp">http://www.sdc.com.pk/lnkpg/Chip_design.asp </a></p>
<p>I was promptly greeted, not by the page, but by the source code!</p>
<p><a href="http://www.zohairahmad.com/blog/wp-content/uploads/2008/11/ms_screw01.jpg" title="In firefox 3.0.3"></a></p>
<p style="text-align: center"><a href="http://www.zohairahmad.com/blog/wp-content/uploads/2008/11/ms_screw01.jpg" title="In firefox 3.0.3"><img src="http://www.zohairahmad.com/blog/wp-content/uploads/2008/11/ms_screw01.thumbnail.jpg" alt="In firefox 3.0.3" /></a><a href="http://www.zohairahmad.com/blog/wp-content/uploads/2008/11/ms_screw01.jpg" title="In firefox 3.0.3"> </a></p>
<p>Take a look at the code, the first line shows</p>
<pre>&lt;html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"</pre>
<p>What the heck is this? I&#8217;m no expert on web terminology, but this does NOT seem to be standard. At least, if it were, why is it not opening in Firefox? (Iceweasel is just Debians name for Firefox).</p>
<p>Here&#8217;s what <a href="http://validator.w3.org/">W3C&#8217;s validator</a> gave me.</p>
<pre>Sorry, I am unable to validate this document because its content type is text/plain, which is not currently supported by this service.</pre>
<p><code>text/plain</code>? Telnetting to the server and trying GET to retrieve a page failed. (I don&#8217;t really know how to do that properly, so I can&#8217;t see the header for myself)</p>
<p>I tried opening this in Internet Explorer, and guess what? It opens <em>perfectly</em></p>
<p><a href="http://www.zohairahmad.com/blog/wp-content/uploads/2008/11/ms_screw02.jpg" title="In Internet Explorer"></a></p>
<p style="text-align: center"><a href="http://www.zohairahmad.com/blog/wp-content/uploads/2008/11/ms_screw02.jpg" title="In Internet Explorer"><img src="http://www.zohairahmad.com/blog/wp-content/uploads/2008/11/ms_screw02.thumbnail.jpg" alt="In Internet Explorer" /></a></p>
<p>So what? If I want to access some info about electrical engineering I need to pay Micro$oft? When already a large number of VLSI design software recognizes and runs natively on Linux? What gives?</p>
<p>I&#8217;m guessing this is some sort of output graciously generated by Microsoft Office if you create a web-page with it. Its disappointing to see Pakistani sites being so incompatible with web-standards.</p>
<p>Screw you Micro$oft.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zohairahmad.com/2008/11/09/m-bull/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.zohairahmad.com/2008/11/09/m-bull/</feedburner:origLink></item>
		<item>
		<title>Playing Internet TV On Linux</title>
		<link>http://feeds.feedburner.com/~r/zohairahmad/rss/~3/411054984/</link>
		<comments>http://www.zohairahmad.com/2008/10/04/playing-internet-tv-on-linux/#comments</comments>
		<pubDate>Sat, 04 Oct 2008 11:51:16 +0000</pubDate>
		<dc:creator>zohair</dc:creator>
		
	<dc:subject>linux</dc:subject>
		<guid isPermaLink="false">http://www.zohairahmad.com/2008/10/04/playing-internet-tv-on-linux/</guid>
		<description><![CDATA[A friend asked me to help them watch Internet TV streams on their fresh Ubuntu install. Apparently most of these sites simply assume your running Internet Explorer and just leave it at that. Being the wonderfully helpful person I am (not to mention modest), I wanted to help. Of course this gave me the opportunity [...]]]></description>
			<content:encoded><![CDATA[<p>A friend asked me to help them watch Internet TV streams on their fresh Ubuntu install. Apparently most of these sites simply assume your running Internet Explorer and just leave it at that. Being the wonderfully helpful person I am (not to mention modest), I wanted to help. Of course this gave me the opportunity to muck about too :P</p>
<p>I had earlier encountered something similar at university. The hostel where I was staying had a live LAN TV feed. The &#8220;only&#8221; way to catch it was to use Internet Explorer. I found the IP addresses where the stream was being hosted and promptly used VLC to catch it, hence allowing me to watch TV while logged into Linux.</p>
<p>I tried a similar approach this time, but found this to be a bit more tricky, since the main page was redirecting to another and then another page, the actual stream being embedded on a completely different website.</p>
<p>Thus began the painstaking process of extracting and checking these URLs and compiling a playlist for VLC. The fruits of which can be found<a href="http://www.zohairahmad.com/blog/wp-content/uploads/2008/10/nettv.m3u"> below</a>. Some of these channels didn&#8217;t work today. I dont know maybe they&#8217;ll work at other times of the day. Hopefully, you&#8217;ll find most of them working though. You <em>do</em> need a fast Internet connection though. About 512Kbps for some, because of the high data rates.</p>
<p><a href="http://www.zohairahmad.com/blog/wp-content/uploads/2008/10/shot6.jpg" title="Screenie!"></a></p>
<p style="text-align: center"><a href="http://www.zohairahmad.com/blog/wp-content/uploads/2008/10/shot6.jpg" title="Screenie!!"><img src="http://www.zohairahmad.com/blog/wp-content/uploads/2008/10/shot6.thumbnail.jpg" alt="Screenie!!" /></a></p>
<p>Most of these are Indian channels, which I don&#8217;t watch. There weren&#8217;t any English channels on the site I was checking so I didn&#8217;t add any. If you find any channels that are not in here, please let me know so I can add them. Or if you&#8217;ve found a website with different channels and want me to take a look, feel free to leave a comment.</p>
<p>For now though, download the playlist, get VLC, which is available for <a href="http://www.videolan.org/vlc/download-windows.html">Windows</a>, <a href="http://www.videolan.org/vlc/download-macosx.html">Mac OS X</a> and Linux (use your respective package manager). Then download the playlist and test it.</p>
<p>There are some things that may happen rendering this playlist obsolete. These streams are using a static IP, if the admins decided to change their servers, the playlist will have to be remade. Or they may just decide to discontinue the service. Until that happens though, I&#8217;m watching TV :P</p>
<p>Download this: <a href="http://www.zohairahmad.com/blog/wp-content/uploads/2008/10/nettv.m3u" title="netTV Playlist">netTV Playlist</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.zohairahmad.com/2008/10/04/playing-internet-tv-on-linux/feed/</wfw:commentRss>

		<feedburner:origLink>http://www.zohairahmad.com/2008/10/04/playing-internet-tv-on-linux/</feedburner:origLink><enclosure url="http://feeds.feedburner.com/~r/zohairahmad/rss/~5/411054985/nettv.m3u" length="5131" type="audio/x-mpegurl" /><feedburner:origEnclosureLink>http://www.zohairahmad.com/blog/wp-content/uploads/2008/10/nettv.m3u</feedburner:origEnclosureLink></item>
		<item>
		<title>sudoers and more</title>
		<link>http://feeds.feedburner.com/~r/zohairahmad/rss/~3/410840977/</link>
		<comments>http://www.zohairahmad.com/2008/10/04/sudoers-and-more/#comments</comments>
		<pubDate>Sat, 04 Oct 2008 04:50:04 +0000</pubDate>
		<dc:creator>zohair</dc:creator>
		
	<dc:subject>linux</dc:subject>
		<guid isPermaLink="false">http://www.zohairahmad.com/2008/10/04/sudoers-and-more/</guid>
		<description><![CDATA[Well sudoers was easier than I thought in the end. I just had to add a line adding giving user ALL privileges
iceman ALL=(ALL) ALL
where iceman is the user name. This works for full access, but there are tons of options for limiting users, for example to only let them run certain commands.
The status is that [...]]]></description>
			<content:encoded><![CDATA[<p>Well <a href="http://www.zohairahmad.com/2008/10/02/man-sudoers-oohhhkayy/">sudoers</a> was easier than I thought in the end. I just had to add a line adding giving user ALL privileges</p>
<p><code>iceman ALL=(ALL) ALL</code></p>
<p>where iceman is the user name. This works for full access, but there are tons of options for limiting users, for example to only let them run certain commands.</p>
<p>The status is that security is still lacking, we need to set up a firewall ASAP. Right now we&#8217;re only being &#8220;protected&#8221;  by the default Shirocorp modem given out by PTCL to its DSL subscribers.</p>
<p>Added a LAMP setup, although need to forward port 80 through the modem and its not cooperating. I cant understand why you cant access the config page in a text mode browser. Had a fun (read crazy) night trying to get squid to work. It wouldn&#8217;t budge at first, but with a bit of tinkering it ran ok. We got ourselves a domain name, and even a channel on DALNET :) Come on in to #shellhell and talk with us. No accounts being given out yet though.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zohairahmad.com/2008/10/04/sudoers-and-more/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.zohairahmad.com/2008/10/04/sudoers-and-more/</feedburner:origLink></item>
		<item>
		<title>man sudoers… oohhhkayy</title>
		<link>http://feeds.feedburner.com/~r/zohairahmad/rss/~3/408965307/</link>
		<comments>http://www.zohairahmad.com/2008/10/02/man-sudoers-oohhhkayy/#comments</comments>
		<pubDate>Thu, 02 Oct 2008 05:43:15 +0000</pubDate>
		<dc:creator>zohair</dc:creator>
		
	<dc:subject>general</dc:subject>
		<guid isPermaLink="false">http://www.zohairahmad.com/2008/10/02/man-sudoers-oohhhkayy/</guid>
		<description><![CDATA[OMG! Has anyone actually seen the sudoers manual page? That thing is huge!
Well&#8230; looks like this is going to be a bit tougher than I thought.
]]></description>
			<content:encoded><![CDATA[<p>OMG! Has anyone actually <em>seen</em> the <a href="http://linux.die.net/man/5/sudoers">sudoers manual page</a>? That thing is huge!</p>
<p>Well&#8230; looks like this is going to be a bit tougher than I thought.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zohairahmad.com/2008/10/02/man-sudoers-oohhhkayy/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.zohairahmad.com/2008/10/02/man-sudoers-oohhhkayy/</feedburner:origLink></item>
		<item>
		<title>Setting Up A Ubuntu Server … Remotely</title>
		<link>http://feeds.feedburner.com/~r/zohairahmad/rss/~3/407967637/</link>
		<comments>http://www.zohairahmad.com/2008/10/01/setting-up-a-ubuntu-server-remotely/#comments</comments>
		<pubDate>Wed, 01 Oct 2008 06:17:59 +0000</pubDate>
		<dc:creator>zohair</dc:creator>
		
	<dc:subject>linux</dc:subject>
		<guid isPermaLink="false">http://www.zohairahmad.com/2008/10/01/setting-up-a-ubuntu-server-remotely/</guid>
		<description><![CDATA[I recently met someone on IRC and we discussed setting up a Ubuntu server to muck about with. The idea had occured to me before, but because of my Internet connectivity issues, I didn&#8217;t think I could do a stable server. Plus I lacked the hardware to do so. But we did it, and now [...]]]></description>
			<content:encoded><![CDATA[<p>I recently met someone on IRC and we discussed setting up a Ubuntu server to muck about with. The idea had occured to me before, but because of my Internet connectivity issues, I didn&#8217;t think I could do a stable server. Plus I lacked the hardware to do so. But we did it, and now there&#8217;s an old P3 computer with a fresh install of Ubuntu just begging to be played with :P</p>
<p>After two days of banging our heads together on IRC, with me trying to figure out what the problem was, while getting results posted back in a chat window, we finally got SSH working. I realized that Ubuntu is actually quite different from Debian (which caused quite a few headaches). Finally logging in to the system, felt AWESOME!!! This was the result of our hard work! Woohoo!</p>
<p>There are quite a few problems we&#8217;re facing now. Security being the main one. Dynamic IP is another, which I should be able to solve with <a href="http://www.zohairahmad.com/2008/05/18/no-ip2-continued/">noip</a>, later shifting to a DNS server of our own maybe. Adding user groups and limiting access, then running LAMP &#8230;. whoooo this is going to be fun. Right now though, I need to fix not being able to sudo through ssh which is causing me a lot of pain.</p>
<p>And I slept at 3:15 last night!!! Chand Raat even!!! Had to get back up at 7 am too. And I wasn&#8217;t even tired. I haven&#8217;t felt this good for a long time.</p>
<p>Once I solve a couple of problems, I&#8217;m going to write about it in detail. For now though, I need to get off my laptop because its Eid! EID MUBARAK EVERYONE!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zohairahmad.com/2008/10/01/setting-up-a-ubuntu-server-remotely/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.zohairahmad.com/2008/10/01/setting-up-a-ubuntu-server-remotely/</feedburner:origLink></item>
		<item>
		<title>Desktop In A Browser</title>
		<link>http://feeds.feedburner.com/~r/zohairahmad/rss/~3/404519563/</link>
		<comments>http://www.zohairahmad.com/2008/09/27/desktop-in-a-browser/#comments</comments>
		<pubDate>Sat, 27 Sep 2008 08:41:03 +0000</pubDate>
		<dc:creator>zohair</dc:creator>
		
	<dc:subject>software</dc:subject>
	<dc:subject>web crawling</dc:subject>
		<guid isPermaLink="false">http://www.zohairahmad.com/2008/09/27/desktop-in-a-browser/</guid>
		<description><![CDATA[Behold, the open source desktop EyeOS that runneth in a browser. It can run a range of web applications, and since its all open source, it won&#8217;t be long until more are available. Already there&#8217;s a calendar, text editor, a full office suite, function plotter, games, mp3 player, ftp client&#8230; what else do you need!


You [...]]]></description>
			<content:encoded><![CDATA[<p>Behold, the open source desktop <a href="http://eyeos.org/en/?section=home">EyeOS</a> that runneth in a browser. It can run a range of web applications, and since its all open source, it won&#8217;t be long until more are available. Already there&#8217;s a calendar, text editor, a full office suite, function plotter, games, mp3 player, ftp client&#8230; what else do you need!</p>
<p><a href="http://www.zohairahmad.com/blog/wp-content/uploads/2008/09/shot4.jpg" title="EyeOS calendar"></a></p>
<p style="text-align: center"><a href="http://www.zohairahmad.com/blog/wp-content/uploads/2008/09/shot4.jpg" title="EyeOS calendar"><img src="http://www.zohairahmad.com/blog/wp-content/uploads/2008/09/shot4.thumbnail.jpg" alt="EyeOS calendar" /></a></p>
<p>You can upload your files and access them from anywhere, which is the intent. They claim it runs on a mobile phone, but you&#8217;d probably need to have java on it too. Which means a decently hefty phone. Which I dont have to test it.</p>
<p><a href="http://www.zohairahmad.com/blog/wp-content/uploads/2008/09/shot5.jpg" title="Games!"></a></p>
<p style="text-align: center"><a href="http://www.zohairahmad.com/blog/wp-content/uploads/2008/09/shot5.jpg" title="Games!"><img src="http://www.zohairahmad.com/blog/wp-content/uploads/2008/09/shot5.thumbnail.jpg" alt="Games!" /></a></p>
<p>EyeOS is meant to be a download-able server, that you would set up on a private machine to access from anywhere. But, they do offer a <a href="http://eyeos.info/">free public server</a> that you can sign up an account on, which is what I tested.</p>
<p>Now if only, they could put up a terminal&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zohairahmad.com/2008/09/27/desktop-in-a-browser/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.zohairahmad.com/2008/09/27/desktop-in-a-browser/</feedburner:origLink></item>
		<item>
		<title>Foooooooood!</title>
		<link>http://feeds.feedburner.com/~r/zohairahmad/rss/~3/403877462/</link>
		<comments>http://www.zohairahmad.com/2008/09/26/foooooooood/#comments</comments>
		<pubDate>Fri, 26 Sep 2008 15:35:16 +0000</pubDate>
		<dc:creator>zohair</dc:creator>
		
	<dc:subject>web crawling</dc:subject>
		<guid isPermaLink="false">http://www.zohairahmad.com/2008/09/26/foooooooood/</guid>
		<description><![CDATA[FoopP***Daily
 Just what we need during roza. No, it doesnt have much to do with the second word in the url. Its a perfectly safe website.
Excuse me while I salivate.
]]></description>
			<content:encoded><![CDATA[<p align="center"><a href="http://foodporndaily.com">FoopP***Daily</a></p>
<p> Just what we need during roza. No, it doesnt have much to do with the second word in the url. Its a perfectly safe website.</p>
<p>Excuse me while I salivate.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zohairahmad.com/2008/09/26/foooooooood/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.zohairahmad.com/2008/09/26/foooooooood/</feedburner:origLink></item>
		<item>
		<title>Religion</title>
		<link>http://feeds.feedburner.com/~r/zohairahmad/rss/~3/390899302/</link>
		<comments>http://www.zohairahmad.com/2008/09/12/religion/#comments</comments>
		<pubDate>Fri, 12 Sep 2008 18:53:17 +0000</pubDate>
		<dc:creator>zohair</dc:creator>
		
	<dc:subject>life</dc:subject>
		<guid isPermaLink="false">http://www.zohairahmad.com/2008/09/12/religion/</guid>
		<description><![CDATA[I see that sensible men and conscientious men all over the world were of one religion, &#8212; the religion of well-doing and daring, men of sturdy truth, men of integrity and feeling for others.
&#8212;Ralph Waldo Emerson, writer and philosopher (1803-1882)
]]></description>
			<content:encoded><![CDATA[<blockquote>I see that sensible men and conscientious men all over the world were of one religion, &#8212; the religion of well-doing and daring, men of sturdy truth, men of integrity and feeling for others.</p></blockquote>
<p><em>&#8212;Ralph Waldo Emerson, writer and philosopher (1803-1882)</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.zohairahmad.com/2008/09/12/religion/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.zohairahmad.com/2008/09/12/religion/</feedburner:origLink></item>
		<item>
		<title>Too Much IRC</title>
		<link>http://feeds.feedburner.com/~r/zohairahmad/rss/~3/379712787/</link>
		<comments>http://www.zohairahmad.com/2008/08/31/too-much-irc/#comments</comments>
		<pubDate>Sun, 31 Aug 2008 14:45:40 +0000</pubDate>
		<dc:creator>zohair</dc:creator>
		
	<dc:subject>general</dc:subject>
		<guid isPermaLink="false">http://www.zohairahmad.com/2008/08/31/too-much-irc/</guid>
		<description><![CDATA[&#8230; when you start using vertical smileys like ~_^ ,  -_- and o_0
&#8230; when you not only know what a BNC is, but you&#8217;re using one (or more).
&#8230; when you&#8217;re about ready to setup eggdrop.
]]></description>
			<content:encoded><![CDATA[<p>&#8230; when you start using vertical smileys like ~_^ ,  -_- and o_0</p>
<p>&#8230; when you not only know what a BNC is, but you&#8217;re using one (or more).</p>
<p>&#8230; when you&#8217;re about ready to setup eggdrop.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zohairahmad.com/2008/08/31/too-much-irc/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.zohairahmad.com/2008/08/31/too-much-irc/</feedburner:origLink></item>
	</channel>
</rss>
