<?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>vinicius.biz &#187; Vinicius Pinto</title>
	<atom:link href="http://vinicius.biz/author/admin/feed" rel="self" type="application/rss+xml" />
	<link>http://vinicius.biz</link>
	<description></description>
	<lastBuildDate>Thu, 22 Mar 2012 00:23:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Stop resetting VirtualBox with cmd+R keyboard shortcut</title>
		<link>http://vinicius.biz/stop-resetting-virtualbox-with-cmd-r-keyboard-shortcut</link>
		<comments>http://vinicius.biz/stop-resetting-virtualbox-with-cmd-r-keyboard-shortcut#comments</comments>
		<pubDate>Thu, 22 Mar 2012 00:22:02 +0000</pubDate>
		<dc:creator>Vinicius Pinto</dc:creator>
				<category><![CDATA[End-user software]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://vinicius.biz/?p=52</guid>
		<description><![CDATA[After a while running Mac OS X and Windows XP in separate machines, I decided to get rid of the huge PC case under my desk and install Windows in a virtual machine within Mac OS X. VirtualBox was my &#8230; <a href="http://vinicius.biz/stop-resetting-virtualbox-with-cmd-r-keyboard-shortcut">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>After a while running Mac OS X and Windows XP in separate machines, I decided to get rid of the huge PC case under my desk and install Windows in a virtual machine within Mac OS X. <a href="http://www.virtualbox.org/">VirtualBox</a> was my choice, since it&#8217;s free and works awesomely.</p>
<p>One problem I was having, though, is that the current version of VirtualBox (in this exact moment I&#8217;m using 4.1.10) uses Command + R as a keyboard shortcut to reset the guest operating system. As you may know if you too use a Mac, this is also the combination of keys used to refresh a page in most browsers in Mac OS X. Since I keep switching between Windows and Mac throughout the day, my brain was having a difficult time remembering this difference, and I kept rebooting Windows by mistake.</p>
<p>Since I couldn&#8217;t find a solution, I decided to post a feature request in the VirtualBox Community website, asking for a feature that allows the users to change keyboard shortcuts. Before posting, though, I decided to investigate a little more, and ended up find a fix! Turns out it&#8217;s quite easy.</p>
<p>So, here it is what you have to do to stop this annoyance:</p>
<p>1) Under VirtualBox / Preferences, change the Host Key to something other than the left Cmd key (I used the right Option key);</p>
<p>2) In Windows, install <a href="http://www.randyrants.com/2011/12/sharpkeys_35.html">SharpKeys</a> and use it to map the Cmd key to the Ctrl key (or whatever other key you want);</p>
<p>3) ???</p>
<p>4) Profit!</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://vinicius.biz/stop-resetting-virtualbox-with-cmd-r-keyboard-shortcut/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>No route matches &#8220;/rails/info/properties&#8221;</title>
		<link>http://vinicius.biz/no-route-matches-rails-info-properties</link>
		<comments>http://vinicius.biz/no-route-matches-rails-info-properties#comments</comments>
		<pubDate>Wed, 29 Feb 2012 06:58:31 +0000</pubDate>
		<dc:creator>Vinicius Pinto</dc:creator>
				<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://vinicius.biz/?p=46</guid>
		<description><![CDATA[After installing Phusion Passenger (also known as mod_rails)  and creating a Rails application to test the environment, I was able to view the default &#8220;Welcome aboard&#8221; page that is displayed on new apps, but got an error after clicking the &#8230; <a href="http://vinicius.biz/no-route-matches-rails-info-properties">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>After installing <a href="http://www.modrails.com/">Phusion Passenger</a> (also known as mod_rails)  and creating a Rails application to test the environment, I was able to view the default &#8220;Welcome aboard&#8221; page that is displayed on new apps, but got an error after clicking the &#8220;<em>About your application’s environment</em>&#8220;. This was the message displayed:</p>
<blockquote><p>No route matches &#8220;/rails/info/properties&#8221;</p></blockquote>
<p>This was happening because by default Passenger sets the RAILS_ENV to <em>production</em>. The solution was to set it to <em>development</em>. This can be done <a href="http://www.modrails.com/documentation/Users%20guide%20Apache.html#rails_env">in a couple of ways</a>, but I decided to add &#8220;<strong>RailsEnv development</strong>&#8221; to the Apache configuration file, inside de definition of the app&#8217;s virtual host.</p>
]]></content:encoded>
			<wfw:commentRss>http://vinicius.biz/no-route-matches-rails-info-properties/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Open MKV files in VirtualDub</title>
		<link>http://vinicius.biz/open-mkv-files-in-virtualdub</link>
		<comments>http://vinicius.biz/open-mkv-files-in-virtualdub#comments</comments>
		<pubDate>Sat, 18 Feb 2012 23:08:41 +0000</pubDate>
		<dc:creator>Vinicius Pinto</dc:creator>
				<category><![CDATA[End-user software]]></category>
		<category><![CDATA[Video editing]]></category>

		<guid isPermaLink="false">http://vinicius.biz/?p=42</guid>
		<description><![CDATA[By default, VirtualDub does not support MKV / Matroska files. If you need to open a video in this format, you&#8217;ll have to use one of the workarounds available. The one that worked best for me is this: 1) Create &#8230; <a href="http://vinicius.biz/open-mkv-files-in-virtualdub">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>By default, <a href="http://www.virtualdub.org/">VirtualDub</a> does not support <a href="http://en.wikipedia.org/wiki/Matroska">MKV / Matroska</a> files. If you need to open a video in this format, you&#8217;ll have to use one of the workarounds available. The one that worked best for me is this:</p>
<p><strong>1)</strong> Create a textfile (using Notepad or another plain text editor) with the following text:</p>
<p><strong>DirectShowSource(&#8220;video-filename.mkv&#8221;)</strong></p>
<p>Obviously replacing &#8220;video-filename&#8221; with the name of the MKV video you want to open. Give any name to the text file, but save it with the <strong>.avs</strong> extension, instead of the default .txt.</p>
<p><strong>2)</strong> Open the .avs file you just created in VirtualDub. Make sure to have the video file in the same directory as the .avs.</p>
<p><a title="A thread in the VideoHelp forum" href="http://forum.videohelp.com/threads/315370-MKV-as-source-in-VirtualDub">Source</a></p>
]]></content:encoded>
			<wfw:commentRss>http://vinicius.biz/open-mkv-files-in-virtualdub/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Custom token replacement in Drupal 7</title>
		<link>http://vinicius.biz/custom-token-replacement-in-drupal-7</link>
		<comments>http://vinicius.biz/custom-token-replacement-in-drupal-7#comments</comments>
		<pubDate>Fri, 27 Jan 2012 19:13:59 +0000</pubDate>
		<dc:creator>Vinicius Pinto</dc:creator>
				<category><![CDATA[Drupal]]></category>

		<guid isPermaLink="false">http://vinicius.biz/?p=32</guid>
		<description><![CDATA[If you need to replace custom tokens in the body or any other node field in Drupal 7, you can use the modules Token Filter and Custom Tokens to do the job. Install and enable both modules, then enable the &#8230; <a href="http://vinicius.biz/custom-token-replacement-in-drupal-7">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you need to replace custom tokens in the body or any other node field in <a href="http://drupal.org/">Drupal 7</a>, you can use the modules <a href="http://drupal.org/project/token_filter">Token Filter</a> and <a href="http://drupal.org/project/token_custom">Custom Tokens</a> to do the job.</p>
<p>Install and enable both modules, then enable the <em>Replace Tokens</em> filter in the desired input format. This is under Configuration / Input Formats.</p>
<p>To add the custom tokens, go to Structure / Custom tokens. If you create a token named <em>Foobar</em>, the custom token will be something like [custom:foobar].</p>
]]></content:encoded>
			<wfw:commentRss>http://vinicius.biz/custom-token-replacement-in-drupal-7/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

