<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Dare to Dream? &#187; Just for archive</title>
	<atom:link href="http://www.makuchaku.in/blog/category/just-for-archive/feed" rel="self" type="application/rss+xml" />
	<link>http://www.makuchaku.in/blog</link>
	<description>Good judgment comes from experience; Experience comes from bad judgment.</description>
	<lastBuildDate>Sun, 02 Oct 2011 19:29:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>How to setup a remote GIT repository and play with branching</title>
		<link>http://www.makuchaku.in/blog/how-to-setup-a-remote-git-repository-and-play-with-branching</link>
		<comments>http://www.makuchaku.in/blog/how-to-setup-a-remote-git-repository-and-play-with-branching#comments</comments>
		<pubDate>Thu, 03 Sep 2009 15:38:23 +0000</pubDate>
		<dc:creator>Mayank Jain (makuchaku)</dc:creator>
				<category><![CDATA[How-To]]></category>
		<category><![CDATA[Just for archive]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[peepcode]]></category>
		<category><![CDATA[scm]]></category>

		<guid isPermaLink="false">http://www.makuchaku.in/blog/?p=739</guid>
		<description><![CDATA[Given, you are a new GIT user/admin and want to setup an SVN like client-server architecture for your git repositories, wherein a server hosts the repository and many developers use that repository to track source code. Do checkout Peepcode&#8217;s screencast on using Git. It is a MUST watch for any new Git user/admin. ORIGIN (we [...]


No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[ 
<span class = "" style = "height: 40px;  "><iframe src="http://www.facebook.com/plugins/like.php?href=http://www.makuchaku.in/blog/how-to-setup-a-remote-git-repository-and-play-with-branching&layout=button_count&send=false&show_faces=false&width=100&action=like&colorscheme=light&font=" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100px; height:40px"></iframe></span><p>Given, you are a new GIT user/admin and want to setup an SVN like client-server architecture for your git repositories, wherein a server hosts the repository and many developers use that repository to track source code.</p>
<p>Do checkout <a href="http://peepcode.com/products/git" target="_blank">Peepcode&#8217;s screencast on using Git</a>. It is a MUST watch for any new Git user/admin.</p>
<blockquote><p>
ORIGIN<br />
(we cannot create a &#8211;bare repo as redmine needs a .git directory, while &#8211;bare does not creates a .git dir)<br />
git init<br />
git add .<br />
git commit -m &#8220;initial import&#8221;</p>
<p>LOCALHOST<br />
git clone user@origin_server.com:/path/to/git/repo<br />
git remote show origin    # Confirm that master is tracking master<br />
git commit -a -m &#8220;some changes&#8221;<br />
git push        # push to origin, content from local master as master is tracking master</p>
<p>## Creating a new branch on the clone<br />
git branch experiment<br />
git commit -av &#8220;changes i made&#8221;<br />
git push origin experiment    # To be done only once after creating a branch. Next time onwards, just &#8220;git pull/push&#8221;.<br />
git remote show origin        # confirm that master is tracking master, experiment on local is tracking experiment on origin</p>
<p>## Using someone&#8217;s branch from origin<br />
git branch -a<br />
-&gt; *master<br />
-&gt;  origin/master<br />
-&gt;  origin/new_experiment<br />
git branch &#8211;track new_experiment origin/new_experiment        # Creates a new tracker with new_experiment of local is tracking new_experiment on origin<br />
git branch -a<br />
-&gt; *master<br />
-&gt;  new_experiment<br />
-&gt;  origin/master<br />
-&gt;  origin/new_experiment<br />
git checkout -b new_experiment<br />
git commit -av &#8220;my changes to new_experiment&#8221;<br />
git push   # Commits changes to new_experiment branch</p></blockquote>
<p>Once you are through with creating initial repos, and your branches on local are tracking the respective branches on remote, pushing/pulling is just a matter of doing &#8220;git push&#8221; and &#8220;git pull&#8221;.</p>
<p>I am simply loving it&#8230; err&#8230; git <img src='http://www.makuchaku.in/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
 
<span class = "" style = "height: 40px;  "><iframe src="http://www.facebook.com/plugins/like.php?href=http://www.makuchaku.in/blog/how-to-setup-a-remote-git-repository-and-play-with-branching&layout=button_count&send=false&show_faces=false&width=100&action=like&colorscheme=light&font=" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100px; height:40px"></iframe></span>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.makuchaku.in/blog/how-to-setup-a-remote-git-repository-and-play-with-branching/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to create subdomains for domains bought via Google Apps (Enom)</title>
		<link>http://www.makuchaku.in/blog/how-to-create-subdomains-for-domains-bought-via-google-apps-enom</link>
		<comments>http://www.makuchaku.in/blog/how-to-create-subdomains-for-domains-bought-via-google-apps-enom#comments</comments>
		<pubDate>Fri, 28 Aug 2009 22:42:28 +0000</pubDate>
		<dc:creator>Mayank Jain (makuchaku)</dc:creator>
				<category><![CDATA[Domains and Hosting]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[Just for archive]]></category>

		<guid isPermaLink="false">http://www.makuchaku.in/blog/?p=733</guid>
		<description><![CDATA[This was supposed to be the easiest thing (as in CPanel &#8211; goto Subdomains, click create a new subdomain, specify a directory and you&#8217;r done!)&#8230; but allas! It took me a full day to figure this out I&#8217;m sad&#8230; Anyways&#8230; as Enom&#8217;s Domain control panel is, there is no way of doing this. All you [...]


No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[ 
<span class = "" style = "height: 40px;  "><iframe src="http://www.facebook.com/plugins/like.php?href=http://www.makuchaku.in/blog/how-to-create-subdomains-for-domains-bought-via-google-apps-enom&layout=button_count&send=false&show_faces=false&width=100&action=like&colorscheme=light&font=" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100px; height:40px"></iframe></span><p>This was supposed to be the easiest thing (as in CPanel &#8211; goto Subdomains, click create a new subdomain, specify a directory and you&#8217;r done!)&#8230; but allas! It took me a full day to figure this out <img src='http://www.makuchaku.in/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /><br />
I&#8217;m sad&#8230;</p>
<p>Anyways&#8230; as Enom&#8217;s Domain control panel is, there is no way of doing this. All you can do, is create A/CNAME/Redirection/TXT records. Ofcourse, they are not providing the hosting&#8230; so them knowing about the directory structure is perfectly &#8211; a valid problem.</p>
<p>After conversing with Enom&#8217;s helpful support staff (in near realtime), I was able to solve the problem&#8230;</p>
<p><strong><span style="text-decoration: underline;">Problem</span></strong><br />
But then, how do you create a subdomain on a domain which is bought via Google Apps and who&#8217;s DNS is managed by Enom?<br />
<span style="background-color: #ffffff;"><strong></strong></span></p>
<p><span style="background-color: #ffffff;"><strong><span style="text-decoration: underline;">Assumptions</span></strong></span></p>
<ul>
<li><span style="background-color: #ffffff;">You want to create a subdomain test.example.com</span></li>
<li><span style="background-color: #ffffff;">You have a r00t access</span></li>
<li><span style="background-color: #ffffff;">You are using Ubuntu with Apache2</span></li>
<li><span style="background-color: #ffffff;">Your example.com resolves to 1.2.3.4</span></li>
</ul>
<p><strong><span style="text-decoration: underline;">Solution<br />
</span></strong> At Enom control panel &#8211; add an &#8220;A&#8221; record with the value of 1.2.3.4 (address field) and &#8220;test&#8221; as hostname field (without the &#8220;&#8221;) and save.</p>
<p>At your hosting server end&#8230;<br />
Apache2 needs to be told to create a VirtualHost for your subdomain<br />
Your /etc/apache2/sites-available/example-com file (example-com is just a random name, replace it with your virtual hosts file name) should look like</p>
<blockquote><p>NameVirtualHost *:80</p>
<p>&lt;VirtualHost *:80&gt;<br />
ServerName example.com<br />
DocumentRoot /my/document/root<br />
&lt;/VirtualHost&gt;</p>
<p>&lt;VirtualHost *:80&gt;<br />
ServerName test.example.com<br />
DocumentRoot /my/document/root/test<br />
&lt;/VirtualHost&gt;</p></blockquote>
<p>Restart apache2 and you&#8217;r done!<br />
Wait for a few minutes for the changes to propogate&#8230; and try hitting http://test.example.com in your browser.</p>
<p>Good Luck!</p>
 
<span class = "" style = "height: 40px;  "><iframe src="http://www.facebook.com/plugins/like.php?href=http://www.makuchaku.in/blog/how-to-create-subdomains-for-domains-bought-via-google-apps-enom&layout=button_count&send=false&show_faces=false&width=100&action=like&colorscheme=light&font=" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100px; height:40px"></iframe></span>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.makuchaku.in/blog/how-to-create-subdomains-for-domains-bought-via-google-apps-enom/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Super easy SUB-URI hosting with mod_rails</title>
		<link>http://www.makuchaku.in/blog/super-easy-sub-uri-hosting-with-mod_rails</link>
		<comments>http://www.makuchaku.in/blog/super-easy-sub-uri-hosting-with-mod_rails#comments</comments>
		<pubDate>Thu, 27 Aug 2009 20:54:40 +0000</pubDate>
		<dc:creator>Mayank Jain (makuchaku)</dc:creator>
				<category><![CDATA[A strong urge to blog...]]></category>
		<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[Just for archive]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[amazon]]></category>
		<category><![CDATA[AMI]]></category>
		<category><![CDATA[ec2]]></category>
		<category><![CDATA[mod_rails]]></category>

		<guid isPermaLink="false">http://www.makuchaku.in/blog/?p=729</guid>
		<description><![CDATA[With an Amazon EC2 instance up, next very obvious task was to get the hosting up. Objective was to host static content along with multiple Rails apps on the same EC2 instance. Purists might not agree to this, but getting up and running was the first target. Apache is configured with DocumentRoot as /mnt/app/shared My [...]


No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[ 
<span class = "" style = "height: 40px;  "><iframe src="http://www.facebook.com/plugins/like.php?href=http://www.makuchaku.in/blog/super-easy-sub-uri-hosting-with-mod_rails&layout=button_count&send=false&show_faces=false&width=100&action=like&colorscheme=light&font=" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100px; height:40px"></iframe></span><p>With an Amazon EC2 instance up, next very obvious task was to get the hosting up. Objective was to host static content along with multiple Rails apps on the same EC2 instance. Purists might not agree to this, but getting up and running was the first target.</p>
<p>Apache is configured with DocumentRoot as /mnt/app/shared</p>
<p>My Rails apps live inside /mnt/app/releases/&lt;app_name&gt;/&lt;app_dir_structure&gt;</p>
<p>&lt;app_name_1&gt; should be exposed as http://blah-blah.com/dev</p>
<p>/etc/apache2/sites-available/ looks like</p>
<blockquote>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 14px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&lt;VirtualHost *:80&gt;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 14px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">DocumentRoot /mnt/app/shared</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 14px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">RailsBaseURI /dev</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 14px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&lt;/VirtualHost&gt;</div>
<blockquote><p>&lt;VirtualHost *:80&gt;</p></blockquote>
<blockquote><p>DocumentRoot /mnt/app/shared</p></blockquote>
<blockquote><p>RailsBaseURI /dev</p></blockquote>
<blockquote><p>&lt;/VirtualHost&gt;</p></blockquote>
</blockquote>
<p><span style="background-color: #ffffff;">(This is important)<br />
Inside the /mnt/app/shared directory, my /dev symlink now points to <span style="background-color: #ffffff;">/mnt/app/releases/&lt;app_name_1&gt;/public</span></span></p>
<p><span style="background-color: #ffffff;"><span style="background-color: #ffffff;">And inside my &lt;app_name_1&gt;/config/environment.rb, just before the Initializer block ends, add</span></span></p>
<p><span style="background-color: #ffffff;"><span style="background-color: #ffffff;"><span style="color: #333333; font-family: 'Helvetica Neue', helvetica, arial, sans-serif; line-height: 20px;"> </span></span></span></p>
<pre style="margin-top: 0.1em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; overflow-x: auto; overflow-y: auto; font-family: courier, monospace; padding: 0px;">config.action_controller.relative_url_root = "/dev"</pre>
<p><span style="background-color: #ffffff;">And you&#8217;r done! Touch the &lt;app_name_1&gt;/tmp/restart.txt file and reload your app in the browser! It should be running!</span></p>
<p><span style="background-color: #ffffff;">Some excellent material to read before attempting this&#8230;</span></p>
<ul>
<li><span style="background-color: #ffffff;"><a href="http://www.modrails.com/documentation/Users%20guide%20Apache.html#deploying_rails_to_sub_uri" target="_blank">mod_rails documentation for Sub-URI deployments</a></span></li>
<li><span style="background-color: #ffffff;"><a href="http://collab.stat.ucla.edu/users/jose/weblog/9e335/A_Complete_Guide_to_Passenger_Sub_URI_Configuration.html" target="_blank">Jose&#8217;s blog on Sub-URI deployments</a></span></li>
</ul>
<p>Oh yeah, the AMI being used is <a href="http://www.webficient.com/2009/05/03/help-test-our-new-amazon-ec2-images" target="_blank">Webficient&#8217;s Ubuntu 8.04 image</a>, with Rails 2.3.2, passenger, etc etc.</p>
<p>Next target &#8211; move over the configuration to <a href="http://reductivelabs.com/trac/puppet/wiki/PuppetIntroduction" target="_blank">Puppet</a>!</p>
<p><span style="background-color: #ffffff;">Good Luck <img src='http://www.makuchaku.in/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </span></p>
 
<span class = "" style = "height: 40px;  "><iframe src="http://www.facebook.com/plugins/like.php?href=http://www.makuchaku.in/blog/super-easy-sub-uri-hosting-with-mod_rails&layout=button_count&send=false&show_faces=false&width=100&action=like&colorscheme=light&font=" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100px; height:40px"></iframe></span>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.makuchaku.in/blog/super-easy-sub-uri-hosting-with-mod_rails/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Understanding the XMMS equalizer</title>
		<link>http://www.makuchaku.in/blog/understanding-the-xmms-equalizer</link>
		<comments>http://www.makuchaku.in/blog/understanding-the-xmms-equalizer#comments</comments>
		<pubDate>Fri, 06 Jul 2007 20:00:21 +0000</pubDate>
		<dc:creator>Mayank Jain (makuchaku)</dc:creator>
				<category><![CDATA[Just for archive]]></category>
		<category><![CDATA[Music]]></category>

		<guid isPermaLink="false">http://www.makuchaku.in/blog/understanding-the-xmms-equalizer</guid>
		<description><![CDATA[For people like me, who have almost no technical knowledge of what elements compose a sound stream &#8211; specially today&#8217;s music, managing the equalizer to get just the right music is bit too much experimenting. All I want is my music to sound just right! Admist all the preparation I&#8217;m doing for tomorrow, I managed [...]


No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[ 
<span class = "" style = "height: 40px;  "><iframe src="http://www.facebook.com/plugins/like.php?href=http://www.makuchaku.in/blog/understanding-the-xmms-equalizer&layout=button_count&send=false&show_faces=false&width=100&action=like&colorscheme=light&font=" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100px; height:40px"></iframe></span><p>For people like me, who have almost no technical knowledge of what elements compose a sound stream &#8211; specially today&#8217;s music, managing the equalizer to get just the right music is bit too much experimenting. All I want is my music to sound just right!</p>
<p>Admist all the preparation I&#8217;m doing for tomorrow, I managed to get hold of <a href="http://nxripper.blogspot.com/" target="_blank">Tyronne</a> (my new roomy, the earlier Sinhalese language maintainer at Red Hat, now working with the JBoss team) and asked him to explain me the equalizer settings &amp; what frequency means what &amp; how to best utilize it.</p>
<p>ATM, i&#8217;m listening to Salim Shahzada&#8217;a Aaja Nachle &amp; the setting I did a few songs back is still rocking my ears! I&#8217;ve tried configuring xmms&#8217;s equalizer for pleasant vocals &amp; the following setting is seemingly good for what I wanted <img src='http://www.makuchaku.in/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p><img src="http://farm2.static.flickr.com/1143/741473028_a1a2fe5e68_o.png" border="0" height="232" width="550" /></p>
<p>Following will help you to decide the best setting for you (what follows is not technical info but what I understood from what Tyronne told me &#8211; but the above setting is nice for lyrics heavy songs)</p>
<ul>
<li>60 &#8211; Heavy Base</li>
<li>170 &#8211; Base</li>
<li>310 &#8211; Muddy Base</li>
<li>1K and 3K &#8211;  Vocals</li>
<li>6K and 12K &#8211; Distortion</li>
<li>14K and 16K &#8211; Sharp highes</li>
</ul>
<p>The above equalizer setting is sounding soo good that I&#8217;ve saved it as the default preset <img src='http://www.makuchaku.in/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
 
<span class = "" style = "height: 40px;  "><iframe src="http://www.facebook.com/plugins/like.php?href=http://www.makuchaku.in/blog/understanding-the-xmms-equalizer&layout=button_count&send=false&show_faces=false&width=100&action=like&colorscheme=light&font=" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100px; height:40px"></iframe></span>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.makuchaku.in/blog/understanding-the-xmms-equalizer/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Decorators in Python</title>
		<link>http://www.makuchaku.in/blog/decorators-in-python</link>
		<comments>http://www.makuchaku.in/blog/decorators-in-python#comments</comments>
		<pubDate>Sun, 01 Jul 2007 21:40:16 +0000</pubDate>
		<dc:creator>Mayank Jain (makuchaku)</dc:creator>
				<category><![CDATA[Just for archive]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://www.makuchaku.in/blog/decorators-in-python</guid>
		<description><![CDATA[Just a quickie &#8211; for my archive &#8211; Decorators in Python No related posts. Related posts brought to you by Yet Another Related Posts Plugin.


No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[ 
<span class = "" style = "height: 40px;  "><iframe src="http://www.facebook.com/plugins/like.php?href=http://www.makuchaku.in/blog/decorators-in-python&layout=button_count&send=false&show_faces=false&width=100&action=like&colorscheme=light&font=" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100px; height:40px"></iframe></span><p>Just a quickie &#8211; for my archive &#8211; <a href="http://technofreakatchennai.wordpress.com/2007/03/08/decorators-in-python/" target="_blank">Decorators in Python</a></p>
 
<span class = "" style = "height: 40px;  "><iframe src="http://www.facebook.com/plugins/like.php?href=http://www.makuchaku.in/blog/decorators-in-python&layout=button_count&send=false&show_faces=false&width=100&action=like&colorscheme=light&font=" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100px; height:40px"></iframe></span>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.makuchaku.in/blog/decorators-in-python/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

