<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Cerebral Backup</title>
	<atom:link href="http://cerebralbackup.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://cerebralbackup.wordpress.com</link>
	<description>Memory? Input, store, retieve.</description>
	<lastBuildDate>Wed, 18 Jan 2012 11:21:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='cerebralbackup.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Cerebral Backup</title>
		<link>http://cerebralbackup.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://cerebralbackup.wordpress.com/osd.xml" title="Cerebral Backup" />
	<atom:link rel='hub' href='http://cerebralbackup.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Formats Date in YUI</title>
		<link>http://cerebralbackup.wordpress.com/2012/01/18/formats-date-in-yui/</link>
		<comments>http://cerebralbackup.wordpress.com/2012/01/18/formats-date-in-yui/#comments</comments>
		<pubDate>Wed, 18 Jan 2012 10:59:27 +0000</pubDate>
		<dc:creator>Euri</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[YUI]]></category>

		<guid isPermaLink="false">http://cerebralbackup.wordpress.com/?p=151</guid>
		<description><![CDATA[Formats date to YYYY-MM-DD:<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cerebralbackup.wordpress.com&amp;blog=2525542&amp;post=151&amp;subd=cerebralbackup&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Formats date to YYYY-MM-DD:</p>
<p><pre class="brush: jscript;">
var new_date = YAHOO.util.Date.format(new Date(current_date), { format: &quot;%Y-%m-%d&quot;});
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cerebralbackup.wordpress.com/151/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cerebralbackup.wordpress.com/151/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cerebralbackup.wordpress.com/151/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cerebralbackup.wordpress.com/151/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cerebralbackup.wordpress.com/151/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cerebralbackup.wordpress.com/151/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cerebralbackup.wordpress.com/151/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cerebralbackup.wordpress.com/151/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cerebralbackup.wordpress.com/151/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cerebralbackup.wordpress.com/151/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cerebralbackup.wordpress.com/151/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cerebralbackup.wordpress.com/151/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cerebralbackup.wordpress.com/151/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cerebralbackup.wordpress.com/151/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cerebralbackup.wordpress.com&amp;blog=2525542&amp;post=151&amp;subd=cerebralbackup&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cerebralbackup.wordpress.com/2012/01/18/formats-date-in-yui/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/660128402a3cab76a7891e70a804ee56?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">euri</media:title>
		</media:content>
	</item>
		<item>
		<title>How to Get Difference Between Dates in YUI</title>
		<link>http://cerebralbackup.wordpress.com/2012/01/18/how-to-get-difference-between-dates-in-yui/</link>
		<comments>http://cerebralbackup.wordpress.com/2012/01/18/how-to-get-difference-between-dates-in-yui/#comments</comments>
		<pubDate>Wed, 18 Jan 2012 10:57:34 +0000</pubDate>
		<dc:creator>Euri</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[YUI]]></category>

		<guid isPermaLink="false">http://cerebralbackup.wordpress.com/?p=146</guid>
		<description><![CDATA[To get number of days between 2 dates: new Date() = converts the date value to its raw format.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cerebralbackup.wordpress.com&amp;blog=2525542&amp;post=146&amp;subd=cerebralbackup&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To get number of days between 2 dates:</p>
<p><pre class="brush: jscript;">
var numnights = dateDiff(new Date(end_date.value),new Date(start_date.value));
</pre></p>
<p>new Date() = converts the date value to its raw format.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cerebralbackup.wordpress.com/146/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cerebralbackup.wordpress.com/146/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cerebralbackup.wordpress.com/146/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cerebralbackup.wordpress.com/146/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cerebralbackup.wordpress.com/146/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cerebralbackup.wordpress.com/146/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cerebralbackup.wordpress.com/146/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cerebralbackup.wordpress.com/146/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cerebralbackup.wordpress.com/146/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cerebralbackup.wordpress.com/146/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cerebralbackup.wordpress.com/146/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cerebralbackup.wordpress.com/146/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cerebralbackup.wordpress.com/146/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cerebralbackup.wordpress.com/146/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cerebralbackup.wordpress.com&amp;blog=2525542&amp;post=146&amp;subd=cerebralbackup&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cerebralbackup.wordpress.com/2012/01/18/how-to-get-difference-between-dates-in-yui/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/660128402a3cab76a7891e70a804ee56?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">euri</media:title>
		</media:content>
	</item>
		<item>
		<title>Sticky Sidebar</title>
		<link>http://cerebralbackup.wordpress.com/2011/08/25/sticky-sidebar/</link>
		<comments>http://cerebralbackup.wordpress.com/2011/08/25/sticky-sidebar/#comments</comments>
		<pubDate>Thu, 25 Aug 2011 11:47:35 +0000</pubDate>
		<dc:creator>Euri</dc:creator>
				<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://cerebralbackup.wordpress.com/?p=135</guid>
		<description><![CDATA[CSS Code: Javascript Code:<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cerebralbackup.wordpress.com&amp;blog=2525542&amp;post=135&amp;subd=cerebralbackup&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>CSS Code:</strong></p>
<p><pre class="brush: css;">#sidebar-move-wrapper {
    position: fixed;
}</pre></p>
<p><strong>Javascript Code:</strong></p>
<p><pre class="brush: jscript; wrap-lines: false;">&lt;script type=&quot;text/javascript&quot;&gt;
// &lt;![CDATA[
window.onscroll = function() {
    if( window.XMLHttpRequest ) {
        if ((document.body.scrollTop &gt; 280) || (document.documentElement.scrollTop &gt; 280)) {
            document.getElementById('sidebar').style.position = 'fixed';
            document.getElementById('sidebar').style.top = '0';
        } else {
            document.getElementById('sidebar').style.position = 'absolute';
            document.getElementById('sidebar').style.top = 'auto';
        }
    }
}
// ]]&gt;
&lt;/script&gt;</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cerebralbackup.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cerebralbackup.wordpress.com/135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cerebralbackup.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cerebralbackup.wordpress.com/135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cerebralbackup.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cerebralbackup.wordpress.com/135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cerebralbackup.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cerebralbackup.wordpress.com/135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cerebralbackup.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cerebralbackup.wordpress.com/135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cerebralbackup.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cerebralbackup.wordpress.com/135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cerebralbackup.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cerebralbackup.wordpress.com/135/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cerebralbackup.wordpress.com&amp;blog=2525542&amp;post=135&amp;subd=cerebralbackup&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cerebralbackup.wordpress.com/2011/08/25/sticky-sidebar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/660128402a3cab76a7891e70a804ee56?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">euri</media:title>
		</media:content>
	</item>
		<item>
		<title>Importing PostgreSQL in Windows</title>
		<link>http://cerebralbackup.wordpress.com/2011/07/20/importing-postgresql-in-windows/</link>
		<comments>http://cerebralbackup.wordpress.com/2011/07/20/importing-postgresql-in-windows/#comments</comments>
		<pubDate>Wed, 20 Jul 2011 15:40:17 +0000</pubDate>
		<dc:creator>Euri</dc:creator>
				<category><![CDATA[PostgreSQL]]></category>

		<guid isPermaLink="false">http://cerebralbackup.wordpress.com/?p=123</guid>
		<description><![CDATA[In the cmd, go to: C:\Program Files\PostgreSQL\9.0\bin Then type: Note: Your database must exist. &#8211; Thanks Ralph!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cerebralbackup.wordpress.com&amp;blog=2525542&amp;post=123&amp;subd=cerebralbackup&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In the cmd, go to: <strong>C:\Program Files\PostgreSQL\9.0\bin</strong></p>
<p>Then type:<br />
<pre class="brush: plain;">
psql -f db_file.sql -U postgres -d dbname
</pre></p>
<p>Note: Your database must exist.</p>
<p>&#8211;<br />
Thanks Ralph!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cerebralbackup.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cerebralbackup.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cerebralbackup.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cerebralbackup.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cerebralbackup.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cerebralbackup.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cerebralbackup.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cerebralbackup.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cerebralbackup.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cerebralbackup.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cerebralbackup.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cerebralbackup.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cerebralbackup.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cerebralbackup.wordpress.com/123/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cerebralbackup.wordpress.com&amp;blog=2525542&amp;post=123&amp;subd=cerebralbackup&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cerebralbackup.wordpress.com/2011/07/20/importing-postgresql-in-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/660128402a3cab76a7891e70a804ee56?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">euri</media:title>
		</media:content>
	</item>
		<item>
		<title>To Kill an Application in Ubuntu</title>
		<link>http://cerebralbackup.wordpress.com/2011/07/06/to-kill-an-application-in-ubuntu/</link>
		<comments>http://cerebralbackup.wordpress.com/2011/07/06/to-kill-an-application-in-ubuntu/#comments</comments>
		<pubDate>Wed, 06 Jul 2011 07:51:51 +0000</pubDate>
		<dc:creator>Euri</dc:creator>
				<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://cerebralbackup.wordpress.com/?p=120</guid>
		<description><![CDATA[In the terminal, search for the application&#8217;s ID: The terminal will return something like: Then, kill the application using the ID. &#8211; Thanks Pao! :D<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cerebralbackup.wordpress.com&amp;blog=2525542&amp;post=120&amp;subd=cerebralbackup&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In the terminal, search for the application&#8217;s ID:<br />
<pre class="brush: plain;">
ps auwx | grep -i office
</pre></p>
<p>The terminal will return something like:<br />
<pre class="brush: plain; wrap-lines: false;">
euri      2447  0.3  5.1 720112 104280 ?       Sl   14:19   0:19 /usr/lib/openoffice/program/soffice.bin -calc /home/euri/Desktop/activities_next_release.xls -splash-pipe=5
euri      3288  0.0  0.0   7624  1012 pts/0    S+   15:46   0:00 grep --color=auto -i office
</pre></p>
<p>Then, kill the application using the ID.<br />
<pre class="brush: plain;">
kill -9 2447
</pre></p>
<p>&#8211;<br />
Thanks Pao! :D</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cerebralbackup.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cerebralbackup.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cerebralbackup.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cerebralbackup.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cerebralbackup.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cerebralbackup.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cerebralbackup.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cerebralbackup.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cerebralbackup.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cerebralbackup.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cerebralbackup.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cerebralbackup.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cerebralbackup.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cerebralbackup.wordpress.com/120/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cerebralbackup.wordpress.com&amp;blog=2525542&amp;post=120&amp;subd=cerebralbackup&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cerebralbackup.wordpress.com/2011/07/06/to-kill-an-application-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/660128402a3cab76a7891e70a804ee56?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">euri</media:title>
		</media:content>
	</item>
		<item>
		<title>Installing VirtualHosts in Apache2 Using Ubuntu</title>
		<link>http://cerebralbackup.wordpress.com/2011/05/02/installing-virtualhosts-in-apache2-using-ubuntu/</link>
		<comments>http://cerebralbackup.wordpress.com/2011/05/02/installing-virtualhosts-in-apache2-using-ubuntu/#comments</comments>
		<pubDate>Mon, 02 May 2011 05:45:50 +0000</pubDate>
		<dc:creator>Euri</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Symfony]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://cerebralbackup.wordpress.com/?p=50</guid>
		<description><![CDATA[Assuming Apache2 is already installed. Go to the sites-available directory: Copy the default, and name it to a new one: Edit that new file you created with it&#8217;s Vhost stuff: Sample Vhost setting: Link the sites-available to the sites-enabled: Note: Do not forget to make your directory /home/euri/projects/beyondeternal.com/ writable. :) apache2.conf location:<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cerebralbackup.wordpress.com&amp;blog=2525542&amp;post=50&amp;subd=cerebralbackup&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Assuming Apache2 is already installed.</p>
<p>Go to the sites-available directory:<br />
<pre class="brush: plain;">
cd /etc/apache2/sites-available
</pre><br />
Copy the default, and name it to a new one:<br />
<pre class="brush: plain;">
sudo cp default &lt;strong&gt;beyondeternal.com&lt;/strong&gt;
</pre><br />
Edit that new file you created with it&#8217;s Vhost stuff:<br />
<pre class="brush: plain;">gksudo gedit beyondeternal.com</pre><br />
Sample Vhost setting:<br />
<pre class="brush: plain; wrap-lines: false;">
&lt;VirtualHost *:80&gt;
        ServerAdmin webmaster@example.com
        ServerName  euri.beyondeternal.com
        ServerAlias euri.beyondeternal.com

        # Indexes + Directory Root.
        DirectoryIndex directory_dev.php
        DocumentRoot /home/euri/projects/beyondeternal.com/web/
	&lt;Directory /&gt;
		Options FollowSymLinks
		AllowOverride None
	&lt;/Directory&gt;
	&lt;Directory /home/euri/projects/beyondeternal.com/web/&gt;
		Options Indexes FollowSymLinks MultiViews
		AllowOverride None
		Order allow,deny
		allow from all
	&lt;/Directory&gt;


        # sf directory
        Alias /sf/ /home/euri/projects/beyondeternal.com/lib/vendor/symfony/data/web/sf/

        # Logfiles
        ErrorLog  /home/euri/projects/beyondeternal.com/log/error.log
        CustomLog /home/euri/projects/beyondeternal.com/log/access.log combined
&lt;/VirtualHost&gt;
</pre><br />
Link the sites-available to the sites-enabled:<br />
<pre class="brush: plain;">sudo a2ensite beyondeternal.com</pre></p>
<p><strong>Note:</strong> Do not forget to make your directory <strong>/home/euri/projects/beyondeternal.com/</strong> writable. :)</p>
<p>apache2.conf location:<br />
<pre class="brush: plain;">gksudo gedit /etc/apache2/apache2.conf</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cerebralbackup.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cerebralbackup.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cerebralbackup.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cerebralbackup.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cerebralbackup.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cerebralbackup.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cerebralbackup.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cerebralbackup.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cerebralbackup.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cerebralbackup.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cerebralbackup.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cerebralbackup.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cerebralbackup.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cerebralbackup.wordpress.com/50/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cerebralbackup.wordpress.com&amp;blog=2525542&amp;post=50&amp;subd=cerebralbackup&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cerebralbackup.wordpress.com/2011/05/02/installing-virtualhosts-in-apache2-using-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/660128402a3cab76a7891e70a804ee56?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">euri</media:title>
		</media:content>
	</item>
		<item>
		<title>Change Password in Ubuntu</title>
		<link>http://cerebralbackup.wordpress.com/2011/04/29/change-password-in-ubuntu/</link>
		<comments>http://cerebralbackup.wordpress.com/2011/04/29/change-password-in-ubuntu/#comments</comments>
		<pubDate>Fri, 29 Apr 2011 05:54:03 +0000</pubDate>
		<dc:creator>Euri</dc:creator>
				<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://cerebralbackup.wordpress.com/?p=48</guid>
		<description><![CDATA[In the terminal, type: For the root password, type:<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cerebralbackup.wordpress.com&amp;blog=2525542&amp;post=48&amp;subd=cerebralbackup&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In the terminal, type:</p>
<p><pre class="brush: plain;">passwd</pre></p>
<p>For the root password, type:</p>
<p><pre class="brush: plain;">sudo passwd &lt;profile&gt;</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cerebralbackup.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cerebralbackup.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cerebralbackup.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cerebralbackup.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cerebralbackup.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cerebralbackup.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cerebralbackup.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cerebralbackup.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cerebralbackup.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cerebralbackup.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cerebralbackup.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cerebralbackup.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cerebralbackup.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cerebralbackup.wordpress.com/48/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cerebralbackup.wordpress.com&amp;blog=2525542&amp;post=48&amp;subd=cerebralbackup&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cerebralbackup.wordpress.com/2011/04/29/change-password-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/660128402a3cab76a7891e70a804ee56?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">euri</media:title>
		</media:content>
	</item>
		<item>
		<title>Hosts file in Ubuntu</title>
		<link>http://cerebralbackup.wordpress.com/2011/04/28/hosts-file-in-ubuntu/</link>
		<comments>http://cerebralbackup.wordpress.com/2011/04/28/hosts-file-in-ubuntu/#comments</comments>
		<pubDate>Thu, 28 Apr 2011 05:49:07 +0000</pubDate>
		<dc:creator>Euri</dc:creator>
				<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://cerebralbackup.wordpress.com/?p=43</guid>
		<description><![CDATA[GUI Command line: Or &#8211; credit.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cerebralbackup.wordpress.com&amp;blog=2525542&amp;post=43&amp;subd=cerebralbackup&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>GUI<br />
<pre class="brush: plain;">gksudo gedit /etc/hosts</pre></p>
<p>Command line:<br />
<pre class="brush: plain;">sudo vi /etc/hosts</pre></p>
<p>Or</p>
<p><pre class="brush: plain;">[gk]sudo &lt;your favorite editor&gt; filename</pre></p>
<p>&#8211;<br />
<a href="http://ubuntuforums.org/showthread.php?t=168357">credit</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cerebralbackup.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cerebralbackup.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cerebralbackup.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cerebralbackup.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cerebralbackup.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cerebralbackup.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cerebralbackup.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cerebralbackup.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cerebralbackup.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cerebralbackup.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cerebralbackup.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cerebralbackup.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cerebralbackup.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cerebralbackup.wordpress.com/43/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cerebralbackup.wordpress.com&amp;blog=2525542&amp;post=43&amp;subd=cerebralbackup&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cerebralbackup.wordpress.com/2011/04/28/hosts-file-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/660128402a3cab76a7891e70a804ee56?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">euri</media:title>
		</media:content>
	</item>
		<item>
		<title>Apache Stuff</title>
		<link>http://cerebralbackup.wordpress.com/2011/04/27/apache-stuff/</link>
		<comments>http://cerebralbackup.wordpress.com/2011/04/27/apache-stuff/#comments</comments>
		<pubDate>Wed, 27 Apr 2011 08:29:18 +0000</pubDate>
		<dc:creator>Euri</dc:creator>
				<category><![CDATA[Apache]]></category>

		<guid isPermaLink="false">http://cerebralbackup.wordpress.com/?p=40</guid>
		<description><![CDATA[To restart Apache server:<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cerebralbackup.wordpress.com&amp;blog=2525542&amp;post=40&amp;subd=cerebralbackup&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To restart Apache server:<br />
<pre class="brush: plain;">sudo /etc/init.d/apache2 restart</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cerebralbackup.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cerebralbackup.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cerebralbackup.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cerebralbackup.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cerebralbackup.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cerebralbackup.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cerebralbackup.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cerebralbackup.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cerebralbackup.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cerebralbackup.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cerebralbackup.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cerebralbackup.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cerebralbackup.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cerebralbackup.wordpress.com/40/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cerebralbackup.wordpress.com&amp;blog=2525542&amp;post=40&amp;subd=cerebralbackup&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cerebralbackup.wordpress.com/2011/04/27/apache-stuff/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/660128402a3cab76a7891e70a804ee56?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">euri</media:title>
		</media:content>
	</item>
		<item>
		<title>JS Date</title>
		<link>http://cerebralbackup.wordpress.com/2011/04/23/js-date/</link>
		<comments>http://cerebralbackup.wordpress.com/2011/04/23/js-date/#comments</comments>
		<pubDate>Sat, 23 Apr 2011 14:37:46 +0000</pubDate>
		<dc:creator>Euri</dc:creator>
				<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://cerebralbackup.wordpress.com/?p=34</guid>
		<description><![CDATA[To get new date: To convert YYYY-MM-DD to JS date format: To convert JS date to YYYY-MM-DD format:<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cerebralbackup.wordpress.com&amp;blog=2525542&amp;post=34&amp;subd=cerebralbackup&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To get new date:<br />
<pre class="brush: jscript;">var date = new Date();</pre></p>
<p>To convert YYYY-MM-DD to JS date format:<br />
<pre class="brush: jscript;">var cDate = new Date(oDate);</pre></p>
<p>To convert JS date to YYYY-MM-DD format:<br />
<pre class="brush: jscript;">cDateY = cDate.getFullYear();
cDateM = cDate.getMonth()+1;
cDateD = cDate.getDate();

if (cDateM &lt; 10) {
cDateM = &quot;0&quot; + cDateM;
}

cDate = cDateY + &quot;-&quot; + cDateM + &quot;-&quot; + cDateD;</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cerebralbackup.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cerebralbackup.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cerebralbackup.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cerebralbackup.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cerebralbackup.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cerebralbackup.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cerebralbackup.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cerebralbackup.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cerebralbackup.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cerebralbackup.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cerebralbackup.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cerebralbackup.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cerebralbackup.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cerebralbackup.wordpress.com/34/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cerebralbackup.wordpress.com&amp;blog=2525542&amp;post=34&amp;subd=cerebralbackup&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cerebralbackup.wordpress.com/2011/04/23/js-date/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/660128402a3cab76a7891e70a804ee56?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">euri</media:title>
		</media:content>
	</item>
	</channel>
</rss>
