<?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>7deeds &#187; how-to</title>
	<atom:link href="http://blog.7deeds.com/tag/how-to/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.7deeds.com</link>
	<description>Petros Amiridis - A humble programmer's seven noteworthy actions for the community</description>
	<lastBuildDate>Mon, 31 May 2010 12:09:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to enable VCS infromation in zsh</title>
		<link>http://blog.7deeds.com/2010/03/10/enable-vcs-infromation-in-zsh/</link>
		<comments>http://blog.7deeds.com/2010/03/10/enable-vcs-infromation-in-zsh/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 01:07:59 +0000</pubDate>
		<dc:creator>Petros</dc:creator>
				<category><![CDATA[tips]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[self-note]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[zsh]]></category>

		<guid isPermaLink="false">http://blog.7deeds.com/?p=409</guid>
		<description><![CDATA[If you are using zsh as your terminal in Ubuntu, you can use a built in feature to display version control information at the prompt.
After reading &#8220;Zsh Prompt Magic&#8221; I created the zsh_vcs_info file which you can download. You place it in your home directory and open .zshrc and add the following line:

source /home/user/.zsh_vcs_info

Notice that [...]]]></description>
			<content:encoded><![CDATA[<p>If you are using zsh as your terminal in Ubuntu, you can use a built in feature to display version control information at the prompt.</p>
<p>After reading &#8220;<a href="http://kriener.org/articles/2009/06/04/zsh-prompt-magic">Zsh Prompt Magic</a>&#8221; I created the <a href='http://blog.7deeds.com/wp-content/zsh_vcs_info.zip'>zsh_vcs_info</a> file which you can download. You place it in your home directory and open .zshrc and add the following line:</p>
<pre class="brush: bash;">
source /home/user/.zsh_vcs_info
</pre>
<p>Notice that I added a . (dot) in the filename because I want it to be hidden. Also, notice that &#8220;user&#8221; in the path above, is the username of the account you use to log into Ubuntu.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.7deeds.com/2010/03/10/enable-vcs-infromation-in-zsh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to generate the MD5 checksum of a file</title>
		<link>http://blog.7deeds.com/2008/12/26/how-to-generate-the-md5-checksum-of-a-file/</link>
		<comments>http://blog.7deeds.com/2008/12/26/how-to-generate-the-md5-checksum-of-a-file/#comments</comments>
		<pubDate>Thu, 25 Dec 2008 23:13:18 +0000</pubDate>
		<dc:creator>Petros</dc:creator>
				<category><![CDATA[experiments]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu-experiment]]></category>

		<guid isPermaLink="false">http://blog.7deeds.com/?p=90</guid>
		<description><![CDATA[md5sum file.iso > file.iso.md5
]]></description>
			<content:encoded><![CDATA[<p><code>md5sum file.iso > file.iso.md5</code></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.7deeds.com/2008/12/26/how-to-generate-the-md5-checksum-of-a-file/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to create an ISO image</title>
		<link>http://blog.7deeds.com/2008/12/26/how-to-create-an-iso-image/</link>
		<comments>http://blog.7deeds.com/2008/12/26/how-to-create-an-iso-image/#comments</comments>
		<pubDate>Thu, 25 Dec 2008 22:48:57 +0000</pubDate>
		<dc:creator>Petros</dc:creator>
				<category><![CDATA[experiments]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu-experiment]]></category>

		<guid isPermaLink="false">http://blog.7deeds.com/?p=84</guid>
		<description><![CDATA[In order to turn a CD/DVD into an .iso one can:
sudo umount /dev/cdrom
dd if=/dev/cdrom of=file.iso bs=1024
In order to turn a folder into an .iso one can:
mkisofs -r -o file.iso /location_of_folder/
Related posts:

How to generate the MD5 checksum of a file

]]></description>
			<content:encoded><![CDATA[<p>In order to turn a CD/DVD into an .iso one can:</p>
<p><code>sudo umount /dev/cdrom</code></p>
<p><code>dd if=/dev/cdrom of=file.iso bs=1024</code></p>
<p>In order to turn a folder into an .iso one can:</p>
<p><code>mkisofs -r -o file.iso /location_of_folder/</code></p>
<p>Related posts:</p>
<ul>
<li><a href="http://blog.7deeds.com/?p=90">How to generate the MD5 checksum of a file</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.7deeds.com/2008/12/26/how-to-create-an-iso-image/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Restore an MSSQL backup to a different database name</title>
		<link>http://blog.7deeds.com/2008/12/24/restore-an-mssql-backup-to-a-different-database-name/</link>
		<comments>http://blog.7deeds.com/2008/12/24/restore-an-mssql-backup-to-a-different-database-name/#comments</comments>
		<pubDate>Wed, 24 Dec 2008 12:35:07 +0000</pubDate>
		<dc:creator>Petros</dc:creator>
				<category><![CDATA[tips]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[sql-server]]></category>

		<guid isPermaLink="false">http://blog.7deeds.com/?p=78</guid>
		<description><![CDATA[I had a database backup and was trying to restore it but to a different database name than that from where it was backed up.

Let&#8217;s say you backed up MyDB and you want to restore it to MyNewDB. You can run the following TSQL:

Of course, the paths and the names of the database should be [...]]]></description>
			<content:encoded><![CDATA[<p>I had a database backup and was trying to restore it but to a different database name than that from where it was backed up.<br />
<span id="more-78"></span><br />
Let&#8217;s say you backed up MyDB and you want to restore it to MyNewDB. You can run the following TSQL:</p>
<p><script src="http://gist.github.com/131163.js"></script></p>
<p>Of course, the paths and the names of the database should be changed according to your needs.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.7deeds.com/2008/12/24/restore-an-mssql-backup-to-a-different-database-name/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
