<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-10794132</id><updated>2011-12-16T23:53:24.631+05:00</updated><category term='PHP'/><category term='Macport'/><category term='Firefox'/><category term='MySQL'/><category term='Google Plus'/><category term='Associative Arrays'/><category term='technical'/><category term='Javascript'/><category term='bits'/><category term='wen'/><category term='Mac'/><category term='Chrome. extension'/><category term='JSON'/><category term='General Query'/><category term='Log'/><category term='Packer'/><category term='Compression'/><category term='life'/><title type='text'>Adnan Siddiqi</title><subtitle type='html'>Let's get technical</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://kadnan.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10794132/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://kadnan.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Adnan Siddiqi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>23</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-10794132.post-2325782147546977845</id><published>2011-12-16T23:53:00.002+05:00</published><updated>2011-12-16T23:53:24.639+05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Macport'/><category scheme='http://www.blogger.com/atom/ns#' term='Mac'/><title type='text'>Removing MacPorts completely</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Macports is a utility to install tools on your MacOS machine. Incase if you want to remove macports completely then this &lt;a href="http://guide.macports.org/chunked/installing.macports.uninstalling.html"&gt;post&lt;/a&gt; would definitely be your savior&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10794132-2325782147546977845?l=kadnan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10794132/posts/default/2325782147546977845'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10794132/posts/default/2325782147546977845'/><link rel='alternate' type='text/html' href='http://kadnan.blogspot.com/2011/12/removing-macports-completely.html' title='Removing MacPorts completely'/><author><name>Adnan Siddiqi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-10794132.post-6495902019201808428</id><published>2011-11-17T21:39:00.001+05:00</published><updated>2011-11-17T21:40:58.788+05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Compression'/><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='Packer'/><title type='text'>Unpacking the PACKER scripts</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;PACKER by Dead Edwards is an awesome tool to pack your JS files to make it difficult to read. It is good when you are giving away your code to someone else but at times you want to unpack it in absence of backup. Something which happened with me. Thankfully I got an awesome tool which unpack PACKER file quite well. SO here it is. Enjoy.&lt;br /&gt;&lt;br /&gt;http://www.strictly-software.com/unpacker&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10794132-6495902019201808428?l=kadnan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10794132/posts/default/6495902019201808428'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10794132/posts/default/6495902019201808428'/><link rel='alternate' type='text/html' href='http://kadnan.blogspot.com/2011/11/unpacking-packer-scripts.html' title='Unpacking the PACKER scripts'/><author><name>Adnan Siddiqi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-10794132.post-4028227301071846700</id><published>2011-10-02T23:13:00.000+05:00</published><updated>2011-10-03T00:34:34.045+05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MySQL'/><category scheme='http://www.blogger.com/atom/ns#' term='PHP'/><category scheme='http://www.blogger.com/atom/ns#' term='JSON'/><title type='text'>MySQL to JSON on Github</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;br /&gt;This morning I tried to &lt;a href="https://plus.google.com/118197810020432218051/posts/CvUmajf6cR9"&gt;fiddle&lt;/a&gt; with&amp;nbsp;&lt;i&gt;&lt;b&gt;Git&lt;/b&gt;&lt;/i&gt;, a version control system by Linus Trovals.&amp;nbsp;&lt;b&gt;Github&lt;/b&gt;&amp;nbsp;is a social coding website which has definitely beaten sourceforge.&lt;br /&gt;&lt;br /&gt;For long time I had been thinking to test it out and transfer my only open source&amp;nbsp;contribution,&amp;nbsp;&lt;a href="http://www.phpclasses.org/package/3195-PHP-Convert-data-from-MySQL-query-results-into-JSON.html"&gt;MySQL2Json&lt;/a&gt;, a PHP class to convert mysql resultset into JSON. The class actually released in 2006. At that time there was no built-in support of JSON encoding in PHP.&lt;br /&gt;&lt;br /&gt;Lots of people who used it asked me to move it to Github but I was not getting time to focus on it. This morning I finally did it. The URL of the code is given below:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="https://github.com/kadnan/MySQL2JSON"&gt;https://github.com/kadnan/MySQL2JSON&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I am not so good at&amp;nbsp;Licensing&amp;nbsp;thing. The prior code released under PHP License. If it allows you to contribute then do it otherwise let me know. So make a fork and improve it, fix it if necessary.&lt;br /&gt;&lt;br /&gt;Happy coding.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10794132-4028227301071846700?l=kadnan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10794132/posts/default/4028227301071846700'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10794132/posts/default/4028227301071846700'/><link rel='alternate' type='text/html' href='http://kadnan.blogspot.com/2011/10/mysql-to-json-on-github.html' title='MySQL to JSON on Github'/><author><name>Adnan Siddiqi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-10794132.post-1580451487214699010</id><published>2011-09-22T01:35:00.001+05:00</published><updated>2011-09-22T01:35:30.903+05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='wen'/><category scheme='http://www.blogger.com/atom/ns#' term='Chrome. extension'/><category scheme='http://www.blogger.com/atom/ns#' term='Google Plus'/><category scheme='http://www.blogger.com/atom/ns#' term='Firefox'/><title type='text'>G-: A Chrome and Firefox extension for Google Plus notification removal</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Google Plus is getting popular. One of the killing feature of G+ is the notification bar that works on all Google sites. Since the bar keeps you notified about latest updates on your account, it could also become the reason of distraction while you are at workplace. In order to cater that I made a simple script, called G- which would remove the red notification button and help you to concentrate on your work. YOu can download it from &lt;a href="http://userscripts.org/scripts/show/112365"&gt;here&lt;/a&gt;. It would work on both Chrome and Firefox.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10794132-1580451487214699010?l=kadnan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10794132/posts/default/1580451487214699010'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10794132/posts/default/1580451487214699010'/><link rel='alternate' type='text/html' href='http://kadnan.blogspot.com/2011/09/g-chrome-and-firefox-extension-for.html' title='G-: A Chrome and Firefox extension for Google Plus notification removal'/><author><name>Adnan Siddiqi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-10794132.post-3517499025889684796</id><published>2011-09-21T11:36:00.000+05:00</published><updated>2011-09-21T11:36:19.580+05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PHP'/><category scheme='http://www.blogger.com/atom/ns#' term='Associative Arrays'/><title type='text'>PHP: Get first key in Associative Array</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;If you want to get the very first key in associative array then use &lt;b&gt;Reset &lt;/b&gt;and key method to get the key. &lt;b&gt;Reset&lt;/b&gt; brings the pointer on first index and key returns the key name. Code snippet given below:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;$shapes = array("Box" =&amp;gt;"Square","Moon" =&amp;gt; "Circle");&lt;br /&gt;//Set the internal pointer of an array to its first element&lt;br /&gt;reset($shapes);&lt;br /&gt;//get the first key that is "Box"&lt;br /&gt;$keyname = key($shapes);&lt;br /&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10794132-3517499025889684796?l=kadnan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10794132/posts/default/3517499025889684796'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10794132/posts/default/3517499025889684796'/><link rel='alternate' type='text/html' href='http://kadnan.blogspot.com/2011/09/php-get-first-key-in-associative-array.html' title='PHP: Get first key in Associative Array'/><author><name>Adnan Siddiqi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-10794132.post-7477734931349706400</id><published>2011-08-31T12:23:00.003+05:00</published><updated>2011-08-31T12:32:45.260+05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MySQL'/><category scheme='http://www.blogger.com/atom/ns#' term='PHP'/><category scheme='http://www.blogger.com/atom/ns#' term='General Query'/><category scheme='http://www.blogger.com/atom/ns#' term='Log'/><title type='text'>How to find Query Source in MySQL general Log</title><content type='html'>Most of the time similar queries are used in different modules of the code-base. At times it gets difficult to find out the page where buggy or slow query is being executed. MySQL provides the option of logging slow and general queries in files. In order to record the source of the executed query it is best that you append a string in query which is then being executed via mysql_query() function of PHP.&lt;br /&gt;&lt;br /&gt;&lt;pre class="lang-sql prettyprint"&gt;&lt;code&gt;&lt;span class="pun"&gt;&lt;/span&gt;&lt;/code&gt;&lt;blockquote&gt;&lt;span class="pun"&gt;$&lt;/span&gt;&lt;span class="pln"&gt;sql &lt;/span&gt;&lt;span class="pun"&gt;=&lt;/span&gt;&lt;span class="pln"&gt; &lt;/span&gt;&lt;span class="str"&gt;"-- Executed via yourfilename.php:&lt;br /&gt;  SELECT * from table;"&lt;/span&gt;&lt;span class="pun"&gt;;&lt;/span&gt;&lt;span class="pln"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="pun"&gt;$&lt;/span&gt;&lt;span class="pln"&gt;resulr &lt;/span&gt;&lt;span class="pun"&gt;=&lt;/span&gt;&lt;span class="pln"&gt; mysql_query&lt;/span&gt;&lt;span class="pun"&gt;($&lt;/span&gt;&lt;span class="pln"&gt;sql,$connection&lt;/span&gt;&lt;span class="pun"&gt;);&lt;/span&gt;&lt;/blockquote&gt;&lt;span class="pun"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;By doing this you can now find out where your query got executed. Easy and handy, No? :-)&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10794132-7477734931349706400?l=kadnan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10794132/posts/default/7477734931349706400'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10794132/posts/default/7477734931349706400'/><link rel='alternate' type='text/html' href='http://kadnan.blogspot.com/2011/08/how-to-find-query-source-in-mysql.html' title='How to find Query Source in MySQL general Log'/><author><name>Adnan Siddiqi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-10794132.post-8770737345507240916</id><published>2011-08-28T16:07:00.002+05:00</published><updated>2011-08-28T16:15:18.048+05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='bits'/><category scheme='http://www.blogger.com/atom/ns#' term='technical'/><category scheme='http://www.blogger.com/atom/ns#' term='life'/><title type='text'>Revival</title><content type='html'>I remember how I started out this blog as a technical blog but later moved my technical rants to &lt;b&gt;http://weblogs.com.pk/kadnan&lt;/b&gt; (&lt;i&gt;&lt;span class="Apple-style-span"  style="color:#FF0000;"&gt;which is dead now)&lt;/span&gt;&lt;/i&gt;&lt;div&gt;&lt;i&gt;&lt;span class="Apple-style-span"  style="color:#FF0000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;For past few weeks I had been thinking to start sharing my technical experience I encounter every day at workplace or at home while working on my personal projects or client based projects. For last two years I am not so active in blogging stuff. Specially after getting married and having a son, it got quite difficult to cope up with many things. Change of priorities made me to abandon many things which were kind of &lt;i&gt;part of my life&lt;/i&gt; in past.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I have not quit habit of sharing, thus I use micro blogging tools now for this purpose like Twitter,G+ etc but I think there are still such things which needs to say more. This blog, I am re-opening with the intention that I would share all or most of my technical encounters I face every day.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Stay tuned&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10794132-8770737345507240916?l=kadnan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10794132/posts/default/8770737345507240916'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10794132/posts/default/8770737345507240916'/><link rel='alternate' type='text/html' href='http://kadnan.blogspot.com/2011/08/revival.html' title='Revival'/><author><name>Adnan Siddiqi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-10794132.post-111022645871822381</id><published>2005-03-09T02:28:00.000+05:00</published><updated>2005-03-08T01:15:11.070+05:00</updated><title type='text'>MSN trojan</title><content type='html'>today i accidently clicked the link which my friend send on MSN,the file was omg.pif..Thanks God i had closed the IE immediately othwise....&lt;br /&gt;&lt;br /&gt;any way to getrid of this?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10794132-111022645871822381?l=kadnan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10794132/posts/default/111022645871822381'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10794132/posts/default/111022645871822381'/><link rel='alternate' type='text/html' href='http://kadnan.blogspot.com/2005/03/msn-trojan.html' title='MSN trojan'/><author><name>Adnan Siddiqi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-10794132.post-111022586587826591</id><published>2005-03-08T14:10:00.000+05:00</published><updated>2005-03-08T01:04:25.880+05:00</updated><title type='text'>Reasons why Reiser4 is great for you:</title><content type='html'>due to &lt;a href="http://www.namesys.com/v4/v4.html"&gt;following &lt;/a&gt;reasons&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10794132-111022586587826591?l=kadnan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10794132/posts/default/111022586587826591'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10794132/posts/default/111022586587826591'/><link rel='alternate' type='text/html' href='http://kadnan.blogspot.com/2005/03/reasons-why-reiser4-is-great-for-you.html' title='Reasons why Reiser4 is great for you:'/><author><name>Adnan Siddiqi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-10794132.post-111022369369371692</id><published>2005-03-08T13:34:00.000+05:00</published><updated>2005-03-08T00:28:13.696+05:00</updated><title type='text'>GoogleDesktop Final Release</title><content type='html'>&lt;a href="http://google.com"&gt;Google&lt;/a&gt; has finally released the final version of its &lt;a href="http://desktop.google.com"&gt;Desktop&lt;/a&gt; version. Google comes more closed to developers/programmings by provding &lt;a href="http://desktop.google.com/downloadsdksubmit"&gt;API&lt;/a&gt; to use GDS(Google Desktop Search) in your application ,you can check documentation &lt;a href="http://desktop.google.com/developerguide.html"&gt;here&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10794132-111022369369371692?l=kadnan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10794132/posts/default/111022369369371692'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10794132/posts/default/111022369369371692'/><link rel='alternate' type='text/html' href='http://kadnan.blogspot.com/2005/03/googledesktop-final-release.html' title='GoogleDesktop Final Release'/><author><name>Adnan Siddiqi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-10794132.post-111013160799802559</id><published>2005-03-07T12:06:00.000+05:00</published><updated>2005-03-06T22:53:28.000+05:00</updated><title type='text'>I can`g getinto CP website</title><content type='html'>I have been trying to getinto &lt;a href="http://codeproject.com"&gt;Codeproject&lt;/a&gt; website but its giving  me Unknown host error,i am thinking to call Helpline of my frigging &lt;a href="http://paknet.com.pk"&gt;ISP &lt;/a&gt;&lt;br /&gt;its makig me frustrated,i cant live without CP :(&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10794132-111013160799802559?l=kadnan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10794132/posts/default/111013160799802559'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10794132/posts/default/111013160799802559'/><link rel='alternate' type='text/html' href='http://kadnan.blogspot.com/2005/03/i-cang-getinto-cp-website.html' title='I can`g getinto CP website'/><author><name>Adnan Siddiqi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-10794132.post-111012904234419856</id><published>2005-03-07T11:14:00.000+05:00</published><updated>2005-03-06T22:10:42.346+05:00</updated><title type='text'>Creating an administrative install point for the .NET Framework, a service pack and a hotfix</title><content type='html'>read &lt;a href="http://weblogs.asp.net/astebner/archive/2005/03/05/385971.aspx"&gt;here&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10794132-111012904234419856?l=kadnan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10794132/posts/default/111012904234419856'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10794132/posts/default/111012904234419856'/><link rel='alternate' type='text/html' href='http://kadnan.blogspot.com/2005/03/creating-administrative-install-point.html' title='Creating an administrative install point for the .NET Framework, a service pack and a hotfix'/><author><name>Adnan Siddiqi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-10794132.post-110984568405635417</id><published>2005-03-04T04:25:00.000+05:00</published><updated>2005-03-03T15:28:04.056+05:00</updated><title type='text'>MSIL IDE</title><content type='html'>Hi&lt;br /&gt;&lt;br /&gt;i am writing here after a week or so,been busy in solving different things,which i will describe later&lt;br /&gt;&lt;br /&gt;anyway here i am to let you guys know about a good MSIL editor,link is given below:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://ilide.aspfreeserver.com/default-en.aspx"&gt;http://ilide.aspfreeserver.com/default-en.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;-adnan&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10794132-110984568405635417?l=kadnan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10794132/posts/default/110984568405635417'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10794132/posts/default/110984568405635417'/><link rel='alternate' type='text/html' href='http://kadnan.blogspot.com/2005/03/msil-ide.html' title='MSIL IDE'/><author><name>Adnan Siddiqi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-10794132.post-110889823410576174</id><published>2005-02-21T05:15:00.000+05:00</published><updated>2005-02-20T16:17:14.106+05:00</updated><title type='text'>Two Kinds of Developers</title><content type='html'>Mark is trying to tell readers about different kinds of developers,read yourself what`s he trying to &lt;a href="http://diveintomark.org/archives/2004/08/16/specs"&gt;say&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10794132-110889823410576174?l=kadnan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10794132/posts/default/110889823410576174'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10794132/posts/default/110889823410576174'/><link rel='alternate' type='text/html' href='http://kadnan.blogspot.com/2005/02/two-kinds-of-developers.html' title='Two Kinds of Developers'/><author><name>Adnan Siddiqi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-10794132.post-110889686999650942</id><published>2005-02-21T05:06:00.000+05:00</published><updated>2005-02-20T15:54:29.996+05:00</updated><title type='text'>nice C# tips</title><content type='html'>Check &lt;a href="http://www.personalmicrocosms.com/html/dotnettips.html"&gt;this&lt;/a&gt; out&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10794132-110889686999650942?l=kadnan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10794132/posts/default/110889686999650942'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10794132/posts/default/110889686999650942'/><link rel='alternate' type='text/html' href='http://kadnan.blogspot.com/2005/02/nice-c-tips.html' title='nice C# tips'/><author><name>Adnan Siddiqi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-10794132.post-110880872442355446</id><published>2005-02-20T04:33:00.000+05:00</published><updated>2005-02-19T15:44:41.746+05:00</updated><title type='text'>Compressed FileSystem(CFS)</title><content type='html'>I have been thinking /willing of a Compressed File system which can work similar to MP3 mechanism(i am not 100% aware of Mp3 mechanism but heard that it decompresses the file during playing and then it compresses again) ..&lt;br /&gt;&lt;br /&gt;what I mean to say that,that Applications are deployed in compressed format(say have extension .cmp) on User machines,i am not talkig about Zipping the EXEs or MSI stuff in Zipped format..what i mean that instead of making simple MSIs or Setup Exes who get extracted on client machine during installation, the Compressed program gets installed on client machine with a shortcut link on Desktop or in start menu,the link will point to .cmp file which will initially opene the Header section or Base system section for the user (it could be a GUI or a Command line application..whatever)the base system system will have all necessary options which are part of that system.Whenever user selects some particular option of the system the files(dlls or whatever) of that particular section will get loaded only,and when the user closes that particular section,e.g Form Dialog)the files will get decompressed again)&lt;br /&gt;&lt;br /&gt;Well will be wondering how come a single Compressed file could do all this?well i think that associated DLLs or exes could be loaded in memory to perform required tasks,it involves temporary Assembly registration in GAC and Registry,we could add references of all files who are packaged in .cmp format in Registry,so that they can be refer during uncompression of required files..&lt;br /&gt;&lt;br /&gt;once the dialog form is unloaded,the files will also get removed from hardisks and from registry as well as memory..&lt;br /&gt;&lt;br /&gt;these are just crazy thoughs..not sure how it could be done..what i know its not impossible,maybe we cant achieve 100% results but i think 70% could be achieved and 100% if filesystem itseld supports the mechanism,custom mechanism might not get so much success&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10794132-110880872442355446?l=kadnan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10794132/posts/default/110880872442355446'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10794132/posts/default/110880872442355446'/><link rel='alternate' type='text/html' href='http://kadnan.blogspot.com/2005/02/compressed-filesystemcfs_19.html' title='Compressed FileSystem(CFS)'/><author><name>Adnan Siddiqi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-10794132.post-110880152313988871</id><published>2005-02-20T02:30:00.000+05:00</published><updated>2005-02-19T15:28:28.016+05:00</updated><title type='text'>Filesystem Watcher -A nice article</title><content type='html'>Luc Archambaultn has posted a very nice &lt;a href="http://www.codeproject.com/csharp/DirectoryMirror.asp"&gt;article &lt;/a&gt;about file System watcher class ,and came up with very wonderful utility.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10794132-110880152313988871?l=kadnan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10794132/posts/default/110880152313988871'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10794132/posts/default/110880152313988871'/><link rel='alternate' type='text/html' href='http://kadnan.blogspot.com/2005/02/filesystem-watcher-nice-article.html' title='Filesystem Watcher -A nice article'/><author><name>Adnan Siddiqi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-10794132.post-110875126597167305</id><published>2005-02-19T12:30:00.001+05:00</published><updated>2005-02-18T23:27:45.973+05:00</updated><title type='text'>AntiProgramming Day</title><content type='html'>&lt;p&gt;for last 36 hours,i have not been writing a word which could help me to finish my projects,,reason?well i didn`t want to..i was tired ..&lt;br /&gt;&lt;br /&gt;this morning i recieved mail from one of my good friend &lt;a href="http://www.livejournal.com/users/mtmonacelli/"&gt;Taylor&lt;/a&gt; replied my mail about Mozilla Extension development&lt;/p&gt;&lt;p&gt;he came up with two good articles mentioned in his &lt;a href="http://http://www.livejournal.com/users/mtmonacelli/9207.html"&gt;post&lt;/a&gt;,i am very tired ,there was a looong journey,because most of routes were block  due to&lt;a href="http://www.vcan.com/moharram/history.html"&gt; Moharram&lt;/a&gt; rallies..&lt;/p&gt;&lt;p&gt;tomorrow i have to resume work on my project(i won`t reveal details :D )and prolly i would do some more research on Mozilla/Firefox Extensions&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10794132-110875126597167305?l=kadnan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10794132/posts/default/110875126597167305'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10794132/posts/default/110875126597167305'/><link rel='alternate' type='text/html' href='http://kadnan.blogspot.com/2005/02/antiprogramming-day.html' title='AntiProgramming Day'/><author><name>Adnan Siddiqi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-10794132.post-110853149660132982</id><published>2005-02-16T23:28:00.000+05:00</published><updated>2005-02-16T10:24:56.603+05:00</updated><title type='text'>Assigning keyvalues pair to ComboBox in C#</title><content type='html'>it took a lot of time to find some solution to assign more than one values to combobox,since comboObject.Items.Add("MyValue") only allows to add a single value in comboBox which can be fetched by using comboObject.text property.&lt;br /&gt;&lt;br /&gt;Hans de Bruijn has provided very clean and nice &lt;a href="http://groups-beta.google.com/group/microsoft.public.dotnet.languages.csharp/messages/69953b0fa6f0a37c?thread_id=5d7cdf0aa2b4bbde&amp;mode=thread&amp;amp;noheader=1&amp;q=Assign+Values+Combobox+C%23#doc_69953b0fa6f0a37c"&gt;solution&lt;/a&gt; to tackle this problem for both combobox and List values.&lt;br /&gt;&lt;br /&gt;Happy Coding&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10794132-110853149660132982?l=kadnan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10794132/posts/default/110853149660132982'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10794132/posts/default/110853149660132982'/><link rel='alternate' type='text/html' href='http://kadnan.blogspot.com/2005/02/assigning-keyvalues-pair-to-combobox.html' title='Assigning keyvalues pair to ComboBox in C#'/><author><name>Adnan Siddiqi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-10794132.post-110841867981383580</id><published>2005-02-15T16:15:00.000+05:00</published><updated>2005-02-15T03:04:39.816+05:00</updated><title type='text'>Diplay Virtual Direcotries in C#</title><content type='html'>the code i mentioned earlier fetches the website Names only..what if you want to show the virtual folders as well?well it`s not so difficult.If you run the code in my previous post,it will display a numeric number which is unique Identifer for each site hosted on IIS,this can be retrieved by calling &lt;em&gt;Site.Name&lt;/em&gt;  in for each loop&lt;br /&gt;In order to retrieve the virtual folders under that specific Website simple do the following&lt;br /&gt;&lt;br /&gt;//Save Website Unique Identified in a variable&lt;br /&gt;&lt;br /&gt;String SiteId=Site.Name&lt;br /&gt;&lt;br /&gt;DirectoryEntry W3SVC = new DirectoryEntry("IIS://" + ServerName + "/w3svc/"+SiteId+"/ROOT, "Domain/UserCode", "Password");&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;foreach (DirectoryEntry Site in W3SVC.Children)&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;//display Virtual Directories&lt;br /&gt;Console.WriteLine(Site.Name.ToString());&lt;br /&gt;&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10794132-110841867981383580?l=kadnan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10794132/posts/default/110841867981383580'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10794132/posts/default/110841867981383580'/><link rel='alternate' type='text/html' href='http://kadnan.blogspot.com/2005/02/diplay-virtual-direcotries-in-c_15.html' title='Diplay Virtual Direcotries in C#'/><author><name>Adnan Siddiqi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-10794132.post-110841715782897552</id><published>2005-02-15T15:30:00.000+05:00</published><updated>2005-02-15T02:50:50.976+05:00</updated><title type='text'>Diplay IIS hosted Site Names in C#</title><content type='html'>I have been working on a project module which will interact with IIS and will display hosted sites or virtual directories,so far i have done this by using ADSII ,the code is very raw,i will submit final snippet once it`s done..this code will display website names hosted on IIS&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;try&lt;br /&gt;{&lt;br /&gt;const string WebServerSchema = "IIsWebServer"; // Case Sensitive&lt;br /&gt;string ServerName = "SIDDIQI";&lt;br /&gt;DirectoryEntry W3SVC = new DirectoryEntry("IIS://" + ServerName + "/w3svc", "Domain/UserCode", "Password");&lt;br /&gt;foreach (DirectoryEntry Site in W3SVC.Children)&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;if (Site.SchemaClassName == WebServerSchema)&lt;br /&gt;{&lt;br /&gt;//Console.WriteLine(Site.Name + " - " + Site.Properties["ServerComment"].Value.ToString());&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;// Catch any errors&lt;br /&gt;catch (Exception e)&lt;br /&gt;{&lt;br /&gt;Console.WriteLine("Error: " + e.ToString());&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10794132-110841715782897552?l=kadnan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10794132/posts/default/110841715782897552'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10794132/posts/default/110841715782897552'/><link rel='alternate' type='text/html' href='http://kadnan.blogspot.com/2005/02/diplay-iis-hosted-site-names-in-c.html' title='Diplay IIS hosted Site Names in C#'/><author><name>Adnan Siddiqi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-10794132.post-110841866388913549</id><published>2005-02-15T02:52:00.000+05:00</published><updated>2005-02-15T03:04:23.890+05:00</updated><title type='text'>Diplay Virtual Direcotries in C#</title><content type='html'>the code i mentioned earlier fetches the website Names only..what if you want to show the virtual folders as well?well it`s not so difficult.If you run the code in my previous post,it will display a numeric number which is unique Identifer for each site hosted on IIS,this can be retrieved by calling &lt;em&gt;Site.Name&lt;/em&gt;  in for each loop&lt;br /&gt;In order to retrieve the virtual folders under that specific Website simple do the following&lt;br /&gt;&lt;br /&gt;//Save Website Unique Identified in a variable&lt;br /&gt;&lt;br /&gt;String SiteId=Site.Name&lt;br /&gt;&lt;br /&gt;DirectoryEntry W3SVC = new DirectoryEntry("IIS://" + ServerName + "/w3svc/"+SiteId+"/ROOT, "Domain/UserCode", "Password");&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;foreach (DirectoryEntry Site in W3SVC.Children)&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;//display Virtual Directories&lt;br /&gt;Console.WriteLine(Site.Name.ToString());&lt;br /&gt;&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10794132-110841866388913549?l=kadnan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10794132/posts/default/110841866388913549'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10794132/posts/default/110841866388913549'/><link rel='alternate' type='text/html' href='http://kadnan.blogspot.com/2005/02/diplay-virtual-direcotries-in-c.html' title='Diplay Virtual Direcotries in C#'/><author><name>Adnan Siddiqi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-10794132.post-110828304294724346</id><published>2005-02-14T02:30:00.000+05:00</published><updated>2005-02-13T13:24:02.950+05:00</updated><title type='text'>Some Weird thing happening with IE</title><content type='html'>Since morning,its been happening that IE is getting opened with new Instance having URL something like &lt;a href="http://540.filost.com/randomsites/banner.aspx"&gt;http://540.filost.com/randomsites/banner.aspx&lt;/a&gt;&lt;br /&gt;which is redirected to some other url which is actually directing not file which isnot actually available&lt;br /&gt;before that some porn dialers got installed with file name internt.exe which resided on WinNT`s root folder..&lt;br /&gt;ifanyone of you get any clue,let me know&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10794132-110828304294724346?l=kadnan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10794132/posts/default/110828304294724346'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10794132/posts/default/110828304294724346'/><link rel='alternate' type='text/html' href='http://kadnan.blogspot.com/2005/02/some-weird-thing-happening-with-ie.html' title='Some Weird thing happening with IE'/><author><name>Adnan Siddiqi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry></feed>
