<?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>Vvvegard!</title>
	<atom:link href="http://www.vvvegard.net/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.vvvegard.net/blog</link>
	<description>Learn me a book!</description>
	<lastBuildDate>Sun, 27 Feb 2011 03:11:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>SSH: Tips and tricks</title>
		<link>http://www.vvvegard.net/blog/ssh-tips-and-tricks/328/</link>
		<comments>http://www.vvvegard.net/blog/ssh-tips-and-tricks/328/#comments</comments>
		<pubDate>Sun, 27 Feb 2011 02:18:32 +0000</pubDate>
		<dc:creator>Vegard Hansen</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[how-to]]></category>

		<guid isPermaLink="false">http://www.vvvegard.net/blog/?p=328</guid>
		<description><![CDATA[I&#8217;ve played around with SSH to some extent, and thought I&#8217;d write down a few nifty features that I like. Kind of a little follow-up on my Key-based authentication and Accessing ArcHTTP-post. Keep in mind that you have to change things like host and user to fit your appropriate needs. scp foo user@host:~/bar # To [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve played around with SSH to some extent, and thought I&#8217;d write down a few nifty features that I like. Kind of a little follow-up on my <a href="http://www.vvvegard.net/blog/key-basert-autentisering-i-linuxbsdosx/54/">Key-based authentication</a> and <a href="http://www.vvvegard.net/blog/accessing-archttp/249/">Accessing ArcHTTP</a>-post. Keep in mind that you have to change things like host and user to fit your appropriate needs.</p>
<pre class="brush: plain; title: Copying files using SCP, placing the file foo your home folder (~/) and naming it bar.;">scp foo user@host:~/bar
# To copy a folder use the prefix -R foo/, like this
scp -R foo/ user@host:~/
</pre>
<pre class="brush: plain; title: Setting up a Socket 5 tunnel and bind it locally to port 8080. Nice feature if you&#039;re on a unsecured network and just too lazy to setup VPN.;">ssh -l user host -D 8080</pre>
<pre class="brush: plain; title: Binding a local port to an external port, an even better way at solving my Accessing ArcHTTP-post. We&#039;re binding the local port 8080 to the remote port 80.;">ssh -l user host -L 8080:localhost:80</pre>
<pre class="brush: plain; title: Configuring a local ssh_config for easy integration with multiple keys, long hostnames and different users. You can override everything using normal prefixes. File is located in ~/.ssh/config, you might need to create it first. For more possible options, check ssh_config(1) in man. To connect to a defined host, just issue ssh foo. &lt;br /&gt;&lt;br /&gt;A configuration can look something like this:;">Host foo
        User root
        HostName host
        IdentityFile ~/.ssh/otherkey
        Compression yes
        CompressionLevel 9
        KeepAlive Yes
Host bar
        User foo
        HostName host
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.vvvegard.net/blog/ssh-tips-and-tricks/328/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ssh-copy-id (1) on Mac OS/X</title>
		<link>http://www.vvvegard.net/blog/ssh-copy-id-1-on-mac-osx/318/</link>
		<comments>http://www.vvvegard.net/blog/ssh-copy-id-1-on-mac-osx/318/#comments</comments>
		<pubDate>Mon, 07 Feb 2011 14:22:27 +0000</pubDate>
		<dc:creator>Vegard Hansen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.vvvegard.net/blog/?p=318</guid>
		<description><![CDATA[As OS/X does not ship with ssh-copy-id, a utility to copy your public ssh-id to a remote server, you have to manually &#8220;install&#8221; it. Do the simple steps as described below, or &#8211; get it yourself from a server running OpenSSH. It&#8217;s located in /usr/bin/ssh-copy-id. First, create the file sudo nano /usr/bin/ssh-copy-id Insert bash-script. Optionally [...]]]></description>
			<content:encoded><![CDATA[<p>As OS/X does not ship with ssh-copy-id, a utility to copy your public ssh-id to a remote server, you have to manually &#8220;install&#8221; it. Do the simple steps as described below, or &#8211; get it yourself from a server running OpenSSH. It&#8217;s located in /usr/bin/ssh-copy-id.</p>
<p>First, create the file</p>
<pre class="brush: plain; title: Code example:;">
sudo nano /usr/bin/ssh-copy-id
</pre>
<p>Insert bash-script. Optionally you can get the script another OpenSSH installation, like Debian or Ubuntu. See &#8220;cat /usr/bin/ssh-copy-id&#8221;.</p>
<pre class="brush: plain; title: Code example:;">
#!/bin/sh

# Shell script to install your public key on a remote machine
# Takes the remote machine name as an argument.
# Obviously, the remote machine must accept password authentication,
# or one of the other keys in your ssh-agent, for this to work.

ID_FILE=&quot;${HOME}/.ssh/id_rsa.pub&quot;

if [ &quot;-i&quot; = &quot;$1&quot; ]; then
  shift
  # check if we have 2 parameters left, if so the first is the new ID file
  if [ -n &quot;$2&quot; ]; then
    if expr &quot;$1&quot; : &quot;.*\.pub&quot; &gt; /dev/null ; then
      ID_FILE=&quot;$1&quot;
    else
      ID_FILE=&quot;$1.pub&quot;
    fi
    shift         # and this should leave $1 as the target name
  fi
else
  if [ x$SSH_AUTH_SOCK != x ] &amp;&amp; ssh-add -L &gt;/dev/null 2&gt;&amp;1; then
    GET_ID=&quot;$GET_ID ssh-add -L&quot;
  fi
fi

if [ -z &quot;`eval $GET_ID`&quot; ] &amp;&amp; [ -r &quot;${ID_FILE}&quot; ] ; then
  GET_ID=&quot;cat ${ID_FILE}&quot;
fi

if [ -z &quot;`eval $GET_ID`&quot; ]; then
  echo &quot;$0: ERROR: No identities found&quot; &gt;&amp;2
  exit 1
fi

if [ &quot;$#&quot; -lt 1 ] || [ &quot;$1&quot; = &quot;-h&quot; ] || [ &quot;$1&quot; = &quot;--help&quot; ]; then
  echo &quot;Usage: $0 [-i [identity_file]] [user@]machine&quot; &gt;&amp;2
  exit 1
fi

{ eval &quot;$GET_ID&quot; ; } | ssh ${1%:} &quot;umask 077; test -d .ssh || mkdir .ssh ; cat &gt;&gt; .ssh/authorized_keys&quot; || exit 1

cat &lt;&lt;EOF
Now try logging into the machine, with &quot;ssh '${1%:}'&quot;, and check in:

  .ssh/authorized_keys

to make sure we haven't added extra keys that you weren't expecting.

EOF
</pre>
<p>Then make it executable by the system.</p>
<pre class="brush: plain; title: Code example:;">
chmod +x /usr/bin/ssh-copy-id
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.vvvegard.net/blog/ssh-copy-id-1-on-mac-osx/318/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HE.net IPv6 Certified Sage</title>
		<link>http://www.vvvegard.net/blog/he-net-ipv6-certified-sage/314/</link>
		<comments>http://www.vvvegard.net/blog/he-net-ipv6-certified-sage/314/#comments</comments>
		<pubDate>Sun, 06 Feb 2011 19:16:29 +0000</pubDate>
		<dc:creator>Vegard Hansen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.vvvegard.net/blog/?p=314</guid>
		<description><![CDATA[Boyaka! I just got my certificate from HE.net, and I&#8217;m currently certified as &#8220;Sage&#8221;, as of now the highest level of IPv6 certification. Is your home network IPv6-enabeled?]]></description>
			<content:encoded><![CDATA[<p>Boyaka! I just got my certificate from HE.net, and I&#8217;m currently certified as &#8220;Sage&#8221;, as of now the highest level of IPv6 certification. Is your home network IPv6-enabeled? </p>
<p><a href="http://ipv6.he.net/certification/scoresheet.php?pass_name=vegardx" target="_blank"><img src="http://ipv6.he.net/certification/create_badge.php?pass_name=vegardx&#038;badge=2" width=250 height=194 border=0 alt="IPv6 Certification Badge for vegardx"></img></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.vvvegard.net/blog/he-net-ipv6-certified-sage/314/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Who are you, mysterious man?</title>
		<link>http://www.vvvegard.net/blog/who-are-you-mysterious-man/296/</link>
		<comments>http://www.vvvegard.net/blog/who-are-you-mysterious-man/296/#comments</comments>
		<pubDate>Wed, 19 Jan 2011 22:54:06 +0000</pubDate>
		<dc:creator>Vegard Hansen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.vvvegard.net/blog/?p=296</guid>
		<description><![CDATA[Have you ever noticed how chain letters always contain an awful amount of misspelled words? Have you ever noticed how they seem to evolve over time? Now i finally have proof that there must be some guy, agency or other Non-Biological Extraterrestrial (NBE) that oversee all chain letters and make sure that they never stay [...]]]></description>
			<content:encoded><![CDATA[<p>Have you ever noticed how chain letters always contain an awful amount of misspelled words? Have you ever noticed how they seem to evolve over time? Now i finally have proof that there must be some guy, agency or other Non-Biological Extraterrestrial (NBE) that oversee all chain letters and make sure that they never stay the same. </p>
<p>So far I&#8217;ve noticed that the changes are small and often very discrete. The following picture is from a Norwegian chain letter that was on Facebook, posted by two of my friends. So it&#8217;s safe to say that the origin of this message is from more or less the same source, yet, only a few hops later, the message has evolved. The essential meaning stays the same, but they changed one little word.</p>
<p>When will this madness end? How will spam filters cope? Should we be alarmed? I&#8217;ve already equipped my tinfoil hat and will continue mye search for what i believe to be NBE&#8217;s.</p>
<p>Exhibit 1:<br />
<a href="http://www.vvvegard.net/blog/who-are-you-mysterious-man/296/whoareyoumysteriousmaneditingchainletters/" rel="attachment wp-att-299"><img src="http://www.vvvegard.net/blog/wp-content/uploads/2011/01/whoareyoumysteriousmaneditingchainletters.jpg" alt="" title="whoareyoumysteriousmaneditingchainletters" width="495" height="244" class="alignleft size-full wp-image-299" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.vvvegard.net/blog/who-are-you-mysterious-man/296/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Apache2 wildcard DNS and dynamic virtual hosts</title>
		<link>http://www.vvvegard.net/blog/apache2-wildcard-dns-and-dynamic-virtual-hosts/283/</link>
		<comments>http://www.vvvegard.net/blog/apache2-wildcard-dns-and-dynamic-virtual-hosts/283/#comments</comments>
		<pubDate>Mon, 03 Jan 2011 01:36:53 +0000</pubDate>
		<dc:creator>Vegard Hansen</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Lenny]]></category>
		<category><![CDATA[apache2]]></category>
		<category><![CDATA[ninja]]></category>
		<category><![CDATA[vhost]]></category>

		<guid isPermaLink="false">http://www.vvvegard.net/blog/?p=283</guid>
		<description><![CDATA[We can utilize the power (.. or lack?) of mod_rewrite in Apache2 to dynamically add subdomains for all subdirectories in a certain folder. I cannot recall where i first read how to do this, but all creds goes to someone on the Internet! Also, this only works &#8220;out-of-the-box&#8221; for Debian Lenny running latest stable version [...]]]></description>
			<content:encoded><![CDATA[<p>We can utilize the power (.. or lack?) of mod_rewrite in Apache2 to dynamically add subdomains for all subdirectories in a certain folder. I cannot recall where i first read how to do this, but all creds goes to someone on the Internet! Also, this only works &#8220;out-of-the-box&#8221; for Debian Lenny running latest stable version of Apache2, but it should work on all systems running Apache2, with slight modification.</p>
<p>First we need to enable some modules:</p>
<pre class="brush: plain; title: Code example:;">
a2enmod rewrite vhost_alias
/etc/init.d/apache2 restart</pre>
<p>Next up we do some rewrite magic, you need to change some paths and domains to reflect your setup, personally I just use some search and replace in nano to reflect whatever domain and site I&#8217;m setting up.</p>
<pre class="brush: plain; title: Code example:;">
&lt;VirtualHost *:80&gt;
ServerName eksempel.no
ServerAlias *.eksempel.no #wildcard catch all
VirtualDocumentRoot /var/www/%1
UseCanonicalName Off
IndexOptions FancyIndexing
### Use mod_rewrite to direct eksempel.no to www.eksempel.no
RewriteEngine On
RewriteCond %{HTTP_HOST} ^eksempel.no
RewriteRule (.*) http://www.%{HTTP_HOST}$1 [R=301,L]
### Logging
LogFormat &quot;%h %l %u %t \&quot;%r\&quot; %&gt;s %b \&quot;%{Referer}i\&quot; \&quot;%{User-Agent}i\&quot;&quot; combined
CustomLog /var/log/apache2/access_log_eksempel combined
&lt;Directory /var/www&gt;
AllowOverride None
&lt;/Directory&gt;
&lt;/VirtualHost&gt;
</pre>
<p>You must also restart Apache2 for your changes to apply.</p>
<pre class="brush: plain; title: Code example:;">
/etc/init.d/apache2 restart
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.vvvegard.net/blog/apache2-wildcard-dns-and-dynamic-virtual-hosts/283/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing nrpe-server on Xen-Server 5.5</title>
		<link>http://www.vvvegard.net/blog/installing-nrpe-server-on-xen-server-5-5/256/</link>
		<comments>http://www.vvvegard.net/blog/installing-nrpe-server-on-xen-server-5-5/256/#comments</comments>
		<pubDate>Wed, 15 Dec 2010 23:53:22 +0000</pubDate>
		<dc:creator>Vegard Hansen</dc:creator>
				<category><![CDATA[Virtualisering]]></category>
		<category><![CDATA[nagios]]></category>
		<category><![CDATA[nrpe]]></category>
		<category><![CDATA[xen-server]]></category>

		<guid isPermaLink="false">http://www.vvvegard.net/blog/?p=256</guid>
		<description><![CDATA[I use Nagios to monitor all my servers, and Nagios has a nice feature called &#8220;parents&#8221;, basically what it does is to check parent services before reporting anything, it makes much more sense to report that the entire server is offline instead of all the services running on all the virtual machines running on that [...]]]></description>
			<content:encoded><![CDATA[<p>I use Nagios to monitor all my servers, and Nagios has a nice feature called &#8220;parents&#8221;, basically what it does is to check parent services before reporting anything, it makes much more sense to report that the entire server is offline instead of all the services running on all the virtual machines running on that host machine. To do this we need to install and configure nrpe-server on Xen-Server.</p>
<p>First we need to download and configure a yum-repo (1):</p>
<pre class="brush: plain; title: Code example:;">wget http://download.fedora.redhat.com/pub/epel/5/$(uname -i)/epel-release-5-4.noarch.rpm
rpm -hiv epel-release*.rpm
sed -i 's/enabled=1/enabled=0/g' /etc/yum.repos.d/epel.repo</pre>
<p><span style="font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; line-height: 19px; white-space: normal; font-size: 13px;">Install nrpe and nagios-plugins via yum and configure it to start on boot:<br />
</span></p>
<pre class="brush: plain; title: Code example:;">yum install --enablerepo=epel nagios-plugins nrpe
chkconfig nrpe on</pre>
<p>Configure iptables to accept connections on 5666, the default nrpe-server port. Insert following line before the first -REJECT in /etc/sysconfig/iptables:</p>
<pre class="brush: plain; title: Code example:;">-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 5666 -j ACCEPT</pre>
<p>Restart nrpe-server and iptables:</p>
<pre class="brush: plain; title: Code example:;">/etc/init.d/nrpe restart
/etc/init.d/iptables restart</pre>
<p>That&#8217;s it. Configure nrpe as you&#8217;d normally would, making sure that you&#8217;ve edited allowed_hosts to accept connections from your Nagios-server.</p>
<p>Refrences:<br />
(1) <a href="http://www.cmdln.org/2010/03/04/installing-nrpe-on-xenserver/">http://www.cmdln.org/2010/03/04/installing-nrpe-on-xenserver/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.vvvegard.net/blog/installing-nrpe-server-on-xen-server-5-5/256/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Accessing ArcHTTP</title>
		<link>http://www.vvvegard.net/blog/accessing-archttp/249/</link>
		<comments>http://www.vvvegard.net/blog/accessing-archttp/249/#comments</comments>
		<pubDate>Wed, 08 Dec 2010 03:06:15 +0000</pubDate>
		<dc:creator>Vegard Hansen</dc:creator>
				<category><![CDATA[Areca]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.vvvegard.net/blog/?p=249</guid>
		<description><![CDATA[ArcHTTP will only listen to localhost, for security purposes. But say you are in a situation where you need to configure a Areca-controller without rebooting and you have no installed browser, or even worse, you cannot install a local browser. Normally you&#8217;d only find your self in that situation running a Linux-server, and you are [...]]]></description>
			<content:encoded><![CDATA[<p>ArcHTTP will only listen to localhost, for security purposes. But say you are in a situation where you need to configure a Areca-controller without rebooting and you have no installed browser, or even worse, you cannot install a local browser. Normally you&#8217;d only find your self in that situation running a Linux-server, and you are probably using OpenSSH to manage it. Like I did.</p>
<p>To access the ArcHTTP web interface you can tunnel your own connection inn via Socket 5 and configure whatever you needed (&#8230; to not mess with!) as localhost. When you are done you terminate the connection congratulate your self on a job well done.</p>
<pre class="brush: plain; title: Code example:;">ssh -l root host -D local_port</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.vvvegard.net/blog/accessing-archttp/249/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using rdiff-backup to keep your files safe and secure!</title>
		<link>http://www.vvvegard.net/blog/using-rdiff-backup-to-keep-your-files-safe-and-secure/237/</link>
		<comments>http://www.vvvegard.net/blog/using-rdiff-backup-to-keep-your-files-safe-and-secure/237/#comments</comments>
		<pubDate>Fri, 20 Aug 2010 23:21:25 +0000</pubDate>
		<dc:creator>Vegard Hansen</dc:creator>
				<category><![CDATA[Backup]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Lenny]]></category>

		<guid isPermaLink="false">http://www.vvvegard.net/blog/?p=237</guid>
		<description><![CDATA[Rdiff-backup is a small nifty python-based incremental backup software. Rdiff is similar to rsync, but adds support for incremental and revision-based backup. This way you can keep, in this example, up to 14 days of changes. Rdiff-backup also differs (!) from rsnapshot as it only stores the changes over time of a certain file, and [...]]]></description>
			<content:encoded><![CDATA[<p>Rdiff-backup is a small nifty python-based incremental backup software. Rdiff is similar to rsync, but adds support for incremental and revision-based backup. This way you can keep, in this example, up to 14 days of changes. Rdiff-backup also differs (!) from rsnapshot as it only stores the changes over time of a certain file, and this saves you a lot of storage. It&#8217;s extremely usable for database-backups, as they tend to change little but grow huge.</p>
<p>You might have to do small adjustments to stuff like users and parent directory. In this guide i use /root/ as parent directory for most actions, and all commands should work then.</p>
<p><span id="more-237"></span></p>
<p><strong>Upgrading and Installing</strong></p>
<p>It&#8217;s important that you do this on your target server and the server you are backuping, or else rdiff-backup will not be able to use ssh as it starts an rdiff-server on your target machine.</p>
<p style="padding-left: 30px;">apt-get update<br />
apt-get install rdiff-backup</p>
<p><strong>Setting up SSH with keys</strong></p>
<p>After installing rdiff we need to generate ssh-keys so that you can have automated rdiff-backups. I&#8217;ll only cover this briefly, but if you are unsure try to consult another guide i made about setting up key-based ssh authentication.</p>
<p style="padding-left: 30px;">ssh-keygen<br />
scp .ssh/id_rsa user@host:.ssh/id_rsa</p>
<p>This generates the keys you need and send them to the appropriate user on your remote machine for storing backups. If you are setting up more servers to use the same backup location copy id_rsa.pub over to them.</p>
<p><strong>Using rdiff-backup</strong></p>
<p style="padding-left: 30px;">rdiff-backup -v5 &#8211;print-statistics /local-dir user@host::/remote-dir<br />
rdiff-backup &#8211;remove-older-than 2W user@host::/remote-dir</p>
<p>Now we have created the first and initial backup, this might take some time, depending on your connection speed, disks and CPU. You should be able to watch what&#8217;s stores since we issued the -v5 comand (verbos 5).</p>
<p><strong>Automating it</strong></p>
<p style="padding-left: 30px;">echo &#8220;#!/bin/sh&#8221; &gt;&gt; rdiff-backup.sh<br />
echo &#8220;rdiff-backup -v5 &#8211;print-statistics /local-dir user@host::/remote-dir&#8221; &gt;&gt; rdiff-backup.sh<br />
echo &#8220;rdiff-backup &#8211;remove-older-than 2W user@host::/remote-dir&#8221; &gt;&gt; rdiff-backup.sh</p>
<p><strong>Running it</strong></p>
<p style="padding-left: 30px;">crontab -e</p>
<p>And insert the following line</p>
<p style="padding-left: 30px;">* 0 * * * /root/rdiff-backup.sh</p>
<p>Save it! Now you can just sit back and relax and let &#8216;em backups flow, each night at twelve o&#8217; clock.</p>
<p><strong>Restoring</strong></p>
<p>Maybe the most boring part but also the most important part, restoring. When you restore with rdiff-backup you can restore to any date you want, as long as it&#8217;s still being kept. In this guide we used 2W, or two weeks, so we should be able to restore a file 14 days back. Nifty!</p>
<p style="padding-left: 30px;">rdiff-backup -r 14D user@host::/remote-dir/file /local-dir/file</p>
<p>This will restore the 14 days old file (-r 14D) of &#8220;file&#8221; to &#8220;/local-dir/file&#8221;. Pretty nifty, ey? If you are doing disaster recovery you can also recover an entire directory.</p>
<p><strong>Final words</strong></p>
<p>Do some simple tests, like backing up and restoring. This way you don&#8217;t get caught with your pants down when you actually need to restore something, and you ensure that backups actually are working &#8211; as this guide is not fully tested nor foolproof.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vvvegard.net/blog/using-rdiff-backup-to-keep-your-files-safe-and-secure/237/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixing the MacBook Pro SuperDrive, the ninja way!</title>
		<link>http://www.vvvegard.net/blog/fixing-the-macbook-pro-superdrive-the-ninja-way/228/</link>
		<comments>http://www.vvvegard.net/blog/fixing-the-macbook-pro-superdrive-the-ninja-way/228/#comments</comments>
		<pubDate>Tue, 22 Jun 2010 22:10:30 +0000</pubDate>
		<dc:creator>Vegard Hansen</dc:creator>
				<category><![CDATA[Macbook]]></category>
		<category><![CDATA[ninja]]></category>
		<category><![CDATA[burn]]></category>
		<category><![CDATA[burn disk]]></category>
		<category><![CDATA[cannot burn]]></category>
		<category><![CDATA[cleaning]]></category>
		<category><![CDATA[disk]]></category>
		<category><![CDATA[macbook]]></category>
		<category><![CDATA[superdrive]]></category>

		<guid isPermaLink="false">http://www.vvvegard.net/blog/?p=228</guid>
		<description><![CDATA[If you ever had the following error message on you Macbook&#8217;s SuperDrive, The disc can&#8217;t be burned; it might be incompatible with this disc drive. Please try a different brand of disc, or try burning at a slower speed. you are probably in luck. It&#8217;s does not seem to be some sort of firmware error [...]]]></description>
			<content:encoded><![CDATA[<p>If you ever had the following error message on you Macbook&#8217;s SuperDrive,</p>
<blockquote><p>The disc can&#8217;t be burned; it might be incompatible with this disc drive. Please try a different brand of disc, or try burning at a slower speed.</p></blockquote>
<p>you are probably in luck. It&#8217;s does not seem to be some sort of firmware error or anything wrong with the disk you are using. It&#8217;s simply the SuperDrives laser that has gotten dusty and needs cleaning. Simple find a creditcard and a t-shirt with <em>long threaded weaving</em>. Use the creditcard to hold the cloth wrapped around and insert it into the SuperDrive and carefully move it back and forth whilst applying a <em>little</em> force downwards. The optical sensor should be on the left side, but I cleaned both sides.</p>
<p>Note, if you are within warranty you should not do this at home. I guess mighty Steve would void your ass back to outer space if he ever saw you doing it&#8230; For some pictures of the madness, head over to <a href="http://picasaweb.google.com/116546159631570220926/CleaningSuperdrive#">PicasaWeb</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vvvegard.net/blog/fixing-the-macbook-pro-superdrive-the-ninja-way/228/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to setup &#8220;Chrome To Phone&#8221;</title>
		<link>http://www.vvvegard.net/blog/how-to-setup-chrome-to-phone/216/</link>
		<comments>http://www.vvvegard.net/blog/how-to-setup-chrome-to-phone/216/#comments</comments>
		<pubDate>Wed, 26 May 2010 17:19:53 +0000</pubDate>
		<dc:creator>Vegard Hansen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.vvvegard.net/blog/?p=216</guid>
		<description><![CDATA[Chrome to Phone is a quite genius little tool. Let&#8217;s say you&#8217;ve got to catch a buss but you are reading a very interesting article on the Internet? Sending the link via email or even relocating it on your phone is very time consuming, Google has solved that with Chrome To Phone. Even more interestingly you [...]]]></description>
			<content:encoded><![CDATA[<p>Chrome to Phone is a quite genius little tool. Let&#8217;s say you&#8217;ve got to catch a buss but you are reading a very interesting article on the Internet? Sending the link via email or even relocating it on your phone is very time consuming, Google has solved that with Chrome To Phone. Even more interestingly you can make a route on Google Maps and then send that route to your phone, just by the click of a button.</p>
<p>To install Chome To Phone you need to head over to <a href="http://code.google.com/p/chrometophone/">Googles project server</a>, as this is very beta at the moment.  Download and install the plugin for your Chrome browser and then open &lt;your favorite barcode scanner&gt; and scan the 2d-barcode for the Android App. To be able to install this app you need to setup your phone to accept applications from unknown sources under Settings -&gt; Applications.</p>
<p>The Application requires that you run the latest version of Android, Froyo. This is yet to be publicly released, but should hit you in a few weeks if you own a Nexus One. Other phones most likely must wait a few months before Android Froyo is delivered to their phones.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vvvegard.net/blog/how-to-setup-chrome-to-phone/216/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
