<?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:blogger='http://schemas.google.com/blogger/2008' 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-1700506210997632375</id><updated>2024-09-08T07:24:33.937-07:00</updated><category term="c learning"/><category term="grexit"/><category term="life"/><category term="ruby"/><category term="ruby on rails"/><category term="startup"/><category term="web development"/><category term="work experience"/><title type='text'>Anurag Maherchandani</title><subtitle type='html'>Do what you love or you will be forced to love what you do</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://anurag-maher.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1700506210997632375/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://anurag-maher.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08317741876167805371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>22</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1700506210997632375.post-8718448456973170200</id><published>2018-05-05T01:53:00.001-07:00</published><updated>2018-05-05T01:53:57.924-07:00</updated><title type='text'>15 mins of car ride costed me 21500 INR Zoomcar India </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
I love driving and instead of owning a vehicle I chose to go for Zoomcar whenever needed. I have completed more than 18 trips on Zoomcar with more than 10k kms completed in these trips.&lt;br /&gt;
&lt;br /&gt;
This time was completely different. I had to drop my parents to the airport, so instead of choosing a Uber cab I took Zoomcar as usual and I cannot forget my this decision for my lifetime.&lt;br /&gt;
&lt;br /&gt;
I had chosen a XUV which is a premium vehicle&amp;nbsp; and I thought I will take my parents for a nice ride and then drop them to airport.&lt;br /&gt;
&lt;br /&gt;
Till now I have done the car pick up from the Zoomcar centre, this time was different. Zoomcar&amp;nbsp; asked me to pick up the vehicle from an Apartment, even the company name was not written on this car. It seemed to be a personal vehicle.&lt;br /&gt;
&lt;br /&gt;
Something was fishy, but since I had a trust on them I took the car. As soon as I hit the road I was unable to drive, I had to give a lot of race to just move the vehicle in traffic. Cars were honking behind me and I was going crazy.&lt;br /&gt;
&lt;br /&gt;
I thought the hand brake was ON but no the handbrake was OFF and my legs got heated up. There was a noticeable burning smell. Somehow I managed to get outside of the traffic and car broke down.&lt;br /&gt;
&lt;br /&gt;
My parents were waiting for me to get to the airport and I was struggling with the broken down car. I could not leave the car as well because when I informed Zoomcar, they told you cannot leave the vehicle until someone comes to&amp;nbsp;tow the car.&lt;br /&gt;
&lt;br /&gt;
I had to wait at the spot for 2 hours and finally the car was picked and I was given assurance from Zoomcar that they will help me.&lt;br /&gt;
&lt;br /&gt;
I had to immediately book a Uber cab and took my parents to the airport in hurry.&lt;br /&gt;
&lt;br /&gt;
As a result of all this we missed the flight which costed around 10k.&lt;br /&gt;
&lt;br /&gt;
I was disappointed and lost. All our plans for the day were disrupted because of them.&lt;br /&gt;
&lt;br /&gt;
I Still trusted on Zoomcar and next day to disappoint me more I get a call that I have to pay 10k to them for the car breakdown, I am completely lost and very disappointed with the way zoomcar has handled the situation.&lt;br /&gt;
&lt;br /&gt;
If anyone from Zoomcar is listening&amp;nbsp; my booking id is&amp;nbsp;JPS62A6CX&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://anurag-maher.blogspot.com/feeds/8718448456973170200/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://anurag-maher.blogspot.com/2018/05/15-mins-of-car-ride-costed-me-21500-inr.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1700506210997632375/posts/default/8718448456973170200'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1700506210997632375/posts/default/8718448456973170200'/><link rel='alternate' type='text/html' href='http://anurag-maher.blogspot.com/2018/05/15-mins-of-car-ride-costed-me-21500-inr.html' title='15 mins of car ride costed me 21500 INR Zoomcar India '/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08317741876167805371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1700506210997632375.post-771343384617296640</id><published>2014-04-21T21:17:00.002-07:00</published><updated>2014-04-21T21:29:30.663-07:00</updated><title type='text'>Hijacking Gmail AJAX requests in a chrome extension  (Gmail Traffic Watcher)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
This is a simple programming hack to silently listen to Gmail Ajax requests.&lt;br /&gt;
&lt;br /&gt;
Say you need to build a chrome extension for Gmail for which you want to know when&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;i&gt;A Email is Sent.&lt;/i&gt;&lt;/li&gt;
&lt;li&gt;&lt;i&gt;A label is applied to the email.&lt;/i&gt;&lt;/li&gt;
&lt;li&gt;&lt;i&gt;When a new email arrives&lt;/i&gt;&lt;/li&gt;
&lt;li&gt;&lt;i&gt;And basically all the functions which Gmail does.&lt;/i&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;br /&gt;
Below pictures will give more idea about how we are trying to hack into Gmail.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFeXT_2sPIJtIpkxqH8xGuj12YnxSR1zs8qofjAP13hLvKFe6ksQL4M5Tit3eczDNIVcl9JUCfd1tAR4ha1r3nZIL5NINKZ-OQ7NuHp1sp5p7gaJ8oRUrCodJ0xj8ZR2YUKZp1rF5zg5kn/s1600/Screen+Shot+2014-04-21+at+10.12.27+am.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFeXT_2sPIJtIpkxqH8xGuj12YnxSR1zs8qofjAP13hLvKFe6ksQL4M5Tit3eczDNIVcl9JUCfd1tAR4ha1r3nZIL5NINKZ-OQ7NuHp1sp5p7gaJ8oRUrCodJ0xj8ZR2YUKZp1rF5zg5kn/s1600/Screen+Shot+2014-04-21+at+10.12.27+am.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxmtX2XDXtqTT0sxetXlkolbQ4rt7uPfz66ttA-emTJVHEDwYP5pFvz7Ek_0QMG-_mqOGPJQjDotsxdHsr4fH1Kw8vv0J2_m7B59DOPi1mb6i9VLK-oz_Hti0ka0lbyC_asPOL2LthO0Nk/s1600/Screen+Shot+2014-04-22+at+9.52.49+am.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxmtX2XDXtqTT0sxetXlkolbQ4rt7uPfz66ttA-emTJVHEDwYP5pFvz7Ek_0QMG-_mqOGPJQjDotsxdHsr4fH1Kw8vv0J2_m7B59DOPi1mb6i9VLK-oz_Hti0ka0lbyC_asPOL2LthO0Nk/s1600/Screen+Shot+2014-04-22+at+9.52.49+am.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Now this will amaze you that only few lines of code can do this magic. I have taken help from&amp;nbsp;&lt;a href=&quot;http://verboselogging.com/2010/02/20/hijack-ajax-requests-like-a-terrorist&quot; target=&quot;_blank&quot;&gt;Hijack AJAX Requests Like A Terrorist&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So let us see what we mean here by hacking into Gmail Ajax requests. We are monitoring the GET and POST requests &quot;URL&quot; and the corresponding &quot;response&quot;. Our functions acts like a wrapper functions for the original gmail requests.&lt;br /&gt;
&lt;br /&gt;
If you don&#39;t want to go for the explanation, you can directly jump to the full code in &amp;nbsp;the last section of this post.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
Step 1: Here we are writing a wrapper function for the original&amp;nbsp;&lt;a href=&quot;http://en.wikipedia.org/wiki/XMLHttpRequest&quot; target=&quot;_blank&quot;&gt;XMLHttpRequest&lt;/a&gt;&amp;nbsp;object.&lt;br /&gt;
&lt;br /&gt;
First step is to over-ride the open function.&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #f9f9f9; border: 1px solid rgb(221, 221, 221); font-family: monospace, Courier; font-size: 14.399999618530273px; line-height: 1.3em; padding: 1em;&quot;&gt;open( Method, URL, Asynchronous, UserName, Password )&lt;/pre&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTwgKhE7po7FaoJVi78d-upzBOEK6NVOFgwcaWSCpPFM4BQU3kY1NmY4dZ0BP23Hc1rQSmMAJhOL_5u2PAnTJBvpSAHDWh8Rk7MWuziJi-Fg9ewnlF4QrbvrZCbMwq7VNdV81VAO1oie86/s1600/Screen+Shot+2014-04-21+at+10.28.51+am.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTwgKhE7po7FaoJVi78d-upzBOEK6NVOFgwcaWSCpPFM4BQU3kY1NmY4dZ0BP23Hc1rQSmMAJhOL_5u2PAnTJBvpSAHDWh8Rk7MWuziJi-Fg9ewnlF4QrbvrZCbMwq7VNdV81VAO1oie86/s1600/Screen+Shot+2014-04-21+at+10.28.51+am.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Step 2:&lt;br /&gt;
&lt;br /&gt;
Second and final step is to over-ride the send function.&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #f9f9f9; border: 1px solid rgb(221, 221, 221); font-family: monospace, Courier; font-size: 14.399999618530273px; line-height: 1.3em; padding: 1em;&quot;&gt;send( Data )&lt;/pre&gt;
&lt;br /&gt;
Now here we will be adding a eventListner so that whenever there is a response this event will catch it and we will be able to record the response.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfAVCSwDr2GLEYzglCMbejgDDd0QATlvW0XxYSzOBeKIl2XMW10asEXZvkrUbfOevX8uIXqocMlQBDBt9qL_XuBTHeOJtD-K2undkMZ_VOZOuFnhchGs2U8GREmpJ04n2-jz1WG-p2nWc7/s1600/Screen+Shot+2014-04-22+at+9.40.27+am.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfAVCSwDr2GLEYzglCMbejgDDd0QATlvW0XxYSzOBeKIl2XMW10asEXZvkrUbfOevX8uIXqocMlQBDBt9qL_XuBTHeOJtD-K2undkMZ_VOZOuFnhchGs2U8GREmpJ04n2-jz1WG-p2nWc7/s1600/Screen+Shot+2014-04-22+at+9.40.27+am.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Do let me know below if you have any questions in below comments section.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Final code will look something like this.&lt;br /&gt;
&lt;br /&gt;
Code is available here :&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://gist.github.com/codeanu/11132015&quot; target=&quot;_blank&quot;&gt;https://gist.github.com/codeanu/11132015&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgt5al_WH16DzMmQ92k5o4yOXzx1vwCPJENZjvVqf3XduyZLl0fdCJMSQ_mmoPbG-hPsFiC9ZMp5UdepprU5nhNG1E4hKSQabyAe6PpejnjxSp39_KS8zd_7KnwT2kIYQ607xZwP3htFxwu/s1600/Screen+Shot+2014-04-21+at+10.32.49+am.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgt5al_WH16DzMmQ92k5o4yOXzx1vwCPJENZjvVqf3XduyZLl0fdCJMSQ_mmoPbG-hPsFiC9ZMp5UdepprU5nhNG1E4hKSQabyAe6PpejnjxSp39_KS8zd_7KnwT2kIYQ607xZwP3htFxwu/s1600/Screen+Shot+2014-04-21+at+10.32.49+am.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://anurag-maher.blogspot.com/feeds/771343384617296640/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://anurag-maher.blogspot.com/2014/04/hijacking-gmail-ajax-requests-in-chrome.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1700506210997632375/posts/default/771343384617296640'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1700506210997632375/posts/default/771343384617296640'/><link rel='alternate' type='text/html' href='http://anurag-maher.blogspot.com/2014/04/hijacking-gmail-ajax-requests-in-chrome.html' title='Hijacking Gmail AJAX requests in a chrome extension  (Gmail Traffic Watcher)'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08317741876167805371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFeXT_2sPIJtIpkxqH8xGuj12YnxSR1zs8qofjAP13hLvKFe6ksQL4M5Tit3eczDNIVcl9JUCfd1tAR4ha1r3nZIL5NINKZ-OQ7NuHp1sp5p7gaJ8oRUrCodJ0xj8ZR2YUKZp1rF5zg5kn/s72-c/Screen+Shot+2014-04-21+at+10.12.27+am.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1700506210997632375.post-5680817729012471613</id><published>2014-03-21T12:10:00.001-07:00</published><updated>2014-03-22T02:37:30.356-07:00</updated><title type='text'>Set up and understand websockets with socket.io inside Gmail Extension </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;When and why to use websockets ?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;We all know how HTTP work, there is a request to the server (GET or POST), and there is a response from the server.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Now if the client needs fresh information the client will have to ping the server again. What if there is a change on the server side and the client needs to be notified in real time.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;One simple solution will be to poll the server in regular intervals to know if there is any change, This is called polling. It is resource consuming and time consuming.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Another solution now available to web developers is &lt;a href=&quot;http://www.websocket.org/&quot; rel=&quot;&quot; target=&quot;_blank&quot;&gt;WebSockets&lt;/a&gt;. It is a full duplex tunnel for data transfer. Now how websockets are better than polling, you can read here &lt;a href=&quot;http://www.websocket.org/quantum.html&quot; target=&quot;_blank&quot;&gt;http://www.websocket.org/quantum.html&lt;/a&gt;.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;We will be discussing how we are going to install websocket with socket.io server(SSL support) and a javascript client.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Install Node &lt;/span&gt;&lt;a href=&quot;http://nodejs.org/&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif; text-decoration: none;&quot;&gt;&lt;span style=&quot;color: #1155cc; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;http://nodejs.org/&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;: Here is the wiki &lt;/span&gt;&lt;a href=&quot;https://github.com/joyent/node/wiki/installation&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif; text-decoration: none;&quot;&gt;&lt;span style=&quot;color: #1155cc; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;https://github.com/joyent/node/wiki/installation&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; - check under &lt;/span&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Building on GNU/Linux and other UNIX &lt;/span&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;section for ubuntu and mac users. &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;For Ubuntu users&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;background-color: #f8f8f8; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgb(221, 221, 221); box-sizing: border-box; color: #333333; font-family: Consolas, &#39;Liberation Mono&#39;, Courier, monospace; font-size: 13px; line-height: 19px; margin-bottom: 15px; margin-top: 15px; overflow: auto; padding: 6px 10px; word-wrap: normal;&quot;&gt;tar -zxf node-v0.6.18.tar.gz &lt;span class=&quot;c&quot; style=&quot;box-sizing: border-box; color: #999988; font-style: italic;&quot;&gt;#Download this from nodejs.org&lt;/span&gt;
&lt;span class=&quot;nb&quot; style=&quot;box-sizing: border-box; color: #0086b3;&quot;&gt;cd &lt;/span&gt;node-v0.6.18
./configure &lt;span class=&quot;o&quot; style=&quot;box-sizing: border-box; font-weight: bold;&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt; make &lt;span class=&quot;o&quot; style=&quot;box-sizing: border-box; font-weight: bold;&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt; sudo make install&lt;/pre&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Georgia, Times New Roman, serif; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Create a folder for websocket &lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;span id=&quot;docs-internal-guid-ecfd596c-c41b-c4a8-6e71-a4421417f85a&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Georgia, Times New Roman, serif; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;then install socket.io by this command &lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Georgia, Times New Roman, serif; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;$ npm install socket.io&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Georgia, Times New Roman, serif; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Georgia, Times New Roman, serif; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Then copy server_socket.js file mentioned below and check the path inside this file for the key crt files. &lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Georgia, Times New Roman, serif; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Georgia, Times New Roman, serif; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;a href=&quot;https://gist.github.com/codeanu/9561967&quot; style=&quot;line-height: normal; white-space: normal;&quot;&gt;https://gist.github.com/codeanu/9561967&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;gistLoad&quot; data-id=&quot;9561967&quot; id=&quot;gist-9561967&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Loading ....&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;span id=&quot;docs-internal-guid-ecfd596c-c41c-0f69-bd0a-18463489d9da&quot;&gt; &lt;span style=&quot;background-color: transparent; color: black; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Georgia, Times New Roman, serif; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Open the port 8000 from firewall csf. &amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Georgia, Times New Roman, serif; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;run this file now by this command &lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Georgia, Times New Roman, serif; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;$node sock.js&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: black; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;if you see &lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: black; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;“info &amp;nbsp;- socket.io started” &lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: black; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;then everything is fine. &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: black; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;line-height: 1.15;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt; &lt;span style=&quot;background-color: transparent; color: black; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;line-height: 1.15;&quot;&gt;If we do not want to run it as a command we can run it forever with a node module named forever&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: black; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;line-height: 1.15;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt; &lt;span style=&quot;background-color: transparent; color: black; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span id=&quot;docs-internal-guid-ecfd596c-c41d-64cd-a494-8670b7fbe112&quot;&gt;&lt;span style=&quot;line-height: 1.15;&quot;&gt;To install forever: &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Georgia, Times New Roman, serif; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;$sudo npm install forever -g&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: black; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;line-height: 1.15;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt; &lt;span style=&quot;background-color: transparent; color: black; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;line-height: 1.15;&quot;&gt;Then give this command&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Georgia, Times New Roman, serif; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Georgia, Times New Roman, serif; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;$forever start sock.js&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Georgia, Times New Roman, serif; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span id=&quot;docs-internal-guid-ecfd596c-c41d-c500-e06c-c1588eac0125&quot;&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif; vertical-align: baseline;&quot;&gt;Do not test this websocket with : www.websocket.org/echo.html&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span id=&quot;docs-internal-guid-ecfd596c-c41d-c500-e06c-c1588eac0125&quot;&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span id=&quot;docs-internal-guid-ecfd596c-c41d-c500-e06c-c1588eac0125&quot; style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;How to verify and test the application. Create below mentioned html file on a server or on a local machine. &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span id=&quot;docs-internal-guid-ecfd596c-c41d-c500-e06c-c1588eac0125&quot; style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;a href=&quot;https://gist.github.com/codeanu/9561991&quot;&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;https://gist.github.com/codeanu/9561991&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;gistLoad&quot; data-id=&quot;9561991&quot; id=&quot;gist-9561991&quot;&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Loading .. &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;Now if you want to send data to Client from server, just Curl this URL:&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Georgia, Times New Roman, serif;&quot;&gt;https://domain.com:8000/push?userid=144&amp;amp;message=update_posts&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://anurag-maher.blogspot.com/feeds/5680817729012471613/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://anurag-maher.blogspot.com/2014/03/set-up-and-understand-websockets-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1700506210997632375/posts/default/5680817729012471613'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1700506210997632375/posts/default/5680817729012471613'/><link rel='alternate' type='text/html' href='http://anurag-maher.blogspot.com/2014/03/set-up-and-understand-websockets-with.html' title='Set up and understand websockets with socket.io inside Gmail Extension '/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08317741876167805371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1700506210997632375.post-8196116572209609864</id><published>2014-01-17T03:38:00.000-08:00</published><updated>2014-01-17T09:42:57.583-08:00</updated><title type='text'>Important Takeaways for Javascript Developers </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h3 style=&quot;background-color: white; color: #0066cc; font-family: sans-serif; font-size: 10pt; margin-bottom: 1em; margin-left: -20px; margin-top: 2em;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; name=&quot;this&quot;&gt;&lt;/a&gt;&lt;/h3&gt;
&lt;h3 style=&quot;background-color: white; color: #0066cc; font-family: sans-serif; font-size: 10pt; margin-bottom: 1em; margin-left: -20px; margin-top: 2em;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; name=&quot;var&quot;&gt;&lt;/a&gt;&lt;/h3&gt;
&lt;h3 style=&quot;background-color: white; color: #0066cc; font-family: sans-serif; font-size: 10pt; margin-bottom: 1em; margin-left: -20px; margin-top: 2em;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; name=&quot;Comments&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;/h3&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
This is a compilation or short form of important key points I encountered for Javascript developers from &quot;Google JavaScript Style Guide&quot; available at&amp;nbsp;&lt;a href=&quot;http://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml&quot;&gt;http://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
All of the below mentioned points are issues which we usually forget and it causes pain immediately or after some point of time, so for javacript developers it is very important to make sure they don&#39;t forget these points.&amp;nbsp;&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; color: #0066cc; font-family: sans-serif; font-size: 10pt; margin-bottom: 1em; margin-left: -20px; margin-top: 2em;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; id=&quot;Comments&quot; name=&quot;Comments&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Comments&lt;/a&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; name=&quot;Comments&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;&quot; style=&quot;background-color: white; color: #333333; font-family: sans-serif; font-size: 13.333333015441895px;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; name=&quot;Comments&quot;&gt;&lt;span class=&quot;stylepoint_subsection&quot; style=&quot;color: #667799; font-size: 12px; font-weight: bold; margin-left: -1%;&quot;&gt;Comment Syntax&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; name=&quot;Comments&quot;&gt;
&lt;/a&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: sans-serif; font-size: 13.333333015441895px;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; name=&quot;Comments&quot;&gt;The JSDoc syntax is based on&amp;nbsp;&lt;/a&gt;&lt;a href=&quot;http://www.oracle.com/technetwork/java/javase/documentation/index-137868.html&quot;&gt;JavaDoc&lt;/a&gt;. Many tools extract metadata from JSDoc comments to perform code validation and optimizations. These comments must be well-formed.&lt;/div&gt;
&lt;div class=&quot;&quot; style=&quot;background-color: white; color: #333333; font-family: sans-serif; font-size: 13.333333015441895px;&quot;&gt;
&lt;pre style=&quot;background-color: #f8fff8; border-color: rgb(240, 255, 240); border-style: solid; border-width: 1px 1px 1px 5px; color: #006600; font-size: 10pt; padding: 4px 12px;&quot;&gt;/**
 * A JSDoc comment should begin with a slash and 2 asterisks.
 * Inline tags should be enclosed in braces like {@code this}.
 * @desc Block tags should always start on their own line.
 */&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; color: #0066cc; font-family: sans-serif; font-size: 10pt; margin-bottom: 1em; margin-left: -20px; margin-top: 2em;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; name=&quot;var&quot; style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/a&gt;&lt;a href=&quot;http://code.google.com/p/jsdoc-toolkit/&quot;&gt;http://code.google.com/p/jsdoc-toolkit/&lt;/a&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: sans-serif; font-size: 13.333333015441895px;&quot;&gt;
The following are all false in boolean expressions:&lt;/div&gt;
&lt;ul style=&quot;background-color: white; color: #333333; font-family: sans-serif; font-size: 13.333333015441895px;&quot;&gt;
&lt;li&gt;&lt;code style=&quot;color: #006600;&quot;&gt;null&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code style=&quot;color: #006600;&quot;&gt;undefined&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code style=&quot;color: #006600;&quot;&gt;&#39;&#39;&lt;/code&gt;&amp;nbsp;the empty string&lt;/li&gt;
&lt;li&gt;&lt;code style=&quot;color: #006600;&quot;&gt;0&lt;/code&gt;&amp;nbsp;the number&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: sans-serif; font-size: 13.333333015441895px;&quot;&gt;
But be careful, because these are all true:&lt;/div&gt;
&lt;ul style=&quot;background-color: white; color: #333333; font-family: sans-serif; font-size: 13.333333015441895px;&quot;&gt;
&lt;li&gt;&lt;code style=&quot;color: #006600;&quot;&gt;&#39;0&#39;&lt;/code&gt;&amp;nbsp;the string&lt;/li&gt;
&lt;li&gt;&lt;code style=&quot;color: #006600;&quot;&gt;[]&lt;/code&gt;&amp;nbsp;the empty array&lt;/li&gt;
&lt;li&gt;&lt;code style=&quot;color: #006600;&quot;&gt;{}&lt;/code&gt;&amp;nbsp;the empty object&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-family: sans-serif; font-size: x-small;&quot;&gt;&lt;b&gt;var :&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-family: sans-serif; font-size: x-small;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; name=&quot;this&quot; style=&quot;background-color: white; font-family: sans-serif; font-size: 13px;&quot;&gt;Declarations with&amp;nbsp;&lt;code style=&quot;color: #006600;&quot;&gt;var&lt;/code&gt;: Always&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #333333; font-family: sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: #333333; font-family: sans-serif; font-size: x-small;&quot;&gt;When you fail to specify var, the variable gets placed in the global context, potentially clobbering existing values. Also, if there&#39;s no declaration, it&#39;s hard to tell in what scope a variable lives (e.g., it could be in the Document or Window just as easily as in the local scope). So always declare with var.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;&quot; style=&quot;background-color: white; color: #333333; font-family: sans-serif; font-size: 13.333333015441895px;&quot;&gt;
&lt;div class=&quot;stylepoint_body&quot; id=&quot;var__body&quot; name=&quot;var__body&quot; style=&quot;display: inline;&quot;&gt;
&lt;br /&gt;
&lt;h3 style=&quot;color: #0066cc; font-size: 10pt; margin-bottom: 1em; margin-left: -20px; margin-top: 2em;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; name=&quot;this&quot;&gt;&lt;/a&gt;&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; id=&quot;Constants&quot; name=&quot;Constants&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Constants&lt;/a&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; name=&quot;Constants&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;ul style=&quot;font-size: 13.333333015441895px;&quot;&gt;&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; name=&quot;Constants&quot;&gt;
&lt;li&gt;Use&amp;nbsp;&lt;code style=&quot;color: #006600;&quot;&gt;NAMES_LIKE_THIS&lt;/code&gt;&amp;nbsp;for constant&amp;nbsp;&lt;em&gt;values&lt;/em&gt;.&lt;/li&gt;
&lt;li&gt;Use&amp;nbsp;&lt;code style=&quot;color: #006600;&quot;&gt;@const&lt;/code&gt;&amp;nbsp;to indicate a constant (non-overwritable)&amp;nbsp;&lt;em&gt;pointer&lt;/em&gt;&amp;nbsp;(a variable or property).&lt;/li&gt;
&lt;/a&gt;
&lt;li&gt;&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; name=&quot;Constants&quot;&gt;Never use the&amp;nbsp;&lt;/a&gt;&lt;a href=&quot;https://developer.mozilla.org/en/JavaScript/Reference/Statements/const&quot;&gt;&lt;code style=&quot;color: #006600;&quot;&gt;const&lt;/code&gt;&amp;nbsp;keyword&lt;/a&gt;&amp;nbsp;as it&#39;s not supported in Internet Explorer.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; color: #0066cc; font-family: sans-serif; font-size: 10pt; margin-bottom: 1em; margin-left: -20px; margin-top: 2em;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; name=&quot;this&quot;&gt;&lt;/a&gt;&lt;/h3&gt;
&lt;h3 style=&quot;background-color: white; color: #0066cc; font-family: sans-serif; font-size: 10pt; margin-bottom: 1em; margin-left: -20px; margin-top: 2em;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; id=&quot;Semicolons&quot; name=&quot;Semicolons&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Semicolons&lt;/a&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; name=&quot;Semicolons&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;&quot; style=&quot;background-color: white; color: #333333; display: inline; font-family: sans-serif; font-size: 13.333333015441895px;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; name=&quot;Semicolons&quot;&gt;Always use semicolons.&lt;/a&gt;&lt;/div&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; name=&quot;Semicolons&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: sans-serif; font-size: 13.333333015441895px;&quot;&gt;&lt;/span&gt;&lt;div class=&quot;&quot; style=&quot;background-color: white; color: #333333; font-family: sans-serif; font-size: 13.333333015441895px;&quot;&gt;
&lt;div class=&quot;stylepoint_body&quot; id=&quot;Semicolons__body&quot; name=&quot;Semicolons__body&quot; style=&quot;display: inline;&quot;&gt;
Relying on implicit insertion can cause subtle, hard to debug problems. Don&#39;t do it. You&#39;re better than that.&lt;/div&gt;
&lt;/div&gt;
&lt;/a&gt;&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; color: #0066cc; font-family: sans-serif; font-size: 10pt; margin-bottom: 1em; margin-left: -20px; margin-top: 2em;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; name=&quot;this&quot;&gt;&lt;pre class=&quot;badcode&quot; style=&quot;background-color: #fff8f8; border-color: rgb(255, 240, 240); border-style: solid; border-width: 1px 1px 1px 5px; color: #cc0000; font-size: 13.333333015441895px; font-weight: normal; padding: 4px 12px;&quot;&gt;var THINGS_TO_EAT = [apples, oysters, sprayOnCheese]  // No semicolon here.

// 3. conditional execution a la bash
-1 == resultOfOperation() || die();&lt;/pre&gt;
&lt;/a&gt;&lt;/h3&gt;
&lt;h3 style=&quot;background-color: white; color: #0066cc; font-family: sans-serif; font-size: 10pt; margin-bottom: 1em; margin-left: -20px; margin-top: 2em;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; name=&quot;this&quot;&gt;&lt;ol style=&quot;color: #333333; font-size: 13.333333015441895px; font-weight: normal;&quot;&gt;
&lt;li&gt;&lt;code style=&quot;color: #006600;&quot;&gt;die&lt;/code&gt;&amp;nbsp;is always called since the array minus 1 is&amp;nbsp;&lt;code style=&quot;color: #006600;&quot;&gt;NaN&lt;/code&gt;&amp;nbsp;which is never equal to anything (not even if&amp;nbsp;&lt;code style=&quot;color: #006600;&quot;&gt;resultOfOperation()&lt;/code&gt;&amp;nbsp;returns&amp;nbsp;&lt;code style=&quot;color: #006600;&quot;&gt;NaN&lt;/code&gt;) and&amp;nbsp;&lt;code style=&quot;color: #006600;&quot;&gt;THINGS_TO_EAT&lt;/code&gt;&amp;nbsp;gets assigned the result of&amp;nbsp;&lt;code style=&quot;color: #006600;&quot;&gt;die()&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;/a&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; name=&quot;this&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; name=&quot;this&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;h3 style=&quot;background-color: white; color: #0066cc; font-family: sans-serif; font-size: 10pt; margin-bottom: 1em; margin-left: -20px; margin-top: 2em;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; name=&quot;this&quot;&gt;&lt;/a&gt;&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; id=&quot;Function_Declarations_Within_Blocks&quot; name=&quot;Function_Declarations_Within_Blocks&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Function Declarations Within Blocks&lt;/a&gt;&lt;/h3&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; id=&quot;this&quot; name=&quot;this&quot; style=&quot;color: #0066cc; font-family: sans-serif; font-size: 10pt;&quot;&gt;this&lt;/a&gt;&lt;/div&gt;
&lt;span class=&quot;link_button&quot; id=&quot;link-this__button&quot; name=&quot;link-this__button&quot; style=&quot;background-color: ghostwhite; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgb(240, 240, 255); color: #333333; display: block; float: left; font-family: sans-serif; font-size: 10px; margin-left: -50px; margin-top: 0px; padding: 4px;&quot;&gt;&lt;a href=&quot;http://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml?showone=this#this&quot;&gt;link&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;&quot; style=&quot;background-color: white; color: #333333; display: inline; font-family: sans-serif; font-size: 13.333333015441895px;&quot;&gt;
Only in object constructors, methods, and in setting up closures&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: sans-serif; font-size: 13.333333015441895px;&quot;&gt;
Because this is so easy to get wrong, limit its use to those places where it is required:&lt;/div&gt;
&lt;ul style=&quot;background-color: white; color: #333333; font-family: sans-serif; font-size: 13.333333015441895px;&quot;&gt;
&lt;li&gt;in constructors&lt;/li&gt;
&lt;li&gt;in methods of objects (including in the creation of closures)&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;background-color: white; color: #006600; font-family: monospace; font-size: 13px;&quot;&gt;&lt;b&gt;for-in&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;code style=&quot;background-color: white; color: #006600; font-size: 13.333333015441895px;&quot;&gt;for-in&lt;/code&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: sans-serif; font-size: 13.333333015441895px;&quot;&gt;&amp;nbsp;loops are often incorrectly used to loop over the elements in an&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: white; color: #006600; font-size: 13.333333015441895px;&quot;&gt;Array&lt;/code&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: sans-serif; font-size: 13.333333015441895px;&quot;&gt;. This is however very error prone because it does not loop from&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: white; color: #006600; font-size: 13.333333015441895px;&quot;&gt;0&lt;/code&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: sans-serif; font-size: 13.333333015441895px;&quot;&gt;&amp;nbsp;to&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: white; color: #006600; font-size: 13.333333015441895px;&quot;&gt;length - 1&lt;/code&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: sans-serif; font-size: 13.333333015441895px;&quot;&gt;&amp;nbsp;but over all the present keys in the object and its prototype chain. Here are a few cases where it fails:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: sans-serif; font-size: 13.333333015441895px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: sans-serif; font-size: 13.333333015441895px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;&quot; style=&quot;background-color: white; color: #333333; font-family: sans-serif; font-size: 13.333333015441895px;&quot;&gt;
&lt;pre class=&quot;badcode&quot; style=&quot;background-color: #fff8f8; border-color: rgb(255, 240, 240); border-style: solid; border-width: 1px 1px 1px 5px; color: #cc0000; font-size: 10pt; padding: 4px 12px;&quot;&gt;function printArray(arr) {
  for (var key in arr) {
    print(arr[key]);
  }
}

printArray([0,1,2,3]);  // This works.

var a = new Array(10);
printArray(a);  // This is wrong.

a = document.getElementsByTagName(&#39;*&#39;);
printArray(a);  // This is wrong.

a = [0,1,2,3];
a.buhu = &#39;wine&#39;;
printArray(a);  // This is wrong again.

a = new Array;
a[3] = 3;
printArray(a);  // This is wrong again.&lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: sans-serif; font-size: 13.333333015441895px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: sans-serif; font-size: 13.333333015441895px;&quot;&gt;
Always use normal for loops when using arrays.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: sans-serif; font-size: 13.333333015441895px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;&quot; style=&quot;background-color: white; color: #333333; font-family: sans-serif; font-size: 13.333333015441895px;&quot;&gt;
&lt;pre style=&quot;background-color: #f8fff8; border-color: rgb(240, 255, 240); border-style: solid; border-width: 1px 1px 1px 5px; color: #006600; font-size: 10pt; padding: 4px 12px;&quot;&gt;function printArray(arr) {
  var l = arr.length;
  for (var i = 0; i &amp;lt; l; i++) {
    print(arr[i]);
  }
}&lt;/pre&gt;
&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; color: #0066cc; font-family: sans-serif; font-size: 10pt; margin-bottom: 1em; margin-left: -20px; margin-top: 2em;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; id=&quot;Naming&quot; name=&quot;Naming&quot;&gt;&amp;nbsp; &amp;nbsp;Naming&lt;/a&gt;&lt;/h3&gt;
&lt;span class=&quot;link_button&quot; id=&quot;link-Naming__button&quot; name=&quot;link-Naming__button&quot; style=&quot;background-color: ghostwhite; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgb(240, 240, 255); color: #333333; display: block; float: left; font-family: sans-serif; font-size: 10px; margin-left: -50px; margin-top: 0px; padding: 4px;&quot;&gt;&lt;a href=&quot;http://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml?showone=Naming#Naming&quot;&gt;link&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;&quot; style=&quot;background-color: white; color: #333333; display: inline; font-family: sans-serif; font-size: 13.333333015441895px;&quot;&gt;
In general, use&amp;nbsp;&lt;code style=&quot;color: #006600;&quot;&gt;functionNamesLikeThis&lt;/code&gt;,&amp;nbsp;&lt;code style=&quot;color: #006600;&quot;&gt;variableNamesLikeThis&lt;/code&gt;,&amp;nbsp;&lt;code style=&quot;color: #006600;&quot;&gt;ClassNamesLikeThis&lt;/code&gt;,&amp;nbsp;&lt;code style=&quot;color: #006600;&quot;&gt;EnumNamesLikeThis&lt;/code&gt;,&amp;nbsp;&lt;code style=&quot;color: #006600;&quot;&gt;methodNamesLikeThis&lt;/code&gt;,&lt;code style=&quot;color: #006600;&quot;&gt;CONSTANT_VALUES_LIKE_THIS&lt;/code&gt;,&amp;nbsp;&lt;code style=&quot;color: #006600;&quot;&gt;foo.namespaceNamesLikeThis.bar&lt;/code&gt;, and&amp;nbsp;&lt;code style=&quot;color: #006600;&quot;&gt;filenameslikethis.js&lt;/code&gt;.&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: sans-serif; font-size: 13.333333015441895px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;&quot; style=&quot;background-color: white; color: #333333; font-family: sans-serif; font-size: 13.333333015441895px;&quot;&gt;
&lt;div class=&quot;stylepoint_body&quot; id=&quot;Naming__body&quot; name=&quot;Naming__body&quot; style=&quot;display: inline;&quot;&gt;
&lt;div class=&quot;&quot;&gt;
&lt;span class=&quot;stylepoint_subsection&quot; style=&quot;color: #667799; font-size: 12px; font-weight: bold; margin-left: -1%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;&quot;&gt;
&lt;span class=&quot;stylepoint_subsection&quot; style=&quot;color: #667799; font-size: 12px; font-weight: bold; margin-left: -1%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;&quot;&gt;
&lt;span class=&quot;stylepoint_subsection&quot; style=&quot;color: #667799; font-size: 12px; font-weight: bold; margin-left: -1%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;&quot;&gt;
&lt;span class=&quot;stylepoint_subsection&quot; style=&quot;color: #667799; font-size: 12px; font-weight: bold; margin-left: -1%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;&quot;&gt;
&lt;span class=&quot;stylepoint_subsection&quot; style=&quot;color: #667799; font-size: 12px; font-weight: bold; margin-left: -1%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;&quot;&gt;
&lt;span class=&quot;stylepoint_subsection&quot; style=&quot;color: #667799; font-size: 12px; font-weight: bold; margin-left: -1%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;&quot;&gt;
&lt;span class=&quot;stylepoint_subsection&quot; style=&quot;color: #667799; font-size: 12px; font-weight: bold; margin-left: -1%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;&quot;&gt;
&lt;span class=&quot;stylepoint_subsection&quot; style=&quot;color: #667799; font-size: 12px; font-weight: bold; margin-left: -1%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;&quot;&gt;
&lt;span class=&quot;stylepoint_subsection&quot; style=&quot;color: #667799; font-size: 12px; font-weight: bold; margin-left: -1%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;&quot;&gt;
&lt;span class=&quot;stylepoint_subsection&quot; style=&quot;color: #667799; font-size: 12px; font-weight: bold; margin-left: -1%;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;&quot;&gt;
&lt;span class=&quot;stylepoint_subsection&quot; style=&quot;color: #667799; font-size: 12px; font-weight: bold; margin-left: -1%;&quot;&gt;Properties and methods&lt;/span&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;em&gt;Private&lt;/em&gt;&amp;nbsp;properties and methods should be named with a trailing underscore.&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Protected&lt;/em&gt;&amp;nbsp;properties and methods should be named without a trailing underscore (like public ones).&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; color: #0066cc; font-family: sans-serif; font-size: 10pt; margin-bottom: 1em; margin-left: -20px; margin-top: 2em;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; id=&quot;Explicit_scope&quot; name=&quot;Explicit_scope&quot; style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp; &amp;nbsp;Explicit scope&lt;/a&gt;&lt;/h3&gt;
&lt;span class=&quot;link_button&quot; id=&quot;link-Explicit_scope__button&quot; name=&quot;link-Explicit_scope__button&quot; style=&quot;background-color: ghostwhite; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgb(240, 240, 255); color: #333333; display: block; float: left; font-family: sans-serif; font-size: 10px; margin-left: -50px; margin-top: 0px; padding: 4px;&quot;&gt;&lt;a href=&quot;http://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml?showone=Explicit_scope#Explicit_scope&quot;&gt;link&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: sans-serif; font-size: 13.333333015441895px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;&quot; style=&quot;background-color: white; color: #333333; font-family: sans-serif; font-size: 13.333333015441895px;&quot;&gt;
&lt;div class=&quot;stylepoint_body&quot; id=&quot;Explicit_scope__body&quot; name=&quot;Explicit_scope__body&quot; style=&quot;display: inline;&quot;&gt;
Always use explicit scope - doing so increases portability and clarity. For example, don&#39;t rely on&amp;nbsp;&lt;code style=&quot;color: #006600;&quot;&gt;window&lt;/code&gt;&amp;nbsp;being in the scope chain. You might want to use your function in another application for which&amp;nbsp;&lt;code style=&quot;color: #006600;&quot;&gt;window&lt;/code&gt;&amp;nbsp;is not the content window.&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;&quot; style=&quot;background-color: white; color: #333333; font-family: sans-serif; font-size: 13.333333015441895px;&quot;&gt;
&lt;span class=&quot;stylepoint_subsection&quot; style=&quot;color: #667799; font-size: 12px; font-weight: bold; margin-left: -1%;&quot;&gt;Curly Braces&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: sans-serif; font-size: 13.333333015441895px;&quot;&gt;
Because of implicit semicolon insertion, always start your curly braces on the same line as whatever they&#39;re opening. For example:&lt;/div&gt;
&lt;div class=&quot;&quot; style=&quot;background-color: white; color: #333333; font-family: sans-serif; font-size: 13.333333015441895px;&quot;&gt;
&lt;pre style=&quot;background-color: #f8fff8; border-color: rgb(240, 255, 240); border-style: solid; border-width: 1px 1px 1px 5px; color: #006600; font-size: 10pt; padding: 4px 12px;&quot;&gt;if (something) {
  // ...
} else {
  // ...
}&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;&quot; style=&quot;background-color: white; color: #333333; font-family: sans-serif; font-size: 13.333333015441895px;&quot;&gt;
&lt;span class=&quot;stylepoint_subsection&quot; style=&quot;color: #667799; font-size: 12px; font-weight: bold; margin-left: -1%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;&quot; style=&quot;background-color: white; color: #333333; font-family: sans-serif; font-size: 13.333333015441895px;&quot;&gt;
&lt;span class=&quot;stylepoint_subsection&quot; style=&quot;color: #667799; font-size: 12px; font-weight: bold; margin-left: -1%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;&quot; style=&quot;background-color: white; color: #333333; font-family: sans-serif; font-size: 13.333333015441895px;&quot;&gt;
&lt;span class=&quot;stylepoint_subsection&quot; style=&quot;color: #667799; font-size: 12px; font-weight: bold; margin-left: -1%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;&quot; style=&quot;background-color: white; color: #333333; font-family: sans-serif; font-size: 13.333333015441895px;&quot;&gt;
&lt;span class=&quot;stylepoint_subsection&quot; style=&quot;color: #667799; font-size: 12px; font-weight: bold; margin-left: -1%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;&quot; style=&quot;background-color: white; color: #333333; font-family: sans-serif; font-size: 13.333333015441895px;&quot;&gt;
&lt;span class=&quot;stylepoint_subsection&quot; style=&quot;color: #667799; font-size: 12px; font-weight: bold; margin-left: -1%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;&quot; style=&quot;background-color: white; color: #333333; font-family: sans-serif; font-size: 13.333333015441895px;&quot;&gt;
&lt;span class=&quot;stylepoint_subsection&quot; style=&quot;color: #667799; font-size: 12px; font-weight: bold; margin-left: -1%;&quot;&gt;&lt;br class=&quot;Apple-interchange-newline&quot; style=&quot;color: #333333; font-size: 13px; font-weight: normal;&quot; /&gt;&lt;span style=&quot;color: #0066cc; font-size: 13px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;&quot; style=&quot;background-color: white; color: #333333; font-family: sans-serif; font-size: 13.333333015441895px;&quot;&gt;
&lt;span class=&quot;stylepoint_subsection&quot; style=&quot;color: #667799; font-size: 12px; font-weight: bold; margin-left: -1%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;&quot; style=&quot;background-color: white; color: #333333; font-family: sans-serif; font-size: 13.333333015441895px;&quot;&gt;
&lt;span class=&quot;stylepoint_subsection&quot; style=&quot;color: #667799; font-size: 12px; font-weight: bold; margin-left: -1%;&quot;&gt;Blank lines&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: sans-serif; font-size: 13.333333015441895px;&quot;&gt;
Use newlines to group logically related pieces of code. For example:&lt;/div&gt;
&lt;div class=&quot;&quot; style=&quot;background-color: white; color: #333333; font-family: sans-serif; font-size: 13.333333015441895px;&quot;&gt;
&lt;pre style=&quot;background-color: #f8fff8; border-color: rgb(240, 255, 240); border-style: solid; border-width: 1px 1px 1px 5px; color: #006600; font-size: 10pt; padding: 4px 12px;&quot;&gt;doSomethingTo(x);
doSomethingElseTo(x);
andThen(x);

nowDoSomethingWith(y);

andNowWith(z);&lt;/pre&gt;
&lt;br class=&quot;Apple-interchange-newline&quot; /&gt;
&lt;br class=&quot;Apple-interchange-newline&quot; /&gt;
&lt;span style=&quot;color: #0066cc; font-weight: bold;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; color: #0066cc; font-family: sans-serif; font-size: 10pt; margin-bottom: 1em; margin-left: -20px; margin-top: 2em;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; id=&quot;Strings&quot; name=&quot;Strings&quot;&gt;&amp;nbsp; &amp;nbsp;Strings&lt;/a&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; name=&quot;Strings&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;&quot; style=&quot;background-color: white; color: #333333; display: inline; font-family: sans-serif; font-size: 13.333333015441895px;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; name=&quot;Strings&quot;&gt;Prefer &#39; over &quot;&lt;/a&gt;&lt;/div&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; name=&quot;Strings&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: sans-serif; font-size: 13.333333015441895px;&quot;&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;&quot; style=&quot;background-color: white; color: #333333; font-family: sans-serif; font-size: 13.333333015441895px;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; name=&quot;Strings&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;stylepoint_body&quot; id=&quot;Strings__body&quot; name=&quot;Strings__body&quot; style=&quot;display: inline;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; name=&quot;Strings&quot;&gt;For consistency single-quotes (&#39;) are preferred to double-quotes (&quot;). This is helpful when creating strings that include HTML:&lt;br /&gt;
&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; name=&quot;Strings&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;pre style=&quot;background-color: #f8fff8; border-color: rgb(240, 255, 240); border-style: solid; border-width: 1px 1px 1px 5px; color: #006600; font-size: 10pt; padding: 4px 12px;&quot;&gt;&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; name=&quot;Strings&quot;&gt;var msg = &#39;This is some HTML&#39;;&lt;/a&gt;&lt;/pre&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; name=&quot;Strings&quot;&gt;
&lt;/a&gt;&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; name=&quot;Strings&quot; style=&quot;color: black; font-family: &#39;Times New Roman&#39;; font-size: medium;&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;&quot; style=&quot;color: #333333; font-family: sans-serif; font-size: 13.333333015441895px;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; name=&quot;Strings&quot; style=&quot;color: black; font-family: &#39;Times New Roman&#39;; font-size: medium;&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;stylepoint_body&quot; id=&quot;Strings__body&quot; name=&quot;Strings__body&quot; style=&quot;display: inline;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; name=&quot;Strings&quot; style=&quot;color: black; font-family: &#39;Times New Roman&#39;; font-size: medium;&quot;&gt;&lt;br class=&quot;Apple-interchange-newline&quot; /&gt;
&lt;/a&gt;&lt;br /&gt;
&lt;div style=&quot;font-size: 13.333333015441895px;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; name=&quot;Strings&quot; style=&quot;color: black; font-family: &#39;Times New Roman&#39;; font-size: medium;&quot;&gt;Instead of this:&lt;/a&gt;&lt;/div&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; name=&quot;Strings&quot; style=&quot;color: black; font-family: &#39;Times New Roman&#39;; font-size: medium;&quot;&gt;
&lt;div class=&quot;&quot; style=&quot;font-size: 13.333333015441895px;&quot;&gt;
&lt;pre style=&quot;background-color: #f8fff8; border-color: rgb(240, 255, 240); border-style: solid; border-width: 1px 1px 1px 5px; color: #006600; font-size: 10pt; padding: 4px 12px;&quot;&gt;if (val) {
  return foo();
} else {
  return bar();
}&lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;font-size: 13.333333015441895px;&quot;&gt;
you can write this:&lt;/div&gt;
&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;&quot; style=&quot;font-size: 13.333333015441895px;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; name=&quot;Strings&quot; style=&quot;color: black; font-family: &#39;Times New Roman&#39;; font-size: medium;&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;pre style=&quot;background-color: #f8fff8; border-color: rgb(240, 255, 240); border-style: solid; border-width: 1px 1px 1px 5px; color: #006600; font-size: 10pt; padding: 4px 12px;&quot;&gt;&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; name=&quot;Strings&quot; style=&quot;color: black; font-family: &#39;Times New Roman&#39;; font-size: medium;&quot;&gt;return val ? foo() : bar();&lt;/a&gt;&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; name=&quot;Strings&quot; style=&quot;background-color: white; color: black; font-family: &#39;Times New Roman&#39;; font-size: medium;&quot;&gt;&lt;div class=&quot;&quot; style=&quot;color: #333333; display: inline !important; font-family: sans-serif; font-size: 13.333333015441895px;&quot;&gt;
&lt;div class=&quot;stylepoint_body&quot; id=&quot;Strings__body&quot; name=&quot;Strings__body&quot; style=&quot;display: inline;&quot;&gt;
&lt;div class=&quot;&quot; style=&quot;display: inline !important; font-size: 13.333333015441895px;&quot;&gt;
&lt;div class=&quot;&quot; style=&quot;display: inline !important; font-size: 13.333333015441895px;&quot;&gt;
&lt;span style=&quot;color: #0066cc; font-weight: bold;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/a&gt;&lt;/pre&gt;
&lt;br class=&quot;Apple-interchange-newline&quot; /&gt;
&lt;h3 style=&quot;color: #0066cc; font-size: 10pt; margin-bottom: 1em; margin-left: -20px; margin-top: 2em;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; id=&quot;Strings&quot; name=&quot;Strings&quot;&gt;&lt;span style=&quot;font-size: 13.333333015441895px;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/a&gt;&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; name=&quot;Strings&quot; style=&quot;color: black; font-family: &#39;Times New Roman&#39;; font-size: medium;&quot;&gt;&lt;div class=&quot;&quot; style=&quot;color: #333333; display: inline !important; font-family: sans-serif; font-size: 13.333333015441895px;&quot;&gt;
&lt;div class=&quot;stylepoint_body&quot; id=&quot;Strings__body&quot; name=&quot;Strings__body&quot; style=&quot;display: inline;&quot;&gt;
&lt;div class=&quot;&quot; style=&quot;display: inline !important; font-size: 13.333333015441895px;&quot;&gt;
&lt;div class=&quot;&quot; style=&quot;display: inline !important; font-size: 13.333333015441895px;&quot;&gt;
&lt;span class=&quot;stylepoint_subsection&quot; style=&quot;color: #667799; font-size: 12px; margin-left: -1%;&quot;&gt;Iterating over Node Lists&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/a&gt;&lt;/h3&gt;
&lt;div style=&quot;font-size: 13.333333015441895px;&quot;&gt;
Node lists are often implemented as node iterators with a filter. This means that getting a property like length is O(n), and iterating over the list by re-checking the length will be O(n^2).&lt;/div&gt;
&lt;div style=&quot;font-size: 13.333333015441895px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; name=&quot;Strings&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;&quot; style=&quot;font-size: 13.333333015441895px;&quot;&gt;
&lt;pre class=&quot;badcode&quot; style=&quot;background-color: #fff8f8; border-color: rgb(255, 240, 240); border-style: solid; border-width: 1px 1px 1px 5px; color: #cc0000; font-size: 10pt; padding: 4px 12px;&quot;&gt;&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; name=&quot;Strings&quot;&gt;var paragraphs = document.getElementsByTagName(&#39;p&#39;);
for (var i = 0; i &amp;lt; paragraphs.length; i++) {
  doSomething(paragraphs[i]);
}&lt;/a&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; name=&quot;Strings&quot;&gt;
&lt;div style=&quot;font-size: 13.333333015441895px;&quot;&gt;
It is better to do this instead:&lt;/div&gt;
&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;&quot; style=&quot;font-size: 13.333333015441895px;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; name=&quot;Strings&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;pre style=&quot;background-color: #f8fff8; border-color: rgb(240, 255, 240); border-style: solid; border-width: 1px 1px 1px 5px; color: #006600; font-size: 10pt; padding: 4px 12px;&quot;&gt;&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; name=&quot;Strings&quot;&gt;var paragraphs = document.getElementsByTagName(&#39;p&#39;);
for (var i = 0, paragraph; paragraph = paragraphs[i]; i++) {
  doSomething(paragraph);
}&lt;/a&gt;&lt;/pre&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; name=&quot;Strings&quot;&gt;
&lt;/a&gt;&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; name=&quot;Strings&quot; style=&quot;color: black; font-family: &#39;Times New Roman&#39;; font-size: medium;&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;&quot; style=&quot;font-size: 13.333333015441895px;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; name=&quot;Strings&quot; style=&quot;color: black; font-family: &#39;Times New Roman&#39;; font-size: medium;&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;stylepoint_body&quot; id=&quot;Strings__body&quot; name=&quot;Strings__body&quot; style=&quot;display: inline;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; name=&quot;Strings&quot; style=&quot;color: black; font-family: &#39;Times New Roman&#39;; font-size: medium;&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;&quot; style=&quot;font-size: 13.333333015441895px;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; name=&quot;Strings&quot; style=&quot;color: black; font-family: &#39;Times New Roman&#39;; font-size: medium;&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;h3 style=&quot;color: #0066cc; font-size: 10pt; margin-bottom: 1em; margin-left: -20px; margin-top: 2em;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; name=&quot;Strings&quot; style=&quot;color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; font-weight: normal;&quot;&gt;&lt;/a&gt;&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=1700506210997632375&quot; name=&quot;Strings&quot;&gt;&lt;br class=&quot;Apple-interchange-newline&quot; /&gt;&lt;/a&gt;&lt;/h3&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://anurag-maher.blogspot.com/feeds/8196116572209609864/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://anurag-maher.blogspot.com/2014/01/important-takeaways-for-javascript.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1700506210997632375/posts/default/8196116572209609864'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1700506210997632375/posts/default/8196116572209609864'/><link rel='alternate' type='text/html' href='http://anurag-maher.blogspot.com/2014/01/important-takeaways-for-javascript.html' title='Important Takeaways for Javascript Developers '/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08317741876167805371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1700506210997632375.post-6456666967470225755</id><published>2013-03-01T03:15:00.001-08:00</published><updated>2013-03-01T03:22:24.054-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="c learning"/><title type='text'>C basics : Build process </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;script src=&quot;https://raw.github.com/moski/gist-Blogger/master/public/gistLoader.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Being a student of computer science subject I was supposed to know from scratch what happens to a C program when we compile it and run it. But neither we are&amp;nbsp;enlightened about this in our books nor we even try to go in depth of what actually happens when you compile and run a program.&lt;br /&gt;
&lt;br /&gt;
After 3 years of software development in various domains including Avionics, Web Development there was a craze of what actually happens when we compile a program and how does a program run.&lt;br /&gt;
Here I am summarizing it:&lt;br /&gt;
&lt;br /&gt;
The platform I am using here is gcc version 4.4.5 (Ubuntu 10.04)&lt;br /&gt;
&lt;br /&gt;
We look the most simple program which results into a complex execution in background.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;gistLoad&quot; data-id=&quot;4579136&quot; id=&quot;gist-4396775&quot;&gt;
Loading ....&lt;/div&gt;
&lt;br /&gt;
The compilation is initiated by:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$gcc main.c&lt;/blockquote&gt;
Step1:&lt;br /&gt;
Firstly the shell identifies the gcc command from the Linux PATH and If compiler is not present it throws error.&lt;br /&gt;
&lt;br /&gt;
If the PATH variable contains compiler location our main process starts with pre-processor directives, Macro Copy/ Paste and comments removal.&lt;br /&gt;
&lt;br /&gt;
so after the first step our program looks like this.&lt;br /&gt;
&lt;div class=&quot;gistLoad&quot; data-id=&quot;4579267&quot; id=&quot;gist-4396775&quot;&gt;
Loading ....&lt;/div&gt;
&lt;br /&gt;
Step2:&lt;br /&gt;
once the pre-processor directives have done their job, lexical analysis takes place in which compiler checks for the keyword and the&amp;nbsp;Grammar&amp;nbsp;of the c program and throws error if the compiler finds unknown keyword.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Step3: Compiler then converts the c program to assembly language as below&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;gistLoad&quot; data-id=&quot;4585633&quot; id=&quot;gist-4396775&quot;&gt;
Loading ....&lt;/div&gt;
&lt;br /&gt;
To get this file just do&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$gcc -S hello.c&lt;/blockquote&gt;
&lt;br /&gt;
It is explained a little more below:-&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiegBfWW1qGEWN6BXUj9CPEJSCzj3lkSeDQQMO6AzpXCXPy5myinYemuKDiWqE7YjOjUBPOJeERhJajiw_dj00DiQR_VFFxOtobIXyyzryzoGXpKvDS-55-XCGjuIQdBlvA1txyFRu7iEB4/s1600/Assembly+level+Program.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiegBfWW1qGEWN6BXUj9CPEJSCzj3lkSeDQQMO6AzpXCXPy5myinYemuKDiWqE7YjOjUBPOJeERhJajiw_dj00DiQR_VFFxOtobIXyyzryzoGXpKvDS-55-XCGjuIQdBlvA1txyFRu7iEB4/s1600/Assembly+level+Program.png&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Assembly level Program Explanation&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;br /&gt;
Step4: Once the Assembly language is created assembler converts the binary file or object file i.e &amp;nbsp;hello.o&lt;br /&gt;
&lt;br /&gt;
The File is in unreadable format but we can disassemble that also. First let us understand how is that done.&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$objdump -d hello.o&lt;/blockquote&gt;
This will result into something like this&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;gistLoad&quot; data-id=&quot;4585732&quot; id=&quot;gist-4396775&quot;&gt;
Loading ....&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Once the object file created it contains the relative address information of the functions and the variables.&lt;br /&gt;
&lt;br /&gt;
Step5: Now linker comes into the picture with object file as input and generates a executable file. This executable file is named as&amp;nbsp;&lt;b&gt;a.out &lt;/b&gt;by default or if you want to generate the executable with the same name as file name you have to give this command.&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$gcc -c hello.c&amp;nbsp;&lt;/blockquote&gt;
&lt;br /&gt;
Step6: Loaded to memory by the shell by executing it.&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$./hello&lt;/blockquote&gt;
Loading takes care of loading the program to a user space which is now taken care by the OS. Where to keep the program in RAM and how much space should be allocated to the program.&lt;br /&gt;
&lt;br /&gt;
Also the pointers such as base pointer and stack pointers are allocated here.&lt;br /&gt;
&lt;br /&gt;
Step7: Few points about Input and Output:&lt;br /&gt;
&lt;br /&gt;
Input and Output are the buffers allocated by the Operating System, so once we say printf&lt;br /&gt;
&lt;br /&gt;
what goes in background is first the printf from the standard input and output is called. then it decides what are the available output devices present and finally the buffer is loaded to the device.&lt;br /&gt;
&lt;br /&gt;
Step:8 Thank God we are done here :-)&lt;br /&gt;
&lt;br /&gt;
If you like the blog follow me at&amp;nbsp;&lt;a href=&quot;https://twitter.com/anurag_maher&quot; target=&quot;_blank&quot;&gt;@anurag_maher&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://anurag-maher.blogspot.com/feeds/6456666967470225755/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://anurag-maher.blogspot.com/2013/03/c-program-build-process.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1700506210997632375/posts/default/6456666967470225755'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1700506210997632375/posts/default/6456666967470225755'/><link rel='alternate' type='text/html' href='http://anurag-maher.blogspot.com/2013/03/c-program-build-process.html' title='C basics : Build process '/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08317741876167805371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiegBfWW1qGEWN6BXUj9CPEJSCzj3lkSeDQQMO6AzpXCXPy5myinYemuKDiWqE7YjOjUBPOJeERhJajiw_dj00DiQR_VFFxOtobIXyyzryzoGXpKvDS-55-XCGjuIQdBlvA1txyFRu7iEB4/s72-c/Assembly+level+Program.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1700506210997632375.post-4905436787104937369</id><published>2012-12-28T03:31:00.000-08:00</published><updated>2013-07-13T15:02:29.515-07:00</updated><title type='text'>Developing Google Chrome extension for Gmail </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Developing an Extension for Gmail is not so easy as other extensions.&amp;nbsp;Following points can help you if you are starting for an &lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;21ba4b24-56f6-45ac-9e94-0457ea410bf3&quot; ginger_sofatware_uiphraseguid=&quot;c440732e-659b-4998-8889-8e34af4e6db1&quot; grcontextid=&quot;extention:0&quot;&gt;extention&lt;/span&gt; from scratch.&lt;br /&gt;
&lt;br /&gt;
1. Gmail takes some time to load the UI elements and it can be a lot if the internet speed slow. &lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;1d06d503-8a86-407d-a719-dd5243b643fa&quot; ginger_sofatware_uiphraseguid=&quot;8d4d47b7-f70e-489e-b838-9a78eed4d76d&quot; grcontextid=&quot;so:0&quot;&gt;so&lt;/span&gt; before we start anything we should wait for the elements to get loaded. Following code does the trick.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;gistLoad&quot; data-id=&quot;4396775&quot; id=&quot;gist-4396775&quot;&gt;
Loading ....&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
2. Generating Clicks for Gmail UI buttons like Refresh or Compose is not so easy as $&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;9efdd074-f330-47f6-ac3e-4140d9e9f449&quot; ginger_sofatware_uiphraseguid=&quot;b2a2766f-72c1-4f6d-ac95-ef35779709b7&quot; grcontextid=&quot;(:0&quot;&gt;(&lt;/span&gt;&quot;element&quot;)&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;68ed6d83-89b2-4bf9-9549-280dffa28ae3&quot; ginger_sofatware_uiphraseguid=&quot;b2a2766f-72c1-4f6d-ac95-ef35779709b7&quot; grcontextid=&quot;.:1&quot;&gt;.&lt;/span&gt;trigger&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;a0090eac-f859-478b-a3d0-927673275346&quot; ginger_sofatware_uiphraseguid=&quot;b2a2766f-72c1-4f6d-ac95-ef35779709b7&quot; grcontextid=&quot;(:2&quot;&gt;(&lt;/span&gt;&quot;click&quot;)&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;GINGER_SOFATWARE_correct&quot; ginger_sofatware_markguid=&quot;cc15343a-8df1-43d5-92b6-5b9dc2522749&quot; ginger_sofatware_uiphraseguid=&quot;8869454f-640f-4e8e-a22f-9d82d6bd9056&quot; grcontextid=&quot;this:0&quot;&gt;this&lt;/span&gt; small hack can help you if you want to trigger a gmail click from inside a javascript file.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;script src=&quot;https://raw.github.com/moski/gist-Blogger/master/public/gistLoader.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;br /&gt;
&lt;div class=&quot;gistLoad&quot; data-id=&quot;4396813&quot; id=&quot;gist-4396813&quot;&gt;
Loading ....&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Guys, I have built a online application named&amp;nbsp;&lt;a href=&quot;http://gmailsharedtasks.com/&quot;&gt;gmailsharedtasks.com&lt;/a&gt;, to share gmail tasks,&amp;nbsp;please have a look at it.&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
Follow me at&amp;nbsp;&lt;a href=&quot;https://twitter.com/anurag_maher&quot; target=&quot;_blank&quot;&gt;@anurag_maher&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://anurag-maher.blogspot.com/feeds/4905436787104937369/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://anurag-maher.blogspot.com/2012/12/developing-google-chrome-extension-for.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1700506210997632375/posts/default/4905436787104937369'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1700506210997632375/posts/default/4905436787104937369'/><link rel='alternate' type='text/html' href='http://anurag-maher.blogspot.com/2012/12/developing-google-chrome-extension-for.html' title='Developing Google Chrome extension for Gmail '/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08317741876167805371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1700506210997632375.post-5616802632575614790</id><published>2012-12-13T00:49:00.000-08:00</published><updated>2013-01-21T11:04:39.528-08:00</updated><title type='text'>A faster python development using bpython </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
I had a great time using &lt;a href=&quot;http://bpython-interpreter.org/&quot; target=&quot;_blank&quot;&gt;Bpython&lt;/a&gt;. A utility you will Love if you are a python developer.&lt;br /&gt;
It can be used to:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;Test the modules you have codded in your&amp;nbsp;favorite editor or vim (my fav.)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;Save the progress in a file.&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;Save the progress to pastebin.&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;Autocomplete&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;Ctrl+r rewind search for command&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;All time History of the commands you have tried.&amp;nbsp;&lt;/blockquote&gt;
&amp;nbsp; &amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
First of all bpython is not a replacement to any python editor. It is a replacement to python default shell.&lt;br /&gt;
&lt;br /&gt;
First thing I noticed about the bpython is it&#39;s logo, they have done a really good job.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://bpython-interpreter.org/static/img/bpython-logo-small.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://bpython-interpreter.org/static/img/bpython-logo-small.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
There are few changes to the regular python shell development, they are sure to improve your efficiency.&lt;br /&gt;
Change 1 : &amp;nbsp;Looks&lt;br /&gt;
&lt;br /&gt;
Default Shell:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjy4ghJJpZto4PZ50dTDCLvIsP0uvRw4Ov09E5r1EgWQpnNZFouBB1dmt-nILI2gKKY-N5wKmtnzbTmidAbogbA66lKV8wgrj_-xJVrMVPbGewDRYD5Iba9yECZ8CPBIpqwYLGFhlKfi2i6/s1600/Screenshot-1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjy4ghJJpZto4PZ50dTDCLvIsP0uvRw4Ov09E5r1EgWQpnNZFouBB1dmt-nILI2gKKY-N5wKmtnzbTmidAbogbA66lKV8wgrj_-xJVrMVPbGewDRYD5Iba9yECZ8CPBIpqwYLGFhlKfi2i6/s1600/Screenshot-1.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
New Shell:&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiL0JlQ-XAQRaedOjNwcYvdQsJMCO9N3xM5a0tM3J6xCGx5EpNvrn-DDuPYRpK5TUsoxfD694_jnJgIzymwINaq0HnyZ8JVpR5ZZMO3xROVDYis6hEeTgA40TEWPppOTymF_DyKAFWi7mAw/s1600/Screenshot-2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiL0JlQ-XAQRaedOjNwcYvdQsJMCO9N3xM5a0tM3J6xCGx5EpNvrn-DDuPYRpK5TUsoxfD694_jnJgIzymwINaq0HnyZ8JVpR5ZZMO3xROVDYis6hEeTgA40TEWPppOTymF_DyKAFWi7mAw/s1600/Screenshot-2.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Change 2: Auto Suggestions and tab completion.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1T6XqwtBwGUkYruGfXqnIca8OaUqGnQeeUBcV-n5bgXW-PRxTMtaJ3_RgoWpql3o2OVeZ6TWXAT5Y5LlIbo_SnwsSbpmyQZIpC1gnp1TtPczCOn80GbziUEZkw1g_GQVAMySw5Sjjuxy_/s1600/Screenshot-1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1T6XqwtBwGUkYruGfXqnIca8OaUqGnQeeUBcV-n5bgXW-PRxTMtaJ3_RgoWpql3o2OVeZ6TWXAT5Y5LlIbo_SnwsSbpmyQZIpC1gnp1TtPczCOn80GbziUEZkw1g_GQVAMySw5Sjjuxy_/s1600/Screenshot-1.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
Change 3: detailed API listing:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhU-nZDEWUDummDBwWAJLkVU9gRkXz4mAW5-vzz9U7vXCKVKV-8HAxm1mCK9TPACyBVlquDWCt8dAK1BGqwAc2K2cvF9IE5yD5G2A4DPx_BgUj1tNGlm1iiwGq_TxoKhVb99gnTs1IGem0q/s1600/Screenshot-2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhU-nZDEWUDummDBwWAJLkVU9gRkXz4mAW5-vzz9U7vXCKVKV-8HAxm1mCK9TPACyBVlquDWCt8dAK1BGqwAc2K2cvF9IE5yD5G2A4DPx_BgUj1tNGlm1iiwGq_TxoKhVb99gnTs1IGem0q/s1600/Screenshot-2.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Change 4: Documentation in the Fly. as soon as you hit&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgC__p6iftL16qn8fW8MiwUhEKMYlG5dNNOfYpEeyhAIpY8T4ocb1-QcEgTFNJwyyzdxusXElQqga3nRvxiU8oGaIzSzmhPQsX39fFZcFwYplX63djNvJ22J9rGsgw50IZ14H1aqaRw_k4d/s1600/Screenshot-1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgC__p6iftL16qn8fW8MiwUhEKMYlG5dNNOfYpEeyhAIpY8T4ocb1-QcEgTFNJwyyzdxusXElQqga3nRvxiU8oGaIzSzmhPQsX39fFZcFwYplX63djNvJ22J9rGsgw50IZ14H1aqaRw_k4d/s1600/Screenshot-1.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Change 5: Save the contents.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLO2GM4Trp4uA9eYCL93gL_9H_Ey6WyHEJHuwai39bXrE6wFKlaYvnhlpBA0U3RV9i-t6QTXqcvosPwsgaP4iW6a54AU4qg1rUdSOi662E0D-zhg7I-KgcA0ppfF3eFTxhGgZTd4uFutro/s1600/Screenshot-2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLO2GM4Trp4uA9eYCL93gL_9H_Ey6WyHEJHuwai39bXrE6wFKlaYvnhlpBA0U3RV9i-t6QTXqcvosPwsgaP4iW6a54AU4qg1rUdSOi662E0D-zhg7I-KgcA0ppfF3eFTxhGgZTd4uFutro/s1600/Screenshot-2.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
best part is it saves your file with the output commented.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixEhNjXeRQ2DKbCys-HNiQXJLxZ1LHJNX57n5esYtKOL-djTYie5wuxSpq8nxFZrmGI4OvG9CHCFTb8Av1-_lALCCB2NGB4m3X6XsZGwiZwdY69WpFNIl1F5NA6FoKS7AjKfBKJoQK8pIR/s1600/Screenshot-1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixEhNjXeRQ2DKbCys-HNiQXJLxZ1LHJNX57n5esYtKOL-djTYie5wuxSpq8nxFZrmGI4OvG9CHCFTb8Av1-_lALCCB2NGB4m3X6XsZGwiZwdY69WpFNIl1F5NA6FoKS7AjKfBKJoQK8pIR/s1600/Screenshot-1.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
and one more thing.&lt;br /&gt;
&lt;br /&gt;
Change 6: Save to pastebin.&lt;br /&gt;
&lt;br /&gt;
Above &amp;nbsp;mentioned utilities helped me to increase my efficiency to test my modules.&lt;br /&gt;
&lt;br /&gt;
If you like the above tricks, follow me on twitter &lt;a href=&quot;https://twitter.com/anurag_maher&quot; target=&quot;_blank&quot;&gt;@anurag_maher&lt;/a&gt;. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://anurag-maher.blogspot.com/feeds/5616802632575614790/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://anurag-maher.blogspot.com/2012/12/a-faster-python-development-using.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1700506210997632375/posts/default/5616802632575614790'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1700506210997632375/posts/default/5616802632575614790'/><link rel='alternate' type='text/html' href='http://anurag-maher.blogspot.com/2012/12/a-faster-python-development-using.html' title='A faster python development using bpython '/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08317741876167805371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjy4ghJJpZto4PZ50dTDCLvIsP0uvRw4Ov09E5r1EgWQpnNZFouBB1dmt-nILI2gKKY-N5wKmtnzbTmidAbogbA66lKV8wgrj_-xJVrMVPbGewDRYD5Iba9yECZ8CPBIpqwYLGFhlKfi2i6/s72-c/Screenshot-1.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1700506210997632375.post-393332883024019872</id><published>2012-11-02T22:18:00.000-07:00</published><updated>2012-11-02T22:18:25.254-07:00</updated><title type='text'>Arduino next experiment </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
Long time since I have done experiments with my dear Arduino. Now what do I have let me &amp;nbsp;see .. ah a IR transmitter and&amp;nbsp;receiver.&lt;br /&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjC_MTVVNmctFbqUcLqhyQVj5pdx__23WMPu-2jCCCPpDp-1xzm2w4DdRefJ_B4v23d_K58mn26IGIQf8ClOnAW6lD-mg_NT-YFGG8ZJ5adJN2a5huQtHYZnKt4uZRSzIKhdDmz8BC18obz/s1600/2012-11-03_10-39-21_476.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjC_MTVVNmctFbqUcLqhyQVj5pdx__23WMPu-2jCCCPpDp-1xzm2w4DdRefJ_B4v23d_K58mn26IGIQf8ClOnAW6lD-mg_NT-YFGG8ZJ5adJN2a5huQtHYZnKt4uZRSzIKhdDmz8BC18obz/s320/2012-11-03_10-39-21_476.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;IR Transmitter and Receiver Circuit&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;br /&gt;
In the next Blog I will Illustrate how to transmit and receive IR rays with our dear Arduino.&lt;br /&gt;
&lt;br /&gt;
what all is coming ??&lt;br /&gt;
&lt;br /&gt;
A simple collision detection experiment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://anurag-maher.blogspot.com/feeds/393332883024019872/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://anurag-maher.blogspot.com/2012/11/arduino-next-experiment.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1700506210997632375/posts/default/393332883024019872'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1700506210997632375/posts/default/393332883024019872'/><link rel='alternate' type='text/html' href='http://anurag-maher.blogspot.com/2012/11/arduino-next-experiment.html' title='Arduino next experiment '/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08317741876167805371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjC_MTVVNmctFbqUcLqhyQVj5pdx__23WMPu-2jCCCPpDp-1xzm2w4DdRefJ_B4v23d_K58mn26IGIQf8ClOnAW6lD-mg_NT-YFGG8ZJ5adJN2a5huQtHYZnKt4uZRSzIKhdDmz8BC18obz/s72-c/2012-11-03_10-39-21_476.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1700506210997632375.post-3555355775398201822</id><published>2012-09-18T00:44:00.002-07:00</published><updated>2013-03-20T23:50:52.546-07:00</updated><title type='text'>Optical mouse and Arduino at home</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;span class=&quot;GingerNoCheckStart&quot;&gt;&lt;/span&gt;After Going through some basics of Arduino at&amp;nbsp;&lt;a href=&quot;http://arduino.cc/en/Tutorial/HomePage&quot;&gt;http://arduino.cc/en/Tutorial/HomePage&lt;/a&gt;, i started of my arduino development with an spare PS2 optical mouse, or an ordinary optical mouse.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiT70waM7IYmj2s8IyD4WLtU5P_tqxUIXef3NW7AUd_ItI4L-hAqbF8-PekjzurTpmIUGipVK98MFpiCgDoOQReKYJh-mEf47hXXZnEbQXUEpnQqk54w0dLE6tv6fuC-HY7FXtKM9S05V6D/s1600/IMG_3411.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiT70waM7IYmj2s8IyD4WLtU5P_tqxUIXef3NW7AUd_ItI4L-hAqbF8-PekjzurTpmIUGipVK98MFpiCgDoOQReKYJh-mEf47hXXZnEbQXUEpnQqk54w0dLE6tv6fuC-HY7FXtKM9S05V6D/s320/IMG_3411.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiT70waM7IYmj2s8IyD4WLtU5P_tqxUIXef3NW7AUd_ItI4L-hAqbF8-PekjzurTpmIUGipVK98MFpiCgDoOQReKYJh-mEf47hXXZnEbQXUEpnQqk54w0dLE6tv6fuC-HY7FXtKM9S05V6D/s1600/IMG_3411.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;br /&gt;&lt;/a&gt;
&lt;br /&gt;
&lt;br /&gt;
An ordinary mouse with some capabilities which can be utilized to do something creative.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwtahblR3HP1xqL0InXiMjNIdR1MnKEk_J7NI-9VKhNJIVDMqQUnet1c4JInfTjw0kWpQtWzi0N7F-9FHXrolHaKJczfrChy2zJCfawNamT4nXg5JBYRSGq9P2d5O5l9Wkup32vf0Vzy6S/s1600/IMG_3410.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwtahblR3HP1xqL0InXiMjNIdR1MnKEk_J7NI-9VKhNJIVDMqQUnet1c4JInfTjw0kWpQtWzi0N7F-9FHXrolHaKJczfrChy2zJCfawNamT4nXg5JBYRSGq9P2d5O5l9Wkup32vf0Vzy6S/s320/IMG_3410.JPG&quot; width=&quot;240&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
And this is the Arduino Microcontroller board which I used for &amp;nbsp;my experiments.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjF6_7FgXWd54760cBfyq2oqQL6N3NTpxebRBDkA1YF1Ftk57EezGcCGPY_Ndwn20HSFzd181GIsM9H0dVPLXEowQnecmHxggXfG3ULu4dxuaemeHwdJ4fxdBKv83t5Okees-NrKUZPr5pR/s1600/IMG_3412.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjF6_7FgXWd54760cBfyq2oqQL6N3NTpxebRBDkA1YF1Ftk57EezGcCGPY_Ndwn20HSFzd181GIsM9H0dVPLXEowQnecmHxggXfG3ULu4dxuaemeHwdJ4fxdBKv83t5Okees-NrKUZPr5pR/s320/IMG_3412.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
And i opened up my mouse so i could see what is inside. it consisted of following wires:&lt;br /&gt;
Red : 5v vcc&lt;br /&gt;
Black: Ground&lt;br /&gt;
Yellow D+&lt;br /&gt;
and Green: D-&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpfhvrKymjxAQvTuKqP0pb7Hkn8O0JxRq-C-JoJ6e1eONGO2We6bNpgwkGre9Du8No9mOhi0g9I9FQPBFjRebaV5bGyKpt-CjtqgEH3OdWPrKUhghFlhUQgrCUbbGSI4OH7u6pt9XrzCXw/s1600/IMG_3414.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpfhvrKymjxAQvTuKqP0pb7Hkn8O0JxRq-C-JoJ6e1eONGO2We6bNpgwkGre9Du8No9mOhi0g9I9FQPBFjRebaV5bGyKpt-CjtqgEH3OdWPrKUhghFlhUQgrCUbbGSI4OH7u6pt9XrzCXw/s320/IMG_3414.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Connect the following wires:&lt;br /&gt;
&lt;br /&gt;
Red to 5v&lt;br /&gt;
Black to Ground&lt;br /&gt;
Yellow to pin 5&lt;br /&gt;
and green to pin 6&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfgEWVffrxq2xt6ghpgt1BwTySZDf_ecvdnjLepufwJhe-SrObrMFea5ruXNxK1ANdjK8eJZoVQ3S8QB2YoY1eRyNRHGs2ey2kJKOWTIxmiHiBdVJDhGokuqGmCXX3v8zTJAiFUzaoJLX6/s1600/IMG_3419.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfgEWVffrxq2xt6ghpgt1BwTySZDf_ecvdnjLepufwJhe-SrObrMFea5ruXNxK1ANdjK8eJZoVQ3S8QB2YoY1eRyNRHGs2ey2kJKOWTIxmiHiBdVJDhGokuqGmCXX3v8zTJAiFUzaoJLX6/s320/IMG_3419.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
And you will see the following lights glowing.&lt;br /&gt;
&lt;br /&gt;
and programme the arduino with the following code which i found after a lot of googling.&lt;br /&gt;
&lt;a href=&quot;https://github.com/codeanu/opticalmouse-arduino&quot;&gt;https://github.com/codeanu/opticalmouse-arduino&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRYQN_Dhf3KDfAGGL0s-LObYGMDzyT9fHGry506sQkvDlMFyC7CfXcWMtPh-ubq7ssNuccEsoOi2lACKsx5uOAc0ab5kcrKovf16NVCNij6fWffZYxs2YBtsxUDo276Ja1tlHxRjmEM9fP/s1600/IMG_3420.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRYQN_Dhf3KDfAGGL0s-LObYGMDzyT9fHGry506sQkvDlMFyC7CfXcWMtPh-ubq7ssNuccEsoOi2lACKsx5uOAc0ab5kcrKovf16NVCNij6fWffZYxs2YBtsxUDo276Ja1tlHxRjmEM9fP/s320/IMG_3420.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
and you will see on serial output at 9600 baud rate this output.&lt;br /&gt;
&lt;br /&gt;
x,y is 0,0 because it sets initial position.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijaC2eX9C3BI9Uz5cQi85Im2Vvon2tD1pzvBFHIiy0n8GsNwGsMct0jOkFNb5ls_tM3euEYlJUK_gmmIs9R9OxSZPFFDXygGjXzTTsy1MQgE5AlRvGnmkt72iN6IiyVV8Exiyiyge42Tn5/s1600/IMG_3421.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijaC2eX9C3BI9Uz5cQi85Im2Vvon2tD1pzvBFHIiy0n8GsNwGsMct0jOkFNb5ls_tM3euEYlJUK_gmmIs9R9OxSZPFFDXygGjXzTTsy1MQgE5AlRvGnmkt72iN6IiyVV8Exiyiyge42Tn5/s320/IMG_3421.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
And finally when u start moving the mouse u will get the output as above.&lt;br /&gt;
&lt;br /&gt;
The&amp;nbsp;possibilities&amp;nbsp;with this is infinite. you can move a camera positions using two servo motors using a mouse. Or you can make a toy car and control it with mouse.&lt;br /&gt;
this link can also help&amp;nbsp;&lt;a href=&quot;http://arduino.cc/playground/componentLib/Ps2mouse&quot;&gt;http://arduino.cc/playground/componentLib/Ps2mouse&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
My next blog is going to feature how to move a toy car with a mouse. and as and when i get bluetooth and wireless shields for arduino i will post more.&lt;br /&gt;
please comment if you find this useful.&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;GingerNoCheckEnd&quot;&gt;&lt;/span&gt;Follow me at&amp;nbsp;&lt;a href=&quot;https://twitter.com/anurag_maher&quot; target=&quot;_blank&quot;&gt;@anurag_maher&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://anurag-maher.blogspot.com/feeds/3555355775398201822/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://anurag-maher.blogspot.com/2012/09/optical-mouse-and-arduino-at-home.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1700506210997632375/posts/default/3555355775398201822'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1700506210997632375/posts/default/3555355775398201822'/><link rel='alternate' type='text/html' href='http://anurag-maher.blogspot.com/2012/09/optical-mouse-and-arduino-at-home.html' title='Optical mouse and Arduino at home'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08317741876167805371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiT70waM7IYmj2s8IyD4WLtU5P_tqxUIXef3NW7AUd_ItI4L-hAqbF8-PekjzurTpmIUGipVK98MFpiCgDoOQReKYJh-mEf47hXXZnEbQXUEpnQqk54w0dLE6tv6fuC-HY7FXtKM9S05V6D/s72-c/IMG_3411.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1700506210997632375.post-1811179921285510986</id><published>2012-09-09T05:22:00.001-07:00</published><updated>2012-09-09T22:09:32.505-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="grexit"/><category scheme="http://www.blogger.com/atom/ns#" term="life"/><category scheme="http://www.blogger.com/atom/ns#" term="startup"/><category scheme="http://www.blogger.com/atom/ns#" term="work experience"/><title type='text'>2 years of work experience taught me everything</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
A software engineer with a distant dream to make my identity in this world by creating something unique and making a mark in the universe. This attitude has not come so easily. Lot of risks and luck is involved behind this. Someone has said it true that in order to achieve something you have to learn to take risks. My friends call me &quot;Accident Prone but up for anything.&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;div&gt;
My Journey begins with a Big MNC firm where initially I was hired as an intern and it was a dream come to like every fresher . My first work was to write automated testing of various components of code, and it was real tough for me to test the it which I have seen first time. This gave me hints dude software engineering is not that easy. Somehow i managed to complete and&amp;nbsp;they converted me as a regular employee and this chart will show how I used to spent my time in office.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiK-gjm4azodMHbu0gwMU40GTfnRssKSabc0f6qsCQpv9iMinQtPgAQXRtWdWCGSDcAkRy8Rd9wgtyKaIt_oVFetMh3-C_lEfLOXZj5ayPM0TL5UiZ6J9lw9UXv8XuwAq9w2fH5EXVHUvO8/s1600/chartgo+(1).png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;256&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiK-gjm4azodMHbu0gwMU40GTfnRssKSabc0f6qsCQpv9iMinQtPgAQXRtWdWCGSDcAkRy8Rd9wgtyKaIt_oVFetMh3-C_lEfLOXZj5ayPM0TL5UiZ6J9lw9UXv8XuwAq9w2fH5EXVHUvO8/s320/chartgo+(1).png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;b&gt;Time Spent in Big Company&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
We used to code less and document more, which was just not me. The documentation and testing is very much required but it does not used to give me pleasure. So I decided to leave the job and choose something which was more of me and less of managers worries.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
And I decided to move to a small firm, kind of stable and which was&amp;nbsp;of course&amp;nbsp;paying me better. This way I entered whole new wold of web development and changed my career.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_QCJ-XJ8bFn07nWav9VZ5vZuU3koFHjmrO-8l1SiRxoGXGGeanq04v8Bc2u4IrAhDUPbUWyY3IXohf6NToUupftvy-ZaolEbcbPCdWLUOxxXJR_iNHIxNfCtvpgBo0H-XUQfI9g5zIcuI/s1600/chartgo.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;256&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_QCJ-XJ8bFn07nWav9VZ5vZuU3koFHjmrO-8l1SiRxoGXGGeanq04v8Bc2u4IrAhDUPbUWyY3IXohf6NToUupftvy-ZaolEbcbPCdWLUOxxXJR_iNHIxNfCtvpgBo0H-XUQfI9g5zIcuI/s320/chartgo.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;b&gt;Time Spent in Small Company&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
Things were not the same as before, more time has to be given at innovative thinking and coding. which made me happier and smarter, but as well ways when you are happy and innovative some people don&#39;t like it and try to pull you down and that made me sick. After few months I had another twist in my life, a Startup named Grexit and changed the entire ball game.&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
Time Spent at Grexit was different in many aspects:&lt;/blockquote&gt;
&lt;br /&gt;
First of all, &lt;b&gt;Coding&lt;/b&gt; was changed into &lt;b&gt;Learning and Coding,&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;Meetings&lt;/b&gt; were changed into more of &lt;b&gt;Meetings and Discussions&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;Carrom and Tea&lt;/b&gt; Became into &lt;b&gt;tea making and learning to make tea&lt;/b&gt; from &lt;a href=&quot;https://www.facebook.com/niteshnandy&quot;&gt;Nitesh&lt;/a&gt; :-) &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Process&lt;/b&gt; became &lt;b&gt;Responsibility &lt;/b&gt;which you have to take care by yourself.&lt;br /&gt;
&lt;br /&gt;
&quot;Time spent on work and fun for grexit had become like a family, like your dad asks you to do something and it becomes your responsibility to finish it and make him feel proud. &quot;&lt;br /&gt;
&lt;br /&gt;
And I could not actually draw a chart for it, because I could not&amp;nbsp;differentiate&amp;nbsp;between the time spent for for GrexIt and when is my personal life.&lt;br /&gt;
&lt;br /&gt;
Time Spent at now office(would call it another home) is more of a Fun and learning and fun then learning. which improves both of me and the organization.&lt;br /&gt;
&lt;br /&gt;
Meetings here are more of discussions which makes you realize you are important part of the company.&lt;br /&gt;
&lt;br /&gt;
Big MNC taught me Process, which is important in a way that not everyone takes the responsibility of their work, but a spartup like GrexIt made me realize that responsibility is within you, you just need to explore it. and become a better human being.&lt;br /&gt;
&lt;br /&gt;
Proud to be a part of&amp;nbsp;&lt;a href=&quot;http://grexit.com/aboutus&quot;&gt;http://grexit.com/aboutus&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://anurag-maher.blogspot.com/feeds/1811179921285510986/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://anurag-maher.blogspot.com/2012/09/2-years-of-work-experience-taught-me.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1700506210997632375/posts/default/1811179921285510986'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1700506210997632375/posts/default/1811179921285510986'/><link rel='alternate' type='text/html' href='http://anurag-maher.blogspot.com/2012/09/2-years-of-work-experience-taught-me.html' title='2 years of work experience taught me everything'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08317741876167805371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiK-gjm4azodMHbu0gwMU40GTfnRssKSabc0f6qsCQpv9iMinQtPgAQXRtWdWCGSDcAkRy8Rd9wgtyKaIt_oVFetMh3-C_lEfLOXZj5ayPM0TL5UiZ6J9lw9UXv8XuwAq9w2fH5EXVHUvO8/s72-c/chartgo+(1).png" height="72" width="72"/><thr:total>0</thr:total><georss:featurename>Bangalore, Karnataka, India</georss:featurename><georss:point>12.9715987 77.5945627</georss:point><georss:box>12.724026199999999 77.2787057 13.2191712 77.910419699999991</georss:box></entry><entry><id>tag:blogger.com,1999:blog-1700506210997632375.post-3004374947880063497</id><published>2012-08-29T01:25:00.001-07:00</published><updated>2012-08-29T01:25:43.698-07:00</updated><title type='text'>wow memcached was so simple to install and use </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
After having some problems to try out Amazon ElasticCache, I decided to use the very popular Memcached and python, and here it goes.&lt;br /&gt;
&lt;br /&gt;
All this is going on Linux Ubuntu machine:&lt;br /&gt;
&lt;br /&gt;
installing the header files for the memcached&lt;br /&gt;
Step1: sudo apt-get install libmemcached-dev&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Step2: Get the latest package from the source Site&amp;nbsp;&lt;a href=&quot;http://memcached.org/&quot;&gt;http://memcached.org/&lt;/a&gt;&lt;br /&gt;
#wget&amp;nbsp;http://memcached.googlecode.com/files/memcached-1.4.14.tar.gz&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Step3: #./configure&lt;br /&gt;
&lt;br /&gt;
Step4: #sudo make &amp;amp;&amp;amp; make install&lt;br /&gt;
&lt;br /&gt;
Running the server&lt;br /&gt;
Step5: #memcached start&lt;br /&gt;
&lt;br /&gt;
Step6: Now If you are using python, i would recommend install&amp;nbsp;pylibmc library for memcached-python related requirements.&lt;br /&gt;
#pip install&amp;nbsp;pylibmc&lt;br /&gt;
&lt;br /&gt;
Step7:&lt;br /&gt;
&lt;br /&gt;
Here goes the Python Code for setting and getting the key value pairs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
import pylibmc&lt;br /&gt;
import time&lt;br /&gt;
&lt;br /&gt;
mc = pylibmc.Client([&quot;127.0.0.1&quot;], binary=True,behaviors={&quot;tcp_nodelay&quot;: True,&quot;ketama&quot;: True})&lt;br /&gt;
#setting the key value&lt;br /&gt;
mc.set(&quot;items&quot;, items, int(time.time() + 900)) # expires the key value pair after 15 mins&lt;br /&gt;
&lt;br /&gt;
# getting the key value&lt;br /&gt;
mc.get(&quot;items&quot;)&lt;br /&gt;
&lt;br /&gt;
Step8: Enjoy the in memory key value pair :-)&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://anurag-maher.blogspot.com/feeds/3004374947880063497/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://anurag-maher.blogspot.com/2012/08/wow-memcached-was-so-simple-to-install.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1700506210997632375/posts/default/3004374947880063497'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1700506210997632375/posts/default/3004374947880063497'/><link rel='alternate' type='text/html' href='http://anurag-maher.blogspot.com/2012/08/wow-memcached-was-so-simple-to-install.html' title='wow memcached was so simple to install and use '/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08317741876167805371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1700506210997632375.post-886568580094509805</id><published>2012-08-29T01:12:00.002-07:00</published><updated>2012-09-06T05:57:27.449-07:00</updated><title type='text'>memcached was the right choice </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
I wanted to do some web scrapping over webpage X and store the content, suddenly with every hit on my webpage it started scrapping again and again. so before the owner of X come to know about me and blocks me, i got an idea. why not store all the scrapped content and keep it in memory and &amp;nbsp;expire it after sometime.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
So I started comparing few of the available technologies like Amazon ElasticCache or redis or memcached. and I began my hunch.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
My Site was hosted on Amazon EC2 so my first option was Amazon ElasticCache, discarded soon after seeing &quot;free trial&quot;. I did not wanted to pay for this kind of service.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
My next option was Redis, well my Amazon EC2 instance was 600MB RAM free instance, and redis initialization itself costed me&amp;nbsp;heftily n terms of RAM Space. Discarded.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Next option was Memcached, well it was a new technology for me but it worked like a charm.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
It hardly took 1-2 MB of RAM for me.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
So For the People who are in Free Tier Amazon EC2, I would Suggest them to go for Memcached and build your software.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
My &lt;a href=&quot;http://anurag-maher.blogspot.in/2012/08/wow-memcached-was-so-simple-to-install.html&quot;&gt;Next Blog&lt;/a&gt; says how to install and use memcached easily.&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://anurag-maher.blogspot.com/feeds/886568580094509805/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://anurag-maher.blogspot.com/2012/08/memcached-was-right-choice.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1700506210997632375/posts/default/886568580094509805'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1700506210997632375/posts/default/886568580094509805'/><link rel='alternate' type='text/html' href='http://anurag-maher.blogspot.com/2012/08/memcached-was-right-choice.html' title='memcached was the right choice '/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08317741876167805371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1700506210997632375.post-4377607430666411706</id><published>2012-04-23T22:10:00.003-07:00</published><updated>2012-09-09T05:23:54.640-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ruby"/><category scheme="http://www.blogger.com/atom/ns#" term="ruby on rails"/><category scheme="http://www.blogger.com/atom/ns#" term="web development"/><title type='text'>Install Web Backend with rails from Scratch in 2 mins</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
Lot of people keep asking me how to install rails from scratch, so i thought I will make it simpler in few steps so that anyone can start ruby on rails development.&lt;br /&gt;
&lt;br /&gt;
Step1: Set up Environment for installing Stuff&lt;br /&gt;
sudo apt-get install build-essential libreadline6 libreadline6-dev zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison&amp;nbsp;openssl&lt;br /&gt;
&lt;br /&gt;
Step2: Get ruby from&amp;nbsp;&lt;a href=&quot;http://www.ruby-lang.org/en/downloads/&quot;&gt;http://www.ruby-lang.org/en/downloads/&lt;/a&gt;&lt;br /&gt;
Step3: Install ruby&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#./configure&lt;br /&gt;
#sudo make&lt;br /&gt;
#sudo make install&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
Step4: Install zlib from Ruby&lt;br /&gt;
&lt;br /&gt;
#cd ruby-1.9.x/ext/zlib&lt;br /&gt;
&lt;div&gt;
#ruby extconf.rb&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
#make
sudo make install&lt;br /&gt;
&lt;br /&gt;
Step4: Get RubyGems&amp;nbsp;&lt;a href=&quot;http://rubygems.org/pages/download&quot;&gt;http://rubygems.org/pages/download&lt;/a&gt;&lt;br /&gt;
#sudo ruby setup.rb&lt;br /&gt;
&lt;br /&gt;
Step5:&lt;br /&gt;
sudo gem install rails&lt;br /&gt;
&lt;br /&gt;
You are not done yet&lt;br /&gt;
Sometimes Openssl gives problem&lt;br /&gt;
so do this&lt;br /&gt;
&lt;br /&gt;
#cd ruby-1.9.x/ext/openssl&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
#ruby extconf.rb&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
#make
sudo make install&lt;br /&gt;
&lt;br /&gt;
After you are done with your installation for rails if you are using mysql for your databases, you also need to do these steps&lt;br /&gt;
&lt;br /&gt;
sudo apt-get install libmysqld-dev&amp;nbsp;libmysqlclient-dev&lt;br /&gt;
sudo gem install mysql -v &#39;2.8.1&#39;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://anurag-maher.blogspot.com/feeds/4377607430666411706/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://anurag-maher.blogspot.com/2012/04/install-ruby-on-rails-3x-from-scratch.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1700506210997632375/posts/default/4377607430666411706'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1700506210997632375/posts/default/4377607430666411706'/><link rel='alternate' type='text/html' href='http://anurag-maher.blogspot.com/2012/04/install-ruby-on-rails-3x-from-scratch.html' title='Install Web Backend with rails from Scratch in 2 mins'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08317741876167805371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1700506210997632375.post-64539992322218002</id><published>2011-02-19T02:31:00.000-08:00</published><updated>2011-02-19T03:41:57.036-08:00</updated><title type='text'>Last day of my life : 24 hours before the expiration date</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
If I had 24 hours to live.&lt;br /&gt;
Should I finally forgive the one who hurt me the most, and &lt;br /&gt;
will I find the courage to apologize to the person I wronged? &lt;br /&gt;
What is my life&#39;s greatest love? &lt;br /&gt;
What am I truly grateful for? &lt;br /&gt;
Have you ever thought that &lt;i&gt;&quot;Who are the few people you can really count as your friend? Have you made sure they know how you feel about them?&quot;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Whom I would like to see ?&lt;br /&gt;
Would I use it to seek one last greatest adventures ?&lt;br /&gt;
&lt;br /&gt;
Life has always been more than a lesson to me, every moment there is some or the other thing to learn.&lt;br /&gt;
The most important thing I have realized is &lt;i&gt;&quot;sometimes when you sacrifice something precious, you are not really losing it. you are just passing it on someone else&quot; - Mitch Albom&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Sometimes I just sit back and realize what am I doing, will this make any difference to me or I am just living just for the sake of existence. &lt;br /&gt;
&lt;br /&gt;
When we understand LIFE, we realize that it is absolutely fair! For me Tomorrow does not exists at all, Nothing belong to us. What is more important to us the way we Live our Now, weather you are working, Loving, playing or making a difference to other&#39;s life.&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;,Trebuchet,Verdana,sans-serif; font-size: 13px; line-height: 20px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial,helvetica,clean,sans-serif; line-height: 16px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;,Trebuchet,Verdana,sans-serif; font-size: 13px; line-height: 20px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial,helvetica,clean,sans-serif; line-height: 16px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFV0dt4H7lymp6ukwoItW3GJp7zQWhMtrVNvOQkD0qeNYQGFHgWWCx1psBbcfbLHxGPu6ZCYymUZ19HK3kuUxKt1ty2IJ-4ozZN9B6ityhL_fx3wzPfz3FiMGVDJCabOqN5OHgFNWiyr4D/s1600/lonely.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;261&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFV0dt4H7lymp6ukwoItW3GJp7zQWhMtrVNvOQkD0qeNYQGFHgWWCx1psBbcfbLHxGPu6ZCYymUZ19HK3kuUxKt1ty2IJ-4ozZN9B6ityhL_fx3wzPfz3FiMGVDJCabOqN5OHgFNWiyr4D/s400/lonely.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-bottom: 0.5em; margin-left: auto; margin-right: auto; padding: 6px; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;font-size: 13px; padding-top: 4px; text-align: center;&quot;&gt;One or the other day you will find your last day but when you flash back you should be able to find a meaning to your life where your existence has made a difference to someone.&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;,Trebuchet,Verdana,sans-serif; font-size: 13px; line-height: 20px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial,helvetica,clean,sans-serif; line-height: 16px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anurag-maher.blogspot.com/feeds/64539992322218002/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://anurag-maher.blogspot.com/2011/02/last-day-of-my-life-24-hours-before.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1700506210997632375/posts/default/64539992322218002'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1700506210997632375/posts/default/64539992322218002'/><link rel='alternate' type='text/html' href='http://anurag-maher.blogspot.com/2011/02/last-day-of-my-life-24-hours-before.html' title='Last day of my life : 24 hours before the expiration date'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08317741876167805371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFV0dt4H7lymp6ukwoItW3GJp7zQWhMtrVNvOQkD0qeNYQGFHgWWCx1psBbcfbLHxGPu6ZCYymUZ19HK3kuUxKt1ty2IJ-4ozZN9B6ityhL_fx3wzPfz3FiMGVDJCabOqN5OHgFNWiyr4D/s72-c/lonely.jpg" height="72" width="72"/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1700506210997632375.post-6710850417087349557</id><published>2011-02-16T11:20:00.000-08:00</published><updated>2011-02-16T11:21:30.773-08:00</updated><title type='text'>Best time of my day : New dimension to Love</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;As I work in office, walk on the street or even talk to someone, this is the only thing in mind, this is the thing which has made me crazy. Either I am playing it, or watching Federer Playing, or I am thinking how will I play next time, where I will hit the ball. How will I hit backend, forehand, or top spin.&lt;br /&gt;
My day begins in night when I get the opportunity to hold the Racquet and just be myself, where I am the King I can play, learn and life is in my total control.&lt;br /&gt;
First time felt that love is more than Love of Beloved, it is more than finding happiness in someone.&lt;br /&gt;
It can be for anything,&lt;br /&gt;
One thing I discovered that&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;i&gt;The origins of the 15, 30, and 40 scores are believed to be medieval French. It is possible that a clock face was used on court, with a quarter move of the hand to indicate a score of 15, 30, and 45. When the hand moved to 60, the game was over. However, in order to ensure that the game could not be won by a one-point difference in players&#39; scores, the idea of &quot;deuce&quot; was introduced. To make the score stay within the &quot;60&quot; ticks on the clock face, the 45 was changed to 40. Therefore, if both players have 40, the first player to score receives ten and that moves the clock to 50. If the player scores a second time before the opponent is able to score, they are awarded another ten and the clock moves to 60. The 60 signifies the end of the game. Source Wikipedia&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiz2TvV7bv3fp3UmEO0dOYXNhfVkdtwPj1cunYvmBdI68hLyHRz7w2j9Dc0ew1kqlWaM1Mv8kgfYavXaUSdtIFaFtu3e4fr22L_zdeFKHhLgzVrV63BcNKFNllpG8QCnMuWq5J1y9WZXgjM/s1600/clock-03-30_33084_lg.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiz2TvV7bv3fp3UmEO0dOYXNhfVkdtwPj1cunYvmBdI68hLyHRz7w2j9Dc0ew1kqlWaM1Mv8kgfYavXaUSdtIFaFtu3e4fr22L_zdeFKHhLgzVrV63BcNKFNllpG8QCnMuWq5J1y9WZXgjM/s200/clock-03-30_33084_lg.gif&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Tennis Scoring System is Clock based&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;i&gt;&lt;br /&gt;
&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;i&gt;&lt;br /&gt;
&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 19px;&quot;&gt;I was amazed by the scoring system, not many of the people know about it.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 19px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 19px;&quot;&gt;Just sharing some pics which i really like.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 19px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjF0T_ivg88dlPsKj2ZyUAch3q8DAk7L-uJ8GPZzNpVDQ5GWe1cUf_ne0kRaPEFZhd_igA-xwM7kVur_mBEev5Tafkc-MpZqZb_xsDG7jYmAzQBfljOamtMUgDp1HHFLkgNMN32f7QxxoHt/s1600/tennisball.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;212&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjF0T_ivg88dlPsKj2ZyUAch3q8DAk7L-uJ8GPZzNpVDQ5GWe1cUf_ne0kRaPEFZhd_igA-xwM7kVur_mBEev5Tafkc-MpZqZb_xsDG7jYmAzQBfljOamtMUgDp1HHFLkgNMN32f7QxxoHt/s320/tennisball.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Life is like tennis you don&#39;t know what is going to happen next moment&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjFCGhZ_A1dj-A-1vvw0ljj-rPElxFGcfSlBXuyGdNvXmn21ff3YcuQtNJE55J681Q7_kqL_-FUXL6pbgoobGoB47RFkW6sF6ORr4KGViup_7CD5CvpTru_MIQ_4xo576CIDb4RPbEsXzr/s1600/images+%25281%2529.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;212&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjFCGhZ_A1dj-A-1vvw0ljj-rPElxFGcfSlBXuyGdNvXmn21ff3YcuQtNJE55J681Q7_kqL_-FUXL6pbgoobGoB47RFkW6sF6ORr4KGViup_7CD5CvpTru_MIQ_4xo576CIDb4RPbEsXzr/s320/images+%25281%2529.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Break the bondages&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4Mk-ZLRK_B9_PjSAcah7c_aSgyXnp2qqch356huwyUYUEBuHlyGtoh-1GJu3kg57zJfS46FH8iFCetjLcayJEJ3hnlSUAx4Z6qTqZGG2GxyEGJQZ9CT6dGsIUy9l8_cP73uae9fgaWI7h/s1600/tennis+balls.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;181&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4Mk-ZLRK_B9_PjSAcah7c_aSgyXnp2qqch356huwyUYUEBuHlyGtoh-1GJu3kg57zJfS46FH8iFCetjLcayJEJ3hnlSUAx4Z6qTqZGG2GxyEGJQZ9CT6dGsIUy9l8_cP73uae9fgaWI7h/s320/tennis+balls.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 19px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;; font-size: small; line-height: normal;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anurag-maher.blogspot.com/feeds/6710850417087349557/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://anurag-maher.blogspot.com/2011/02/best-time-of-my-day.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1700506210997632375/posts/default/6710850417087349557'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1700506210997632375/posts/default/6710850417087349557'/><link rel='alternate' type='text/html' href='http://anurag-maher.blogspot.com/2011/02/best-time-of-my-day.html' title='Best time of my day : New dimension to Love'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08317741876167805371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiz2TvV7bv3fp3UmEO0dOYXNhfVkdtwPj1cunYvmBdI68hLyHRz7w2j9Dc0ew1kqlWaM1Mv8kgfYavXaUSdtIFaFtu3e4fr22L_zdeFKHhLgzVrV63BcNKFNllpG8QCnMuWq5J1y9WZXgjM/s72-c/clock-03-30_33084_lg.gif" height="72" width="72"/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1700506210997632375.post-3534230947526330317</id><published>2011-01-17T21:44:00.000-08:00</published><updated>2012-05-11T03:22:08.769-07:00</updated><title type='text'>Be yourself only</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
It’s ok to have fears,&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
It’s ok to make mistakes,&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
It’s ok to give up on some things,&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
It’s ok to be quite sometimes,&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
It’s ok to Cry even when everyone laughs,&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
It’s ok to Love the one who hates you,&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
It’s ok if you dance like a duck gone wild,&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
It’s ok if you sing like a frog gone wild,&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
What matters is, if being what you are makes you happy,&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Be yourself only, &lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
It’s Absolutely Okay &lt;span style=&quot;font-family: Wingdings;&quot;&gt;:-)&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://anurag-maher.blogspot.com/feeds/3534230947526330317/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://anurag-maher.blogspot.com/2011/01/be-yourself-only.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1700506210997632375/posts/default/3534230947526330317'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1700506210997632375/posts/default/3534230947526330317'/><link rel='alternate' type='text/html' href='http://anurag-maher.blogspot.com/2011/01/be-yourself-only.html' title='Be yourself only'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08317741876167805371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1700506210997632375.post-5455632429889104758</id><published>2010-12-13T21:29:00.000-08:00</published><updated>2010-12-13T21:29:14.751-08:00</updated><title type='text'>Feeling excited to attend FOSS conference</title><content type='html'>Today after a long break, there is a feeling inside me which is very different.&lt;br /&gt;
Yes I know it is because of the conference I am going to attend. Yes India&#39;s biggest FOSS event.&lt;br /&gt;
Last time I had this feeling when I went to NIT Calicut with few of my closest friends.&lt;br /&gt;
&lt;br /&gt;
It seems to me like I am going to live once again, breathe again, and there is a new morning tomorrow.&lt;br /&gt;
A Ray of Hope, a chance to&amp;nbsp; meet Experts from all over the world, coming to share the knowledge, and expertise they have. Chance to see them, learn from them and take a pic with them :)&lt;br /&gt;
&lt;br /&gt;
The things which I am excited about are:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Meego development&lt;/b&gt;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;MeeGo is a standard Linux platform offering additional public APIs provided by dozens of platform&#39;s components. Meego has too much to learn, but not sure what they are going to tell, I hope it is more of programming API&#39;s not using them. And thy should have more of &lt;strong&gt;Core OS layer &lt;/strong&gt;utilities.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Video from Julian Assange: &lt;/b&gt;Mr.Julian Assange is a founder of the WikiLeaks website, oh God, it seems so good to be called as a founder of something. Now even I have desires of being a founder of something, something noble, something which contributes to the world.&lt;br /&gt;
Wikileaks is a international non-profit organization that publishes submissions of otherwise unavailable documents from anonymous news sources and news leaks. Sounds &lt;b&gt;Cool&lt;/b&gt;,&amp;nbsp; A website which can disclose stuff about any organization or a individual, without prior warning, Amazing.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&amp;nbsp;ZFS(ZettaByte File System)&lt;/b&gt; &lt;b&gt;porting on Linux&lt;/b&gt; : Sounds good, Linux with File system of Solaris, Interesting.</content><link rel='replies' type='application/atom+xml' href='http://anurag-maher.blogspot.com/feeds/5455632429889104758/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://anurag-maher.blogspot.com/2010/12/feeling-excited-to-attend-foss.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1700506210997632375/posts/default/5455632429889104758'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1700506210997632375/posts/default/5455632429889104758'/><link rel='alternate' type='text/html' href='http://anurag-maher.blogspot.com/2010/12/feeling-excited-to-attend-foss.html' title='Feeling excited to attend FOSS conference'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08317741876167805371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1700506210997632375.post-8693382857573561112</id><published>2010-11-09T09:27:00.000-08:00</published><updated>2010-11-09T10:27:01.446-08:00</updated><title type='text'>Connect Reliance Broadband  Zte Modem in Linux (Using Usb_Modeswitch) - wikiHow</title><content type='html'>&lt;a href=&quot;http://www.wikihow.com/Connect-Reliance-Broadband+-Zte-Modem-in-Linux-(Using-Usb_Modeswitch)&quot;&gt;Connect Reliance Broadband  Zte Modem in Linux (Using Usb_Modeswitch) - wikiHow&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
My first contribution to Wikihow, and I realized now that it has got really good response.</content><link rel='replies' type='application/atom+xml' href='http://anurag-maher.blogspot.com/feeds/8693382857573561112/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://anurag-maher.blogspot.com/2010/11/connect-reliance-broadband-zte-modem-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1700506210997632375/posts/default/8693382857573561112'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1700506210997632375/posts/default/8693382857573561112'/><link rel='alternate' type='text/html' href='http://anurag-maher.blogspot.com/2010/11/connect-reliance-broadband-zte-modem-in.html' title='Connect Reliance Broadband  Zte Modem in Linux (Using Usb_Modeswitch) - wikiHow'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08317741876167805371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1700506210997632375.post-5887855995332611481</id><published>2009-11-25T22:43:00.000-08:00</published><updated>2009-11-25T22:45:17.549-08:00</updated><title type='text'>How to Restore Linux Grub After Installing Windows</title><content type='html'>If you have linux installed and you install windows succesfully, your linux grub will go off.. But don&#39;t worry, this article will help you to reinstall your lost Grub in few steps.&lt;br /&gt;&lt;br /&gt;   1. Boot through Fedora DVD or Red Hat DVD of Mandriva , not ubuntu.&lt;br /&gt;   2. Select &lt;span style=&quot;font-weight:bold;&quot;&gt;Rescue installed system&lt;/span&gt; option&lt;br /&gt;   3. Answer some obvious questions like Do you want to start the networking, say No.&lt;br /&gt;   4. After getting shell, enter ;&lt;br /&gt;   5. &lt;span style=&quot;font-style:italic;&quot;&gt;$chroot /mnt/sysimage&lt;/span&gt;&lt;br /&gt;   6. then &lt;span style=&quot;font-style:italic;&quot;&gt;$cd /boot&lt;/span&gt;&lt;br /&gt;   7. then &lt;span style=&quot;font-style:italic;&quot;&gt;$grub-install /dev/sda&lt;/span&gt;&lt;br /&gt;   8. And you will get your Grub Back&lt;br /&gt;   9. Enjoy both windows and linux&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Tips&lt;br /&gt;    * This solution works for all kinds of linux&lt;br /&gt;&lt;br /&gt;Warnings&lt;br /&gt;    * Here you have more than root privileges here in rescue mode, so be carefull</content><link rel='replies' type='application/atom+xml' href='http://anurag-maher.blogspot.com/feeds/5887855995332611481/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://anurag-maher.blogspot.com/2009/11/how-to-restore-linux-grub-after.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1700506210997632375/posts/default/5887855995332611481'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1700506210997632375/posts/default/5887855995332611481'/><link rel='alternate' type='text/html' href='http://anurag-maher.blogspot.com/2009/11/how-to-restore-linux-grub-after.html' title='How to Restore Linux Grub After Installing Windows'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08317741876167805371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1700506210997632375.post-7726352698750631756</id><published>2009-11-25T12:46:00.000-08:00</published><updated>2009-11-25T12:54:29.790-08:00</updated><title type='text'>For Ubuntu users : Use APTonCD: Take your Backup</title><content type='html'>If you are using ubuntu, use &lt;span style=&quot;font-weight: bold;&quot;&gt;APTonCD&lt;/span&gt; package. Install it using &lt;span style=&quot;font-weight: bold;&quot;&gt;Synaptic Package manager&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;How and why to use Aptoncd?&lt;br /&gt;&lt;br /&gt;Why : Many times you install new version of ubuntu, or ubuntu like OS. This package will make a backup of all the packages which you installed and you can create a repository CD.&lt;br /&gt;&lt;br /&gt;Can distribute it to your friends, without downloading it again anyone can install.&lt;br /&gt;&lt;br /&gt;How:  After installing it from Synaptic package manager, go to System-&gt;administrator-&gt;Aptoncd&lt;br /&gt;&lt;br /&gt;Choose the option &lt;span style=&quot;font-weight: bold;&quot;&gt;Create&lt;/span&gt;. then choose the option &lt;span style=&quot;font-weight: bold;&quot;&gt;Burn&lt;/span&gt;. Your repository CD is ready, can redistribute it.&lt;br /&gt;&lt;br /&gt;For Restoring choose the option &lt;span style=&quot;font-weight: bold;&quot;&gt;Restore&lt;/span&gt;. Simple Na.</content><link rel='replies' type='application/atom+xml' href='http://anurag-maher.blogspot.com/feeds/7726352698750631756/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://anurag-maher.blogspot.com/2009/11/for-ubuntu-users-use-aptoncd-take-your.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1700506210997632375/posts/default/7726352698750631756'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1700506210997632375/posts/default/7726352698750631756'/><link rel='alternate' type='text/html' href='http://anurag-maher.blogspot.com/2009/11/for-ubuntu-users-use-aptoncd-take-your.html' title='For Ubuntu users : Use APTonCD: Take your Backup'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08317741876167805371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1700506210997632375.post-2946701450485367235</id><published>2009-11-24T20:42:00.000-08:00</published><updated>2009-11-25T13:16:25.570-08:00</updated><title type='text'>Make the conditions right Plant will grow</title><content type='html'>&quot;We need to make the conditions right, Plant will definitely grow&quot;.&lt;br /&gt;If the farmer just sit down and think if my plant will grow or not ? Instead he should work hard for making the conditions right for it to grow. IT WILL DEFINITELY GROW.&lt;br /&gt;&lt;br /&gt;We were discussing about a project with adi. sir and day after tmw we had honeywell internship program.  As usual my attitude said &quot;sir i m just giving the exam for&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://1.bp.blogspot.com/_N8Qce2JNdkw/Sw1KLD1pm6I/AAAAAAAAAFU/r6FlZTemA6g/s1600/Untitled.jpeg&quot;&gt;&lt;img style=&quot;margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 97px; height: 112px;&quot; src=&quot;http://1.bp.blogspot.com/_N8Qce2JNdkw/Sw1KLD1pm6I/AAAAAAAAAFU/r6FlZTemA6g/s320/Untitled.jpeg&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5408060281411181474&quot; border=&quot;0&quot; /&gt;&lt;/a&gt; namesake, anyway not going to be selected&quot;.   These lines were delivered to me by him to me.&lt;br /&gt;&lt;br /&gt;The output is, i was the least tensed person for it, and finally i got it.&lt;br /&gt;&lt;br /&gt;Thanks you sir.&lt;br /&gt;&lt;br /&gt;Hats off to u ...</content><link rel='replies' type='application/atom+xml' href='http://anurag-maher.blogspot.com/feeds/2946701450485367235/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://anurag-maher.blogspot.com/2009/11/make-conditions-right-plant-will-grow.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1700506210997632375/posts/default/2946701450485367235'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1700506210997632375/posts/default/2946701450485367235'/><link rel='alternate' type='text/html' href='http://anurag-maher.blogspot.com/2009/11/make-conditions-right-plant-will-grow.html' title='Make the conditions right Plant will grow'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08317741876167805371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/_N8Qce2JNdkw/Sw1KLD1pm6I/AAAAAAAAAFU/r6FlZTemA6g/s72-c/Untitled.jpeg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1700506210997632375.post-8356936562119128594</id><published>2009-09-15T11:23:00.000-07:00</published><updated>2009-09-15T13:31:35.887-07:00</updated><title type='text'>Sometimes an OS can change your life</title><content type='html'>One fine morning anurag was working with matab on his windows machine. It was his final exam and just 2 minutes before his evaluation  due to a licensing error his software got crashed, that led his heart beats crash too. Worst part is he did not take backup of his work. In a way he learned two things: first is to take backup of your work and the second is NEVER USE LICENSED SOFTWARES. He understood that the world where he wants to live is not where we need to pay for softwares. He started exploring the Wolrld of Free and Open Source(FOSS). Came in Touch with Linux First, Did Red hat Training and understood the power of linux.&lt;br /&gt;      He started to collect people from his college, for this his best friends Sneha and Lalit helped him to get the force of open source come in and change the mindset of people. They conducted workshops to let people install Linux and trained them to switch completely to linux. The whole motive behind this was provided by our beloved Mr. Adinarayanan Sir.&lt;br /&gt;Now you will wonder how this OS changed his life ?&lt;br /&gt;**  He learned how to handle people or change their mentality.&lt;br /&gt;**  He learned how to live without boundations as well as what it takes to be FREE.&lt;br /&gt;** Got familiar with hundreds of people not only in campus but outside the campus too.&lt;br /&gt;** and most of all he got a new dimension to his boring life.&lt;br /&gt;This Anurag is me. u can call it as Linurag.&lt;br /&gt;&lt;br /&gt;You might be wondering why i choose linurag as my blogspot name. My friends started calling me linurag when in a workshop our Adi Sir presented a example for FREEDOM, How a Free and open source software can be modified and can be distributed by one&#39;s name.&lt;br /&gt;He called his UNIX as ADIX. :-)&lt;br /&gt;Someday Linurag will be known to the world .</content><link rel='replies' type='application/atom+xml' href='http://anurag-maher.blogspot.com/feeds/8356936562119128594/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://anurag-maher.blogspot.com/2009/09/one-fine-morning-anurag-was-working-on.html#comment-form' title='17 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1700506210997632375/posts/default/8356936562119128594'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1700506210997632375/posts/default/8356936562119128594'/><link rel='alternate' type='text/html' href='http://anurag-maher.blogspot.com/2009/09/one-fine-morning-anurag-was-working-on.html' title='Sometimes an OS can change your life'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08317741876167805371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>17</thr:total></entry></feed>