<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom">

 <title>Chirag Chamoli</title>
 
 <link href="http://chiragchamoli.com/" />
 <updated>2013-02-26T05:21:33-08:00</updated>
 <id>http://chiragchamoli.com/</id>
 <author>
   <name>Chirag Chamoli</name>
   <email>chiragchamoli@gmail.com</email>
 </author>

 
 <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/ChiragChamoli" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="chiragchamoli" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">ChiragChamoli</feedburner:emailServiceId><feedburner:feedburnerHostname xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">http://feedburner.google.com</feedburner:feedburnerHostname><entry>
   <title>Simple file upload in Laravel</title>
   
     <link href="http://chiragchamoli.com/posts/simple-file-upload-in-laravel" />
   
   <updated>2012-11-21T00:00:00-08:00</updated>
   <id>http://chiragchamoli.com/posts/simple-file-upload-in-laravel</id>
   <content type="html">&lt;p&gt;This is a quick tip, so I&amp;rsquo;ll skip the explaination.&lt;/p&gt;

&lt;p&gt;The user form can be built in Blade&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre&gt;&lt;code class="php"&gt;&lt;span class="cp"&gt;&amp;lt;?php&lt;/span&gt; 
    &lt;span class="k"&gt;echo&lt;/span&gt; &lt;span class="nx"&gt;Form&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="na"&gt;open_for_files&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;your_route&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;POST&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="k"&gt;echo&lt;/span&gt; &lt;span class="nx"&gt;Form&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="na"&gt;file&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;image&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="k"&gt;array&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;id&amp;#39;&lt;/span&gt;&lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;some_id&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;));&lt;/span&gt;
    &lt;span class="k"&gt;echo&lt;/span&gt; &lt;span class="nx"&gt;Form&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="na"&gt;close&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
 &lt;span class="cp"&gt;?&amp;gt;&lt;/span&gt;&lt;span class="x"&gt;    &lt;/span&gt;
&lt;span class="x"&gt;...&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;And at the severside&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre&gt;&lt;code class="php"&gt;&lt;span class="cp"&gt;&amp;lt;?php&lt;/span&gt; 

    &lt;span class="nv"&gt;$image&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;Input&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="na"&gt;file&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;image&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="nv"&gt;$filename&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt;  &lt;span class="nx"&gt;Input&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="na"&gt;file&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;image.name&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;.&amp;#39;&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;File&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="na"&gt;extension&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;Input&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="na"&gt;file&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;image.name&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;));&lt;/span&gt;
    &lt;span class="nx"&gt;Input&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="na"&gt;upload&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;image&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;public/uploads&amp;#39;&lt;/span&gt; &lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nv"&gt;$filename&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
 &lt;span class="cp"&gt;?&amp;gt;&lt;/span&gt;&lt;span class="x"&gt;    &lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Thanks it.&lt;/p&gt;
</content>
 </entry>
 
 <entry>
   <title>Tiny Epiphany</title>
   
     <link href="http://chiragchamoli.com/posts/tiny-epiphany" />
   
   <updated>2012-09-29T00:00:00-07:00</updated>
   <id>http://chiragchamoli.com/posts/tiny-epiphany</id>
   <content type="html">&lt;p&gt;This is one of those thoughts I needded to write down. There is no system, no secrect to success there is just 4 things to keep in mind and move forward.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Seek out inflection points&lt;/li&gt;
&lt;li&gt;Start with business model, fit technology later&lt;/li&gt;
&lt;li&gt;Focus&lt;/li&gt;
&lt;li&gt;Don&amp;rsquo;t be an asshole&lt;/li&gt;
&lt;/ul&gt;

</content>
 </entry>
 
 <entry>
   <title>Using Facebook SDK with Codeigniter</title>
   
     <link href="http://chiragchamoli.com/posts/using-facebook-sdk-with-codeigniter" />
   
   <updated>2012-09-12T00:00:00-07:00</updated>
   <id>http://chiragchamoli.com/posts/using-facebook-sdk-with-codeigniter</id>
   <content type="html">

&lt;div class="highlight"&gt;&lt;pre&gt;&lt;code class="bash"&gt;...
Please note this code is tested on
CodeIgniter Version 2.1.2 
Facebook PHP SDK &lt;span class="o"&gt;(&lt;/span&gt;v.3.2.0&lt;span class="o"&gt;)&lt;/span&gt;
...
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;


&lt;h2&gt;Step 1: Download Facebook PHP SDK (v.3.2.0)&lt;/h2&gt;

&lt;p&gt;Extract the file in side your &amp;ldquo;/application/libraries/facebook/&amp;rdquo; folder. We just need two file copy them from /src folder to &amp;ldquo;/application/libraries/facebook&amp;rdquo; you can now clean the directory if required.&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre&gt;&lt;code class="bash"&gt;...
base_facebook.php
facebook.php
...
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Now please open facebook.php and add&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre&gt;&lt;code class="php"&gt;&lt;span class="x"&gt;...&lt;/span&gt;
&lt;span class="cp"&gt;&amp;lt;?php&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt; &lt;span class="o"&gt;!&lt;/span&gt; &lt;span class="nb"&gt;defined&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;BASEPATH&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt; &lt;span class="k"&gt;exit&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;No direct script access allowed&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt; 
&lt;span class="o"&gt;...&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;To the top of the file. Close the file and change the same filename from &amp;ldquo;facebook.php&amp;rdquo; to &amp;ldquo;Facebook.php&amp;rdquo;.&lt;/p&gt;

&lt;h2&gt;Step 2: Add config file&lt;/h2&gt;

&lt;p&gt;In you &lt;pre&gt;/application/config/&lt;/pre&gt; folder make a new file facebook.php&lt;/p&gt;

&lt;p&gt;With this content.&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre&gt;&lt;code class="php"&gt;&lt;span class="x"&gt;...&lt;/span&gt;
&lt;span class="cp"&gt;&amp;lt;?php&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt; &lt;span class="o"&gt;!&lt;/span&gt; &lt;span class="nb"&gt;defined&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;BASEPATH&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt; &lt;span class="k"&gt;exit&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;No direct script access allowed&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

    &lt;span class="nv"&gt;$config&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;appId&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;APP_ID&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="nv"&gt;$config&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;secret&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;APP_SECRET&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="o"&gt;...&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Almost done.&lt;/p&gt;

&lt;h2&gt;Step 3: Loading facebook library&lt;/h2&gt;

&lt;p&gt;In your controller load the config file and then load the Facebook library.&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre&gt;&lt;code class="php"&gt;&lt;span class="x"&gt;...&lt;/span&gt;
&lt;span class="x"&gt;public function __construct()&lt;/span&gt;
&lt;span class="x"&gt;    {&lt;/span&gt;
&lt;span class="x"&gt;        parent::__construct();&lt;/span&gt;
&lt;span class="x"&gt;        // Your own constructor code&lt;/span&gt;
&lt;span class="x"&gt;        $CI = &amp;amp; get_instance();&lt;/span&gt;
&lt;span class="x"&gt;        $CI-&amp;gt;config-&amp;gt;load(&amp;quot;facebook&amp;quot;,TRUE);&lt;/span&gt;
&lt;span class="x"&gt;        $config = $CI-&amp;gt;config-&amp;gt;item(&amp;#39;facebook&amp;#39;);&lt;/span&gt;
&lt;span class="x"&gt;        $this-&amp;gt;load-&amp;gt;library(&amp;#39;facebook&amp;#39;, $config);&lt;/span&gt;
&lt;span class="x"&gt;    }&lt;/span&gt;
&lt;span class="x"&gt;...&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;




&lt;div class="highlight"&gt;&lt;pre&gt;&lt;code class="php"&gt;&lt;span class="x"&gt;...&lt;/span&gt;
&lt;span class="x"&gt;    //Usage&lt;/span&gt;
&lt;span class="x"&gt;    $user = $this-&amp;gt;facebook-&amp;gt;getUser();&lt;/span&gt;
&lt;span class="x"&gt;        if($user) {&lt;/span&gt;
&lt;span class="x"&gt;            try {&lt;/span&gt;
&lt;span class="x"&gt;                $user_info = $this-&amp;gt;facebook-&amp;gt;api(&amp;#39;/me&amp;#39;);&lt;/span&gt;
&lt;span class="x"&gt;                echo &amp;#39;&amp;lt;pre&amp;gt;&amp;#39;.htmlspecialchars(print_r($user_info, true)).&amp;#39;&amp;lt;/pre&amp;gt;&amp;#39;;&lt;/span&gt;
&lt;span class="x"&gt;            } catch(FacebookApiException $e) {&lt;/span&gt;
&lt;span class="x"&gt;                echo &amp;#39;&amp;lt;pre&amp;gt;&amp;#39;.htmlspecialchars(print_r($e, true)).&amp;#39;&amp;lt;/pre&amp;gt;&amp;#39;;&lt;/span&gt;
&lt;span class="x"&gt;                $user = null;&lt;/span&gt;
&lt;span class="x"&gt;            }&lt;/span&gt;
&lt;span class="x"&gt;        } else {&lt;/span&gt;
&lt;span class="x"&gt;            echo &amp;quot;&amp;lt;a href=\&amp;quot;{$this-&amp;gt;facebook-&amp;gt;getLoginUrl()}\&amp;quot;&amp;gt;Login using Facebook&amp;lt;/a&amp;gt;&amp;quot;;&lt;/span&gt;
&lt;span class="x"&gt;        }&lt;/span&gt;
&lt;span class="x"&gt;...&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;In the constructor method, you have just initialized the Facebook library (sdk) and it can be accessed by using: $this-&gt;facebook.&lt;/p&gt;
</content>
 </entry>
 
 <entry>
   <title>Juggad – Wordpress for Collaboration</title>
   
     <link href="http://chiragchamoli.com/posts/wordpress-theme-for-team-collaboration" />
   
   <updated>2012-09-07T00:00:00-07:00</updated>
   <id>http://chiragchamoli.com/posts/wordpress-theme-for-team-collaboration</id>
   <content type="html">&lt;h2&gt;Juggad – Wordpress Theme for Team Collaboration&lt;/h2&gt;

&lt;h2&gt;What is Jugaad&lt;/h2&gt;

&lt;p&gt;Jugad is a wordpress theme which turns your wordpress blog in an awesome collabration platform. This is well suited for internal teams, specially when emails are not a good option. We at &lt;a href="http://aahho.com/"&gt;aahho&lt;/a&gt; have stopped relying on the email completely for quite sometime now do most of our communications via Jugaad.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/chiragchamoli/juggad"&gt;Jugaad on Github &lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;Getting started&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Install &lt;a href="http://wordpress.org/download/"&gt;wordpress&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Clone the repo https://github.com/chiragchamoli/juggad.git in the your themes folder&lt;/li&gt;
&lt;li&gt;Add users&lt;/li&gt;
&lt;/ol&gt;


&lt;h2&gt;Features&lt;/h2&gt;

&lt;p&gt;We have kept the feature set as minimmal as possible, yet powerful.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;You can share soure code via &lt;a href="https://gist.github.com/"&gt;gist&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Almost in real-time&lt;/li&gt;
&lt;li&gt;Upload documents&lt;/li&gt;
&lt;li&gt;Embed youtube and vimeo on the fly&lt;/li&gt;
&lt;li&gt;Works on mobiles devices&lt;/li&gt;
&lt;li&gt;This is built on Wordpress you can take advantage of the vast free and paid plugins&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;I recommend you clone the repo as we&amp;rsquo;ll be pushing updates regularly.&lt;/p&gt;

&lt;p&gt;If you like this follw me on &lt;a href="https://alpha.app.net/chirag"&gt;ADN&lt;/a&gt; or &lt;a href="http://twitter.com/chiragchamoli"&gt;Twitter&lt;/a&gt;.&lt;/p&gt;
</content>
 </entry>
 
 <entry>
   <title>Multiple sites on single aws instance</title>
   
     <link href="http://chiragchamoli.com/posts/how-to-host-multiple-sites-on-single-aws-instance" />
   
   <updated>2012-08-10T00:00:00-07:00</updated>
   <id>http://chiragchamoli.com/posts/how-to-host-multiple-sites-on-single-aws-instance</id>
   <content type="html">&lt;p&gt;Ok, so we all have some projects or idea which are small enough to deserve a full instance and big enough to be hosted via github. Here come a old an very well tested idea, hosting multiple sites on AWS. Please note this is my version of how this needs to be done, you may have a better way of doing it and I am all ears.&lt;/p&gt;

&lt;p&gt;First of we need to &lt;a href="http://chiragchamoli.com/posts/step-by-step-guide-for-installing-lamp-stack-on-aws-ec2-instance/"&gt;setup a LAMP on our AWS Instance&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Now I am going to assume you have a instance with a LAMP.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Please note this is Name Host: Where all your domains are using single IP address.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 1&lt;/strong&gt;: Open you apache config file and comment out &amp;ldquo;NameVirtualHost *:80&amp;rdquo;&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre&gt;&lt;code class="bash"&gt;    &lt;span class="nb"&gt;cd&lt;/span&gt; /etc/apache2
   sudo vi apache2.conf
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt; &lt;strong&gt;Step 2&lt;/strong&gt;: Now we need to Tell apache which files sites we are going to host. Moving back to terminal go to &lt;em&gt;sites-available&lt;/em&gt; in side the &lt;em&gt;etc/apache&lt;/em&gt; directory. You should see two files here, make copy the default file with the name of your domain eg. aahho.org.&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre&gt;&lt;code class="bash"&gt;&lt;span class="nb"&gt;cd&lt;/span&gt; /etc/apache2/sites-available
cp default YOURDOMAIN.TLD
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;I am pasting part of my file please change with your own details.&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre&gt;&lt;code class="bash"&gt;&amp;lt;VirtualHost *:80&amp;gt;
    ServerName aahho.com
    ServerAlias aahho.com
    DocumentRoot /var/www/aahho.com/html/
&amp;lt;/VirtualHost&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;now you can repeat the process for as many domains as you want.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 3&lt;/strong&gt;: Change directory to &lt;em&gt;cd /etc/apache2&lt;/em&gt; and add the domains to the enabled domains. This is done by.&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre&gt;&lt;code class="bash"&gt;   a2ensite aahho.com
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;The above should give you a notification and instruction to restart apache. And that&amp;rsquo;s it.&lt;/p&gt;
</content>
 </entry>
 
 <entry>
   <title>Notes on Startup Traction</title>
   
     <link href="http://chiragchamoli.com/posts/notes-on-startup-traction" />
   
   <updated>2012-07-19T00:00:00-07:00</updated>
   <id>http://chiragchamoli.com/posts/notes-on-startup-traction</id>
   <content type="html">&lt;p&gt;After reading &lt;a href="http://www.gabrielweinberg.com/blog/2012/07/traction-mistakes.html"&gt;Traction mistakes&lt;/a&gt; by Gabriel Weinberg, who, by the way has also founder of  &lt;a href="http://duckduckgo.com/?t="&gt;duckduckgo&lt;/a&gt;, an amazingly simple and (sometimes) better search engine than google, ddg is really effective for developers. Gabriel Weinberg has a really good set of articles on traction, you can see his &lt;a href="http://tractionbook.com/"&gt;book about traction here&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;After reading, I wanted to understand the some common patterns, in this traction, game. The idea is to see how some &amp;ldquo;successful&amp;rdquo; internet companies got traction. I am not saying that we can replicate anyone else' success, but to try and observe patterns, wherever possible. Most startups don&amp;rsquo;t fail at building a product. They fail at acquiring customers.&lt;/p&gt;

&lt;p&gt;Kickstarter&lt;/p&gt;

&lt;p&gt;&lt;img src="https://si0.twimg.com/profile_images/1150349488/stacked_logo_twitter_2_reasonably_small.jpg" alt="" /&gt;&lt;/p&gt;

&lt;p&gt;How did Kickstarter, get traction, well the founders say &amp;ldquo;We asked our friends&amp;rdquo;. That is so profoundly simple.&lt;/p&gt;

&lt;p&gt;This is very simple, but I think  you must know the the founders were already working with few media and design companies so when they say friends, their friends wanted some thing like Kickstarter, all along.  This is a important pattern you&amp;rsquo;ll see github also following.&lt;/p&gt;

&lt;p&gt;Airbnb&lt;/p&gt;

&lt;p&gt;&lt;img src="https://si0.twimg.com/profile_images/2269180058/cu0r6lnilg6wtzcm2mnc_reasonably_small.png" alt="" /&gt;&lt;/p&gt;

&lt;p&gt;In there own words&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;We started the company by accident &amp;ndash; in 200. our rent went up for our San Francisco apartment and we had to figure out a way to bring in some extra income. There was a design conference coming to the city, but hotels were sold out. The size of our apartment could easily fit airbeds on the floor, so we decided to rent them out. We didn’t want to post on Craigslist because we felt it was too impersonal. Our entrepreneur instinct said “build your own site”. So we did. It wasn’t much of a site to start out – a couple pages, and pictures of our apartment. 3 people stayed with us, and we cooked them breakfast each morning. We became friends by the end, and they were grateful to have saved hundreds of dollars on their trip, and connect with actual people. We netted close to $1000!&lt;/p&gt;

&lt;p&gt;After that first weekend when we hosted people on our airbeds, we received emails from all around the world asking when we would make the site available in place like Buenos Aires, London, and Japan. At that point we started to brainstorm what a larger, international version of the site would be. That was basically our market research. People told us what they wanted, so we set off to create it for them. Ultimately while solving our own problem, we were solving someone else’s problem too. We were at a point professionally where we were very ready to pursue our own idea. We were anxious though, like waiting in line for a roller coaster. We didn’t know exactly what was ahead, but we knew we were in for a ride.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Mint&lt;/p&gt;

&lt;p&gt;&lt;img src="https://si0.twimg.com/profile_images/1809608697/Twitter_Mint_Avatar.png" alt="" /&gt;&lt;/p&gt;

&lt;p&gt;There is a rather well answered question on quora, , &amp;ldquo;How did Mint acquire 1.5m+ users without a high viral coefficient, scalable SEO strategy, or paid customer acquisition channel?" you can &lt;a href="http://www.quora.com/How-did-Mint-acquire-1-5m+-users-without-a-high-viral-coefficient-scalable-SEO-strategy-or-paid-customer-acquisition-channel/answer/Jason-Putorti"&gt;read the answer by Jason Putorti&lt;/a&gt; to above question. But to distill the answers in few points,  here is the gist.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The Product &amp;ndash; solved a real problem&lt;/li&gt;
&lt;li&gt;Blog / Original Content.&lt;/li&gt;
&lt;li&gt;Good, Paid PR&lt;/li&gt;
&lt;li&gt;SEO. We had an extensive SEO strategy, and it scaled pretty well. We had a lot of landing pages, content on the blog and marketing sites, and had a very metrics driven approach to all of it. For every popular finance query on Google, we had a page and content for it, and iterated landing pages to optimize conversion.&lt;/li&gt;
&lt;li&gt;Content Partnerships.&lt;/li&gt;
&lt;li&gt;Distribution Deals&lt;/li&gt;
&lt;li&gt;Email&lt;/li&gt;
&lt;li&gt;Facebook / Twitter&lt;/li&gt;
&lt;li&gt;Michael Arrington, of TC&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Youtube
&lt;img src="https://si0.twimg.com/profile_images/1616286352/youtube-stacked_google_200px.png" alt="" /&gt;&lt;/p&gt;

&lt;p&gt;Youtube was neither first nor best, so how did they acquire users? Well here are few reasons.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Easy and Good name &amp;ndash; seriously &amp;ndash; a good name is important.&lt;/li&gt;
&lt;li&gt;YouTube, always positioned as a content aggregation for the everyone.&lt;/li&gt;
&lt;li&gt;YouTube’s design is simple and easier, from a social content exploration perspective.&lt;/li&gt;
&lt;li&gt;YouTube practiced more relaxed content authorization policies for the first few years of its existence, indirectly endorsing the posting of all sorts of content that should perhaps not have been there (network TV, film clips, etc), or at least deserved some additional filtering (adult content, graphic content, etc).&lt;/li&gt;
&lt;li&gt;More customization &amp;amp; personalization on Youtube&lt;/li&gt;
&lt;li&gt;No ads, in the initial days

&lt;blockquote&gt;&lt;p&gt;YouTube may be a legitimate business now, but its success was solely due to placement of infringing, copy written material being uploaded there.&lt;/p&gt;&lt;/blockquote&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Google search&lt;/p&gt;

&lt;p&gt;&lt;img src="https://si0.twimg.com/profile_images/77186109/favicon_reasonably_small.png" alt="" /&gt;&lt;/p&gt;

&lt;p&gt;How did Google get initial traction?&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;Google is one of the few companies that won its industry entirely by making a better product. I don&amp;rsquo;t remember Google doing much advertising, and there were certainly big players in the search space already. Then again, Google&amp;rsquo;s search wasn&amp;rsquo;t just slightly better, or even 2. better- but easily a 10. improvement over Alta Vista and Yahoo. The google came up with the pagerank which was the first of it&amp;rsquo;s kind analytic to decide the weight of the pages.  Another good thing with google was the cost to change was from their competition was almost nil.&lt;/p&gt;

&lt;p&gt;mazon
&lt;img src="https://si0.twimg.com/profile_images/1563281408/amzn_fb-tw_Icon-global_reasonably_small.png" alt="" /&gt;&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;How did Amazon get initial traction?&lt;/p&gt;

&lt;p&gt;Very early on, amazon did a bunch of deals with search engines to advertise to people who were searching for each book they had in stock. It would be an obvious thing to do for a book seller starting out now, but that was before things like Adwords made it easy (and before Google even existed). Because the SEM market wasn&amp;rsquo;t developed they were able to buy traffic and build up their brand at a much lower price than what it would cost today.&lt;/p&gt;

&lt;p&gt;It is rumored that in the extremely early days, they made their &amp;lsquo;very early&amp;rsquo; traction happen just by having previously-impossible selection, and then providing extraordinary customer service (if they didn&amp;rsquo;t have a book in stock, they&amp;rsquo;d track it down for you). The word-of-mouth pass-along was tremendous. A little later, they invested heavily in securing exclusive portal deals to power the Books (and other) verticals, giving them a head-start on competitors. Discount pricing also helped, with NY Times bestsellers at 30-50. off (discount wars sprung up with Barnes and Noble, further driving PR opportunities).&lt;/p&gt;

&lt;p&gt;Pinterest&lt;/p&gt;

&lt;p&gt;&lt;img src="https://si0.twimg.com/profile_images/2290798861/du0xkp3hti6td6p65xod_reasonably_small.png" alt="" /&gt;&lt;/p&gt;

&lt;p&gt;How did Pinterest grew? Well in a interview, the founders shares about, initial days. Excerpt from his interview with Silbermann.&lt;/p&gt;

&lt;p&gt;A Yale grad with no engineering background, Silbermann worked for Google before launching. Pinterest with some friends in late 2009. Real-time text feeds were the rage at the time, and some observers felt that an image-based pinboard was doomed to fail. Nine months later, the site still had less than 10,00. users. "I think I personally wrote to the first 5,00. users,&amp;ldquo; said Silbermann, who also gave the site&amp;rsquo;s users his cell phone number and met some of them for coffee. "A lot of people ask, 'Why did you keep  going? Why didn&amp;rsquo;t you bail?&amp;lsquo;&amp;rdquo; he said. &amp;ldquo;I think the idea of telling people, 'We blew it,&amp;rsquo; was just too embarrassing.&amp;rdquo;&lt;/p&gt;

&lt;p&gt;Duckduckgo&lt;/p&gt;

&lt;p&gt;&lt;img src="https://si0.twimg.com/profile_images/1873652107/128_chrome_radius_reasonably_small.png" alt="" /&gt;&lt;/p&gt;

&lt;p&gt;DuckDuckGo has gotten some success out of reddit ads. There&amp;rsquo;s also lots of other platforms, e.g. Facebook, StumbleUpon, MySpace. Then there are thousands of smaller sites that will take your ads directly. This is how ddg grew.&lt;/p&gt;

&lt;p&gt;Github&lt;/p&gt;

&lt;p&gt;&lt;img src="https://si0.twimg.com/profile_images/651575553/twittergithub2_reasonably_small.png" alt="" /&gt;&lt;/p&gt;

&lt;p&gt;There is a great speech from Tom Preston-Werner the co-founder and CTO of GitHub and founder of Gravatar on how it all got started form the Startup School 2010.  I am going to para phrasing what he said &amp;ndash;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;He saw that people liked git, but it was pain in ass to use.&lt;/li&gt;
&lt;li&gt;He (his team) made git simple, offered as a service&lt;/li&gt;
&lt;li&gt;He was part of Ruby user groups where he got his first users/customer&lt;/li&gt;
&lt;li&gt;His strategy was simple &amp;ndash; Public repos are free, and private are paid.&lt;/li&gt;
&lt;li&gt;Public repos are free to give github word of mouth and free marketing&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Reddit&lt;/p&gt;

&lt;p&gt;&lt;img src="https://si0.twimg.com/profile_images/275642219/reddit-twitter-transp_bigger_reasonably_small.png" alt="" /&gt;&lt;/p&gt;

&lt;p&gt;Reddit gained traction for three main reasons&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Founders had created a &amp;ldquo;controversy&amp;rdquo; early on, could have been accidental or by chance, by switching from LISP to Python, very publicly. Which made a lot of people aware of the site&lt;/li&gt;
&lt;li&gt;Reddit was from ycombinator&amp;rsquo;s first batch and had all the focus and energy of the ycombinator team as the success of the first batch will in-turn make yc successful, this made a lot of people curious about the project&lt;/li&gt;
&lt;li&gt;Finally &lt;a href="http://www.youtube.com/watch?v=zmeDzx4SUME&amp;amp;amp;feature=plcp"&gt;fake content&lt;/a&gt; - Steve Huffman talks about how in the initial day they made it simple for the founder and reddit team to submit url from fake users, so when others came to the site they could see a lot of content already.&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;Scoble on how &lt;a href="http://qr.ae/1ctEQ"&gt;instagram got traction&lt;/a&gt;.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The founders weren&amp;rsquo;t scared of letting people try it before launch. They looked at building their company as exactly that. They never really did a big launch. They just kept showing it to people and putting it on their phones and taking feedback. I was at Dogpatch Labs (where they started) for another company and the guy who ran the labs told me &amp;ldquo;you gotta meet these guys who are doing this cool photo app.&amp;rdquo;&lt;/li&gt;
&lt;li&gt;They got everyone they talked to to be a brand ambassador. This happens when the founders are nice and when the product rocks.&lt;/li&gt;
&lt;li&gt;They had an awesome interaction model (er viral loop). I still remember taking my iPhone, shooting a photo outside on the Pier 38 where they launched and having three comments within seconds show up on my photo. That never happened on other photo apps. Got me instantly addicted. Also got me to get other people on the app, because the more who were there the better the app became (that&amp;rsquo;s a viral loop).&lt;/li&gt;
&lt;li&gt;Early users converted to great app store ratings. The few people who got it before launch became huge advocates and pushed it on blogs and in reviews on app store.
Showed it to influencers. I remember seeing a TON of San Francisco influencers like Kevin Rose, Leo Laporte and MG Siegler on the app before I got on or shortly after. These people were key in getting lots of consumer companies to be well known.&lt;/li&gt;
&lt;/ol&gt;

</content>
 </entry>
 
 <entry>
   <title>Gmail Conspiracy</title>
   
     <link href="http://chiragchamoli.com/posts/gmail-conspiracy" />
   
   <updated>2012-07-18T00:00:00-07:00</updated>
   <id>http://chiragchamoli.com/posts/gmail-conspiracy</id>
   <content type="html">&lt;p&gt;It was around 1:0. A.M and the server was just reset after one of those nasty bugs.  We were happy and were thinking on the next project together. One of the team members who has worked in a R&amp;amp;D earlier wanted to do something around patents. A kind of &amp;ldquo;patent parser&amp;rdquo; if you will.  Let me point out we were all sleepy.&lt;/p&gt;

&lt;p&gt;What is a &amp;ldquo;patent parser&amp;rdquo; one person asked without hoping for reply. but that was when the R&amp;amp;D guy, jumped out of his bean bag and started explaining&amp;hellip;look in a enterprise environment there are a lot of email exchange, some exchanges are dumb youtube videos, but few of them are actually important. Managers sometimes let a good idea pass by just because they don&amp;rsquo;t see the value.&lt;/p&gt;

&lt;p&gt;So we will develop a parser at server side which parses all the emails in an org for possibly idea which can be patented. After all every engineering company wants more and more patents.&lt;/p&gt;

&lt;p&gt;By now everyone is up.&lt;/p&gt;

&lt;p&gt;After few more minutes of back and forth the file-systems expert said, &amp;ldquo;Look this sounds interesting but doing this B2. may be pain in ass, can we just do consumer app, I am not saying to do a email service just a plugin for gmail&amp;rdquo;&lt;/p&gt;

&lt;p&gt;That is where I had a aha moment,  Call me paranoid, but I have somehow grown to mistrust google as a service hence, I had moved to &lt;a href="http://duckduckgo.com/"&gt;ddg&lt;/a&gt; long time back. I don&amp;rsquo;t miss anything. You may say, why do we not trust the google &amp;ndash; do no evil™, well I have my reasons.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Search results creeping up all the places, when you search something on google that search terms is then converted to an advertisement and show to you across the websites.&lt;/li&gt;
&lt;li&gt;You are always logged in and SSO across the google site(g+, youtube, etc ) means for most of the day google know what device, browser etc&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;We should never forget, google makes 80. of there money on you and me.&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;If You’re Not Paying for It; You’re the Product&lt;/p&gt;

&lt;p&gt;— Chirag Chamoli (@chiragchamoli) &lt;a href="https://twitter.com/chiragchamoli/status/224755134327029760"&gt;July 16. 2012&lt;/a&gt;&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;My thought process was we were thinking of this idea now in the middle of night, while we should be focusing on the next feature of our app, wouldn&amp;rsquo;t someone at gmail have already implemented this?  I mean &lt;a href="http://www.dailykos.com/story/2012/05/07/1089417/-Google-Reads-Your-Email"&gt;gmail already &amp;ldquo;scans&amp;rdquo;&lt;/a&gt; our emails. Thay say is loudly.&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;This ad is based on emails from your mailbox. Visit Google’s Ads Preferences Manager to learn more, block specific advertisers, or opt out of personalized ads.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;After all, &lt;a href="http://blogs.law.harvard.edu/philg/2011/11/03/where-does-google-actually-say-that-they-wont-read-gmail-messages-or-google-docs/" title="Permanent link to Where does Google actually say that they won’t read Gmail messages or Google Docs?"&gt;Where does Google actually say that they won’t read Gmail messages or Google Docs?&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So keeping the above in mind, I have chosen not to use gmail for business communications, specially idea, thought etc. And will be soon moving to a self hosted solutions soon. Stay tuned.&lt;/p&gt;
</content>
 </entry>
 
 <entry>
   <title>Introduction to Windows Powershell</title>
   
     <link href="http://chiragchamoli.com/posts/introduction-to-windows-powershell" />
   
   <updated>2012-07-14T00:00:00-07:00</updated>
   <id>http://chiragchamoli.com/posts/introduction-to-windows-powershell</id>
   <content type="html">&lt;p&gt;PowerShell is a new command shell and scripting language for Windows. It is cool for a multiple of reasons:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A huge step up compared to the &lt;em&gt;CMD&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Scripts and command line share a language&lt;/strong&gt;. &lt;em&gt;CMD&lt;/em&gt; had many small but important differences. CScript and Windows Scripting Host are not interpreted.&lt;/li&gt;
&lt;li&gt;Command line usage can be quick while scripts can be readable, thanks to the combination of aliases and smart command argument processing. For example, &lt;code&gt;dir -r .&lt;/code&gt; is the same as &lt;code&gt;Get-ChildItem -Recurse -Path "."&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Powerful interaction with other technologies, most notably .NET.&lt;/li&gt;
&lt;li&gt;An integrated script editor/interactive shell&lt;/li&gt;
&lt;li&gt;Command pipelines work on objects, not strings&lt;/li&gt;
&lt;li&gt;Lots of Microsoft products are adding PowerShell support, especially for server products.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;From &lt;a href="http://en.wikipedia.org/wiki/Windows_PowerShell"&gt;wikipedia&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;Windows PowerShell is an extensible command-line shell and associated scripting language from Microsoft. It was released in 200. and is currently available for Windows XP SP2/SP3. Windows Server 2003. Windows Vista, and is included in Windows Server 200. as an optional feature. Windows PowerShell 2.0 was released with Windows 7 and Windows Server 200. R2. It is going to be backported to previous supported platforms Windows XP SP3. Windows Server 200. SP2. Windows Vista SP1 and Windows Server 2008.[4]&lt;/p&gt;

&lt;p&gt;Windows PowerShell integrates with the Microsoft .NET Framework and provides an environment to perform administrative tasks by execution of cmdlets (pronounced commandlets), which are specialized .NET classes implementing a particular operation; scripts, which are compositions of cmdlets along with imperative logic; executables, which are standalone applications; or by instantiating regular .NET classes.5 These work by accessing data in different data stores, like the filesystem or registry, which are made available to the PowerShell runtime via Windows PowerShell providers.&lt;/p&gt;

&lt;p&gt;Windows PowerShell also provides a hosting mechanism with which the Windows PowerShell runtime can be embedded inside other applications, which can then leverage Windows PowerShell functionality to implement certain operations, including those exposed via the graphical interface. This capability has been utilized by Microsoft Exchange Server 2007. to expose its management functionality as PowerShell cmdlets and providers and implement the graphical management tools as PowerShell hosts which invoke the necessary cmdlets. Other Microsoft applications including Microsoft SQL Server 2008[8. also expose their management interface via PowerShell cmdlets. In the future, graphical interface-based management applications on Windows will be layered on top of Windows PowerShell.&lt;/p&gt;

&lt;p&gt;Windows PowerShell includes its own extensive, console-based help, reminiscent of man pages in Unix shells via the Get-Help cmdlet.&lt;/p&gt;&lt;/blockquote&gt;

&lt;h2&gt;Commonly Used Commands&lt;/h2&gt;

&lt;div class="highlight"&gt;&lt;pre&gt;&lt;code class="bash"&gt;&lt;span class="nb"&gt;pwd&lt;/span&gt;: print working directory
hostname: my computer&lt;span class="err"&gt;&amp;#39;&lt;/span&gt;s network name
mkdir: make directory
&lt;span class="nb"&gt;cd&lt;/span&gt;: change directory
ls: list directory
rmdir: remove directory
&lt;span class="nb"&gt;pushd&lt;/span&gt;: push directory
&lt;span class="nb"&gt;popd&lt;/span&gt;: pop directory
cp: copy a file or directory
robocopy: robust copy
mv: move a file or directory
more: page through a file
&lt;span class="nb"&gt;type&lt;/span&gt;: print the whole file
forfiles: run a &lt;span class="nb"&gt;command &lt;/span&gt;on lots of files
dir -r : find files
&lt;span class="k"&gt;select&lt;/span&gt;-string: find things inside files
&lt;span class="nb"&gt;help&lt;/span&gt;: &lt;span class="nb"&gt;read &lt;/span&gt;a manual page
helpctr: find what man page is appropriate
&lt;span class="nb"&gt;echo&lt;/span&gt;: print some arguments
&lt;span class="nb"&gt;set&lt;/span&gt;: &lt;span class="nb"&gt;export&lt;/span&gt;/set a new environment variable
&lt;span class="nb"&gt;exit&lt;/span&gt;: &lt;span class="nb"&gt;exit &lt;/span&gt;the shell
runas: DANGER! become super user root DANGER!
attrib: change permission modifiers
iCACLS: change ownership
New-Item testfile.txt -type file

cp test.txt something.html
more somefile.txt
 dir -r -filter &lt;span class="s2"&gt;&amp;quot;*.txt&amp;quot;&lt;/span&gt; //Search &lt;span class="k"&gt;for &lt;/span&gt;all the files with .txt recursivley

&lt;span class="nb"&gt;help &lt;/span&gt;dir

 get-childitem Env:PATH //This will retun the APP Path 
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



</content>
 </entry>
 
 <entry>
   <title>Left vs Right Sidebar</title>
   
     <link href="http://chiragchamoli.com/posts/left-vs-right-sidebar" />
   
   <updated>2012-07-05T00:00:00-07:00</updated>
   <id>http://chiragchamoli.com/posts/left-vs-right-sidebar</id>
   <content type="html">&lt;p&gt;So, this was driving me crazy and I wanted to know why does, apple uses left side navigation in Apple&amp;rsquo;s and why so many blogs use right sidebars. Then I looked at many many apps and tried understanding. And here is what I&amp;rsquo;ve come up with.&lt;/p&gt;

&lt;p&gt;![itunes screenshot][images/bi/itunes.png]&lt;/p&gt;

&lt;p&gt;Anything placed on the left of your screen will be looked at first by most english reading people (reading left to right). So The choice is in your hands if your navigation is important like in wordpress admin or itunes, it makes sense to keep it on the left. This also come from the early days of web navigation used to be on the left side with fames to change the main page. If however you want to emphasise your content, it is often a good idea to put your navigation on the right hand side, like many blogs.&lt;/p&gt;

&lt;p&gt;There is also the added advantage to right-hand navigation in that most people will rest their mouse pointer on the right side of a screen when reading, which makes it a shorter distance for the mouse pointer to travel to navigate on a right-hand side navigation.&lt;/p&gt;
</content>
 </entry>
 
 <entry>
   <title>Installing LAMP stack on AWS EC2 instance</title>
   
     <link href="http://chiragchamoli.com/posts/step-by-step-guide-for-installing-lamp-stack-on-aws-ec2-instance" />
   
   <updated>2012-07-02T00:00:00-07:00</updated>
   <id>http://chiragchamoli.com/posts/step-by-step-guide-for-installing-lamp-stack-on-aws-ec2-instance</id>
   <content type="html">&lt;p&gt;This is a fairly simple article on how to install &lt;a href="http://en.wikipedia.org/wiki/LAMP_(software_bundle"&gt;LAMP stack&lt;/a&gt;) on EC2.&lt;/p&gt;

&lt;p&gt;Prerequisites&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;AWS account&lt;/li&gt;
&lt;li&gt;Basic understanding of SSH&lt;/li&gt;
&lt;li&gt;Comfortable with CLI&lt;/li&gt;
&lt;/ul&gt;


&lt;h2&gt;Step 1. Start an instance.&lt;/h2&gt;

&lt;p&gt;Add the security group, and download the private key.
[&lt;img src="/images/bi/1_AWS-Management-Console.png" title="1_AWS Management Console" alt="" /&gt;]&lt;/p&gt;

&lt;h2&gt;Step 2.  Security Group Settings&lt;/h2&gt;

&lt;p&gt;On the sidebar, click on &lt;strong&gt;Security Groups.&lt;/strong&gt; You&amp;rsquo;ll see a list of your groups click on anyone and then change the tab to&lt;strong&gt; &amp;ldquo;Inbound&amp;rdquo;. &lt;/strong&gt;Give permission to port 8. and 2. for&lt;strong&gt; web server and the ssh. &lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;[!(/images/bi/AWS-Management-Console1-1024x227.png &amp;ldquo;AWS Management Console&amp;rdquo;)]
(/images/bi/AWS-Management-Console1.png)&lt;/p&gt;

&lt;h2&gt;Step 3. Download the &amp;lsquo;pem&amp;rsquo; file&lt;/h2&gt;

&lt;p&gt;Next download, &lt;a href="http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe"&gt;putty&lt;/a&gt; and &lt;a href="http://the.earth.li/~sgtatham/putty/latest/x86/puttygen.exe"&gt;putty-key_gen&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Open Key Gen &amp;gt; Conversions&amp;gt; Import Key and search and add the pem file you have downloaded.&lt;/p&gt;

&lt;p&gt;&lt;a href="/images/bi/Capture2.png"&gt;&lt;img src="/images/bi/Capture2.png" title="Capture" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;put the ppk file in some secure folder. You are almost ready.&lt;/p&gt;

&lt;h2&gt;Step 4. Set up a Elastic IP.&lt;/h2&gt;

&lt;p&gt;Go back to the aws console and click on link &amp;ldquo;&lt;strong&gt;Elastic IP&lt;/strong&gt;&amp;rdquo;. In the window &amp;ldquo;click Allocate New Address&amp;rdquo;. You should see a new IP address added to he list below now click on the new IP and chose allocate to EC2 instance, you have just created. Now you will be able to type new ip address and access your instance. Keep a note of this.&lt;/p&gt;

&lt;p&gt;&lt;a href="/images/bi/Capture3.png"&gt;&lt;img src="/images/bi/Capture3.png" title="Capture" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="/images/bi/Capture4.png"&gt;&lt;img src="/images/bi/Capture4.png" title="Capture" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="/images/bi/Capture5.png"&gt;&lt;img src="/images/bi/Capture5.png" title="Capture" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;Step 5.  Getting started with Putty.&lt;/h2&gt;

&lt;p&gt;Open putty, and give the required credentials. Once you have filed the required credentials,  on the &amp;ldquo;Category Tree&amp;rdquo; on left search for connection &amp;gt; SSH &amp;gt; Auth.&lt;/p&gt;

&lt;p&gt;Under authentication parameter browse your Key which you generated in previous step and click open.&lt;/p&gt;

&lt;p&gt;AWS User name will be ec2-user&lt;/p&gt;

&lt;p&gt;&lt;a href="/images/bi/Capture6.png"&gt;&lt;img src="/images/bi/Capture6.png" title="Capture" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="/images/bi/Capture7.png"&gt;&lt;img src="/images/bi/Capture7.png" title="Capture" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now we are all set up.&lt;/p&gt;

&lt;h2&gt;Step 6.  Installing LAMP stack&lt;/h2&gt;

&lt;p&gt;Log in to your instance you may see something like this.&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre&gt;&lt;code class="bash"&gt;...
Using username &lt;span class="s2"&gt;&amp;quot;ubuntu&amp;quot;&lt;/span&gt;.
Authenticating with public key &lt;span class="s2"&gt;&amp;quot;imported-openssh-key&amp;quot;&lt;/span&gt;
Welcome to Ubuntu 12.0&lt;span class="se"&gt;\.&lt;/span&gt; LTS &lt;span class="o"&gt;(&lt;/span&gt;GNU/Linux 3.2.0-23-virtual x86_64&lt;span class="o"&gt;)&lt;/span&gt;

 * Documentation:  https://help.ubuntu.com/

  System information as of Mon Jul  2 07:22:2&lt;span class="se"&gt;\.&lt;/span&gt; UTC 2012

  System load:  0.06&lt;span class="se"&gt;\.&lt;/span&gt;             Processes:           70
  Usage of /:   14.6&lt;span class="se"&gt;\.&lt;/span&gt; of 7.97GB   Users logged in:     0
  Memory usage: 39&lt;span class="se"&gt;\.&lt;/span&gt;               IP address &lt;span class="k"&gt;for &lt;/span&gt;eth0&lt;span class="se"&gt;\.&lt;/span&gt; 10.130.183.165
  Swap usage:   0%

ubuntu@ip-10-130-183-165:~&lt;span class="err"&gt;$&lt;/span&gt;
...
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;it does not have to be same.&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre&gt;&lt;code class="bash"&gt;...
sudo apt-get update &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; sudo apt-get upgrade
...
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;This will take some time and will update the dependencies, required across the install.&lt;/p&gt;

&lt;p&gt;Next install tasksel&amp;hellip;&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre&gt;&lt;code class="bash"&gt;sudo apt-get install tasksel
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;




&lt;div class="highlight"&gt;&lt;pre&gt;&lt;code class="bash"&gt;sudo tasksel install lamp-server
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;This will take you through a wizard, follow the screen and it will ask for a master SQL password, remember it. This will be used in the later stage.&lt;/p&gt;

&lt;p&gt;This will install lamp stack for you, to check if everything is fine. Open your borwser, go to the Elastic IP you have generated and you will see &amp;ldquo;it work&amp;rsquo;s&amp;rdquo; page.&lt;/p&gt;

&lt;p&gt;Usually you&amp;rsquo;re web root will be&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre&gt;&lt;code class="bash"&gt;/var/www
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Now assuming you&amp;rsquo;ll be using &lt;a href="http://www.phpmyadmin.net/home_page/index.php"&gt;phpmyadmin&lt;/a&gt;, lets install that. Just do&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre&gt;&lt;code class="bash"&gt;apt-get install phpmyadmin
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;. This will install phpmyadmin, but you to get to a point where you can do this http://your-elastic-ip/phpmyadmin, we need to add this to apache2.conf.&lt;/p&gt;

&lt;p&gt;Open&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre&gt;&lt;code class="bash"&gt;sudo vim /etc/apache2/apache2.conf
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Add&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre&gt;&lt;code class="bash"&gt;Include /etc/phpmyadmin/apache.conf
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt; line at the bottom of the file, save and quit.
finally
do&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre&gt;&lt;code class="bash"&gt;sudo /etc/init.d/apache2 restart
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Now http://your-elastic-ip/phpmyadmin will take you to fimillar php myadming page, it will ask for username and password.&lt;/p&gt;

&lt;p&gt;Note: If you want to clear the state and restart the install, please clean the system, by removing following packages:&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre&gt;&lt;code class="bash"&gt;apache2 apache2-mpm-prefork apache2-utils apache2.2-common libapache2-mod-php5 libapr1 libaprutil1 libdbd-mysql-perl libdbi-perl libmysqlclient15off libnet-daemon-perl libplrpc-perl libpq5 mysql-client-5.0 mysql-common mysql-server mysql-server-5.0 php5-common php5-mysql
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Thanks for following so far, you are all set with LAMP stack now. If you have any question please post them in the comments section below.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Added&lt;/strong&gt;&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre&gt;&lt;code class="bash"&gt;sudo chown -R ubuntu /var/www/ 
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



</content>
 </entry>
 
 <entry>
   <title>Amazon Web Services in plain English</title>
   
     <link href="http://chiragchamoli.com/posts/amazon-web-services-in-plain-english" />
   
   <updated>2012-05-25T00:00:00-07:00</updated>
   <id>http://chiragchamoli.com/posts/amazon-web-services-in-plain-english</id>
   <content type="html">&lt;p&gt;I have been playing with AWS for quite some time now and as a beginner, I faced few starting problems, one of them was to understand what’s-up with so many services and what does each service mean. So here is the list of most of AWS services and what they do, in Plain English.&lt;/p&gt;

&lt;p&gt;&lt;img src="http://farm9.staticflickr.com/8143/7653308616_81f865ed42_z.jpg" alt="Aws Panel" /&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Amazon Elastic Compute Cloud (EC2)&lt;/strong&gt; :  Renting a server per hour, root access. Define the size your self and pay for it.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Amazon Elastic MapReduce&lt;/strong&gt;    Renting a multiple servers per hour e.g Hadoop cluster(to crunch a lot of data)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Auto Scaling&lt;/strong&gt;   Renting just enough servers as required (essentially, bidding system, using more with a lot of work, using less with less work)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Amazon CloudFront&lt;/strong&gt;    Economical, Personal CDN, content distribution network&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Amazon SimpleDB&lt;/strong&gt;   noSQLfor key-value store. Quickly searchable.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Amazon Relational Database&lt;/strong&gt;: Service (RDS): MySQL as a Service, one of the best services of AWS.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;AWS Elastic Beanstalk&lt;/strong&gt;    Automated Infrastructure for java/PHP/…
 applications. Works with tomcat, uses internal services as required
 (turn-key solution, Good to start with for AWS services.)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;AWS CloudFormation&lt;/strong&gt;    Automated setup for service/app/platform you want
 to use. Choose a service, give basic details and CloudFormation will
 do the rest. best for WP blog, CMS etc&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Amazon Fulfillment Web Service (FWS)&lt;/strong&gt; :    Amazon manage your fulfillment. your suppliers ship to Amazon, and they ship to your customers. ( US ONLY)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Amazon Simple Queue Service (SQS)&lt;/strong&gt; :   ‘first in, first out’ messaging queue.
 perfect for jobs that should be processed asynchronously, more or
 less in order of arrival. Lazy tasks video rendering, thumbnails .&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Amazon Simple Notification Service (SNS)&lt;/strong&gt; :   PUBSUB (publish/subscribe mechanism). You create topics interested parties  can subscribe to. sending a message to a topic, sends the message to   all subscribers. (Like a mailing list, but for software systems.)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Amazon Simple Email Service (SES)&lt;/strong&gt; :    Service for sending mail. But you have to earn your quota with good behavior.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Amazon CloudWatch&lt;/strong&gt; :     Monitoring of other AWS assets.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Amazon Route 53&lt;/strong&gt; :  DNS (Awesome)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Amazon Virtual Private Cloud (VPC)&lt;/strong&gt; : Extend your private network with ‘some cloud’.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Elastic Load Balancing&lt;/strong&gt; :   Distributing traffic over one or more instances (servers).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Amazon Simple Storage Service (S3)&lt;/strong&gt;: Almost unlimited storage, best for Videos, Images etc&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Amazon Elastic Block Store (EBS)&lt;/strong&gt; : Network disks for AWS. (Attach a volume to an
 instance of your choice. you can’t share the disk between multiple instances). \&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;AWS Import/Export&lt;/strong&gt;:  Export  and Import large amounts of move large data in and out of S3&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Amazon Mechanical Turk&lt;/strong&gt;:  Human powered Threads, work by the task. you want to have 10,000 users visit your site and try to do something. put those tasks on mechanical turk (for $0.1 per task?) and any one can help you.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Identity and Access Management (IAM)&lt;/strong&gt;: Let’s you provision users within your AWS account and grant them access to different services and resources.&lt;/li&gt;
&lt;/ul&gt;

</content>
 </entry>
 
 <entry>
   <title>Do it yourself - SEO</title>
   
     <link href="http://chiragchamoli.com/posts/do-it-yourself-seo" />
   
   <updated>2012-01-14T00:00:00-08:00</updated>
   <id>http://chiragchamoli.com/posts/do-it-yourself-seo</id>
   <content type="html">&lt;p&gt;I am writing this post for multiple reasons.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Refresh my Search engine optimization( SEO) basics&lt;/li&gt;
&lt;li&gt;A lot of startups ask me&lt;/li&gt;
&lt;li&gt;Basic SEO is not something you must be paying for.&lt;/li&gt;
&lt;li&gt;SEO is important&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;So without wasting your time, let&amp;rsquo;s dive in.&lt;/p&gt;

&lt;h2&gt;What is SEO&lt;/h2&gt;

&lt;p&gt;You&amp;rsquo;ll see a lot of people talking about SEO as if it is some thing magical. Do a google search of  "Basic SEO" and bam you have 23,900,00. results (one more just got added :) ). Just remember SEO is dead simple and you can do most of it yourself.&lt;/p&gt;

&lt;p&gt;_Note: I&amp;rsquo;ll be refering to Google search alot but same is valid for all search engines bing, yahoo, &amp;hellip;. _&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;Search engine optimization is often about making small modifications to parts of your website. When viewed individually, these changes might seem like incremental improvements, but when combined with other optimizations, they could have a noticeable impact on your site&amp;rsquo;s user experience and performance in organic search results.
&amp;nbsp;&lt;/p&gt;&lt;/blockquote&gt;

&lt;h2&gt;SEO Best Practice&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Pick a domain name that matches your primary keyword.&lt;/li&gt;
&lt;li&gt;Make sure every page has a unique title and H1 tag that matches your primary keyword objectives for that page.&lt;/li&gt;
&lt;li&gt;Make sure the homepage links to most, if not all, other pages ( to start with).&lt;/li&gt;
&lt;li&gt;Make sure every page links back to the homepage and many other secondary pages using appropriate anchor text.&lt;/li&gt;
&lt;li&gt;Register on every social media site that makes sense for you. Include a link to the site in your profile. It helps if the username you choose is a primary keyword. for instance on this blog the primary author and the author name is same.&lt;/li&gt;
&lt;li&gt;Link the social media profiles to each other where applicable. Fill them out as fully as possible.&lt;/li&gt;
&lt;li&gt;Actually use the social networks. More activity will create more pages of content with more links to the profiles, in turn passing more  links to your website.&lt;/li&gt;
&lt;li&gt;Claim your site using Google Webmaster Tools. Submit your sitemap (preferably one that is automatically updated).&lt;/li&gt;
&lt;li&gt;Do a Google Search for every one of your top keywords. Figure out how to get a link from any site showing in the &lt;em&gt;top 2. results&lt;/em&gt;.&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Do not under any circumstance pay&lt;/em&gt; someone for a link. Do not offer or accept offers to trade links.&lt;/li&gt;
&lt;li&gt;Avoid linking out to shady/spammy websites of any kind.&lt;/li&gt;
&lt;li&gt;Study the keywords your competitors target (if they use meta-keywords like idiots, you can just lift those from the source).&lt;/li&gt;
&lt;li&gt;Write a blog, or find some other way to continually add new content. This adds to the content you have indexed, but is also another opportunity for links. Long term strategy right here.&lt;/li&gt;
&lt;li&gt;Build a Twitter client, wordpress theme, or something else that people will link to and use with persistent links to whatever you decide is in the by line.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://adwords.google.com/select/KeywordToolExternal"&gt;Research your keywords&lt;/a&gt;, make a list, especially paying attention to which ones are the most popular. The results may surprise you.&lt;/li&gt;
&lt;li&gt;Optimize your title tags (different on each page, mention your keywords, first 4 words of the title count the most)&lt;/li&gt;
&lt;li&gt;Put your keywords into high-value elements (h1-h4. img alt text, ul&amp;rsquo;s, dl&amp;rsquo;s)&lt;/li&gt;
&lt;li&gt;Get links from other websites (best case scenario: link&amp;rsquo;s anchor text is your keyword). Higher the PageRank of the linking site the better. NoFollow&amp;rsquo;s don&amp;rsquo;t count.&lt;/li&gt;
&lt;li&gt;Don&amp;rsquo;t use subdomains (i.e., put your blog at mydomain.com/blog/ instead of blog.mydomain.com) That will give you a good start. From there, start a blog with interesting content, and submit it around. The idea with the blog is that the posts are more interesting than your site&amp;rsquo;s copy, so people will actually link to it.&lt;/li&gt;
&lt;li&gt;Linking to &lt;a href="http://chiragchamoli.com"&gt;your own pages&lt;/a&gt; will always increase the value of the link.&lt;/li&gt;
&lt;li&gt;SEO is not just a ranking exercise, it&amp;rsquo;s a conversion exercise. On top of all of the factors that you need to consider for ranking, you should consider that the first ~6. characters of you&lt;/li&gt;
&lt;li&gt;&lt;a href="http://tools.pingdom.com/"&gt;Speed matters&lt;/a&gt;. Google is on &lt;a href="http://searchengineland.com/site-speed-googles-next-ranking-factor-29793"&gt;record about this&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Use &lt;a href="https://www.google.com/webmasters/tools/home?hl=en"&gt;Google Webmaster Tools&lt;/a&gt; to submit a sitemap. They&amp;rsquo;ll regularly pull it down from your server so as you add pages to your site, Google will know to index them. They&amp;rsquo;ll tell you how many pages you have submitted, and how many are indexed. Check if your site has crawl errors. Check out the HTML suggestions. Google will point out the pages which are missing title tags, which have duplicate tags, short descriptions. Lots of other information in there, including page load times.&lt;/li&gt;
&lt;li&gt;Pageank is logarithmic, a link from a higher pagerank site will have more of an effect than one from a lower pagerank site.&lt;/li&gt;
&lt;li&gt;Google often say that they use more than 20. ranking factors. External link text matters way more than anything else.&lt;/li&gt;
&lt;li&gt;Widget bait &amp;ndash; Allow simple embedding of your content/app, widgets are great strategies.&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Don&amp;rsquo;t pay any for any general SEO service&lt;/em&gt;.&lt;/li&gt;
&lt;li&gt;Beware of &lt;a href="http://en.wikipedia.org/wiki/Nofollow"&gt;nofollow links&lt;/a&gt;.  Nofollow links are links with a special attribute that tell search engines to ignore them.  To check a link, view the source of that page in your Web browser and look for rel=nofollow in it.  You don&amp;rsquo;t want to waste time getting links on sites that use this attribute.  The canonical examples are &lt;em&gt;popular blogs, twitter, facebook and Wikipedia&lt;/em&gt;.  Don&amp;rsquo;t waste your time submitting comments and &lt;em&gt;editing Wikipedia articles with your links&lt;/em&gt; because it won&amp;rsquo;t help you.&lt;/li&gt;
&lt;li&gt;Don&amp;rsquo;t ignore the long-tail content. People often concentrate on getting rankings for specific keywords. You can be just as successful building lots of pages with unique content that end up ranking high on the most random things. Often such pages will be the only things that come up.&lt;/li&gt;
&lt;li&gt;Less is more.  Ranking is distributed across your site, so less pages, less links on them, and less text on them will concentrate your ranking potential on what is left.&lt;/li&gt;
&lt;li&gt;FYI: The typical search query is composed of 2 to 5 words&lt;/li&gt;
&lt;li&gt;Navigation
  1 don’t use frames of any kind
  2 don’t make javascript menus, use CSS instead
  3 stick to very UL, LI simple nav&lt;/li&gt;
&lt;li&gt;Don&amp;rsquo;t use Flash: if you’re going to use it, make sure it is under a correctly formed web page. Use very very  very sparely.&lt;/li&gt;
&lt;li&gt;Robots.txt: this file, which should be findable under the root of your website, provides a search map to the bots about what you would like them to index. Find out more at &lt;a href="http://www.robotstxt.org/"&gt;Robotstxt.org&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Make a Facebook/G+ page for your business. Better still, make a Facebook application.&lt;/li&gt;
&lt;li&gt;Make interesting, non-gimmicky videos about your product, how to use it, and research about your areas of expertise. Youtube is best at SEO&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.google.com/webmasters/docs/search-engine-optimization-starter-guide.pdf"&gt;Read this&lt;/a&gt; if you have some time, we have covered most of it anyways.&lt;/li&gt;
&lt;/ul&gt;

</content>
 </entry>
 
 <entry>
   <title>Tale of Missing Verb</title>
   
     <link href="http://chiragchamoli.com/posts/tale-of-missing-verb" />
   
   <updated>2012-01-11T00:00:00-08:00</updated>
   <id>http://chiragchamoli.com/posts/tale-of-missing-verb</id>
   <content type="html">&lt;p&gt;We had just  finished pushing our beta of our &lt;a href="http://inquy.com/"&gt;consumer storage product&lt;/a&gt;. It has amazing UX (&lt;em&gt; Majority of people who have tried this application just love the UI&lt;/em&gt;) and it is additive as you can save your  all of your favorite blogs, videos, photos, music and files. Our 2. users are very happy :)&lt;/p&gt;

&lt;p&gt;Earlier we wanted to go the bootstraping way, but recently things have forced us to turn dark side, that is a story of other time (Read this &lt;a href="http://bestengagingcommunities.com/2012/01/03/how-to-decide-if-you-should-go-for-external-funding/"&gt;if you are struggling with the decision&lt;/a&gt;). Anyways, we are meeting a lot of smart people these days and one constant feedback we got from everyone was we didn&amp;rsquo;t have a good punch line, which can communicate, everything in less than five words. Hence we went back to the whiteboard and started working on solving this problem.&lt;/p&gt;

&lt;p&gt;For inquy storage, personal, access, consumption, ease of use, ubiquity are important. We did a lots of mindmapping and came up with following &lt;em&gt;punch line&lt;/em&gt; for our users.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&amp;ldquo;Your personal storage everywhere&amp;rdquo;&lt;/li&gt;
&lt;li&gt;&amp;ldquo;Forget everthing, save on inquy&amp;rdquo;&lt;/li&gt;
&lt;li&gt;&amp;ldquo;Save anything, read, write and share later.&amp;rdquo;&lt;/li&gt;
&lt;li&gt;&amp;ldquo;inquy makes it easier for you to collect, organize, find, and share information.&amp;rdquo;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;After few days of lot of back and forth, finally we decided to go with
&lt;strong&gt;save once. access everywhere&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This line which encompasses our whole product vision and easy for people to remember and reproduce. By the way if you have not already, you can  &lt;a href="http://inquy.com/auth/login"&gt; join the beta list&lt;/a&gt;.&lt;/div&gt;&lt;/p&gt;

&lt;p&gt;While working on punch line for  inquy  we looked at a lot of successful web based products for understanding,  what language and words are easy, remembered, invoke positive emotions. Here is part of the list we prepared.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Your code anywhere, anytime&lt;/li&gt;
&lt;li&gt;Pixlr.com edit image Picnik lets you edit all your photos online, from one easy place.&lt;/li&gt;
&lt;li&gt;Lovely Charts is an online diagramming application that allows you to create professional&lt;/li&gt;
&lt;li&gt;Numerics Calculator &amp;amp; Converter The easiest way to calculate!&lt;/li&gt;
&lt;li&gt;Fiabee Manage all of your dispersed files from any of your devices.&lt;/li&gt;
&lt;li&gt;280slides &amp;ndash; Provides the ability to create presentations, access them from anywhere, and share them with others&lt;/li&gt;
&lt;li&gt;Sliderocket &amp;ndash; Online Presentation Tools&lt;/li&gt;
&lt;li&gt;Evernote.com &amp;ndash; Remember Everthing&lt;/li&gt;
&lt;li&gt;Instapaper &amp;ndash; A simple tool to save web pages for reading later&lt;/li&gt;
&lt;li&gt;Zootool: collect, organize and share your favorite images, videos, documents and links from all over the web.&lt;/li&gt;
&lt;li&gt;Grooveshark &amp;ndash; Listen to any song online for free.&lt;/li&gt;
&lt;li&gt;The New York Times &amp;ndash; Breaking News, World News &amp;amp; Multimedia&lt;/li&gt;
&lt;li&gt;Piwik &amp;ndash; Piwik is a self hosted, open source (GPL licensed) real time web analytic software.&lt;/li&gt;
&lt;li&gt;LastPass &amp;ndash; The Last Password You&amp;rsquo;ll Have to Remember!&lt;/li&gt;
&lt;li&gt;Instacalc Online Calculator | Instant Results&lt;/li&gt;
&lt;li&gt;Netvibes &amp;ndash; Dashboard everything&lt;/li&gt;
&lt;li&gt;Prezi &amp;ndash; The Zooming Presentation Editor&lt;/li&gt;
&lt;li&gt;Wufoo &amp;ndash; making forms easy + fast + fun&lt;/li&gt;
&lt;li&gt;Evernote &amp;ndash; Remember Everything&lt;/li&gt;
&lt;li&gt;Mindmeister &amp;ndash; Mind Mapping. Brainstorming&lt;/li&gt;
&lt;li&gt;Balsamiq &amp;ndash; Rapid Wireframing Tool&lt;/li&gt;
&lt;li&gt;Put.io is a storage service that fetches media files and lets you stream them immediately&lt;/li&gt;
&lt;li&gt;TeuxDeux is a simple, designy to-do app&lt;/li&gt;
&lt;li&gt;Lessaccounting. &amp;ndash; All small business accounting software sucks, we just suck the least.&lt;/li&gt;
&lt;li&gt;Ping.fm is a makes updating your social networks a snap!&lt;/li&gt;
&lt;li&gt;TeamLab is a free open-source platform for business collaboration and project management. Create your own corporate portal in the cloud for free.&lt;/li&gt;
&lt;li&gt;Kickstarter &amp;ndash; Fund and Follow Creativity&lt;/li&gt;
&lt;li&gt;Dropbox &amp;ndash; Simplify your life&lt;/li&gt;
&lt;/ul&gt;

</content>
 </entry>
 
 <entry>
   <title>Pitching to Investors</title>
   
     <link href="http://chiragchamoli.com/posts/cheat-sheet-pitching-to-investors" />
   
   <updated>2012-01-01T00:00:00-08:00</updated>
   <id>http://chiragchamoli.com/posts/cheat-sheet-pitching-to-investors</id>
   <content type="html">&lt;p&gt;After searching a lot of forums and blogs, when I couldn&amp;rsquo;t find a simple cheat-sheet on pitching to investors, I decided to write my own. (after observing a lot of successful product pitches by founders of admob, reddit, mint, twitter&amp;hellip;many more.)&lt;/p&gt;

&lt;p&gt;Here are the key points overlapping in all the presentations. In my opinion this is everything you require for making the perfect pitch.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Intro slide &lt;strong&gt;most important slide&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Problems&lt;/li&gt;
&lt;li&gt;Market viability&lt;/li&gt;
&lt;li&gt;Solution&lt;/li&gt;
&lt;li&gt;Product&lt;/li&gt;
&lt;li&gt;Business model&lt;/li&gt;
&lt;li&gt;Customer acquisition&lt;/li&gt;
&lt;li&gt;Competition&lt;/li&gt;
&lt;li&gt;Competitive advantage&lt;/li&gt;
&lt;li&gt;Q&amp;amp;A / Conclusion&lt;/li&gt;
&lt;/ul&gt;

</content>
 </entry>
 
 <entry>
   <title>An Open Letter to Indian News Media</title>
   
     <link href="http://chiragchamoli.com/posts/an-open-letter-to-indian-news-media" />
   
   <updated>2011-07-25T00:00:00-07:00</updated>
   <id>http://chiragchamoli.com/posts/an-open-letter-to-indian-news-media</id>
   <content type="html">&lt;p&gt;Dear &lt;a href="http://en.wikipedia.org/wiki/Category:Indian_journalists"&gt;Indian Journalist&lt;/a&gt;, Media Reporters, Editors, &lt;a href="http://en.wikipedia.org/wiki/Category:Television_stations_in_India"&gt;Whom So Ever the Fuck it Concerned&lt;/a&gt;, I am writing today to issue a plea on behalf my fellow Indians. It&amp;rsquo;s, admittedly, a move out of extreme anxiety and initiate from the minds of people who can&amp;rsquo;t see the light now. We are a nation of diverse voices, opinions, religion, values, political beliefs, cultures I sure hope you know. In addition, we have many problems as people with fewer privileges, family to feed, petrol prices, interest rates, jobs, losing our friends in bomb blasts, fearing for our women, make ends meet, again a long list. The Mass Media is often referred to as the fourth branch of government because of the power you wield and the oversight function you exercise. The media&amp;rsquo;s key role in democratic governance has been recognized since the late 17th century, and remains a fundamental principle of   modern-day democratic theory and practice. 17th century, theorists had argued that exposure and openness provide the best protection against tyranny and the excesses of arbitrary rule. Thomas Jefferson, for all his bitterness against journalistic criticism celebrated the press, arguing that only through the exchange of information and opinion through the press would the truth emerge. Thus the famous Jeffersonian declaration:&lt;/p&gt;

&lt;p&gt;Were it left to me to decide whether we should have a government without newspapers or newspapers without government, I should not hesitate to prefer the latter. In a democratic country,like India,newspapers are the important means of forming public opinion.You comment on current events and criticize or appreciate the conduct of the Government. It is through them that the public comes to know the problems that face the country. Thus you educate the public mind and enable the people to have their own opinions on matters of public importance. Your role in society is simple one.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Give us facts&lt;/li&gt;
&lt;li&gt;Create and sustain revolutions, pleas&lt;/li&gt;
&lt;li&gt;Fight for what is right&lt;/li&gt;
&lt;li&gt;Guide us&lt;/li&gt;
&lt;li&gt;Amplify our problems/ voices so government can hear us&lt;/li&gt;
&lt;li&gt;Eventually you should be &amp;ldquo;Junta ki Awaza&amp;rdquo;&lt;/li&gt;
&lt;li&gt;And become change agent I hope we are clear yet. However, very sadly you are not doing anything at all.&lt;/li&gt;
&lt;/ul&gt;

</content>
 </entry>
 
 <entry>
   <title>Was Buddha a lazy sales guy?</title>
   
     <link href="http://chiragchamoli.com/posts/was-buddha-lazy-sales-guy" />
   
   <updated>2011-07-19T00:00:00-07:00</updated>
   <id>http://chiragchamoli.com/posts/was-buddha-lazy-sales-guy</id>
   <content type="html">&lt;p&gt;We  meet a lot of good sales people whom we believe even though we know they are selling something. Sometimes we like them, they make us feel better and  connect with us through familiar stories. Then a thought struck me today morning that all or may be  most of the religious superheros like Buddha, Guru Nanak, etc from other religions too were just good sales people of their time, who were lazy. So instead of working in a farm or breeding cattle they gathered people and gave them gyan, and then we didn&amp;rsquo;t have TV or internet and people were looking for some sort of entertainment &amp;ndash; this was good enough for them. Once the people started listening to them everyday probably they evolved the sales pitch.&lt;/p&gt;

&lt;p&gt;So while people were inventing and building these guys were selling them spirituality and common sense :)&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;Just a thought, don&amp;rsquo;t mean to offend any religious sentiments.&lt;/p&gt;&lt;/blockquote&gt;
</content>
 </entry>
 

</feed>
