<?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>Geeky Ninja</title>
	<atom:link href="http://geekyninja.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://geekyninja.com</link>
	<description>Linux, Windows, OS X - Tips n Tricks</description>
	<lastBuildDate>Tue, 27 Dec 2016 00:55:22 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.4.2</generator>
	<item>
		<title>HowTo Copy a Folder in Linux/Unix</title>
		<link>http://geekyninja.com/archives/howto-copy-a-folder-in-linuxunix/</link>
		<pubDate>Thu, 13 Mar 2014 03:00:22 +0000</pubDate>
		<dc:creator><![CDATA[Sharninder]]></dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://geekyninja.com/?p=2270</guid>
		<description><![CDATA[So, I got this question recently from a new Linux user, but I&#8217;m pretty sure even people who&#8217;ve been using Linux for some time will have a question or two regarding copying files on the command line. Unix, and by extension, Linux isn&#8217;t known to be very chatty. Most commands are two or at the&#8230; <p class="simppeli-read-more"><a href="http://geekyninja.com/archives/howto-copy-a-folder-in-linuxunix/" class="more-link">Continue reading <span class="screen-reader-text">HowTo Copy a Folder in Linux/Unix</span> <span class="meta-nav">&#8594;</span></a></p>]]></description>
				<content:encoded><![CDATA[<p>So, I got this question recently from a new Linux user, but I&#8217;m pretty sure even people who&#8217;ve been using Linux for some time will have a question or two regarding copying files on the command line.</p>
<p><img class="aligncenter size-full wp-image-2271" src="http://geekyninja.com/wp-content/uploads/2014/03/happy-penguin.jpg" alt="Happy penguins" width="490" height="173" /></p>
<p>Unix, and by extension, Linux isn&#8217;t known to be very chatty. Most commands are two or at the most three characters long with a hundred options, so a lot of people who&#8217;ve come to Linux by way of easy to use distributions such as Ubuntu or Mint have never really used the command line to get done work. I, on the other hand, am an old Linux hand and, frankly, am the most comfortable on the command line.</p>
<p><span id="more-2270"></span></p>
<p>So here are the instructions on how to use the &#8216;cp&#8217; command to copy a file or a folder from one location to another.</p>
<p><strong>Copying a file</strong></p>
<p>user$ cp file1 /path/for/file2</p>
<p>This command will copy the file named file1 with a new name, file2, to the folder at /path/for.</p>
<p><strong>Copying a directory</strong></p>
<p>Not surprisingly, the same cp command in Unix can also be used to copy directories from one location to another.</p>
<p>user$ cp -r directory1 /path/for</p>
<p>Notice the &#8216;<strong>-r</strong>&#8216; ? That&#8217;s the option for recursive copying. So, everything in the folder directory1 is copied to /path/for and the directory structure is kept intact.</p>
<p><strong>Copying over a network</strong></p>
<p>user$ scp filename root@remoteserver.com:/tmp</p>
<p>This command uses the SSH protocol to copy a file name filename securely from your local machine to the remote server named remoteserver.com. It uses the root user account to copy files to the /tmp directory of the remote server. Of course, you will be prompted to enter a password for the root user.</p>
<p>Did this article clarify things for you ? Or are the terse Unix commands still a mystery?</p>
]]></content:encoded>
			</item>
		<item>
		<title>How To Convert Text To Audio Using Automator On OS X</title>
		<link>http://geekyninja.com/archives/how-to-convert-text-to-audio-using-automator-on-os-x/</link>
		<pubDate>Wed, 12 Mar 2014 15:00:48 +0000</pubDate>
		<dc:creator><![CDATA[Sharninder]]></dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Audiobook]]></category>
		<category><![CDATA[Automator]]></category>

		<guid isPermaLink="false">http://geekyninja.com/?p=2264</guid>
		<description><![CDATA[If you&#8217;ve been following this blog for any length of time, you&#8217;d know we&#8217;re big fans using tools that&#8217;ll save us time or effort, however small it may be. After all, computers are the best at doing manual, repetitive work and doing it much better than humans would do. OS X has a lot of&#8230; <p class="simppeli-read-more"><a href="http://geekyninja.com/archives/how-to-convert-text-to-audio-using-automator-on-os-x/" class="more-link">Continue reading <span class="screen-reader-text">How To Convert Text To Audio Using Automator On OS X</span> <span class="meta-nav">&#8594;</span></a></p>]]></description>
				<content:encoded><![CDATA[<p>If you&#8217;ve been following this blog for any length of time, you&#8217;d know we&#8217;re big fans using tools that&#8217;ll save us time or effort, however small it may be. After all, computers are the best at doing manual, repetitive work and doing it much better than humans would do.</p>
<p>OS X has a lot of little tools and utilities to help us save time and one of my favorite tools for automating any kind of workflow is Automator. We&#8217;ve <a href="http://geekyninja.com/archives/tag/automator/">written about this earlier</a> and we&#8217;re back with another nifty trick up Automator&#8217;s sleeves.</p>
<p><span id="more-2264"></span></p>
<p>Have you ever wanted to, say, create an audiobook out of a PDF ? Or maybe just have some text converted into an audio file that you can then listen to leisurely during your morning walk ? If the answer is yes, read on!</p>
<p>The first step is to launch Automator. It&#8217;s usually present in the Applications folder but I prefer launching it using <a href="http://geekyninja.com/archives/tag/spotlight/">spotlight</a> so I don&#8217;t have to bother with mundane details like the location of the application. How 80&#8217;s is that?</p>
<p>When you launch Automator, you&#8217;ll be presented with a dialogue box where you have to select the type of Automator <em>workflow</em> you want create. For our purpose, select <em>Service</em> and click on <strong>Choose</strong> to proceed.</p>
<p><img class="aligncenter size-full wp-image-1191" src="http://geekyninja.com/wp-content/uploads/2010/11/automator-service.jpg" alt="Automator" width="491" height="297" srcset="http://geekyninja.com/wp-content/uploads/2010/11/automator-service-300x181.jpg 300w, http://geekyninja.com/wp-content/uploads/2010/11/automator-service.jpg 491w" sizes="(max-width: 491px) 100vw, 491px" /></p>
<p>The next window is where you define your actual workflow.</p>
<p>Automator comes bundled with a lot of actions out of the box that can be used in your workflow. Take a look at the left sidebar. For this tutorial, we need to use the <strong>Text to Audio File</strong> action. Search for it using the search bar.</p>
<p><img class="aligncenter size-full wp-image-2266" src="http://geekyninja.com/wp-content/uploads/2014/03/automator-audio.jpg" alt="Automator Audio" width="490" height="210" srcset="http://geekyninja.com/wp-content/uploads/2014/03/automator-audio-300x128.jpg 300w, http://geekyninja.com/wp-content/uploads/2014/03/automator-audio.jpg 490w" sizes="(max-width: 490px) 100vw, 490px" /></p>
<p>Now drag and drop the action to the workflow window on the right. Also, make sure the workflow&#8217;s input section says &#8220;Service receives selected text in any application&#8221;. The two drop-downs should have &#8220;text&#8221; and &#8220;any application&#8221; selected. This will make sure our service works in any application where text can be selected.</p>
<p>The default values of the action should be fine for you but you can change the voice that OS X will use to narrate the text and the place where the audio files are stored by default. I personally like the defaults.</p>
<p><img class="aligncenter size-full wp-image-2267" src="http://geekyninja.com/wp-content/uploads/2014/03/automator-workflow.jpg" alt="automator workflow" width="490" height="223" srcset="http://geekyninja.com/wp-content/uploads/2014/03/automator-workflow-300x136.jpg 300w, http://geekyninja.com/wp-content/uploads/2014/03/automator-workflow.jpg 490w" sizes="(max-width: 490px) 100vw, 490px" /></p>
<p>That&#8217;s it!</p>
<p>Save the action and give it a nice descriptive name that you can identify later. Something like &#8220;Convert Text to Audio&#8221; should be good.</p>
<p>Now, open the file that has the text that you want to convert and select the text. Click on the Application menu and from the Services sub menu select the service that you just created.</p>
<p><img class="aligncenter size-full wp-image-2268" src="http://geekyninja.com/wp-content/uploads/2014/03/automator-save.jpg" alt="automator service" width="490" height="305" /></p>
<p>OS X will now create a file named <strong>audio text.aiff</strong> in the directory that you&#8217;d chosen earlier.</p>
<p>Go ahead, make your own Audiobook now and let us know how it goes.</p>
]]></content:encoded>
			</item>
		<item>
		<title>How To Reindex Your Folders Or Rebuild The Spotlight Index</title>
		<link>http://geekyninja.com/archives/how-to-reindex-your-folders-or-rebuild-the-spotlight-index/</link>
		<pubDate>Tue, 11 Mar 2014 21:00:41 +0000</pubDate>
		<dc:creator><![CDATA[Sharninder]]></dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[spotlight]]></category>

		<guid isPermaLink="false">http://geekyninja.com/?p=2259</guid>
		<description><![CDATA[Spotlight is without a doubt, one of my favorite technologies in Mac OS X. I&#8217;ve been a fan every since it was first introduced with Mac OS X 10.4 &#8220;Tiger&#8221;. Spotlight, at it&#8217;s core, is essentially a database or an index of all the files on your hard drive. The user facing part of spotlight&#8230; <p class="simppeli-read-more"><a href="http://geekyninja.com/archives/how-to-reindex-your-folders-or-rebuild-the-spotlight-index/" class="more-link">Continue reading <span class="screen-reader-text">How To Reindex Your Folders Or Rebuild The Spotlight Index</span> <span class="meta-nav">&#8594;</span></a></p>]]></description>
				<content:encoded><![CDATA[<p>Spotlight is without a doubt, one of my favorite technologies in Mac OS X. I&#8217;ve been a fan every since it was first introduced with Mac OS X 10.4 &#8220;Tiger&#8221;. Spotlight, at it&#8217;s core, is essentially a database or an index of all the files on your hard drive.</p>
<p>The user facing part of spotlight lets a user query this index and get results almost instantaneously. In fact, I&#8217;ve gotten so used to spotlight, I&#8217;ve almost forgotten those days when we used to meticulously keep our important files in various folders and maintain the folder structures religiously, lest we save a file in some folder and can&#8217;t find it later. With spotlight, I never have to worry about folders. I just type a few letters of the filename or even it&#8217;s content, and spotlight will invariably get me the correct file.</p>
<p><span id="more-2259"></span></p>
<p>This is amazing, when it works. But, sometimes, as with all software, spotlight gets a bit iffy and bugs show up which prevent spotlight from indexing files properly in a particular folder or on the complete drive. If you&#8217;re facing such an issue, This post today will help you fix spotlight easily.</p>
<p>First of all, launch the Spotlight pane from System Preferences.</p>
<p><img class="aligncenter size-full wp-image-2260" src="http://geekyninja.com/wp-content/uploads/2014/03/syspref.jpg" alt="Spotlight" width="299" height="182" /></p>
<p>Click on the <em>Privacy</em> tab. This is the place where you add folders or volumes that you <em>don&#8217;t</em> want spotlight to index. We&#8217;re going to use this feature of Spotlight to delete the existing index.</p>
<p>Click the &#8216;+&#8217; button and add the folder or complete volume to the list. OS X will give a warning which says that your existing index will be deleted. Press Confirm.</p>
<p><img class="aligncenter size-full wp-image-2261" src="http://geekyninja.com/wp-content/uploads/2014/03/spotlight-privacy.jpg" alt="Spotlight Privacy" width="400" height="410" /></p>
<p>Deleting the index, doesn&#8217;t take long but wait for 30 seconds or so and then select the volume or folder that you just added, and click the &#8216;-&#8216; button to remove your selection from the list.</p>
<p><img class="aligncenter size-full wp-image-2262" src="http://geekyninja.com/wp-content/uploads/2014/03/spotlight-reindex.jpg" alt="Spotlight Reindex" width="300" height="142" /></p>
<p>What this will do is that Spotlight will now start re-indexing the volume or folder that it earlier deleted, and hopefully that will fix any problem that you were having with the index. It has definitely fixed all my problems so far.</p>
]]></content:encoded>
			</item>
		<item>
		<title>Stream The Latest BlockBusters For Free Using Popcorn Time</title>
		<link>http://geekyninja.com/archives/stream-the-latest-blockbusters-for-free-using-popcorn-time/</link>
		<pubDate>Tue, 11 Mar 2014 15:00:09 +0000</pubDate>
		<dc:creator><![CDATA[Sharninder]]></dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[streaming]]></category>
		<category><![CDATA[torrent]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://geekyninja.com/?p=2241</guid>
		<description><![CDATA[Hollywood has a pretty tight grip on the business of streaming movies and if you&#8217;re someone who&#8217;d like to watch the latest blockbusters from the comfort of your own couch, you basically have no option but to wait for the theatrical release, even if you&#8217;re willing to pay money to companies such as Netflix. If&#8230; <p class="simppeli-read-more"><a href="http://geekyninja.com/archives/stream-the-latest-blockbusters-for-free-using-popcorn-time/" class="more-link">Continue reading <span class="screen-reader-text">Stream The Latest BlockBusters For Free Using Popcorn Time</span> <span class="meta-nav">&#8594;</span></a></p>]]></description>
				<content:encoded><![CDATA[<p>Hollywood has a pretty tight grip on the business of streaming movies and if you&#8217;re someone who&#8217;d like to watch the latest blockbusters from the comfort of your own couch, you basically have no option but to wait for the theatrical release, even if you&#8217;re willing to pay money to companies such as Netflix. If you are unwilling, there are always the <a style="text-decoration: none;" href="https://downloadmovieboxapp.com/best-free-movie-apps-android-ios-iphone-ipad/"> <span style="text-decoration: none; color: #666666;">free movie apps</span></a>.</p>
<p>In my opinion, this is the only reason for the massive popularity of mediums such as bittorrent for pirating movies and music. Downloading a good quality print of a movie from a torrent search engine isn&#8217;t rocket science but it&#8217;s still something that a lot of non-techies don&#8217;t know how to do, and they&#8217;d be more than willing to pay a fee to the hollywood studios if they&#8217;d let them download and see the movies at home. In the absence of any such option, it is natural for people to resort to piracy.</p>
<p><span id="more-2241"></span></p>
<p><img class="aligncenter size-full wp-image-2256" src="http://geekyninja.com/wp-content/uploads/2014/03/popcorntime.jpg" alt="Popcorn Time" width="500" height="323" /></p>
<p><em>Note: Depending on where you live, downloading movies via bittorrent may or may not be legal in your country. I don&#8217;t claim any responsibility for any trouble you may or may not get into by following the methods outlined in this article. This post is for educational purposes only and you should check your local laws to confirm the legality of watching movies over bittorrent.<br />
</em></p>
<p>With that out of the way, allow me to introduce <a href="http://getpopcornti.me/">Popcorn Time</a>, or PT for short. PT is a new open source media player application that uses the bittorrent protocol to seamlessly stream movies to you &#8211; almost as <a href="http://www.fastcompany.com/3027456/fast-feed/popcorn-time-the-free-app-that-makes-streaming-torrents-as-easy-as-netflix">easy as streaming a movie from Netflix</a>, as someone put it.</p>
<p>Uses the bittorrent protocol, you say? So, how is it different from downloading a movie and playing it in your favorite media player?</p>
<p>Well, the difference is that the bittorrent protocol, in general, isn&#8217;t really designed for streaming so when you&#8217;re downloading a file over bittorrent, you will not be able to start playing it immediately. You&#8217;ll have to wait till you have the complete file to be able to play it.</p>
<p>Popcorn Time, on the other hand, uses some <a href="https://github.com/mafintosh/peerflix">nifty technology</a> and a bunch of free APIs, to let you start watching movies almost as soon as you hit play. In the background, Popcorn Time downloads the media you&#8217;re playing just as you&#8217;d if you were downloading it manually, and as soon as the user finishes watching the video, it deletes the file. For the user, this process is seamless.</p>
]]></content:encoded>
			</item>
		<item>
		<title>How To Enable php On Apache With OS X Mavericks</title>
		<link>http://geekyninja.com/archives/how-to-enable-php-on-apache-with-os-x-mavericks/</link>
		<pubDate>Mon, 10 Mar 2014 21:00:21 +0000</pubDate>
		<dc:creator><![CDATA[Sharninder]]></dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://geekyninja.com/?p=2245</guid>
		<description><![CDATA[If you&#8217;re an OS X user developing php based application, you&#8217;d have realised that the apache configuration shipped with OS X doesn&#8217;t have php enabled out of the box. If you try to open a php script using your browser, you&#8217;ll just see the php code as text and not the rendered HTML you&#8217;re expecting.&#8230; <p class="simppeli-read-more"><a href="http://geekyninja.com/archives/how-to-enable-php-on-apache-with-os-x-mavericks/" class="more-link">Continue reading <span class="screen-reader-text">How To Enable php On Apache With OS X Mavericks</span> <span class="meta-nav">&#8594;</span></a></p>]]></description>
				<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-2248" src="http://geekyninja.com/wp-content/uploads/2014/03/php.png" alt="php" width="200" height="105" />If you&#8217;re an OS X user developing php based application, you&#8217;d have realised that the apache configuration shipped with OS X doesn&#8217;t have php enabled out of the box. If you try to open a php script using your browser, you&#8217;ll just see the php code as text and not the rendered HTML you&#8217;re expecting.</p>
<p>But, don&#8217;t fret. It&#8217;s actually pretty simple to enable php on OS X. Here is what you should do.</p>
<p><span id="more-2245"></span></p>
<p>Use your favorite editor to open the apache configuration file &#8211; <strong>/etc/apache2/httpd.conf</strong>. Since this file is owned by the root user, you&#8217;ll have to drop down to the terminal and use sudo to open it with root privileges.</p>
<p><img class="aligncenter size-full wp-image-2246" src="http://geekyninja.com/wp-content/uploads/2014/03/httpd.png" alt="Apache httpd.conf" width="365" height="49" srcset="http://geekyninja.com/wp-content/uploads/2014/03/httpd-300x40.png 300w, http://geekyninja.com/wp-content/uploads/2014/03/httpd.png 365w" sizes="(max-width: 365px) 100vw, 365px" /></p>
<p>sudo will prompt you for your password and then open the editor command, vim in my case. If you&#8217;re not familiar with vim, just take a look at this <a href="http://fprintf.net/vimCheatSheet.html">cheat sheet</a> for a few basic commands or use a simpler editor such as nano &#8211; <strong>sudo nano /etc/apache/httpd.conf</strong>.</p>
<p>Now, scroll down a bit and find the line that looks something like this</p>
<p><strong>#LoadModule php5_module libexec/apache2/libphp5.so</strong></p>
<p>See the &#8216;#&#8217; in front of the line. This means that the line has been commented out and apache doesn&#8217;t execute this line when it&#8217;s reading the configuration file.</p>
<p>Now, all you have to do is uncomment the line, i.e. remove the &#8216;#&#8217; in front of it and save the file (Tip: Place your cursor on the &#8216;#&#8217; and use the &#8216;x&#8217; command to delete it. Now press the escape key and type &#8216;:wq&#8217; to save the file and quit the editor).</p>
<p>At this point, you should&#8217;ve changed the apache configuration file but the apache instance already running doesn&#8217;t know that and it&#8217;s still running with the old configuration. To change that, you&#8217;ll have to restart apache.</p>
<p><strong>sudo apachectl restart </strong></p>
<p><img class="aligncenter size-full wp-image-2247" src="http://geekyninja.com/wp-content/uploads/2014/03/apacherestart.png" alt="Restart Apache" width="343" height="39" srcset="http://geekyninja.com/wp-content/uploads/2014/03/apacherestart-300x34.png 300w, http://geekyninja.com/wp-content/uploads/2014/03/apacherestart.png 343w" sizes="(max-width: 343px) 100vw, 343px" /></p>
<p>That&#8217;s it! Now when you browse over to your php script, you should be able to see it in all it&#8217;s HTML rendered glory.</p>
]]></content:encoded>
			</item>
		<item>
		<title>How To Start Apache Server In OS X Mavericks</title>
		<link>http://geekyninja.com/archives/how-to-start-apache-server-in-os-x-mavericks/</link>
		<pubDate>Mon, 10 Mar 2014 14:30:00 +0000</pubDate>
		<dc:creator><![CDATA[Sharninder]]></dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://geekyninja.com/?p=2251</guid>
		<description><![CDATA[Mac OS X used to be the one of the easiest operating systems around to get a basic web development setup. For anyone interested in learning HTML/CSS/JS etc, all they had to do was open the sharing pane from system preferences and enable the web sharing option. On OS X 10.9, web sharing has been&#8230; <p class="simppeli-read-more"><a href="http://geekyninja.com/archives/how-to-start-apache-server-in-os-x-mavericks/" class="more-link">Continue reading <span class="screen-reader-text">How To Start Apache Server In OS X Mavericks</span> <span class="meta-nav">&#8594;</span></a></p>]]></description>
				<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-2252" src="http://geekyninja.com/wp-content/uploads/2014/03/apache.png" alt="Apache" width="200" height="118" />Mac OS X used to be the one of the easiest operating systems around to get a basic web development setup. For anyone interested in learning HTML/CSS/JS etc, all they had to do was open the sharing pane from system preferences and enable the web sharing option. On OS X 10.9, web sharing has been removed.</p>
<p>That doesn&#8217;t mean apache isn&#8217;t installed, by default. It is, its just hidden away waiting to be manually invoked using a Terminal command.</p>
<p><span id="more-2251"></span></p>
<p>To start apache, fire up the Terminal and use the following command</p>
<p><strong>sudo apachectl start</strong></p>
<p>To stop apache, this is what you need to do</p>
<p><strong>sudo apachectl stop</strong></p>
<p>You can of course, replace start/stop with restart. <strong>sudo apachectl restart</strong>This is useful if you&#8217;ve changed some configuration parameter in Apache&#8217;s configuration file, httpd.conf, and have to restart apache for it to take effect.</p>
]]></content:encoded>
			</item>
		<item>
		<title>How to view HTML source in Safari And Firefox</title>
		<link>http://geekyninja.com/archives/how-to-view-html-source-in-safari-firefox/</link>
		<pubDate>Sun, 09 Feb 2014 09:24:21 +0000</pubDate>
		<dc:creator><![CDATA[Sharninder]]></dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[safari]]></category>

		<guid isPermaLink="false">http://geekyninja.com/?p=2229</guid>
		<description><![CDATA[If you&#8217;re a Linux and a Mac OS X user, like I am, chances are that you tend to stick to the same browser in both the operating systems, maybe because you&#8217;re familiar with it or maybe because you just like that one browser. In my case, that&#8217;s usually the Mozilla Firefox browser. While I&#8230; <p class="simppeli-read-more"><a href="http://geekyninja.com/archives/how-to-view-html-source-in-safari-firefox/" class="more-link">Continue reading <span class="screen-reader-text">How to view HTML source in Safari And Firefox</span> <span class="meta-nav">&#8594;</span></a></p>]]></description>
				<content:encoded><![CDATA[<p>If you&#8217;re a Linux and a Mac OS X user, like I am, chances are that you tend to stick to the same browser in both the operating systems, maybe because you&#8217;re familiar with it or maybe because you just like that one browser. In my case, that&#8217;s usually the Mozilla Firefox browser. While I have both Chrome and Firefox installed on both my machines, I still tend to come back to Firefox always. Anyway, I digress.</p>
<p>I&#8217;ve been using Firefox to debug and display a ruby on rails app that I&#8217;m working on and it was going fine till I decided to use Safari for the same work, because I thought I should test in both the browsers.</p>
<p>Now, if you&#8217;ve developed any HTML based app before, you&#8217;d know how important and useful the &#8220;view source&#8221; function is, that any modern browser incorporates. HTML is a simple markup language and mostly you can just debug your markup by just looking at the browser UI, but sometimes, especially when you&#8217;re dynamically generating content and pages, as in case of Ruby on rails, you need to view the source to figure out what&#8217;s happening.</p>
<p><span id="more-2229"></span></p>
<p>On Firefox, you can view the source of the current page but clicking on <strong>Tools-&gt;Web Developer-&gt;Page Source</strong>.</p>
<p><img class="aligncenter size-full wp-image-2230" src="http://geekyninja.com/wp-content/uploads/2014/02/firefoxdebug.jpg" alt="View source in firefox" width="465" height="380" srcset="http://geekyninja.com/wp-content/uploads/2014/02/firefoxdebug-300x245.jpg 300w, http://geekyninja.com/wp-content/uploads/2014/02/firefoxdebug.jpg 465w" sizes="(max-width: 465px) 100vw, 465px" /></p>
<p>when I moved to Safari, though, I couldn&#8217;t find a developer menu at all. In fact, I couldn&#8217;t find any way at all to view the page source. Now I like Safari as a browser and Mac OS X is really a wonderful operating system, but Apple sometimes really does take things too far when it comes to making their products user friendly. Sure, regular users don&#8217;t like the view the source of their web pages but what&#8217;s the harm in having an option to do that.</p>
<p>Anyway, the way to view the HTML source of pages on Safari is to enable the developer menu.</p>
<p>Click on the Safari menu and select Preferences. Go to the Advanced tab. Now, c<span style="line-height: 1.5em;">heck &#8220;Show Develop menu in menu bar&#8221; and close Safari&#8217;s preferences. At this point, you will have a new menubar item, named &#8220;</span>Develop<span style="line-height: 1.5em;">&#8220;.</span></p>
<p><img class="aligncenter size-full wp-image-2231" src="http://geekyninja.com/wp-content/uploads/2014/02/safaridebug.jpg" alt="Safari develop menu" width="419" height="250" /></p>
<p>Click on Develop and select &#8220;Show Page Source&#8221; to view the source code of the current page.</p>
<p>Have anymore Safari tips to share ? Share with me through the Contact form or in the comments below.</p>
<p>&nbsp;</p>
]]></content:encoded>
			</item>
		<item>
		<title>Top 5 Sites To Watch Movies And Documentaries Online For Free</title>
		<link>http://geekyninja.com/archives/top-5-sites-to-watch-movies-and-documentaries-online-for-free/</link>
		<pubDate>Thu, 01 Nov 2012 14:30:06 +0000</pubDate>
		<dc:creator><![CDATA[Sharninder]]></dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[movies]]></category>
		<category><![CDATA[streaming]]></category>
		<category><![CDATA[Streaming videos]]></category>
		<category><![CDATA[Top 5]]></category>

		<guid isPermaLink="false">http://geekyninja.com/?p=2205</guid>
		<description><![CDATA[If one goes by the available statistics alone, TV viewership is declining across the world, especially in countries where fast and reliable Internet is available and cheap enough for everyone to afford. While that does spell doom for TV companies, trends also reveal that movie and documentary film makers are doing alright and in-fact, viewership seems&#8230; <p class="simppeli-read-more"><a href="http://geekyninja.com/archives/top-5-sites-to-watch-movies-and-documentaries-online-for-free/" class="more-link">Continue reading <span class="screen-reader-text">Top 5 Sites To Watch Movies And Documentaries Online For Free</span> <span class="meta-nav">&#8594;</span></a></p>]]></description>
				<content:encoded><![CDATA[<p>If one goes by the <a href="http://mediadecoder.blogs.nytimes.com/2012/05/03/nielsen-reports-a-decline-in-television-viewing/" target="_blank">available statistics</a> alone, TV viewership is declining across the world, especially in countries where fast and reliable Internet is available and cheap enough for everyone to afford. While that does spell doom for TV companies, trends also reveal that movie and documentary film makers are doing alright and in-fact, viewership seems to be increasing for them with the only difference being that most viewers these days prefer to get their fix at home instead of at the movie theaters.</p>
<p>For all you <a href="http://www.forbes.com/sites/michaelhumphrey/2011/08/22/tv-cord-cutters-who-you-are-and-why-you-scare-bigwigs/" target="_blank">cord cutters</a> out there, we have compiled of a list of the Top 5 sites to view movies and documentaries online for free. Read on for the full list.</p>
<p><span id="more-2205"></span></p>
<h2><a href="http://vimeo.com/" target="_blank">Vimeo</a></h2>
<p><img class="aligncenter size-full wp-image-2206" title="Vimeo" src="http://geekyninja.com/wp-content/uploads/2012/11/vimeo.jpg" alt="" width="450" height="479" /></p>
<p>Vimeo is, in my opinion, YouTube&#8217;s cooler bro. While YouTube is known for silly and/or fun videos, Vimeo is for the serious artists and film makers. Start by exploring the <a href="http://vimeo.com/categories" target="_blank">various categories</a> and you will be surprised by the excellent content they have on offer.</p>
<h2><a href="http://www.bbc.co.uk/filmnetwork/" target="_blank">BBC Film Network</a></h2>
<p><img class="aligncenter size-full wp-image-2207" title="BBC Film network" src="http://geekyninja.com/wp-content/uploads/2012/11/bbc.jpg" alt="" width="450" height="369" srcset="http://geekyninja.com/wp-content/uploads/2012/11/bbc-300x246.jpg 300w, http://geekyninja.com/wp-content/uploads/2012/11/bbc.jpg 450w" sizes="(max-width: 450px) 100vw, 450px" /></p>
<p>The BBC is very rightly known for excellent programming but did you know that a section of their website is dedicated to promoting documentaries and shorts (short films) from independent up and coming British film makers. <a href="http://www.bbc.co.uk/filmnetwork/" target="_blank">The collection</a> is really quite good. Just browse on a lazy Sunday afternoon and you are sure to catch something of your interest.</p>
<h2><a href="http://archive.org/details/movies" target="_blank">The Internet Archive</a></h2>
<p><img class="aligncenter size-full wp-image-2208" title="The Internet Movie Archive" src="http://geekyninja.com/wp-content/uploads/2012/11/internetarchive.jpg" alt="" width="442" height="354" srcset="http://geekyninja.com/wp-content/uploads/2012/11/internetarchive-300x240.jpg 300w, http://geekyninja.com/wp-content/uploads/2012/11/internetarchive.jpg 442w" sizes="(max-width: 442px) 100vw, 442px" /></p>
<p>This list would have been incomplete with a link from the Internet Archive. Their goal is to have a copy of the Internet, for keep sakes, you know. And that means that they have an excellent movies section too. Head over to their <a href="http://archive.org/details/movies" target="_blank">movies archive</a>, which is very well organised, if I may add and have fun.</p>
<h2><a href="http://www.classiccinemaonline.com/" target="_blank">Classic Cinema Online</a></h2>
<p><img class="aligncenter size-full wp-image-2209" title="Classic Cinema Online" src="http://geekyninja.com/wp-content/uploads/2012/11/classmoviesonline.jpg" alt="" width="450" height="267" srcset="http://geekyninja.com/wp-content/uploads/2012/11/classmoviesonline-300x178.jpg 300w, http://geekyninja.com/wp-content/uploads/2012/11/classmoviesonline.jpg 450w" sizes="(max-width: 450px) 100vw, 450px" /></p>
<p>If you&#8217;re a Classic movies buff, look no further than <a href="http://www.classiccinemaonline.com/" target="_blank">Classic Cinema Online</a>. Whatever your preferred genre, they&#8217;ll have something for your interest.</p>
<h2><a href="http://www.youtube.com/movies" target="_blank">YouTube Movies</a></h2>
<p><img class="aligncenter size-full wp-image-2210" title="YouTube Movies" src="http://geekyninja.com/wp-content/uploads/2012/11/youtubemovies.jpg" alt="" width="450" height="295" /></p>
<p>Forget what I said about YouTube&#8217;s silly pet videos. Over the last couple of years, the YouTube team has been hard at work building a <a href="http://www.youtube.com/movies" target="_blank">formidable collection</a> of documentaries, movies and TV serials, all in full HD glory, so that, well, if you&#8217;re bored of all the pet videos there is something more interesting for you to watch.</p>
<p>These were just some of the places you can head to and find some nice movies to watch for free. Of course, there are sites such as <a href="http://hulu.com" target="_blank">Hulu</a> and the like that don&#8217;t work outside the US, but if you really want you can <a href="http://geekyninja.com/archives/how-to-listen-to-turntable-fm-and-pandora-outside-the-us/" target="_blank">watch movies on Hulu from anywhere in the world</a>, so that&#8217;s one more excellent resource to add to the list.</p>
<p>Are you a cord cutter ? Do you like to watch movies and documentaries online ?</p>
]]></content:encoded>
			</item>
		<item>
		<title>Why Should You Switch From Qwerty To Colemak Keyboard Layout</title>
		<link>http://geekyninja.com/archives/why-should-you-switch-from-qwerty-to-colemak-keyboard-layout/</link>
		<comments>http://geekyninja.com/archives/why-should-you-switch-from-qwerty-to-colemak-keyboard-layout/#comments</comments>
		<pubDate>Tue, 23 Oct 2012 14:30:15 +0000</pubDate>
		<dc:creator><![CDATA[Gourav]]></dc:creator>
				<category><![CDATA[Opinion]]></category>
		<category><![CDATA[colemak]]></category>
		<category><![CDATA[dvorak]]></category>
		<category><![CDATA[keyboard layout]]></category>
		<category><![CDATA[querty]]></category>

		<guid isPermaLink="false">http://geekyninja.com/?p=2162</guid>
		<description><![CDATA[If you&#8217;ve been using a computer for some time, you&#8217;d be familiar with the term &#8216;qwerty&#8217; –  That&#8217;s the first six letters on the most popular format of the keyboard layout in use. The qwerty keyboard layout was introduced more than a century ago and while almost all other forms of technology have improved drastically&#8230; <p class="simppeli-read-more"><a href="http://geekyninja.com/archives/why-should-you-switch-from-qwerty-to-colemak-keyboard-layout/" class="more-link">Continue reading <span class="screen-reader-text">Why Should You Switch From Qwerty To Colemak Keyboard Layout</span> <span class="meta-nav">&#8594;</span></a></p>]]></description>
				<content:encoded><![CDATA[<p><img class="alignleft size-medium wp-image-2166" src="http://geekyninja.com/wp-content/uploads/2012/08/qwerty-300x200.jpg" alt="" width="300" height="200" />If you&#8217;ve been using a computer for some time, you&#8217;d be familiar with the term &#8216;qwerty&#8217; –  That&#8217;s the first six letters on the most popular format of the keyboard layout in use.</p>
<p>The qwerty keyboard layout was introduced more than a century ago and while almost all other forms of technology have improved drastically since then, the same can&#8217;t be said for the keyboard arrangement we use.</p>
<p><span id="more-2162"></span></p>
<h3>Introduction of Qwerty</h3>
<p>Contrary to popular belief, the Qwerty layout was NOT introduced for either typing efficiency or comfort. In the early days of typewriters, typing very fast would jam the keys. So, the Qwerty form was used to reduce the typing speed and hence prevent the typewriter from getting jammed. Unfortunately, the convention has continued till date and we still follow the age old layout on our computers and touch screens in spite of the presence of newer and better keyboard layouts.</p>
<h3>Why is Qwerty Inefficient?</h3>
<p>If you are a qwerty user and very satisfied with your keyboard format, consider this fact. Ideally, when we rest our hands on our keyboard, our fingers are placed on the <strong>a</strong>,<strong>s</strong>,<strong>d</strong>,<strong>f</strong> and <strong>j</strong>,<strong>k</strong>,<strong>l</strong>,<strong>;</strong> keys. Now take a look at the chart (source: Wikipedia) below which shows the alphabets most frequently used in the English language.</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-2167" src="http://geekyninja.com/wp-content/uploads/2012/08/letter-frequency1.jpg" alt="" width="385" height="656" srcset="http://geekyninja.com/wp-content/uploads/2012/08/letter-frequency1-176x300.jpg 176w, http://geekyninja.com/wp-content/uploads/2012/08/letter-frequency1.jpg 385w" sizes="(max-width: 385px) 100vw, 385px" /></p>
<p>Comparing this chart with the home row of a qwerty layout, one can easily observe that only 2 alphabets – <strong>a</strong> and <strong>s</strong>, are the most frequently used on the home row while the rest of the keys do not function as much. It is quite evident that finger movement is more while using other alphabets on the top and bottom rows and more the finger movement; less is the speed and typing efficiency.</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-2163" src="http://geekyninja.com/wp-content/uploads/2012/08/hand-position-on-qwerty.jpg" alt="" width="600" height="338" srcset="http://geekyninja.com/wp-content/uploads/2012/08/hand-position-on-qwerty-300x169.jpg 300w, http://geekyninja.com/wp-content/uploads/2012/08/hand-position-on-qwerty.jpg 600w" sizes="(max-width: 600px) 100vw, 600px" /></p>
<p>The above may seem only good for theory purposes, but tools such as <a href="http://patorjk.com/keyboard-layout-analyzer/" target="_blank">keyboard layout analyzer</a> can give you detailed statistics and a practical insight about keyboard layouts and their efficiency. To compare, all you need to do is enter the text which you want to compare against various keyboard layouts. Text can either be entered by you or chosen from pre-defined options like Alice’s Adventure in Wonderland, Most Common English Words or Most Common SAT Words. Then various factors such as the distance travelled by our fingers while typing, use of a particular finger and the how often we switch our fingers and hands are taken into consideration to generate an overall score.</p>
<p>We performed several test including the text of this post and in almost all the cases the Qwerty layout scored the least. Another interesting aspect of the test was that the Colemak and Dvorak keyboard layouts performed much better and were pretty close in terms of performance.</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-2164" src="http://geekyninja.com/wp-content/uploads/2012/08/keyboard-layout-analyser-test-result.jpg" alt="" width="420" height="166" srcset="http://geekyninja.com/wp-content/uploads/2012/08/keyboard-layout-analyser-test-result-300x118.jpg 300w, http://geekyninja.com/wp-content/uploads/2012/08/keyboard-layout-analyser-test-result.jpg 420w" sizes="(max-width: 420px) 100vw, 420px" /></p>
<p>Given the choice between Colemak and Dvorak, either of them can be an efficient alternative to Qwerty. However, we recommend using the Colemak layout particularly because of its easy to adapt nature along with many others.</p>
<p>Are you satisfied with the current layout of your keyboard ? Would you like to switch if that&#8217;d lead to greater efficiency and faster typing speed, not to mentioned, increased productivity?</p>
]]></content:encoded>
			<wfw:commentRss>http://geekyninja.com/archives/why-should-you-switch-from-qwerty-to-colemak-keyboard-layout/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The Curious Case Of The iPad Mini</title>
		<link>http://geekyninja.com/archives/the-curious-case-of-the-ipad-mini/</link>
		<pubDate>Fri, 19 Oct 2012 05:45:57 +0000</pubDate>
		<dc:creator><![CDATA[Sharninder]]></dc:creator>
				<category><![CDATA[Opinion]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[ipad]]></category>
		<category><![CDATA[ipad mini]]></category>

		<guid isPermaLink="false">http://geekyninja.com/?p=2189</guid>
		<description><![CDATA[Unless you&#8217;ve been living under a rock for the last few days, you&#8217;d probably know that Apple plans to release a new 7&#8243; (or 7.8&#8243;) iPad sometime this month. Well, actually, Apple hasn&#8217;t confirmed anything except sent out an invite to the tech press which seems to all but confirm the existence of the said&#8230; <p class="simppeli-read-more"><a href="http://geekyninja.com/archives/the-curious-case-of-the-ipad-mini/" class="more-link">Continue reading <span class="screen-reader-text">The Curious Case Of The iPad Mini</span> <span class="meta-nav">&#8594;</span></a></p>]]></description>
				<content:encoded><![CDATA[<p><a href="http://geekyninja.com/wp-content/uploads/2012/10/ipad-mini.jpg"><img class="aligncenter size-full wp-image-2197" title="iPad mini" src="http://geekyninja.com/wp-content/uploads/2012/10/ipad-mini.jpg" alt="" width="300" height="183" /></a>Unless you&#8217;ve been living under a rock for the last few days, you&#8217;d probably know that <a href="http://www.macworld.co.uk/ipad-iphone/news/?newsid=3372254">Apple plans to release a new 7&#8243;</a> (or <a href="http://daringfireball.net/2012/07/this_ipad_mini_thing" target="_blank">7.8&#8243;</a>) iPad sometime this month. Well, actually, Apple hasn&#8217;t confirmed anything except <a href="http://www.loopinsight.com/2012/10/16/apple-announces-special-event-for-oct-23/" target="_blank">sent out an invite to the tech press</a> which seems to all but confirm the existence of the said device. There has been speculation about the device&#8217;s size, price and the ability to conjure up the <em>Patronus Charm</em> and blow the competition away.</p>
<p><span id="more-2189"></span></p>
<p>There has also been talk among the wildlings, aka Android and <em>other operating systems we don&#8217;t take the name of</em> users, that the iPad mini is just a reaction to Amazon&#8217;s wildly successful (?) Kindle Fire and Google&#8217;s Nexus 7. Some of these user&#8217;s just can&#8217;t think of any good reasons so just keep blurting out, WELL STEVE JOBS SAID APPLE WOULDN&#8217;T MAKE A 7&#8243; TABLET.</p>
<p>Well, guess what, Steve doesn&#8217;t run the company anymore. God bless his soul.</p>
<p>All speculations aside, I think the biggest reason Apple is going to release an iPad mini is because Steve said they won&#8217;t.</p>
<p>Confused? Don&#8217;t be.</p>
<p>If you&#8217;ve been following Apple&#8217;s growth path for the last few years, specifically how Apple has handled the iPod lineup over the years, the answer would be clear. Apple doesn&#8217;t go after market share. Period. Not in the initial years at least.</p>
<p>Apple released the iconic iPod and no one thought it&#8217;d be such a big hit. This was a comparatively expensive product that people really didn&#8217;t think they&#8217;d need. Well, guess what. Everyone bought it regardless. It was a massive success and sure enough, Apple <a href="http://en.wikipedia.org/wiki/List_of_iPod_models" target="_blank">released an updated version</a> and by the time the original iPod was in it&#8217;s third year, Apple released the iPod mini and then the nano and then the shuffle and so on.</p>
<p>The point I&#8217;m trying to make is that this is how Apple has always worked. Release a ground breaking product, reap profits for a few years. Make another model, catering to a different segment and reap more profits. Unlike competition, Apple leaves a lot of holes in the market initially and then fills them up one by one depending on the market&#8217;s reaction.</p>
<p>Now, take the case of the iPhone. Apple released the iPhone with 2G first, then 3G and then gave it a speed boost with the 3GS and moved on to the iPhone 4. Now, with the 3GS and iPhone 4, Apple finally had two models that could run their current version of iOS without getting bogged down. iPhone 4 became the flagship model and the 3GS was sold at a reduced price.</p>
<p>Now, Samsung&#8217;s strategy in selling their Galaxy tabs is on somewhat similar lines. They probably have a Galaxy Tab model all the way from 4&#8243; to 10&#8243; and will probably have launched a few more in between by the time you read this. And the strategy seems to be working for them so far. But it really hasn&#8217;t dented the iPad&#8217;s sales.</p>
<p>I don&#8217;t think Apple&#8217;s decision to release the iPad mini has anything to do with the perceived success of the Kindle Fire or the Nexus 7. Apple probably is in a much better position than any of us to find out just how many of these other tablets have really been sold.</p>
<p><img class="aligncenter size-full wp-image-2198" title="iPad Mini Invite" src="http://geekyninja.com/wp-content/uploads/2012/10/ipad-mini-invite.jpg" alt="" width="350" height="252" srcset="http://geekyninja.com/wp-content/uploads/2012/10/ipad-mini-invite-300x216.jpg 300w, http://geekyninja.com/wp-content/uploads/2012/10/ipad-mini-invite.jpg 350w" sizes="(max-width: 350px) 100vw, 350px" /></p>
<p>I think the iPad mini always figured in the broad plan and the reason it&#8217;s being released right now is because it&#8217;s elder sibling has pretty much cornered it&#8217;s market and this just happens to be a good time to get the fence sitters into the ecosystem, just like the iPod mini and the shuffle did.</p>
<p>&nbsp;</p>
]]></content:encoded>
			</item>
	</channel>
</rss>

<!-- Served from: geekyninja.com @ 2021-06-06 14:14:20 by W3 Total Cache -->