<?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>Aahan Krish&#039;s Blog</title>
	<atom:link href="http://aahank.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://aahank.com</link>
	<description>Code &#38; Misc. Notes</description>
	<lastBuildDate>Fri, 24 May 2013 04:52:35 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Set up SPF record for Mad Mimi</title>
		<link>http://aahank.com/2013/mad-mimi-custom-domain-spf/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=mad-mimi-custom-domain-spf</link>
		<comments>http://aahank.com/2013/mad-mimi-custom-domain-spf/#comments</comments>
		<pubDate>Wed, 24 Apr 2013 03:31:38 +0000</pubDate>
		<dc:creator>Aahan Krish</dc:creator>
				<category><![CDATA[Notes]]></category>
		<category><![CDATA[Email]]></category>

		<guid isPermaLink="false">http://aahank.com/?p=108</guid>
		<description><![CDATA[<p>Mad Mimi handles all email validation (SPF, DKIM, Sender-ID) for you, without you having to make any changes on your end. For the paranoid, Mad Mimi allows for setting up an SPF (TXT) record like so: "v=spf1 include:auth.madmimi.com ~all" A genuine case would be where your domain already has an SPF record in place for [...]</p><p><strong><em>Continue reading "<a href="http://aahank.com/2013/mad-mimi-custom-domain-spf/">Set up SPF record for Mad Mimi</a>" on <a href="http://aahank.com">Aahan Krish&#039;s Blog</a>.</em></strong></p>]]></description>
				<content:encoded><![CDATA[<p>Mad Mimi <a href="http://help.madmimi.com/spf-dkim-and-how-mimi-makes-life-easy/">handles all email validation</a> (SPF, DKIM, Sender-ID) for you, without you having to make any changes on your end.</p>
<p>For the paranoid, Mad Mimi allows for setting up an SPF (TXT) record like so:</p>
<pre><code>"v=spf1 include:auth.madmimi.com ~all"
</code></pre>
<p>A genuine case would be where your domain already has an SPF record in place for some other email service provider (e.g. self-hosted email, Google Apps). In this case, I believe, it'd be better to include Mad Mimi's domain in the SPF record.</p>
<p>So, when I asked them how, this is what they told me to do:</p>
<pre><code>"v=spf1 include:auth.madmimi.com include:_spf.google.com ~all"
</code></pre>
<p>Let me remind you, Mad Mimi folks always tell, "you don't need SPF or DKIM from us". So, it's your call.</p>
<p><strong><em>Continue reading "<a href="http://aahank.com/2013/mad-mimi-custom-domain-spf/">Set up SPF record for Mad Mimi</a>" on <a href="http://aahank.com">Aahan Krish&#039;s Blog</a>.</em></strong></p>]]></content:encoded>
			<wfw:commentRss>http://aahank.com/2013/mad-mimi-custom-domain-spf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linking to a product on Amazon.com (the right way)</title>
		<link>http://aahank.com/2013/amazon-product-url/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=amazon-product-url</link>
		<comments>http://aahank.com/2013/amazon-product-url/#comments</comments>
		<pubDate>Wed, 10 Apr 2013 18:43:26 +0000</pubDate>
		<dc:creator>Aahan Krish</dc:creator>
				<category><![CDATA[Notes]]></category>

		<guid isPermaLink="false">http://aahank.com/?p=90</guid>
		<description><![CDATA[<p>There's not just one URL to link to a specific product on Amazon.com. There are many; as many as seven. As you'll see below, all the links point to one and the same product: 1. www.amazon.com/Ubuntu-Unleashed-2013-Covering-12-10/dp/0672336243/ 2. www.amazon.com/dp/0672336243/ 3. amzn.com/0672336243/ 4. www.amazon.com/gp/product/0672336243/ 5. amzn.to/14N3BFC/ 6. www.amazon.com/exec/obidos/ISBN/0672336243/ 7. www.amazon.com/exec/obidos/ASIN/0672336243/ So, which should you use? While can't [...]</p><p><strong><em>Continue reading "<a href="http://aahank.com/2013/amazon-product-url/">Linking to a product on Amazon.com (the right way)</a>" on <a href="http://aahank.com">Aahan Krish&#039;s Blog</a>.</em></strong></p>]]></description>
				<content:encoded><![CDATA[<p>There's not just one URL to link to a specific product on Amazon.com. There are many; as many as seven. As you'll see below, all the links point to one and the same product:</p>
<pre><code>1.  www.amazon.com/Ubuntu-Unleashed-2013-Covering-12-10/dp/0672336243/
2.  www.amazon.com/dp/0672336243/
3.  amzn.com/0672336243/
4.  www.amazon.com/gp/product/0672336243/
5.  amzn.to/14N3BFC/
6.  www.amazon.com/exec/obidos/ISBN/0672336243/
7.  www.amazon.com/exec/obidos/ASIN/0672336243/
</code></pre>
<p>So, which should you use? While can't go wrong with any of them (as Amazon will most likely, make sure that the URLs stay intact with at least some form of redirection) it's better to stick with a reliable link that's least likely to be changed. Right? Read on...</p>
<p><em>(<strong>NOTE:</strong> Everything you are going to read below is my opinion backed by some logic, or just that, an opinion.)</em></p>
<p><strong>1.</strong> It's the canonical link to a specific product on Amazon.com, and fortunately, it's the default link that Amazon shows you. Unless you know what you are doing, you should be using this URL to link to products on Amazon.</p>
<p>But the product slug name you see in the URL (i.e. <em>Ubuntu-Unleashed-2013-Covering-12-10</em>) is the least of your concerns. Actually, replace it with some text, and you'll still be taken to the same product page. For example, try this:</p>
<pre><code>www.amazon.com/sdfsdff/dp/0672336243/
</code></pre>
<p><strong>2.</strong> Clearly, the product slug name in the URL is negligible, which hints us at:</p>
<pre><code>www.amazon.com/dp/0672336243/
</code></pre>
<p>This the URL I <em>recommend</em> using, as it's canonical, short and precise.</p>
<p><strong>3.</strong> That's a shortlink provided my Amazon:</p>
<p><img src="http://aahank.com/wp-content/uploads/2013/04/Amazon-Public-Shortlink.gif" alt="Amazon Public Shortlink" title="Amazon Public Shortlink" /></p>
<p><strong>4.</strong> and <strong>5.</strong> refer to the product link and shortlink provided to Amazon Associates (Affiliates).</p>
<p><strong>6.</strong> and <strong>7.</strong> I am not sure where Amazon references to these links. I just know that they work.</p>
<p>All links have the ID of the product, which is either the product's Amazon Standard Identification Number (ASIN) or International Standard Book Number (ISBN) identifier, and therefore can be deemed reliable, all alike.</p>
<p>But... like I said earlier, since it's both canonical and short, I always use this URL structure:</p>
<pre><code>www.amazon.com/dp/[ASIN_ID]/
www.amazon.com/dp/[ISBN_ID]/
</code></pre>
<p><strong>Sources:</strong></p>
<ul>
<li><a href="http://designpx.com/business/short-amazon-affiliate-links/">Creating Short Amazon Affiliate Links (AMZN.COM)</a></li>
<li><a href="http://www.blackhatworld.com/blackhat-seo/other-affiliate-programs/433264-amazon-affiliate-link-structure.html">Amazon Affiliate Link Structure</a></li>
</ul>
<p><strong><em>Continue reading "<a href="http://aahank.com/2013/amazon-product-url/">Linking to a product on Amazon.com (the right way)</a>" on <a href="http://aahank.com">Aahan Krish&#039;s Blog</a>.</em></strong></p>]]></content:encoded>
			<wfw:commentRss>http://aahank.com/2013/amazon-product-url/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Short &amp; complex vs. Long passwords: Long passwords win every time</title>
		<link>http://aahank.com/2013/longer-passwords-vs-short-complex-passwords/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=longer-passwords-vs-short-complex-passwords</link>
		<comments>http://aahank.com/2013/longer-passwords-vs-short-complex-passwords/#comments</comments>
		<pubDate>Wed, 10 Apr 2013 13:50:06 +0000</pubDate>
		<dc:creator>Aahan Krish</dc:creator>
				<category><![CDATA[Good Reads]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://aahank.com/?p=88</guid>
		<description><![CDATA[<p>One so-obvious fact yet applied very little in practice &#8212; in a battle of survival between well-thought, long passwords vs complex, short passwords, longer passwords win every time. The Ubuntu Unleashed 2013 Edition, which I am reading as of the time of writing this post, has a good reminder: When setting a password, the common [...]</p><p><strong><em>Continue reading "<a href="http://aahank.com/2013/longer-passwords-vs-short-complex-passwords/">Short &#038; complex vs. Long passwords: Long passwords win every time</a>" on <a href="http://aahank.com">Aahan Krish&#039;s Blog</a>.</em></strong></p>]]></description>
				<content:encoded><![CDATA[<p>One so-obvious fact yet applied very little in practice &mdash; in a battle of survival between well-thought, long passwords vs complex, short passwords, longer passwords win every time.</p>
<p>The <a href="http://www.amazon.com/dp/0672336243/?tag=aahank-20">Ubuntu Unleashed 2013 Edition</a>, which I am reading as of the time of writing this post, has a good reminder:</p>
<blockquote>
<p>When setting a password, the common advice is to make sure that it has a mixture of letters and numbers to make it more secure. For instance, a good example of a historically recommended style of password is <em>T1a5c0p</em>. Although this might seem like garbage at first glance, the easy way to remember it is by remembering the phrase <em>This Is A Good Choice Of Password</em>, shortened to <em>Tiagcop</em>, and finally substituting some of the letters with similar-looking numbers.</p>
<p>There are some reasons why <strong>this might not be the best recommendation anymore</strong> because computer systems are much faster than they used to be. It is a true statement that the longer a password is, the harder it is to break. For this reason, the newest recommendation is to use a passphrase consisting of at least four words, perhaps something like <em>green monkeys chortle often</em>. There is no doubt that a password the length of four common words combined together would be harder to break than the <em>T1a5c0p</em> example. From that perspective, it seems like a no-brainer. On the other hand, a longer password that does not use any words found in a dictionary would be even better [...]</p>
<p>&mdash; <strong>Chapter - 1: Step-by-Step Installation: A Quick Aside on Passwords</strong></p>
</blockquote>
<p>Kinda makes sense, doesn't it?</p>
<p><strong><em>Continue reading "<a href="http://aahank.com/2013/longer-passwords-vs-short-complex-passwords/">Short &#038; complex vs. Long passwords: Long passwords win every time</a>" on <a href="http://aahank.com">Aahan Krish&#039;s Blog</a>.</em></strong></p>]]></content:encoded>
			<wfw:commentRss>http://aahank.com/2013/longer-passwords-vs-short-complex-passwords/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Characters that have a special meaning in Markdown formatting syntax</title>
		<link>http://aahank.com/2013/markdown-special-characters/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=markdown-special-characters</link>
		<comments>http://aahank.com/2013/markdown-special-characters/#comments</comments>
		<pubDate>Mon, 08 Apr 2013 17:09:09 +0000</pubDate>
		<dc:creator>Aahan Krish</dc:creator>
				<category><![CDATA[Notes]]></category>
		<category><![CDATA[Markup]]></category>

		<guid isPermaLink="false">http://aahank.com/?p=85</guid>
		<description><![CDATA[<p>Characters that are a part of Markdown's formatting syntax should be escaped using a \ (backslash) to generate literal characters which otherwise are used in formatting text. And they are... \ backslash ` backtick * asterisk _ underscore {} curly braces [] square brackets () parentheses # hash mark + plus sign - minus sign [...]</p><p><strong><em>Continue reading "<a href="http://aahank.com/2013/markdown-special-characters/">Characters that have a special meaning in Markdown formatting syntax</a>" on <a href="http://aahank.com">Aahan Krish&#039;s Blog</a>.</em></strong></p>]]></description>
				<content:encoded><![CDATA[<p>Characters that are a part of Markdown's formatting syntax should be escaped using a <code>\</code> (backslash) to generate literal characters which otherwise are used in formatting text.</p>
<p>And they are...</p>
<pre><code>\   backslash
`   backtick
*   asterisk
_   underscore
{}  curly braces
[]  square brackets
()  parentheses
#   hash mark
+   plus sign
-   minus sign (hyphen)
.   dot
!   exclamation mark
</code></pre>
<p>So, (note to self) keep that in mind the next time you write something in Markdown.</p>
<p><strong>PS:</strong> Here's the complete <a href="http://daringfireball.net/projects/markdown/syntax.text">Markdown syntax documentation</a> in Markdown, which you could use as a style guide.</p>
<p><strong><em>Continue reading "<a href="http://aahank.com/2013/markdown-special-characters/">Characters that have a special meaning in Markdown formatting syntax</a>" on <a href="http://aahank.com">Aahan Krish&#039;s Blog</a>.</em></strong></p>]]></content:encoded>
			<wfw:commentRss>http://aahank.com/2013/markdown-special-characters/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Safari Books Online &#8212; A staggering digital library of Technology books</title>
		<link>http://aahank.com/2013/subscribed-to-safari-books-online/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=subscribed-to-safari-books-online</link>
		<comments>http://aahank.com/2013/subscribed-to-safari-books-online/#comments</comments>
		<pubDate>Mon, 08 Apr 2013 15:53:18 +0000</pubDate>
		<dc:creator>Aahan Krish</dc:creator>
				<category><![CDATA[Good Reads]]></category>
		<category><![CDATA[Timeline]]></category>

		<guid isPermaLink="false">http://aahank.com/?p=84</guid>
		<description><![CDATA[<p>Safari Books Online, in my humble opinion, is the best thing to have ever happened to beginners striving to improve their tech skills (be it Computers, Programming, Graphic Design, SysAdmin, or Photography), by making a vast library of Technology books accessible to everyone, no matter where-from, with very affordable subscriptions. It's no less loved by [...]</p><p><strong><em>Continue reading "<a href="http://aahank.com/2013/subscribed-to-safari-books-online/">Safari Books Online &mdash; A staggering digital library of Technology books</a>" on <a href="http://aahank.com">Aahan Krish&#039;s Blog</a>.</em></strong></p>]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.safaribooksonline.com/">Safari Books Online</a>, in my humble opinion, is the best thing to have ever happened to beginners striving to improve their tech skills (be it Computers, Programming, Graphic Design, SysAdmin, or Photography), by making a vast library of Technology books accessible to everyone, no matter where-from, with very affordable subscriptions.</p>
<p>It's no less loved by professionals who want to keep themselves on the cutting edge.</p>
<p><a href="http://www.inc.com/magazine/20100501/the-oracle-of-silicon-valley_pagen_4.html">Started as a 50-50 joint venture</a> between biggie publishers O'Reilly and Pearson, Safari Books Online is now a staggering library of Technology &amp; Business-related books, including those by other leading publishers such as Addison-Wesley, Prentice Hall, Peachpit, John Wiley &amp; Sons, Microsoft Press, Adobe Press, Cisco Press, Manning Publications, Packt, SAS Publishing, IBM Press, FT Press and Focal Press.</p>
<p>So, why exactly am I talking about it? 'cause I loved it!</p>
<p>I expect Safari Books Online and <a href="http://www.lynda.com/">Lynda.com</a> to play a very important role in <a href="http://aahank.com/2013/learning/">my learning process</a>.</p>
<p>It's a great feeling to have immediate access to almost every book recommended to you by fellow experts, and I am experiencing it right now. I am overwhelmed.</p>
<p>I went with the "5-Slot Bookshelf" subscription for a start (signed-up <time title="April 6, 2013">the day before yesterday</time>), and plan to upgrade only if I need to.</p>
<p>SBO and Lynda are two services I'd blindly recommend to anyone.</p>
<p><strong><em>Continue reading "<a href="http://aahank.com/2013/subscribed-to-safari-books-online/">Safari Books Online &mdash; A staggering digital library of Technology books</a>" on <a href="http://aahank.com">Aahan Krish&#039;s Blog</a>.</em></strong></p>]]></content:encoded>
			<wfw:commentRss>http://aahank.com/2013/subscribed-to-safari-books-online/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Change Boot Order When Dual-Booting Ubuntu With Another OS</title>
		<link>http://aahank.com/2013/change-boot-order-when-dual-booting-ubuntu-with-another-os/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=change-boot-order-when-dual-booting-ubuntu-with-another-os</link>
		<comments>http://aahank.com/2013/change-boot-order-when-dual-booting-ubuntu-with-another-os/#comments</comments>
		<pubDate>Sun, 07 Apr 2013 16:15:18 +0000</pubDate>
		<dc:creator>Aahan Krish</dc:creator>
				<category><![CDATA[Notes]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://aahank.com/?p=78</guid>
		<description><![CDATA[<p>Changing the default OS when dual-booting Ubuntu with another OS. GRUB 2 is the default boot loader and manager for Ubuntu. When there are multiple operating systems installed on a machine (dual-booting), GRUB presents a menu and awaits user input. Otherwise (i.e. only Ubuntu is installed), it transfers control over to the Linux kernel which [...]</p><p><strong><em>Continue reading "<a href="http://aahank.com/2013/change-boot-order-when-dual-booting-ubuntu-with-another-os/">Change Boot Order When Dual-Booting Ubuntu With Another OS</a>" on <a href="http://aahank.com">Aahan Krish&#039;s Blog</a>.</em></strong></p>]]></description>
				<content:encoded><![CDATA[<p><strong><em>Changing the default OS when dual-booting Ubuntu with another OS.</em></strong></p>
<p><a href="https://help.ubuntu.com/community/Grub2">GRUB 2</a> is the default boot loader and manager for Ubuntu. When there are multiple operating systems installed on a machine (dual-booting), GRUB presents a menu and awaits user input.</p>
<p>Otherwise (i.e. only Ubuntu is installed), it transfers control over to the Linux kernel which automatically boots Ubuntu without ever showing the boot menu. Of course, you can hold down the <kbd>SHIFT</kbd> key (or sometimes <kbd>ESC</kbd>) early in the boot process until the menu displays.</p>
<p>So, in order to modify the boot order, or anything that deals with the boot menu, you'll have to modify the related GRUB configuration files. And there are many ways to achieve what you want, so lets check 'em out.</p>
<p><strong>Option - I: Using menu position</strong> — '/etc/default/grub' is the primary configuration file for changing menu display settings in GRUB. So, start by making a copy (backup) of the file.</p>
<pre><code>sudo cp /etc/default/grub /etc/default/grub.bak
</code></pre>
<p>Open the file via a text editor of your choice (gedit, nano, vi, vim, emacs, etc.) like so:</p>
<pre><code>sudo gedit /etc/default/grub
</code></pre>
<p>The line <code>GRUB_DEFAULT=0</code> in the file tells GRUB to select the first menu item to boot (menu items are zero-indexed).</p>
<p>But how do you find the position of the menu item (OS) you want to boot by default? Easy! Simply restart your system, and start counting when the boot menu appears. If the operating system that you want to boot first is listed at number 5 in the boot menu, you'd modify the line to <code>GRUB_DEFAULT=4</code>, and save the file.</p>
<p>Lastly, run this command:</p>
<pre><code>sudo update-grub
</code></pre>
<p>This command runs the GRUB 2 configuration scripts and updates the '/boot/grub/grub.cfg' file with the updated boot order configuration. Restart your PC to test. <a href="https://help.ubuntu.com/community/Grub2/Setup#Configuring_GRUB_2">More info here</a>.</p>
<p><strong>Option - II: Using exact menu entry</strong> — For some background, '/boot/grub/grub.cfg' is the main GRUB 2 configuration file. It is automatically generated by grub-mkconfig using templates from /etc/grub.d and settings from /etc/default/grub (<a href="https://help.ubuntu.com/community/Grub2#GRUB_vs_GRUB_2">more info here</a>). Since it is a product of various scripts, it should not normally be edited directly. But we'll use it for some info; NOT edit it, but use it.</p>
<p>Open the terminal (<kbd>CTRL</kbd> + <kbd>ALT</kbd> + <kbd>T</kbd>) and issue this command:</p>
<pre><code>grep menuentry /boot/grub/grub.cfg
</code></pre>
<p>As you can see in the image below, the output shows every line containing our catchphrase 'menuentry'. Look even closer, you'll notice that the text between <strong>single quotes</strong> after the catchphrase are actually the menu entries in the boot menu, and represent different OS options.</p>
<p><img src="http://aahank.com/wp-content/uploads/2013/04/Grep-grub.gif" alt="Grep grub.cfg" title="Grep grub.cfg" /></p>
<p>I am dual-booting Windows 8 alongside Ubuntu (evident from the output), and I want it to boot by default. So, I select the menu entry text in between the quotes (corresponding to the OS I want to boot up by default) — in my case, <code>Windows 8 (loader) (on /dev/sda1)</code> — and copy it for the next step.</p>
<p>Now, open '/etc/default/grub' in your text editor (take a backup first):</p>
<pre><code>sudo gedit /etc/default/grub
</code></pre>
<p>Replace <code>GRUB_DEFAULT=0</code> with <code>GRUB_DEFAULT="Windows 8 (loader) (on /dev/sda1)"</code> (notice the double quotes!) and save the file.</p>
<p>Lastly, run this command:</p>
<pre><code>sudo update-grub
</code></pre>
<p>This command runs the GRUB 2 configuration scripts and updates the '/boot/grub/grub.cfg' file with the updated boot order configuration. Restart your PC to test. <a href="https://help.ubuntu.com/community/Grub2/Setup#Configuring_GRUB_2">More info here</a>.</p>
<p>I prefer <strong>Option - II</strong> over <strong>I</strong>. But there's an even better one.</p>
<p><strong>Option - III: Simply boot the OS you booted the last time</strong> — For this, open '/etc/default/grub' in your text editor (take a backup first):</p>
<pre><code>sudo gedit /etc/default/grub
</code></pre>
<p>Replace <code>GRUB_DEFAULT=0</code> with <code>GRUB_DEFAULT=saved</code>. Then add this line right below <code>GRUB_SAVEDEFAULT=true</code> and save the file. <a href="https://help.ubuntu.com/community/Grub2/Setup#Configuring_GRUB_2">More info here</a>.</p>
<p>Lastly, run this command:</p>
<pre><code>sudo update-grub
</code></pre>
<p>This command runs the GRUB 2 configuration scripts and updates the '/boot/grub/grub.cfg' file with the updated boot order configuration.</p>
<p>How it works? For example, lets say I restarted my system now, selected Windows 8 from the boot menu, I worked on it for a while, and shutdown the system. Later on when I start my PC, GRUB will boot Windows 8 by default. And then, if I select Ubuntu the next time, GRUB will boot Ubuntu by default starting from that point. Get the idea?</p>
<p><strong>Option - IV: GRUB-Customizer, the graphical alternative</strong> — <a href="https://help.ubuntu.com/community/GrubHowto/ChangeDefaultOS#Changing_Default_OS">People were</a> using <a href="https://help.ubuntu.com/community/StartUpManager"><strong>StartUp-Manager</strong></a> until its development halted at some point in 2011. Now we have <a href="https://launchpad.net/grub-customizer"><strong>GRUB-Customizer</strong></a>.</p>
<p>Installing GRUB-Customizer is easy. First add the PPA to your system's software sources:</p>
<pre><code>sudo add-apt-repository ppa:danielrichter2007/grub-customizer
sudo apt-get update
</code></pre>
<p>And this command installs the package from the PPA:</p>
<pre><code>sudo apt-get install grub-customizer
</code></pre>
<p><strong>SCREENSHOTS:</strong></p>
<p><img src="http://aahank.com/wp-content/uploads/2013/04/GRUB-Customizer-List.gif" alt="GRUB Customizer List" title="GRUB Customizer List" /></p>
<p><img src="http://aahank.com/wp-content/uploads/2013/04/GRUB-Customizer-Entry-Editor.gif" alt="GRUB Customizer Entry Editor" title="GRUB Customizer Entry Editor" /></p>
<p><img src="http://aahank.com/wp-content/uploads/2013/04/GRUB-Customizer-Settings-1.gif" alt="GRUB Customizer Settings (1)" title="GRUB Customizer Settings (1)" /></p>
<p><img src="http://aahank.com/wp-content/uploads/2013/04/GRUB-Customizer-Settings-2.gif" alt="GRUB Customizer Settings (2)" title="GRUB Customizer Settings (2)" /></p>
<p><strong><em>Continue reading "<a href="http://aahank.com/2013/change-boot-order-when-dual-booting-ubuntu-with-another-os/">Change Boot Order When Dual-Booting Ubuntu With Another OS</a>" on <a href="http://aahank.com">Aahan Krish&#039;s Blog</a>.</em></strong></p>]]></content:encoded>
			<wfw:commentRss>http://aahank.com/2013/change-boot-order-when-dual-booting-ubuntu-with-another-os/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing KeePass Password Manager On Ubuntu</title>
		<link>http://aahank.com/2013/install-keepass-on-ubuntu/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=install-keepass-on-ubuntu</link>
		<comments>http://aahank.com/2013/install-keepass-on-ubuntu/#comments</comments>
		<pubDate>Sun, 07 Apr 2013 16:01:03 +0000</pubDate>
		<dc:creator>Aahan Krish</dc:creator>
				<category><![CDATA[Notes]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://aahank.com/?p=76</guid>
		<description><![CDATA[<p>Installing KeePass via command-line: You start by adding Julian Taylor's PPA for KeePass to your system's Software Sources (read): sudo apt-add-repository ppa:jtaylor/keepass sudo apt-get update Now lets install KeePass (automatically downloaded from the PPA we just added): sudo apt-get install keepass2 (Just know that KeePass is available from the official Ubuntu Package archive/repository, and can [...]</p><p><strong><em>Continue reading "<a href="http://aahank.com/2013/install-keepass-on-ubuntu/">Installing KeePass Password Manager On Ubuntu</a>" on <a href="http://aahank.com">Aahan Krish&#039;s Blog</a>.</em></strong></p>]]></description>
				<content:encoded><![CDATA[<p><strong>Installing <a href="http://keepass.info/">KeePass</a> via command-line:</strong> You start by adding <a href="https://launchpad.net/~jtaylor/+archive/keepass">Julian Taylor's PPA for KeePass</a> to your system's Software Sources (<a href="https://launchpad.net/+help-soyuz/ppa-sources-list.html">read</a>):</p>
<pre><code>sudo apt-add-repository ppa:jtaylor/keepass
sudo apt-get update
</code></pre>
<p>Now lets install KeePass (automatically downloaded from the PPA we just added):</p>
<pre><code>sudo apt-get install keepass2
</code></pre>
<p>(Just know that KeePass is available from the official Ubuntu Package archive/repository, and can be installed easily via the Ubuntu Software Center, but it's not always the latest version.)</p>
<p>Now install the <strong>xdotool</strong> package (for simulation of X11 keyboard/mouse input) available from the <a href="http://packages.ubuntu.com/">official Ubuntu Package archive/repository</a>:</p>
<pre><code>sudo apt-get install xdotool
</code></pre>
<p>This package is necessary for the <a href="http://keepass.info/features.html#lnkdragdrop"><em>auto-type hot key</em> function</a> (<kbd>Ctrl</kbd> + <kbd>V</kbd>) in KeePass to work in Ubuntu. This is something most people miss, and complain that KeePass is broken in Ubuntu.</p>
<p><img src="http://aahank.com/wp-content/uploads/2013/04/KeePass-Password-Safe.png" alt="KeePass Password Safe" title="KeePass Password Safe" /></p>
<p><strong><em>Continue reading "<a href="http://aahank.com/2013/install-keepass-on-ubuntu/">Installing KeePass Password Manager On Ubuntu</a>" on <a href="http://aahank.com">Aahan Krish&#039;s Blog</a>.</em></strong></p>]]></content:encoded>
			<wfw:commentRss>http://aahank.com/2013/install-keepass-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing The Latest Version Of VirtualBox On Ubuntu (or Ubuntu-Based Distro)</title>
		<link>http://aahank.com/2013/install-virtualbox-on-ubuntu/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=install-virtualbox-on-ubuntu</link>
		<comments>http://aahank.com/2013/install-virtualbox-on-ubuntu/#comments</comments>
		<pubDate>Sun, 07 Apr 2013 15:56:14 +0000</pubDate>
		<dc:creator>Aahan Krish</dc:creator>
				<category><![CDATA[Notes]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://aahank.com/?p=73</guid>
		<description><![CDATA[<p>Installing VirtualBox on Ubuntu (or Ubuntu-based distros) is not as simple as downloading the .deb package and installing it. You'll have to install a few more packages. I have only been able to setup VirtualBox on Ubuntu (tested on 12.04 &#38; 12.10) by following these exact steps. Before you do anything, make sure your system [...]</p><p><strong><em>Continue reading "<a href="http://aahank.com/2013/install-virtualbox-on-ubuntu/">Installing The Latest Version Of VirtualBox On Ubuntu (or Ubuntu-Based Distro)</a>" on <a href="http://aahank.com">Aahan Krish&#039;s Blog</a>.</em></strong></p>]]></description>
				<content:encoded><![CDATA[<p>Installing VirtualBox on Ubuntu (or Ubuntu-based distros) is not as simple as downloading the .deb package and installing it. You'll have to install a few more packages.</p>
<p>I have only been able to setup VirtualBox on Ubuntu (tested on 12.04 &amp; 12.10) by following these exact steps.</p>
<hr />
<p>Before you do anything, make sure your system is up-to-date by issuing the command:</p>
<pre><code>sudo apt-get update &amp;&amp; sudo apt-get upgrade
</code></pre>
<p><strong>Install linux-headers package:</strong> Programs (like VirtualBox) attempting to use kernel services check for Linux kernel headers. You can easily <a href="http://www.cyberciti.biz/faq/howto-install-kernel-headers-package/">install the Linux kernel headers</a> for currently running kernel version by issuing the following commands:</p>
<pre><code>sudo apt-get install linux-headers-$(uname -r)
</code></pre>
<p>Next <strong>install the 'DKMS' package</strong> to ensure that the VirtualBox host kernel modules (vboxdrv, vboxnetflt and vboxnetadp) are properly updated if the linux kernel version changes during the next <code>apt-get upgrade</code> (i.e. system update).</p>
<pre><code>sudo apt-get install dkms
</code></pre>
<p>Now we are ready to install VirtualBox. So go ahead and download the latest stable package for your Linux distribution <a href="https://www.virtualbox.org/wiki/Linux_Downloads">here</a>. Double click the downloaded .deb file and install as usual.</p>
<p>The installer creates the system user group 'vboxusers' during installation. Any system user who is going to use USB devices from VirtualBox guests must be a member of that group. So, we need to add our Ubuntu user to the 'vboxusers' group.</p>
<pre><code>sudo usermod -aG vboxusers username
</code></pre>
<p><em>(Don't forget to replace 'username' in the above command with yours.)</em></p>
<p>One last thing. You might also want to install the VirtualBox Extension Pack as it enables support for USB 2.0 devices, among a few others. You can <a href="https://www.virtualbox.org/wiki/Downloads">download it here</a>, and install then install it in two ways:</p>
<ul>
<li>
<p>Double-click on the package file, and let the VirtualBox Manager guide you through the process.</p>
</li>
<li>
<p>Start <strong>Oracle VirtualBox</strong> from Ubuntu Dash, then go to <strong>File → Preferences</strong>, select <strong>Extensions</strong> tab in the settings window, and click <strong>Add package</strong> button as shown in the screenshot below (<a href="http://www.sysprobs.com/guide-download-install-oracle-vm-virtualbox-extension-pack-windows-host">source</a>).</p>
</li>
</ul>
<p><img src="http://aahank.com/wp-content/uploads/2013/04/VirtualBox-Add-Extension-Package.gif" alt="VirtualBox - Add Extension Package" title="VirtualBox - Add Extension Package" /></p>
<p>Before you create a virtual machine, be sure to restart your PC.</p>
<h2>Creating A Virtual Machine</h2>
<p>This is easy. Once the machine has been rebooted post the installation, you may start <strong>Oracle VM VirtualBox</strong> from Ubuntu Dash, and proceed to creating a virtual machine by clicking the <strong>New</strong> button in Oracle VM VirtualBox Manager window. The following steps are pretty much self-explanatory.</p>
<p>Once the virtual machine has been created, right-click on the just-created virtual machine, select <strong>Settings</strong>, and via <strong>Storage</strong> tab in the new window that pops up, add the ISO file of the OS you want to install in the VM (Virtual Machine). Also check all other settings and make any changes if necessary (for example, video memory, CPU allocation, adding shared folders, enabling clipboard, etc).</p>
<p>Then start the VM, and installation of the operating system should begin. Once done, restart the VM, and when the guest OS is fully up, install <strong>VirtualBox Guest Additions</strong> by going to <strong>Devices</strong> → <strong>Install Guest Additions...</strong>.</p>
<p><a href="https://www.virtualbox.org/manual/ch04.html#guestadditions">What is Guest Additions</a> anyway? It's a special software package designed to be installed <em>inside</em> a VirualBox virtual machine after the guest operating system has been installed.</p>
<p>The package consists of device drivers and system applications that optimize the guest operating system for better performance and usability (e.g. mouse pointer integration, shared folders, better video support, host/guest communication, Shared clipboard, automated logons, etc).</p>
<p>If the gui of the OS installed on a virtual machine is laggy, try disabling <strong>Hardware Virtualization</strong> (see below).</p>
<p><img src="http://aahank.com/wp-content/uploads/2013/04/VirtualBox-Hardware-Virtualization.gif" alt="VirtualBox - Hardware Virtualization" title="VirtualBox - Hardware Virtualization" /></p>
<p><strong><em>Continue reading "<a href="http://aahank.com/2013/install-virtualbox-on-ubuntu/">Installing The Latest Version Of VirtualBox On Ubuntu (or Ubuntu-Based Distro)</a>" on <a href="http://aahank.com">Aahan Krish&#039;s Blog</a>.</em></strong></p>]]></content:encoded>
			<wfw:commentRss>http://aahank.com/2013/install-virtualbox-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Convert (Encode) An Image File To Base64 String</title>
		<link>http://aahank.com/2013/image-to-base64/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=image-to-base64</link>
		<comments>http://aahank.com/2013/image-to-base64/#comments</comments>
		<pubDate>Sun, 07 Apr 2013 15:44:00 +0000</pubDate>
		<dc:creator>Aahan Krish</dc:creator>
				<category><![CDATA[Notes]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://aahank.com/?p=72</guid>
		<description><![CDATA[<p>What's base64? In short, 'base64' encoding is a way of representing binary data as text (ASCII string format) so that it's more easily stored or transmitted over media that is specifically used for textual data (e-mail, HTML form data, CSS, et cetera). Further Reading: wikipedia.org, stackoverflow.com Use: Most commonly, images are encoded in base64 when [...]</p><p><strong><em>Continue reading "<a href="http://aahank.com/2013/image-to-base64/">Convert (Encode) An Image File To Base64 String</a>" on <a href="http://aahank.com">Aahan Krish&#039;s Blog</a>.</em></strong></p>]]></description>
				<content:encoded><![CDATA[<p><strong>What's base64?</strong></p>
<p>In short, 'base64' encoding is a way of representing binary data as text (ASCII string format) so that it's more easily stored or transmitted over media that is specifically used for textual data (e-mail, HTML form data, CSS, et cetera).</p>
<p><em>Further Reading: <a href="http://en.wikipedia.org/wiki/Base64">wikipedia.org</a>, <a href="http://stackoverflow.com/q/201479">stackoverflow.com</a></em></p>
<p><strong>Use:</strong> Most commonly, images are encoded in base64 when embedded in HTML, CSS, and XML, to decrease the number of browser requests and thereby the loading time of a web page.</p>
<p>But my use case of base64 is to reference a contact's photo in a vCard (.vcf) file to import contacts with photos into Google Contacts.</p>
<p><strong>Disadvantages of base64:</strong></p>
<ul>
<li>
<p>Base64 string is much bigger than binary data in size. For example, the base64 text string of an encoded image is always bulkier than the image itself. So, base64 is a big no-no for large images, and if you have to, gzip compression and caching of documents (e.g. CSS file) should be of great help.</p>
</li>
<li>
<p>If you change the image but keep the same name, you'll still need to change the base64 string. Maintenance is going to get tougher.</p>
</li>
</ul>
<h2>Converting (Encoding) An Image File To Base64</h2>
<p><strong>In Windows:</strong> Steven Benner's <a href="https://github.com/stevenbenner/steves-encode64-utility">Encode64 Utility</a> should do the job.</p>
<p>If you prefer command line (DOS commands), download the <a href="http://www.fourmilab.ch/webtools/base64/">base64.exe utility by John Walker</a>, drop it in the directory containing the image file(s) you want to encode. Then use the following commands.</p>
<p>To encode image and output the base64 string to a text file (don't forget to <code>cd</code> to the image directory first):</p>
<pre><code>base64.exe -e image.jpg example.txt
</code></pre>
<p>To decode the base64 string in a text file to an image:</p>
<pre><code>base64.exe -d example.txt image.jpg
</code></pre>
<p>For help:</p>
<pre><code>base64.exe --help
</code></pre>
<p><strong>In Linux:</strong> Simply issue the following commands (again, <code>cd</code> to the image directory first). Tested in Ubuntu 12.10.</p>
<p>To encode image and output the base64 string to a text file:</p>
<pre><code>base64 --wrap=0 gcs.png &gt; gcs.txt
</code></pre>
<p><em>In the above command <code>--wrap=0</code> is used to disable wrapping of the output base64 text string. It's optional.</em></p>
<p>To decode the base64 string in a text file to an image:</p>
<pre><code>base64 -d gcs.txt &gt; gcs
</code></pre>
<p>You can then check the image's properties to find the image type, and then rename the file to include the proper extension.</p>
<p>For help:</p>
<pre><code>base64 --help
</code></pre>
<p><strong>Online Conversion Tools:</strong> Google is <a href="https://www.google.co.in/search?q=base64%20encode%20decode%20online">your best friend</a>. There are lots of them, and <a href="http://websemantics.co.uk/online_tools/image_to_data_uri_convertor/">here's one</a> for a start.</p>
<p><strong>PHP:</strong> Have PHP installed on your PC, or a server that you can quickly FTP into? Great! Simply create a base64.php file with the following code, and access it via your browser:</p>
<pre><code>&lt;?php echo base64_encode(file_get_contents('/path/to/image/bg.jpg')); ?&gt;
</code></pre>
<p>Your browser should now show the base64 encoded text string for the image 'bg.jpg'.</p>
<p>That's all I know, for now.</p>
<p><strong><em>Continue reading "<a href="http://aahank.com/2013/image-to-base64/">Convert (Encode) An Image File To Base64 String</a>" on <a href="http://aahank.com">Aahan Krish&#039;s Blog</a>.</em></strong></p>]]></content:encoded>
			<wfw:commentRss>http://aahank.com/2013/image-to-base64/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Fonts In Ubuntu - The Quick And Easy Way</title>
		<link>http://aahank.com/2013/easily-install-fonts-in-ubuntu/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=easily-install-fonts-in-ubuntu</link>
		<comments>http://aahank.com/2013/easily-install-fonts-in-ubuntu/#comments</comments>
		<pubDate>Sun, 07 Apr 2013 15:36:00 +0000</pubDate>
		<dc:creator>Aahan Krish</dc:creator>
				<category><![CDATA[Notes]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://aahank.com/?p=70</guid>
		<description><![CDATA[<p>That's the hard way (above). Now, how about a fast and easy way? To install fonts in Ubuntu, create a new directory named .fonts in your home directory (/home/username), if it doesn't exist already, and simply copy all your fonts there. That's it!</p><p><strong><em>Continue reading "<a href="http://aahank.com/2013/easily-install-fonts-in-ubuntu/">Installing Fonts In Ubuntu - The Quick And Easy Way</a>" on <a href="http://aahank.com">Aahan Krish&#039;s Blog</a>.</em></strong></p>]]></description>
				<content:encoded><![CDATA[<p><img src="http://aahank.com/wp-content/uploads/2013/04/Installing-Fonts-In-Ubuntu-The-Hard-Way.jpg" alt="Installing Fonts In Ubuntu - The HARD Way" title="Installing Fonts In Ubuntu - The HARD Way" /></p>
<p>That's the hard way (above). Now, how about a fast and easy way?</p>
<p>To install fonts in Ubuntu, create a new directory named <strong>.fonts</strong> in your home directory (<em>/home/username</em>), if it doesn't exist already, and simply copy all your fonts there. That's it!</p>
<p><strong><em>Continue reading "<a href="http://aahank.com/2013/easily-install-fonts-in-ubuntu/">Installing Fonts In Ubuntu - The Quick And Easy Way</a>" on <a href="http://aahank.com">Aahan Krish&#039;s Blog</a>.</em></strong></p>]]></content:encoded>
			<wfw:commentRss>http://aahank.com/2013/easily-install-fonts-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LaTeX For Beginners: Resources &amp; Tools</title>
		<link>http://aahank.com/2013/latex-for-beginners-resources-tools/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=latex-for-beginners-resources-tools</link>
		<comments>http://aahank.com/2013/latex-for-beginners-resources-tools/#comments</comments>
		<pubDate>Sun, 07 Apr 2013 15:33:27 +0000</pubDate>
		<dc:creator>Aahan Krish</dc:creator>
				<category><![CDATA[Notes]]></category>

		<guid isPermaLink="false">http://aahank.com/?p=69</guid>
		<description><![CDATA[<p>As I am planning to do lots of Computer Science reading and Mathematics stuff soon, I decided to take a look at how I can publish math formulae on the web (my blog). MathJax seems to be a promising one, considering the fact that it's used on the Mathematics Stack Exchange site. Okay, now I [...]</p><p><strong><em>Continue reading "<a href="http://aahank.com/2013/latex-for-beginners-resources-tools/">LaTeX For Beginners: Resources &#038; Tools</a>" on <a href="http://aahank.com">Aahan Krish&#039;s Blog</a>.</em></strong></p>]]></description>
				<content:encoded><![CDATA[<p>As I am planning to do lots of Computer Science reading and Mathematics stuff soon, I decided to take a look at how I can publish math formulae on the web (my blog).</p>
<p><a href="http://www.mathjax.org/">MathJax</a> seems to be a promising one, considering the fact that it's used on the <a href="http://math.stackexchange.com/editing-help#latex">Mathematics Stack Exchange</a> site.</p>
<p>Okay, now I need to learn LaTeX, so here's my notes - focusing on Linux (which is my dev environment).</p>
<h2>Learning LaTeX</h2>
<ul>
<li><a href="http://en.wikibooks.org/wiki/LaTeX">LaTeX on Wikibooks</a></li>
<li>Wikipedia: <a href="http://en.wikipedia.org/wiki/Help:Displaying_a_formula">Displaying a formula</a></li>
</ul>
<p>The info provided in there is just enough to get the job done for me.</p>
<h2>Tools</h2>
<ul>
<li>
<p><a href="http://www.xm1math.net/texmaker/">Texmaker</a> - A free, modern and cross-platform LaTeX editor for Linux, Mac OS X and Windows.</p>
</li>
<li>
<p><a href="http://texstudio.sourceforge.net/">TeXstudio</a> - Texmaker with some added features (e.g. spell checking).</p>
</li>
<li>
<p><a href="http://dev.midnightcoding.org/projects/gummi">Gummi</a> - Open source LaTeX editor for Linux featuring a live preview pane.</p>
</li>
<li>
<p>OTHERS: <a href="http://kile.sourceforge.net/">Kile</a>, <a href="http://www.texmacs.org/">TeXmacs</a>, <a href="http://www.lyx.org/">LyX</a> (&amp; <a href="http://elyxer.nongnu.org/">eLyXer</a> - LyX to HTML converter), and <a href="http://en.wikibooks.org/wiki/LaTeX/Introduction#Getting_a_text_editor">more</a>.</p>
</li>
<li>
<p><a href="http://www.libreoffice.org/features/math/">LibreOffice Math</a> (<strong>LibreOffice Writer → File → New → Formula</strong>) works as a nice WYSIWYG editor. You can save content in MathML format, and use it as it is (MathJax also supports MathML alongside LaTeX), or convert it to LaTeX using some tool available on the web.</p>
</li>
</ul>
<p><strong><em>Continue reading "<a href="http://aahank.com/2013/latex-for-beginners-resources-tools/">LaTeX For Beginners: Resources &#038; Tools</a>" on <a href="http://aahank.com">Aahan Krish&#039;s Blog</a>.</em></strong></p>]]></content:encoded>
			<wfw:commentRss>http://aahank.com/2013/latex-for-beginners-resources-tools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>URL Of Original Image (Up To 50 Megapixels) In Picasa / Blogger</title>
		<link>http://aahank.com/2013/picasa-original-image-url/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=picasa-original-image-url</link>
		<comments>http://aahank.com/2013/picasa-original-image-url/#comments</comments>
		<pubDate>Sun, 07 Apr 2013 15:31:03 +0000</pubDate>
		<dc:creator>Aahan Krish</dc:creator>
				<category><![CDATA[Notes]]></category>

		<guid isPermaLink="false">http://aahank.com/?p=68</guid>
		<description><![CDATA[<p>Picasa and Picasa Web Albums documentation clearly states that each image you upload can be no larger than 20 megabytes and must be 50 megapixels (8176 x 6132 pixels in size) or less. The same applies for Google Blogger as well, considering the fact that the blogging platform uses Picasa for storage. Now that's all [...]</p><p><strong><em>Continue reading "<a href="http://aahank.com/2013/picasa-original-image-url/">URL Of Original Image (Up To 50 Megapixels) In Picasa / Blogger</a>" on <a href="http://aahank.com">Aahan Krish&#039;s Blog</a>.</em></strong></p>]]></description>
				<content:encoded><![CDATA[<p>Picasa and Picasa Web Albums documentation <a href="http://support.google.com/picasa/bin/answer.py?hl=en&amp;answer=43879">clearly states</a> that each image you upload can be no larger than 20 megabytes and must be 50 megapixels (8176 x 6132 pixels in size) or less.</p>
<p>The same applies for Google Blogger as well, considering the fact that the blogging platform uses <a href="https://picasaweb.google.com/">Picasa</a> for storage.</p>
<p>Now that's all well and good. But the question is, what's the URL of the 50 megapixel image?</p>
<p>In Picasa an image's URL looks like this:</p>
<pre><code>https://lh4.googleusercontent.com/-oBrqCxqM0zY/UH8FEyCR58I/AAAAAAAAAZE/I5mrns0s9Fg/s800/Twilight-Frost-by-Phil-Jackson-Wallpaper.jpg
</code></pre>
<p>See <strong>s800</strong> in the URL? It can be any number from <strong>0 to 2048</strong>, but the standard values include s144, s288, s400, s640, s800, s1600 and s2048. It's this number that decides the size of your image (e.g. s800 in URL means that the size of the image shown will be 800 px on the longest side) - <strong>s#</strong> is, in other words, the size factor.</p>
<p>If the maximum number you can use in the URL is 2048, how can you get Picasa to show the Original 50 megapixel image? Obviously s8176 wouldn't work.</p>
<p>The number is <strong>0</strong>. Yes, replace the size factor in the URL with <strong>s0</strong>, and that's the URL of the original size image you uploaded, right there!</p>
<pre><code>https://lh4.googleusercontent.com/-oBrqCxqM0zY/UH8FEyCR58I/AAAAAAAAAZE/I5mrns0s9Fg/s0/Twilight-Frost-by-Phil-Jackson-Wallpaper.jpg
</code></pre>
<p>It's the same with Blogger as well. For example, in case of Blogger, the URL would look like:</p>
<pre><code>http://2.bp.blogspot.com/-oBrqCxqM0zY/UH8FEyCR58I/AAAAAAAAAZE/I5mrns0s9Fg/s0/Twilight-Frost-by-Phil-Jackson-Wallpaper.jpg
</code></pre>
<p><strong><em>Continue reading "<a href="http://aahank.com/2013/picasa-original-image-url/">URL Of Original Image (Up To 50 Megapixels) In Picasa / Blogger</a>" on <a href="http://aahank.com">Aahan Krish&#039;s Blog</a>.</em></strong></p>]]></content:encoded>
			<wfw:commentRss>http://aahank.com/2013/picasa-original-image-url/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>gedit-markdown: Markdown To HTML Conversion and Preview In Gedit</title>
		<link>http://aahank.com/2013/gedit-markdown/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=gedit-markdown</link>
		<comments>http://aahank.com/2013/gedit-markdown/#comments</comments>
		<pubDate>Sun, 07 Apr 2013 15:28:54 +0000</pubDate>
		<dc:creator>Aahan Krish</dc:creator>
				<category><![CDATA[Notes]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://aahank.com/?p=66</guid>
		<description><![CDATA[<p>gedit-markdown is a plugin for Gedit that adds support for Markdown (or Markdown Extra) in the default Gnome text editor, including Markdown to HTML conversion, syntax-highlighting and preview. Resources: gedit-markdown: support for Markdown language in gedit (Developer's site) Gedit/MarkdownSupport - GNOME Live! Gedit/Plugins - GNOME Live! html2text - A Python script, converts HTML to Markdown [...]</p><p><strong><em>Continue reading "<a href="http://aahank.com/2013/gedit-markdown/">gedit-markdown: Markdown To HTML Conversion and Preview In Gedit</a>" on <a href="http://aahank.com">Aahan Krish&#039;s Blog</a>.</em></strong></p>]]></description>
				<content:encoded><![CDATA[<p><img src="http://aahank.com/wp-content/uploads/2013/04/Gedit-Markdown.gif" alt="gedit-markdown plugin" title="gedit-markdown plugin" /></p>
<p><a href="http://www.jpfleury.net/en/software/gedit-markdown.php">gedit-markdown</a> is a plugin for Gedit that adds support for Markdown (or Markdown Extra) in the default Gnome text editor, including Markdown to HTML conversion, syntax-highlighting and preview.</p>
<p><strong>Resources:</strong></p>
<ul>
<li><a href="http://www.jpfleury.net/en/software/gedit-markdown.php">gedit-markdown: support for Markdown language in gedit</a> (Developer's site)</li>
<li><a href="https://live.gnome.org/Gedit/MarkdownSupport">Gedit/MarkdownSupport - GNOME Live!</a></li>
<li><a href="https://live.gnome.org/Gedit/Plugins">Gedit/Plugins - GNOME Live!</a></li>
<li><a href="https://github.com/aaronsw/html2text">html2text</a> - A Python script, converts HTML to Markdown</li>
<li><a href="https://github.com/coreyti/showdown">Showdown</a> - Markdown to HTML converter (Check the 'example' folder)</li>
</ul>
<p><strong><em>Continue reading "<a href="http://aahank.com/2013/gedit-markdown/">gedit-markdown: Markdown To HTML Conversion and Preview In Gedit</a>" on <a href="http://aahank.com">Aahan Krish&#039;s Blog</a>.</em></strong></p>]]></content:encoded>
			<wfw:commentRss>http://aahank.com/2013/gedit-markdown/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create A System Image (Snapshot) In Windows 7</title>
		<link>http://aahank.com/2013/windows-7-system-image/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=windows-7-system-image</link>
		<comments>http://aahank.com/2013/windows-7-system-image/#comments</comments>
		<pubDate>Sun, 07 Apr 2013 15:24:55 +0000</pubDate>
		<dc:creator>Aahan Krish</dc:creator>
				<category><![CDATA[Notes]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://aahank.com/?p=59</guid>
		<description><![CDATA[<p>It's really easy to create a snapshot of your entire Windows 7 PC in its current state (both applications &#38; files), and that's without the need for a third-party application. Well, the following images are self-explanatory, but if you find them difficult to follow, head over to How-To Geek's comprehensive tut. The rest of the [...]</p><p><strong><em>Continue reading "<a href="http://aahank.com/2013/windows-7-system-image/">Create A System Image (Snapshot) In Windows 7</a>" on <a href="http://aahank.com">Aahan Krish&#039;s Blog</a>.</em></strong></p>]]></description>
				<content:encoded><![CDATA[<p>It's really easy to create a snapshot of your entire Windows 7 PC in its current state (both applications &amp; files), and that's without the need for a third-party application.</p>
<p>Well, the following images are self-explanatory, but if you find them difficult to follow, head over to <a href="http://www.howtogeek.com/howto/4241/how-to-create-a-system-image-in-windows-7/">How-To Geek's comprehensive tut</a>.</p>
<p><img src="http://aahank.com/wp-content/uploads/2013/04/Screenshot-1.gif" alt="Screenshot 1" title="" /></p>
<p><img src="http://aahank.com/wp-content/uploads/2013/04/Screenshot-2.gif" alt="Screenshot 2" title="" /></p>
<p><img src="http://aahank.com/wp-content/uploads/2013/04/Screenshot-3.gif" alt="Screenshot 3" title="" /></p>
<p><img src="http://aahank.com/wp-content/uploads/2013/04/Screenshot-4.gif" alt="Screenshot 4" title="" /></p>
<p><img src="http://aahank.com/wp-content/uploads/2013/04/Screenshot-5.gif" alt="Screenshot 5" title="" /></p>
<p>The rest of the process is pretty straightforward, really. And as for restoring your system image at a later time, this should be helpful:</p>
<p><img src="http://aahank.com/wp-content/uploads/2013/04/Screenshot-6.gif" alt="Screenshot 6" title="" /></p>
<p><strong><em>Continue reading "<a href="http://aahank.com/2013/windows-7-system-image/">Create A System Image (Snapshot) In Windows 7</a>" on <a href="http://aahank.com">Aahan Krish&#039;s Blog</a>.</em></strong></p>]]></content:encoded>
			<wfw:commentRss>http://aahank.com/2013/windows-7-system-image/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Where Are The Default Wallpapers Located In Ubuntu?</title>
		<link>http://aahank.com/2013/ubuntu-default-wallpapers-location/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ubuntu-default-wallpapers-location</link>
		<comments>http://aahank.com/2013/ubuntu-default-wallpapers-location/#comments</comments>
		<pubDate>Sun, 07 Apr 2013 15:11:34 +0000</pubDate>
		<dc:creator>Aahan Krish</dc:creator>
				<category><![CDATA[Notes]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://aahank.com/?p=56</guid>
		<description><![CDATA[<p>Twilight Frost by Phil Jackson, which I believe was packed in Ubuntu 12.04, is simply beautiful and pleasant to the eye. So, I wanted it on all my computers. But first, I had to find the location of the default wallpapers in Ubuntu, which is (at least in Ubuntu 12.04): /usr/share/backgrounds or here in older [...]</p><p><strong><em>Continue reading "<a href="http://aahank.com/2013/ubuntu-default-wallpapers-location/">Where Are The Default Wallpapers Located In Ubuntu?</a>" on <a href="http://aahank.com">Aahan Krish&#039;s Blog</a>.</em></strong></p>]]></description>
				<content:encoded><![CDATA[<p>Twilight Frost by Phil Jackson, which I believe was packed in Ubuntu 12.04, is simply beautiful and pleasant to the eye. So, I wanted it on all my computers.</p>
<p>But first, I had to find the location of the default wallpapers in Ubuntu, which is (at least in Ubuntu 12.04):</p>
<pre><code>/usr/share/backgrounds
</code></pre>
<p>or here in older versions of Ubuntu:</p>
<pre><code>/usr/share/wallpaper
</code></pre>
<p>And when you set a custom background, the image file is stored in:</p>
<pre><code>/home/{USERNAME}
</code></pre>
<p>By the way, this is the wallpaper I was talking about earlier - <strong>Twilight Frost by Phil Jackson</strong> (1920 x 1280)</p>
<p><img src="http://aahank.com/wp-content/uploads/2013/04/Twilight-Frost-by-Phil-Jackson-Wallpaper.jpg" alt="Twilight Frost by Phil Jackson (Wallpaper)" title="Twilight Frost by Phil Jackson (Wallpaper)" /></p>
<p><strong><em>Continue reading "<a href="http://aahank.com/2013/ubuntu-default-wallpapers-location/">Where Are The Default Wallpapers Located In Ubuntu?</a>" on <a href="http://aahank.com">Aahan Krish&#039;s Blog</a>.</em></strong></p>]]></content:encoded>
			<wfw:commentRss>http://aahank.com/2013/ubuntu-default-wallpapers-location/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
