<?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"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Nadav and the wonders of the web</title>
	
	<link>http://jajahdevblog.com/nadav</link>
	<description />
	<pubDate>Fri, 28 Mar 2008 10:41:13 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/NadavAndTheWondersOfTheWeb" type="application/rss+xml" /><feedburner:feedFlare href="http://add.my.yahoo.com/rss?url=http%3A%2F%2Ffeeds.feedburner.com%2FNadavAndTheWondersOfTheWeb" src="http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo4.gif">Subscribe with My Yahoo!</feedburner:feedFlare><feedburner:feedFlare href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2FNadavAndTheWondersOfTheWeb" src="http://www.newsgator.com/images/ngsub1.gif">Subscribe with NewsGator</feedburner:feedFlare><feedburner:feedFlare href="http://feeds.my.aol.com/add.jsp?url=http%3A%2F%2Ffeeds.feedburner.com%2FNadavAndTheWondersOfTheWeb" src="http://o.aolcdn.com/favorites.my.aol.com/webmaster/ffclient/webroot/locale/en-US/images/myAOLButtonSmall.gif">Subscribe with My AOL</feedburner:feedFlare><feedburner:feedFlare href="http://www.rojo.com/add-subscription?resource=http%3A%2F%2Ffeeds.feedburner.com%2FNadavAndTheWondersOfTheWeb" src="http://blog.rojo.com/RojoWideRed.gif">Subscribe with Rojo</feedburner:feedFlare><feedburner:feedFlare href="http://www.bloglines.com/sub/http://feeds.feedburner.com/NadavAndTheWondersOfTheWeb" src="http://www.bloglines.com/images/sub_modern11.gif">Subscribe with Bloglines</feedburner:feedFlare><feedburner:feedFlare href="http://www.netvibes.com/subscribe.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FNadavAndTheWondersOfTheWeb" src="http://www.netvibes.com/img/add2netvibes.gif">Subscribe with Netvibes</feedburner:feedFlare><feedburner:feedFlare href="http://fusion.google.com/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2FNadavAndTheWondersOfTheWeb" src="http://buttons.googlesyndication.com/fusion/add.gif">Subscribe with Google</feedburner:feedFlare><feedburner:feedFlare href="http://www.pageflakes.com/subscribe.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2FNadavAndTheWondersOfTheWeb" src="http://www.pageflakes.com/ImageFile.ashx?instanceId=Static_4&amp;fileName=ATP_blu_91x17.gif">Subscribe with Pageflakes</feedburner:feedFlare><feedburner:feedFlare href="http://my.feedlounge.com/external/subscribe?url=http%3A%2F%2Ffeeds.feedburner.com%2FNadavAndTheWondersOfTheWeb" src="http://static.feedlounge.com/buttons/subscribe_0.gif">Subscribe with FeedLounge</feedburner:feedFlare><feedburner:feedFlare href="http://www.thefreedictionary.com/_/hp/AddRSS.aspx?http%3A%2F%2Ffeeds.feedburner.com%2FNadavAndTheWondersOfTheWeb" src="http://img.tfd.com/hp/addToTheFreeDictionary.gif">Subscribe with The Free Dictionary</feedburner:feedFlare><feedburner:feedFlare href="http://www.live.com/?add=http%3A%2F%2Ffeeds.feedburner.com%2FNadavAndTheWondersOfTheWeb" src="http://tkfiles.storage.msn.com/x1piYkpqHC_35nIp1gLE68-wvzLZO8iXl_JMledmJQXP-XTBOLfmQv4zhj4MhcWEJh_GtoBIiAl1Mjh-ndp9k47If7hTaFno0mxW9_i3p_5qQw">Subscribe with Live.com</feedburner:feedFlare><feedburner:feedFlare href="http://mix.excite.eu/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2FNadavAndTheWondersOfTheWeb" src="http://image.excite.co.uk/mix/addtomix.gif">Subscribe with Excite MIX</feedburner:feedFlare><item>
		<title>How to: Get unique device id in C# (Windows Mobile)</title>
		<link>http://feeds.feedburner.com/~r/NadavAndTheWondersOfTheWeb/~3/259558506/</link>
		<comments>http://jajahdevblog.com/nadav/how-to/how-to-get-unique-device-id-in-c-windows-mobile/#comments</comments>
		<pubDate>Fri, 28 Mar 2008 10:41:13 +0000</pubDate>
		<dc:creator>nadav</dc:creator>
		
		<category><![CDATA[CF.Net]]></category>

		<category><![CDATA[How to]]></category>

		<category><![CDATA[WM]]></category>

		<category><![CDATA[c#]]></category>

		<category><![CDATA[imei]]></category>

		<category><![CDATA[native call]]></category>

		<category><![CDATA[P/Invoke]]></category>

		<category><![CDATA[udi]]></category>

		<category><![CDATA[unique device id]]></category>

		<guid isPermaLink="false">http://jajahdevblog.com/nadav/how-to/how-to-get-unique-device-id-in-c-windows-mobile/</guid>
		<description><![CDATA[While looking for a full article about this I found out it won&#8217;t hurt to have another quick explanation about this process.
Sometimes when creating an application you want some sort of verification about which phone is accessing your service (service-client application). A good way to do this is to use the unique device id.
Now I [...]]]></description>
			<content:encoded><![CDATA[<p>While looking for a full article about this I found out it won&#8217;t hurt to have another quick explanation about this process.</p>
<p>Sometimes when creating an application you want some sort of verification about which phone is accessing your service (service-client application). A good way to do this is to use the unique device id.</p>
<p>Now I will explain how we do it, we are going to get a 40 char string that is hashed with an AppString we will provide which will be unique to each and every device, and will be constant for this device and AppString.</p>
<p>First we define the P/Invoke signature:</p>
<p>[<span style="color: #2b91af">DllImport</span>(<span style="color: #a31515">&quot;coredll.dll&quot;</span>)]    <br /><span style="color: blue">private static extern int </span>GetDeviceUniqueID([<span style="color: #2b91af">In</span>, <span style="color: #2b91af">Out</span>] <span style="color: blue">byte</span>[] appdata, <span style="color: blue">int </span>cbApplictionData,    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span style="color: blue">int </span>dwDeviceIDVersion,    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; [<span style="color: #2b91af">In</span>, <span style="color: #2b91af">Out</span>] <span style="color: blue">byte</span>[] deviceIDOuput, <span style="color: blue">ref uint </span>pcbDeviceIDOutput);    </p>
<p>Now we are going to define a private static member so we don&#8217;t go through the entire process every time we need this and then create it with a public static method:</p>
<pre class="code"><span style="color: blue">private static string </span>s_UniqueDeviceID;

<span style="color: gray">/// &lt;summary&gt;
/// </span><span style="color: green">Gets the unique device id, this is an unique id of the phone
</span><span style="color: gray">/// </span><span style="color: green">which is hashed with the AppString
</span><span style="color: gray">/// &lt;/summary&gt;
/// &lt;returns&gt;</span><span style="color: green">a 40 characters unique id</span><span style="color: gray">&lt;/returns&gt;
</span><span style="color: blue">public static string </span>GetUniqueDeviceID()
{
    <span style="color: blue">if </span>(<span style="color: blue">string</span>.IsNullOrEmpty(s_UniqueDeviceID))
    {
        <span style="color: green">// define AppString
        </span><span style="color: blue">string </span>AppString = <span style="color: #a31515">&quot;MyAppString&quot;</span>;

        <span style="color: green">// get the byte array for the string
        </span><span style="color: blue">byte</span>[] AppData = <span style="color: #2b91af">Encoding</span>.ASCII.GetBytes(AppString);

        <span style="color: green">// some parameters for the native call
        </span><span style="color: blue">int </span>appDataSize = AppData.Length;
        <span style="color: blue">uint </span>SizeOut = 20;

        <span style="color: green">// our out parameter
        </span><span style="color: blue">byte</span>[] DeviceOutput = <span style="color: blue">new byte</span>[20];

        <span style="color: green">// Call the native GetDeviceUniqueID method from coredll.dll
        </span>GetDeviceUniqueID(AppData, appDataSize, 1, DeviceOutput, <span style="color: blue">ref </span>SizeOut);

        <span style="color: green">// check that we got something
        </span><span style="color: blue">if </span>(SizeOut &gt; 0)
        {
            <span style="color: green">// build text from received bytes
            </span><span style="color: #2b91af">StringBuilder </span>resultText = <span style="color: blue">new </span><span style="color: #2b91af">StringBuilder</span>();
            <span style="color: blue">for </span>(<span style="color: blue">int </span>i = 0; i &lt; DeviceOutput.Length; i++)
            {
                resultText.Append(<span style="color: blue">string</span>.Format(<span style="color: #a31515">&quot;{0:x2}&quot;</span>, DeviceOutput[i]));
            }

            <span style="color: green">// set up result
            </span>s_UniqueDeviceID = resultText.ToString();
        }
    }

    <span style="color: blue">return </span>s_UniqueDeviceID;
}</pre>
<p><a href="http://11011.net/software/vspaste"></a></p>
<p>As you can see the AppString can really be whatever we want it to be. the rest is a little work in order to transform it all from bytes to string but that is why we do it only once!</p>
<p>The only important thing I can see about the AppString is that it won&#8217;t be null\empty and that it will be constant throughout your application and usage.</p>
<p>Hope this was clear.</p>
<p>Cheers,<br />
  <br />Nadav</p>
]]></content:encoded>
			<wfw:commentRss>http://jajahdevblog.com/nadav/how-to/how-to-get-unique-device-id-in-c-windows-mobile/feed/</wfw:commentRss>
		<feedburner:origLink>http://jajahdevblog.com/nadav/how-to/how-to-get-unique-device-id-in-c-windows-mobile/</feedburner:origLink></item>
		<item>
		<title>What Microsoft is doing RIGHT and why open-source is LOOSING</title>
		<link>http://feeds.feedburner.com/~r/NadavAndTheWondersOfTheWeb/~3/259106373/</link>
		<comments>http://jajahdevblog.com/nadav/windows/what-microsoft-is-doing-right-and-why-open-source-is-loosing/#comments</comments>
		<pubDate>Thu, 27 Mar 2008 17:08:39 +0000</pubDate>
		<dc:creator>nadav</dc:creator>
		
		<category><![CDATA[Windows]]></category>

		<category><![CDATA[linux]]></category>

		<category><![CDATA[open-source]]></category>

		<category><![CDATA[thoughts]]></category>

		<guid isPermaLink="false">http://jajahdevblog.com/nadav/windows/what-microsoft-is-doing-right-and-why-open-source-is-loosing/</guid>
		<description><![CDATA[It had been a while now that I&#8217;m reading about how Microsoft is going down and open-source is going to rule the world. Lately I&#8217;ve been giving this issue some thought and wanted to share my conclusions, so here goes:

Scattered resources - Microsoft has many(many!) developers\QA\design&#8230; people working for them while open-source projects which has [...]]]></description>
			<content:encoded><![CDATA[<p>It had been a while now that I&#8217;m reading about how Microsoft is going down and open-source is going to rule the world. Lately I&#8217;ve been giving this issue some thought and wanted to share my conclusions, so here goes:</p>
<ol>
<li><strong>Scattered resources</strong> - Microsoft has many(many!) developers\QA\design&#8230; people working for them while open-source projects which has the advantage of being able to recruit &quot;all&quot; the developers in the world actually has much much less than that working for them. What happens is just another example of human nature, when people are not told what to do, they will do what ever they want. This means that we end up with many open-source projects working on the same things. The problem of open-source is not that the resources are limited but that they are unlimited and scattered.</li>
<li><strong>Advertising</strong> - There isn&#8217;t much to say here which is not self implied, but still, remember that the power of advertisement when it comes to the general public is HUGE.</li>
<li><strong>Where used to it</strong> - I know many people trying out Linux or other open-source platforms, but no matter what, what they are looking for is the similarity to Microsoft Windows. Microsoft has us by the *alls here and we can all say &quot;well if we won&#8217;t change it, it won&#8217;t change&quot; but the poor truth is that people don&#8217;t like to try new things and evolve.</li>
<li><strong>Awesome IDE</strong> - admit or not, Visual Studio is an amazing program. I don&#8217;t think there is another IDE that will compare, that means the developers use Microsoft which means they develop for Microsoft and that means you get the old &quot;I can&#8217;t switch to Linux, there are no programs&#8230;&quot; argument which is not true but again, people don&#8217;t change.</li>
<li><strong>Community - </strong>At least when it comes to the community we can say that the BIG open-source projects have a community to match or at least be at the same league of the Microsoft community(the world).</li>
<li><strong>Evolving</strong> - We are witnessing the past few years that even a company as big as Microsoft can evolve, maybe not as fast as open-source but we are seeing the Live! Office coming to life and other new projects.</li>
<li><strong>Force in numbers</strong> - If you think about it, they&#8217;re so big that if you piss them off they can just sit on you.</li>
</ol>
<p>This reasons and many others bring me to the believe that even though people don&#8217;t like Vista and even though it is cool to hate Microsoft we are looking at one big company that is not going anywhere and is actually going to win.</p>
<p>What do you think?</p>
<p>Nadav </p>
]]></content:encoded>
			<wfw:commentRss>http://jajahdevblog.com/nadav/windows/what-microsoft-is-doing-right-and-why-open-source-is-loosing/feed/</wfw:commentRss>
		<feedburner:origLink>http://jajahdevblog.com/nadav/windows/what-microsoft-is-doing-right-and-why-open-source-is-loosing/</feedburner:origLink></item>
		<item>
		<title>The Ultimate Firefox setup!</title>
		<link>http://feeds.feedburner.com/~r/NadavAndTheWondersOfTheWeb/~3/258183103/</link>
		<comments>http://jajahdevblog.com/nadav/how-to/the-ultimate-firefox-setup/#comments</comments>
		<pubDate>Wed, 26 Mar 2008 08:45:20 +0000</pubDate>
		<dc:creator>nadav</dc:creator>
		
		<category><![CDATA[How to]]></category>

		<category><![CDATA[Windows]]></category>

		<category><![CDATA[linux]]></category>

		<category><![CDATA[about:config]]></category>

		<category><![CDATA[addons]]></category>

		<category><![CDATA[configuration]]></category>

		<category><![CDATA[firefox]]></category>

		<category><![CDATA[properties]]></category>

		<category><![CDATA[setup]]></category>

		<category><![CDATA[system]]></category>

		<category><![CDATA[tweaks]]></category>

		<category><![CDATA[ultimate]]></category>

		<guid isPermaLink="false">http://jajahdevblog.com/nadav/how-to/the-ultimate-firefox-setup/</guid>
		<description><![CDATA[After writing a post about the best Windows setup I realized the setting up Firefox to max its potential can be just as or even more complicated. So, here I will detail what i believe to be the Ultimate Firefox setup!
Preferences:
Go to Tools-&#62;Options

On Main tab - I would set up my download folder here so [...]]]></description>
			<content:encoded><![CDATA[<p>After writing a <a href="http://jajahdevblog.com/nadav/how-to/windows-xp-tweaks-useful-programs-the-new-computer-necessities/" target="_blank">post</a> about the best Windows setup I realized the setting up Firefox to max its potential can be just as or even more complicated. So, here I will detail what i believe to be the Ultimate Firefox setup!</p>
<h4><u>Preferences:</u></h4>
<p>Go to <strong>Tools-&gt;Options</strong></p>
<ol>
<li>On <strong>Main</strong> tab - I would set up my download folder here so when I download files they won&#8217;t just end up on my desktop. Choose <strong>Save files to </strong>and browse to the folder of your choosing.</li>
<li><strong>Tabs</strong> tab - We&#8217;ll use an add-on for this one.</li>
<li><strong>Privacy </strong>tab - You might want to mark <strong>Always clear my private data when I close Firefox</strong> and choose the correct <strong>Settings</strong> for you. this is good for security reasons.</li>
<li><strong>Security</strong> tab - I <strong>HIGHLY</strong> recommend you use a master password for all your saved passwords, it is really no hassle and adds a very important security layer. Just mark <strong>Use a master password</strong>.</li>
</ol>
<p>I didn&#8217;t talk about any other thing in the options because the rest of the default values seem fine to me.</p>
<h4><u>Add-ons:</u></h4>
<p>This are add-ons I use and find helpful for fun and productivity.</p>
<p>For setting up specific add-on settings go to <strong>Tools-&gt;Add-ons-&gt;[add-on name]-&gt;Options</strong></p>
<ol>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/26" target="_blank">Download Statusbar</a> - Gives you a small downloads status indication at the status bar.      <br />After install and restart choose in it&#8217;s settings:      <br />Top right <strong>Mini Mode</strong>.</li>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/1269" target="_blank">Fasterfox</a> - Does different optimizations to your Firefox installation so it will run much faster.</li>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/1843" target="_blank">Firebug</a> - This might be the best one in the list. If you are a web developer this is the extension for you, extensive all-web related features. viewing and editing in real time of DOM,CSS,HTML,JS&#8230; and a JS console and a view of all requests sent including AJAX requests.      <br />And what I consider to be the coolest feature, live JS debug with breakpoints !</li>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/220" target="_blank">Flashgot</a> - When combined with a download manager (Flashget\GetRight\DAP&#8230;) enables to send to download all links in a page, links marked, building a gallery of picture\video and many many more.</li>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/398" target="_blank">Forecastfox</a> - Weather in your status bar. Personally I change the settings so it will only show icons and just when I hover above one give me more details.</li>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/398" target="_blank">Foxmarks Bookmark Synchronizer</a> - Does exactly what the name says. I use this to keep a backup of bookmarks and at the same time keep my <a href="http://portableapps.com/apps/internet/firefox_portable" target="_blank">Portable Firefox</a> synched with my standard installation.</li>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/1419" target="_blank">IE Tab</a> - Enables viewing of pages using IE&#8217;s engine inside Firefox. Very useful for web-developers or just people that use non-standard web sites.</li>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/1715" target="_blank">Long Titles</a> - Makes sure that the image tool tips will show completely.</li>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/1275" target="_blank">Master Password Timeout</a> - If you wish your master password will expire every so minutes than use this extension.</li>
<li><a href="https://nic-nac-project.de/~kaosmos/profileswitcher-en.html" target="_blank">ProfileSwithcer</a> - Firefox add-on developers or just people that want a clean\different profile for normal usage can install this for a quick and easy switch.</li>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/2570" target="_blank">Resurrect Pages</a> - Don&#8217;t you just hate it when you go to some site and get the 404 missing error ? Well, this extension lets you view this page from many different web cache archives, can be very useful at times.</li>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/1122" target="_blank">Tab Mix Plus</a> - Adds a whole lot of features for the Firefox tabs. I highly recommend going through it&#8217;s settings and setting it to your liking.</li>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/2098" target="_blank">Update Notifier</a> - Notifies of new updates to the main Firefox program and to add-ons.</li>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/60" target="_blank">Web Developer</a> - A must have for web developers, just get it and explore all the wonderful options. this does not conflict with Firebug, they complete each other.</li>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/1830" target="_blank">iFox Smooth</a> - A nice theme I have been using for a while now.</li>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/2577" target="_blank">JAJAH Click-to-call</a> - Last but not least, our very own. - adds telephony functionality to your pages with number recognition and other cool features.</li>
</ol>
<p>I recommend going through each new add-on you install and its various settings options and choosing what is right for you.</p>
<h4><u>Tweaks:</u></h4>
<p>Write at the address bar <strong>about:config</strong> and now we are going to search for values and change them, if a value does not exist, add it.</p>
<p><strong><em>This is a little more complicated and dangerous for your Firefox installation so use at your own risk.</em></strong></p>
<p>I found a few good articles about this specific subject so I will link to them and leave the fame to who ever deserves it.</p>
<ol>
<li><a href="http://www.computerworld.com/action/article.do?command=viewArticleBasic&amp;articleId=9020880" target="_blank">Link 1</a></li>
<li><a href="http://lifehacker.com/software/firefox-2/geek-to-live-top-firefox-2-config-tweaks-209941.php" target="_blank">Link 2</a></li>
</ol>
<p>&#8211; &#8212; &#8211; &#8212; &#8211; &#8212; &#8211; &#8212; &#8211; &#8212; &#8211; &#8212; &#8212;- &#8212;- &#8212;- &#8212;- &#8212;- &#8212;- &#8212;- &#8212;- &#8212;- &#8211;</p>
<p>Hope this helped you.</p>
<p>Tell me what is your ultimate Firefox setup in the comments.</p>
<p><em>Some credit goes to <a href="http://lifehacker.com/" target="_blank">Lifehacker</a> for ideas.</em></p>
<p>Cheers,   <br />Nadav</p>
]]></content:encoded>
			<wfw:commentRss>http://jajahdevblog.com/nadav/how-to/the-ultimate-firefox-setup/feed/</wfw:commentRss>
		<feedburner:origLink>http://jajahdevblog.com/nadav/how-to/the-ultimate-firefox-setup/</feedburner:origLink></item>
		<item>
		<title>How to: Know if a program was launched on boot</title>
		<link>http://feeds.feedburner.com/~r/NadavAndTheWondersOfTheWeb/~3/254165199/</link>
		<comments>http://jajahdevblog.com/nadav/uncategorized/how-to-know-if-a-program-was-launched-on-boot/#comments</comments>
		<pubDate>Wed, 19 Mar 2008 09:12:31 +0000</pubDate>
		<dc:creator>nadav</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jajahdevblog.com/nadav/uncategorized/how-to-know-if-a-program-was-launched-on-boot/</guid>
		<description><![CDATA[Sometimes you would like to know if your program was launched on the boot of the machine or activated by a user.
Here is a simple way to find just that in real-time.
What I would do to handle cases where the launch on boot is done through a shortcut is one of two options.

If you can, [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes you would like to know if your program was launched on the boot of the machine or activated by a user.</p>
<p>Here is a simple way to find just that in real-time.</p>
<p>What I would do to handle cases where the launch on boot is done through a shortcut is one of two options.</p>
<ol>
<li>If you can, add a parameter to the call of your application and check for it using the <strong>args[]</strong> in:       <br />[<span style="color: #2b91af">MTAThread</span>]       <br /><span style="color: blue">private static void </span>Main(<span style="color: blue">string </span>args[])       <br />{ </li>
<li>Use this <a href="http://jajahdevblog.com/nadav/how-to/how-to-get-system-up-time-in-c/" target="_blank">post</a> to know how long its passed since boot, check for a minimum period to know that it was started by the user, this is not bulletproof as it might take a while for boot to finish and your app to start but it is a solution when you have to do this. </li>
</ol>
<p>Got any ideas yourself? let us know in the comments !</p>
<p>Good luck,    <br />Nadav</p>
]]></content:encoded>
			<wfw:commentRss>http://jajahdevblog.com/nadav/uncategorized/how-to-know-if-a-program-was-launched-on-boot/feed/</wfw:commentRss>
		<feedburner:origLink>http://jajahdevblog.com/nadav/uncategorized/how-to-know-if-a-program-was-launched-on-boot/</feedburner:origLink></item>
		<item>
		<title>How to: Get system up time in C#</title>
		<link>http://feeds.feedburner.com/~r/NadavAndTheWondersOfTheWeb/~3/252925406/</link>
		<comments>http://jajahdevblog.com/nadav/how-to/how-to-get-system-up-time-in-c/#comments</comments>
		<pubDate>Mon, 17 Mar 2008 10:56:31 +0000</pubDate>
		<dc:creator>nadav</dc:creator>
		
		<category><![CDATA[CF.Net]]></category>

		<category><![CDATA[How to]]></category>

		<category><![CDATA[WM]]></category>

		<category><![CDATA[Windows]]></category>

		<category><![CDATA[c#]]></category>

		<category><![CDATA[.net]]></category>

		<category><![CDATA[system]]></category>

		<category><![CDATA[system up time]]></category>

		<category><![CDATA[tickcount]]></category>

		<category><![CDATA[time]]></category>

		<guid isPermaLink="false">http://jajahdevblog.com/nadav/how-to/how-to-get-system-up-time-in-c/</guid>
		<description><![CDATA[I guess this is quite the easy one but the fact is that while I was searching the web for this answer it was very hard to find.
This is something I knew and forgot so it is good that I will have it here for future quick reference.
Just use:
Environment.TickCount
This will return the time in milliseconds [...]]]></description>
			<content:encoded><![CDATA[<p>I guess this is quite the easy one but the fact is that while I was searching the web for this answer it was very hard to find.</p>
<p>This is something I knew and forgot so it is good that I will have it here for future quick reference.</p>
<p>Just use:</p>
<pre class="code"><span style="color: #2b91af">Environment</span>.TickCount</pre>
<p>This will return the time in milliseconds that has passed since the last boot.</p>
<p><strong>Quick Note:<br />
    <br /></strong>I have read <a href="http://www.personalmicrocosms.com/pages/dotnettips.aspx?c=23&amp;t=32" target="_blank">here</a> that this might overflow on systems running for a few days, they also give a solution. as I am using this for a Windows Mobile device I don&#8217;t have that option. (CF.Net being deprecated and all&#8230;)</p>
<p>Hope you found this faster then I did.</p>
<p><em>Update:<br />
    <br />After further looking into this I have found a nice <a href="http://www.devnewsgroups.net/group/microsoft.public.dotnet.framework/topic13780.aspx" target="_blank">article</a> about how to overcome the overflow problem, here is the solution:</em></p>
<pre class="code"><span style="color: blue">public static </span><span style="color: #2b91af">TimeSpan </span>GetTimeSinceBoot()
{
    <span style="color: blue">long </span>_newTicks = <span style="color: #2b91af">Convert</span>.ToInt64(<span style="color: #a31515">&quot;0x&quot; </span>+ <span style="color: #2b91af">Environment</span>.TickCount.ToString(<span style="color: #a31515">&quot;X&quot;</span>), 16);

    <span style="color: blue">int </span>days = (<span style="color: blue">int</span>) (_newTicks/(1000*60*60*24));
    <span style="color: blue">int </span>hours = (<span style="color: blue">int</span>) ((_newTicks/(1000*60*60)) - (days*24));
    <span style="color: blue">int </span>minutes = (<span style="color: blue">int</span>) ((_newTicks/(1000*60)) - (days*24*60) - (hours*60));
    <span style="color: blue">int </span>seconds = (<span style="color: blue">int</span>) ((_newTicks/1000) - (days*24*60*60) - (hours*60*60) - (minutes*60));
    <span style="color: blue">int </span>milliseconds =
        (<span style="color: blue">int</span>) (_newTicks - (days*24*60*60*1000) - (hours*60*60*1000) - (minutes*60*1000) - (seconds*1000));

    <span style="color: blue">return new </span><span style="color: #2b91af">TimeSpan</span>(days, hours, minutes, seconds, milliseconds);
}</pre>
<p><a href="http://11011.net/software/vspaste"></a><a href="http://11011.net/software/vspaste"></a><a href="http://11011.net/software/vspaste"></a><a href="http://11011.net/software/vspaste"></a></p>
<p><em>The ticks represent milliseconds and when I just call the constructor for TimeSpan it doesn&#8217;t treats it this way, that is why i am doing all of this.</em></p>
<p>Good luck,<br />
  <br />Nadav</p>
]]></content:encoded>
			<wfw:commentRss>http://jajahdevblog.com/nadav/how-to/how-to-get-system-up-time-in-c/feed/</wfw:commentRss>
		<feedburner:origLink>http://jajahdevblog.com/nadav/how-to/how-to-get-system-up-time-in-c/</feedburner:origLink></item>
		<item>
		<title>Windows XP tweaks &amp; useful programs - the new computer necessities</title>
		<link>http://feeds.feedburner.com/~r/NadavAndTheWondersOfTheWeb/~3/244815727/</link>
		<comments>http://jajahdevblog.com/nadav/how-to/windows-xp-tweaks-useful-programs-the-new-computer-necessities/#comments</comments>
		<pubDate>Mon, 03 Mar 2008 12:12:55 +0000</pubDate>
		<dc:creator>nadav</dc:creator>
		
		<category><![CDATA[How to]]></category>

		<category><![CDATA[Windows]]></category>

		<category><![CDATA[games]]></category>

		<category><![CDATA[new install]]></category>

		<category><![CDATA[productivity]]></category>

		<category><![CDATA[programs]]></category>

		<category><![CDATA[setup]]></category>

		<category><![CDATA[tweaks]]></category>

		<category><![CDATA[windows xp]]></category>

		<category><![CDATA[xp]]></category>

		<guid isPermaLink="false">http://jajahdevblog.com/nadav/how-to/windows-xp-tweaks-useful-programs-the-new-computer-necessities/</guid>
		<description><![CDATA[A couple of weeks ago I got a new computer and after spending quite a while setting it up and collecting all the different programs and little tweaks I like I figured it&#8217;s a good idea to make a list of it all.
at the end there&#8217;s a bonus!

Programs:
.Net Development:

Resourcer - Enables looking at what&#8217;s inside [...]]]></description>
			<content:encoded><![CDATA[<p>A couple of weeks ago I got a new computer and after spending quite a while setting it up and collecting all the different programs and little tweaks I like I figured it&#8217;s a good idea to make a list of it all.</p>
<p><em><strong>at the end there&#8217;s a bonus!</strong></em></p>
<h2></h2>
<p><u><strong>Programs</strong></u><u><strong>:</strong></u></p>
<p><strong><u>.Net Development:</u></strong></p>
<ol>
<li><strong>Resourcer</strong> - Enables looking at what&#8217;s inside .Net&#8217;s binary resource files. - <a href="http://www.aisto.com/roeder/dotnet/" target="_blank">Link</a> </li>
<li><strong>Reflector</strong> - Enables looking at assemblies wether they are the .Net assemblies or your own. can be very useful - <a href="http://www.aisto.com/roeder/dotnet/" target="_blank">Link</a> </li>
<li><strong>Guidance</strong> Explorer - Contains different guidance lines in regards to .Net development. - <a href="http://www.codeplex.com/Wiki/View.aspx?ProjectName=guidanceExplorer" target="_blank">Link</a> </li>
<li><strong>TailXP</strong> - this is not really geared solely on .Net, this is a tool used to watch a certain text file for changes, this is very useful when watching a text log file change in real time. - <a href="http://infiero.com/tailxp/" target="_blank">Link</a> </li>
</ol>
<p><strong><u>General purpose:</u></strong></p>
<ol>
<li><strong>Notepad++</strong> - An excellent <strong>free</strong> text editor. - <a href="http://notepad-plus.sourceforge.net/uk/site.htm" target="_blank">Link</a> </li>
<li><strong>7zip</strong> - A <strong>free</strong> zip\rar\7zip(their own) compression\decompression program. - <a href="http://www.7-zip.org/" target="_blank">Link</a> </li>
<li><strong>Paint.NET </strong>- An open-source photo editing program written in .Net - <a href="http://www.getpaint.net/" target="_blank">Link</a> </li>
<li><strong>CDBurnerXP</strong> - A very nice program for burning different CD&#8217;s\DVD&#8217;s.(<strong>FREE!</strong>) - <a href="http://cdburnerxp.se/" target="_blank">Link</a> </li>
<li><strong>SharpKeys</strong> - I used this little program to change some keys behavior on my laptop&#8217;s keyboard. you can use it to change the behavior of most keys on most keyboards - <a href="http://www.randyrants.com/sharpkeys/" target="_blank">Link</a> </li>
<li><strong>foobar2000</strong> - A music player. The reason I use this music player and not Winamp\Windows media player\ITunes\Whatever are both that it&#8217;s FREE and that uses virtually no memory once minimized(in today&#8217;s scale). - <a href="http://www.foobar2000.org/" target="_blank">Link</a> </li>
<li><strong>Firefox</strong> - Of course - <a href="http://www.getfirefox.com" target="_blank">Link</a></li>
<li><strong>SyncBack</strong> - A very good program for synching different locations including FTP servers.(there&#8217;s a free version) - <a href="http://www.2brightsparks.com/downloads.html" target="_blank">Link</a></li>
<li><strong>CCleaner</strong> - Cleans all temporary locations on your computer and fixes some registry issues. free and very good. - <a href="http://www.ccleaner.com/" target="_blank">Link</a></li>
<li><strong>Daemon Tools</strong> - A free CD\DVD drive emulation, very useful when downloading an install CD you don&#8217;t want to really burn. - <a href="http://www.daemon-tools.cc/dtcc/announcements.php" target="_blank">Link</a></li>
<li><strong>WinSCP</strong> - Useful for accessing SFTP\FTP servers. - <a href="http://winscp.net/eng/index.php" target="_blank">Link</a></li>
<li><strong>Putty</strong> - Simple SSH client - <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/" target="_blank">Link</a></li>
<li><strong>VLC</strong> - Good media player(I use it solely for video though it supports audio playback as well) - <a href="http://www.videolan.org/vlc/" target="_blank">Link</a></li>
<li><strong>Gimp</strong> - If you are looking for a more professional alternative to Paint.NET but don&#8217;t want to pay for Photoshop, The Gimp might be for you - <a href="http://www.gimp.org/" target="_blank">Link</a></li>
<li><strong>Windows Live Writer</strong> - The software I am using to write this posts. - <a href="http://get.live.com/writer/overview" target="_blank">Link</a></li>
<li><strong>Picasa</strong> - My choice for photo organizing. - <a href="http://picasa.google.com/" target="_blank">Link</a></li>
</ol>
<p><u><strong>Windows tweaks:</strong></u></p>
<ol>
<li>You know it when some program crashes(all do eventually) and you get that annoying &quot;Send\Don&#8217;t send&quot; message? well, you can set it up so it just shows the error and a close button. This way you won&#8217;t click the send by accident.      <br /><strong>Right click My Computer-&gt;Properties-&gt;Advanced-&gt;Error Reporting(at bottom)-&gt;Disable Error Reporting. Leave the mark as it is.</strong> </li>
<li>Some times you have a simple file you wish to open with Notepad but Windows doesn&#8217;t recognize the file type and won&#8217;t do this by default, yes, you can fix it manually but that will only help this file type. what I like to do(or at least <em>liked[better idea coming up])</em> is to add a shortcut to Notepad on the &quot;Send To&quot; list.       <br /><strong>Start menu-&gt;Run-&gt; write &quot;sendto&quot;-&gt;right click the empty space-&gt;new-&gt;shortcut-&gt;write &quot;notepad.exe&quot;-&gt;Next-&gt;write &quot;Notepad&quot;-&gt;Finish        <br /></strong>And your done! now you can just right click a file and choose sendto-&gt;notepad and it will open up with notepad. </li>
<li>A new way I found of doing the previous mentioned tweak is to have a &quot;Open with Notepad&quot; context menu item so you don&#8217;t need to go to &quot;send to&quot; the How to is detailed here: <a href="http://www.howtogeek.com/howto/windows-vista/add-open-with-notepad-to-the-context-menu-for-all-files/" target="_blank">Link</a>       <br />You are probably wondering why then have I wrote here the previous one, the answer is that i think the previous tweak is quite useful for many different usages even if just to remove useless links from the sendto list. </li>
<li>Most people look into choosing a nice desktop wallpaper and a nice screen saver, what they forget about is looking through the power options and setting them to they&#8217;re liking. it can be a real pain to leave your computer on at night for a big download and come back the next day to find out it turned itself off after a couple of hours.      <br /><strong>Right click on the desktop-&gt;properties-&gt;Screen Saver-&gt;Power&#8230;(at the bottom)        <br /></strong>Go through all the options and choose what&#8217;s best for you, if you don&#8217;t know what something means leave it as it is. </li>
<li>Using hibernation - If you wish to shut-down your computer but you want it to boot back to the same <strong>exact</strong> situation that you left it in you can put your computer in hibernation. what windows does when you do this is copy all your current RAM(memory) to the hard-drive and then restore it the next time you boot. I found this most useful with laptops mainly as it shortens boot-up time quite drastically.       <br /><strong>Go to Power as before-&gt;Hibernate(tab)-&gt;Mark Enable Hibernation(if it&#8217;s not already marked).        <br /></strong>If you are using the old\server style of the shut down screen then you have a list view when you choose &quot;Shut down&quot; from the start menu. If this is the case then you will see the hibernation option at the bottom of the list. if you are using the default XP shut down view then you will need to hold down the &quot;Shift&quot; button while viewing the screen and then the standby button will change into hibernate.
<p><em>If you are experiencing problems with the boot up after hibernation you can rapidly click a few times on the F8 key just before Windows start loading(right after the BOIS screen is gone). This will open up the boot option screen for windows, you can choose here to boot normally and not from the hibernation data created earlier.</em>       </p>
<p><strong>I would also recommend rebooting the computer the old fashion way at least once every 3-5 days, this is Windows were talking about after all&#8230;</strong> </li>
</ol>
<p>Hope you found at least one cool thing here. If there is anything you want me to try and find out for you just say so in the comments and I will give it my best.</p>
<p>Cheers,    <br />Nadav</p>
<p><em>Ow right&#8230; the bonus! - just a free nice game, very cool indeed. - <a href="http://www.trackmanianations.com" target="_blank">Link</a>      <br />and if you are into shooters and such look into F.E.A.R(I will leave this one for you to find, the multi-player should be free).</em></p>
]]></content:encoded>
			<wfw:commentRss>http://jajahdevblog.com/nadav/how-to/windows-xp-tweaks-useful-programs-the-new-computer-necessities/feed/</wfw:commentRss>
		<feedburner:origLink>http://jajahdevblog.com/nadav/how-to/windows-xp-tweaks-useful-programs-the-new-computer-necessities/</feedburner:origLink></item>
		<item>
		<title>A few useful Linux commands for the newbie</title>
		<link>http://feeds.feedburner.com/~r/NadavAndTheWondersOfTheWeb/~3/242625637/</link>
		<comments>http://jajahdevblog.com/nadav/how-to/a-few-useful-linux-commands-for-the-newbie/#comments</comments>
		<pubDate>Sat, 16 Feb 2008 11:29:55 +0000</pubDate>
		<dc:creator>nadav</dc:creator>
		
		<category><![CDATA[How to]]></category>

		<category><![CDATA[linux]]></category>

		<category><![CDATA[command]]></category>

		<category><![CDATA[newbie]]></category>

		<guid isPermaLink="false">http://jajahdevblog.com/nadav/archives/23</guid>
		<description><![CDATA[Here is a list of a few useful Linux commands for us newbies. =]
This are most of the commands that i have come to use in Linux, this are the ones that I think it&#8217;s worth to at least know. You never know when it will come in handy&#8230;

ls - Works the same as &#8220;dir&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a list of a few useful Linux commands for us newbies. =]</p>
<p>This are most of the commands that i have come to use in Linux, this are the ones that I think it&#8217;s worth to at least know. You never know when it will come in handy&#8230;</p>
<ol>
<li><a href="http://www.oreillynet.com/linux/cmd/cmd.csp?path=l/ls" target="_blank">ls</a> - Works the same as &#8220;dir&#8221; in DOS, lists all the files and folders at the current path.</li>
<li><a href="http://www.oreillynet.com/linux/cmd/cmd.csp?path=c/cat" target="_blank">cat</a> <strong>filename</strong> - Pasts the contents of <strong>filename</strong> to the screen.</li>
<li><a href="http://www.oreillynet.com/linux/cmd/cmd.csp?path=m/man" target="_blank">man</a> <strong>command</strong> - Loads the manual file for the command\program.</li>
<li><a href="http://www.oreillynet.com/linux/cmd/cmd.csp?path=w/wget" target="_blank">wget</a> <strong>url</strong> - I think this actually a program but it will most likely be available on every Linux system you will use. It fetches the file\page at the <strong>url</strong>.</li>
<li><a href="http://www.oreillynet.com/linux/cmd/cmd.csp?path=m/mkdir" target="_blank">mkdir</a> <strong>name</strong> - Create a directory named <strong>name</strong>.</li>
<li><a href="http://www.oreillynet.com/linux/cmd/cmd.csp?path=r/rm" target="_blank">rm</a> <strong>filename</strong> - Delete <strong>filename</strong>.</li>
<li><a href="http://www.oreillynet.com/linux/cmd/cmd.csp?path=r/rmdir" target="_blank">rmdir</a> <strong>foldername</strong> -Delete <strong>foldername</strong>.</li>
<li><a href="http://www.oreillynet.com/linux/cmd/cmd.csp?path=p/ps" target="_blank">ps</a> - Lists processes.</li>
<li><a href="http://www.oreillynet.com/linux/cmd/cmd.csp?path=p/passwd" target="_blank">passwd</a> - Change the password of the current user.</li>
<li><a href="http://www.oreillynet.com/linux/cmd/cmd.csp?path=c/chmod" target="_blank">chmod</a> - Read about this one, this is used to change the rights regarding read/write/execution of a file or folder.</li>
<li><a href="http://www.oreillynet.com/linux/cmd/cmd.csp?path=c/chown" aiotitle="chown" target="_blank">chown</a> - Used to change the owner of a file or folder.</li>
<li><a href="http://www.oreillynet.com/linux/cmd/cmd.csp?path=c/cp" target="_blank">cp</a>  <strong>filename1 filename2</strong> - Used to copy files from<strong> filename1 </strong>to <strong>filename2</strong>.</li>
<li><a href="http://www.oreillynet.com/linux/cmd/cmd.csp?path=d/df" target="_blank">df</a> - Used to review hard-drive space, personally, I use it with &#8220;-hT&#8221;.</li>
<li><a href="http://www.oreillynet.com/linux/cmd/cmd.csp?path=f/fdisk" target="_blank">fdisk</a> <strong>/dev/***</strong> - Used to partition a hard-drive, usually the drives location will be <strong>/dev/hda</strong> or <strong>/dev/sda</strong> or <strong>/dev/hdb</strong> and so on&#8230;</li>
<li><a href="http://www.oreillynet.com/linux/cmd/cmd.csp?path=f/find" target="_blank">find</a> <strong>key</strong> - Find files on the file system. I am not very familiar with it but I know that sometimes you would prefer to use <strong>locate</strong>.</li>
<li><a href="http://www.oreillynet.com/linux/cmd/cmd.csp?path=g/grep" target="_blank">grep</a> <strong>regularExpression</strong>- used to find lines that correspond with the<strong> regularExpression</strong> usually used in parallel to another command like <strong>ps</strong>. [ps | grep cups]</li>
<li><a href="http://www.oreillynet.com/linux/cmd/cmd.csp?path=i/ifconfig" target="_blank">ifconfig</a> -Lists the available network adapters and their status.</li>
<li><a href="http://www.oreillynet.com/linux/cmd/cmd.csp?path=k/kill" target="_blank">kill</a> - Stop a process by PID[Program ID].</li>
<li><a href="http://www.oreillynet.com/linux/cmd/cmd.csp?path=k/killall" target="_blank">killall</a> - Stop a process by name.</li>
<li><a href="http://www.oreillynet.com/linux/cmd/cmd.csp?path=l/lsmod" target="_blank">lsmod</a> - Lists currently loaded <a href="http://en.wikipedia.org/wiki/Loadable_Kernel_Module" target="_blank"><em>modules</em></a>[this is a subject of it's own].</li>
<li><a href="http://www.oreillynet.com/linux/cmd/cmd.csp?path=r/rmmod" target="_blank">rmmod</a> <strong>mode</strong> - Unload a <a href="http://en.wikipedia.org/wiki/Loadable_Kernel_Module" target="_blank"><em>module</em></a> from the kernel.</li>
<li><a href="http://www.oreillynet.com/linux/cmd/cmd.csp?path=l/lsusb" target="_blank">lsusb</a> - Lists all USB devices.</li>
<li><a href="http://www.oreillynet.com/linux/cmd/cmd.csp?path=m/mount" target="_blank">mount</a> - Used to <a href="http://en.wikipedia.org/wiki/Mount_(computing)" target="_blank"><em>mount</em></a> a device/partition to a certain path.</li>
<li><a href="http://www.oreillynet.com/linux/cmd/cmd.csp?path=u/umount" target="_blank">umount</a> - Used to <a href="http://en.wikipedia.org/wiki/Mount_(computing)" target="_blank"><em>un-mount</em></a> a device/partition.</li>
<li><a href="http://www.oreillynet.com/linux/cmd/cmd.csp?path=d/dig" target="_blank">dig</a> <strong>serverAddress </strong>-Used to query the <a href="http://en.wikipedia.org/wiki/Domain_name_system" target="_blank"><em>DNS</em></a> server<em>.</em></li>
<li><a href="http://www.oreillynet.com/linux/cmd/cmd.csp?path=s/sftp" target="_blank">sftp</a> - ftp, but <strong>secure!</strong>.</li>
<li><a href="http://www.oreillynet.com/linux/cmd/cmd.csp?path=s/ssh" target="_blank">ssh</a> <strong>address</strong> - Connect to a SSH server at <strong>address</strong>.</li>
<li><a href="http://www.oreillynet.com/linux/cmd/cmd.csp?path=s/su" target="_blank">su</a> <strong>username</strong> - Start using the shell as <strong>username</strong>.</li>
<li><a href="http://www.oreillynet.com/linux/cmd/cmd.csp?path=s/sudo" target="_blank">sudo</a> <strong>command</strong> - Run <strong>command</strong> as if you were <strong>root</strong>. This command is currently used in many different <a href="http://en.wikipedia.org/wiki/Linux_distribution" target="_blank"><em>distros</em></a><em> </em>to re-authenticate the user in order to make sure this is not some kind of a harmful program.</li>
<li><a href="http://www.oreillynet.com/linux/cmd/cmd.csp?path=t/tar" target="_blank">tar</a> - Create or restore file from a <a href="http://en.wikipedia.org/wiki/Tarball" target="_blank"><em>tarball</em></a>.</li>
<li><a href="http://www.oreillynet.com/linux/cmd/cmd.csp?path=t/traceroute" target="_blank">traceroute</a> <strong>address</strong> - Shows the entire route it takes a request in order to get to <strong>address</strong>. Useful when trying to find bottle necks in networks.</li>
</ol>
<p>For more info on any of this commands either use &#8220;man&#8221; or call the command and &#8220;&#8211;help&#8221; or &#8220;-h&#8221; after the command(or click the link&#8230;). It should list the different possibilities of usage to that command.</p>
<p>Hope this helps you with your Linux endeavours. BTW - most or at-least some of the commands should work on UNIX based systems as well. This is due to the fact that both Linux and UNIX adhere to <a href="http://en.wikipedia.org/wiki/POSIX" target="_blank"><em>POSIX</em></a><em>.</em></p>
<p>Until next time, have a good one! =]</p>
<p>Nadav</p>
]]></content:encoded>
			<wfw:commentRss>http://jajahdevblog.com/nadav/how-to/a-few-useful-linux-commands-for-the-newbie/feed/</wfw:commentRss>
		<feedburner:origLink>http://jajahdevblog.com/nadav/how-to/a-few-useful-linux-commands-for-the-newbie/</feedburner:origLink></item>
		<item>
		<title>Cool Visual Studio 2005 stuff.</title>
		<link>http://feeds.feedburner.com/~r/NadavAndTheWondersOfTheWeb/~3/242625639/</link>
		<comments>http://jajahdevblog.com/nadav/how-to/cool-visual-studio-2005-stuff/#comments</comments>
		<pubDate>Fri, 15 Feb 2008 17:12:30 +0000</pubDate>
		<dc:creator>nadav</dc:creator>
		
		<category><![CDATA[How to]]></category>

		<category><![CDATA[Windows]]></category>

		<category><![CDATA[visual studio]]></category>

		<category><![CDATA[VS]]></category>

		<category><![CDATA[VS2005]]></category>

		<guid isPermaLink="false">http://jajahdevblog.com/nadav/archives/21</guid>
		<description><![CDATA[Lately I stumbled upon a few cool things you can change in the Visual Studio 2005 to get some nice to have features.
Here they are:

Change the start-up behavior:
If you&#8217;re like me and you don&#8217;t like the fact that it takes a while for VS to load, partially because of the start-up screen, while you don&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>Lately I stumbled upon a few cool things you can change in the Visual Studio 2005 to get some nice to have features.</p>
<p>Here they are:</p>
<ol>
<li>Change the start-up behavior:<br />
If you&#8217;re like me and you don&#8217;t like the fact that it takes a while for VS to load, partially because of the start-up screen, while you don&#8217;t use it anyway&#8230; then this for you !<br />
Go to: Tools-&gt;Options-&gt;Environment-&gt;Startup<br />
And choose whatever fits you best.</li>
<li>Enable line numbering:<br />
Some times when you use a log file or you look in the windows event handler you will see certain errors you want to check in the code, but while looking for the right line you keep looking at the status bar to see in which line you are. NO MORE!<br />
Go to: Tools-&gt;Options-&gt;Text Editor-&gt;[Choose your language or All Languages]-&gt;General<br />
And set the check box at the bottom named &#8220;Line numbers&#8221;.</li>
<li>You might want to go through the &#8220;Formatting&#8221; section and set it up to your liking.</li>
<li>If you don&#8217;t like it that when you implement an Interface VS automatically wraps it with a #region than you can go to the same place but look at [Language]-&gt;Advanced<br />
And unset the check box at the bottom under &#8220;Implement Interface&#8221;</li>
<li>If like me you don&#8217;t use the WYSIWYG editor for HTML than you might want to go to:<br />
Tools-&gt;Options-&gt;HTML Designer<br />
And choose &#8220;Source View&#8221; at the top.</li>
<li>A cool and not so known feature of VS is that you can set special keywords to show up on the Task List.<br />
First, what you want to do is open the Task List window, you do this by View-&gt;Task List(or just Ctrl+T).<br />
Second, go to Tools-&gt;Options-&gt;Environment-&gt;Task List. Here you can set up your own keywords or removed ones you don&#8217;t like. this can be used so when you need to do a little fix in your code at a latter time you put a little &#8220;//TODO: &#8230;.&#8221; comment there, then, when you look at the Task List not only you will see all the TODO&#8217;s[and other keywords] comments but a double click on it will bring you to the exact line. Now that&#8217;s a time saver! no more searching the entire solution for those TODO comments.</li>
<li>Another very cool and probably not very known feature of VS is that you can Import and Export your settings! this means that after you go through all the settings and set everything to your liking you can save it so the next time you install VS you will easily set it up in no time.</li>
</ol>
<p>Hope you found this informative and that it helped you a little.</p>
<p>Until next time, have a good one =].</p>
<p>Nadav</p>
]]></content:encoded>
			<wfw:commentRss>http://jajahdevblog.com/nadav/how-to/cool-visual-studio-2005-stuff/feed/</wfw:commentRss>
		<feedburner:origLink>http://jajahdevblog.com/nadav/how-to/cool-visual-studio-2005-stuff/</feedburner:origLink></item>
		<item>
		<title>Which is faster? switch or if-else ?</title>
		<link>http://feeds.feedburner.com/~r/NadavAndTheWondersOfTheWeb/~3/242625640/</link>
		<comments>http://jajahdevblog.com/nadav/c/which-is-faster-switch-or-if-else/#comments</comments>
		<pubDate>Thu, 07 Feb 2008 13:29:31 +0000</pubDate>
		<dc:creator>nadav</dc:creator>
		
		<category><![CDATA[c#]]></category>

		<category><![CDATA[coding]]></category>

		<category><![CDATA[conventions]]></category>

		<category><![CDATA[else]]></category>

		<category><![CDATA[if]]></category>

		<category><![CDATA[if-else]]></category>

		<category><![CDATA[programming]]></category>

		<category><![CDATA[switch]]></category>

		<guid isPermaLink="false">http://jajahdevblog.com/nadav/archives/20</guid>
		<description><![CDATA[Every time I have a state where I need to use switch\if-else-irritation I can&#8217;t quite figure our which is the better choice. I am pretty sure there is no one answer to this question, but i did stumble upon an interesting test:
Link
This test shows that, as i suspected all along(Mu-ha-ha), the switch is faster, and [...]]]></description>
			<content:encoded><![CDATA[<p>Every time I have a state where I need to use switch\if-else-irritation I can&#8217;t quite figure our which is the better choice. I am pretty sure there is no one answer to this question, but i did stumble upon an interesting test:</p>
<p><a href="http://www.blackwasp.co.uk/SpeedTestIfElseSwitch.aspx" title="Link" target="_blank">Link</a></p>
<p>This test shows that, as i suspected all along(Mu-ha-ha), the switch is faster, and in a significant way.</p>
<p>I&#8217;m sure that some people will still state if-else is more readable, but personally, i do not agree with that.</p>
<p>What do you choose when you face this issue? if-else/switch? or an entirely different mechanism?</p>
<p>Have a good one, =]<br />
Nadav</p>
]]></content:encoded>
			<wfw:commentRss>http://jajahdevblog.com/nadav/c/which-is-faster-switch-or-if-else/feed/</wfw:commentRss>
		<feedburner:origLink>http://jajahdevblog.com/nadav/c/which-is-faster-switch-or-if-else/</feedburner:origLink></item>
		<item>
		<title>How to: Control the keyboard(SIP - Soft Input Panel) on Windows Mobile</title>
		<link>http://feeds.feedburner.com/~r/NadavAndTheWondersOfTheWeb/~3/242625641/</link>
		<comments>http://jajahdevblog.com/nadav/how-to/how-to-control-the-keyboardsip-soft-input-panel-on-windows-mobile/#comments</comments>
		<pubDate>Fri, 01 Feb 2008 16:30:56 +0000</pubDate>
		<dc:creator>nadav</dc:creator>
		
		<category><![CDATA[CF.Net]]></category>

		<category><![CDATA[How to]]></category>

		<category><![CDATA[WM]]></category>

		<category><![CDATA[c#]]></category>

		<category><![CDATA[keyboard]]></category>

		<category><![CDATA[SIP]]></category>

		<category><![CDATA[soft input panel]]></category>

		<category><![CDATA[windows mobile]]></category>

		<guid isPermaLink="false">http://jajahdevblog.com/nadav/archives/18</guid>
		<description><![CDATA[As you might have noticed, what I do here in this blog is write about the things I look for, than, when I can&#8217;t find them or I find too complicated and evasive answers I write simple ones here.
So, let&#8217;s get to the reason we&#8217;re all here.
I will give here an example on how you [...]]]></description>
			<content:encoded><![CDATA[<p>As you might have noticed, what I do here in this blog is write about the things I look for, than, when I can&#8217;t find them or I find too complicated and evasive answers I write simple ones here.</p>
<p>So, let&#8217;s get to the reason we&#8217;re all here.</p>
<p>I will give here an example on how you can change the visibility of the keyboard and you will probably be able to figure out the rest.</p>
<p>the steps are as follows:</p>
<ol>
<li>Add a reference to <strong>Microsoft.WindowsCE.Forms.dll</strong> </li>
<li>Create our new class:
<pre class="code"><span style="color: blue">using </span>Microsoft.WindowsCE.Forms;

<span style="color: blue">namespace </span>Environment.Keyboard
{
    <span style="color: blue">public class </span><span style="color: #2b91af">Keyboard
    </span>{</pre>
</li>
<li>
<p>Create our private <strong>InputPanel</strong> member:</p>
<pre class="code"><span style="color: blue">private static </span><span style="color: #2b91af">InputPanel </span>m_inputPanel = <span style="color: blue">new </span><span style="color: #2b91af">InputPanel</span>();</pre>
</li>
<li>
<p>Create the property to check if the Keyboard is open:</p>
<pre class="code"><span style="color: blue">public static bool </span>KeyboardOpen
{
    <span style="color: blue">get </span>{ <span style="color: blue">return </span>m_inputPanel.Enabled; }
    <span style="color: blue">set </span>{ m_inputPanel.Enabled = <span style="color: blue">value</span>; }
}</pre>
</li>
<li>
<p>Were done!</p>
</li>
</ol>
<p>It&#8217;s that simple. the <strong>Enabled</strong> property in the <strong>InputPanel</strong> signifies if the keyboard is currently open or not.</p>
<p><a href="http://11011.net/software/vspaste"></a></p>
<p>Check out <a href="http://www.christec.co.nz/blog/archives/42" target="_blank">this</a> link for a more comprehensive article.</p>
<p>See you next time,<br />
  <br />Nadav</p>
]]></content:encoded>
			<wfw:commentRss>http://jajahdevblog.com/nadav/how-to/how-to-control-the-keyboardsip-soft-input-panel-on-windows-mobile/feed/</wfw:commentRss>
		<feedburner:origLink>http://jajahdevblog.com/nadav/how-to/how-to-control-the-keyboardsip-soft-input-panel-on-windows-mobile/</feedburner:origLink></item>
	</channel>
</rss>
