<?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>Azitech</title>
	<atom:link href="http://azitech.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://azitech.wordpress.com</link>
	<description>Azimout&#039;s Linux weblog</description>
	<lastBuildDate>Sun, 29 Jan 2012 20:23:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='azitech.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/50ff6b3d147b93a203828008de29dfb8?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Azitech</title>
		<link>http://azitech.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://azitech.wordpress.com/osd.xml" title="Azitech" />
	<atom:link rel='hub' href='http://azitech.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Win7 KVM guest maintainance</title>
		<link>http://azitech.wordpress.com/2011/12/29/win7-kvm-guest-maintainance/</link>
		<comments>http://azitech.wordpress.com/2011/12/29/win7-kvm-guest-maintainance/#comments</comments>
		<pubDate>Thu, 29 Dec 2011 08:17:21 +0000</pubDate>
		<dc:creator>azimout</dc:creator>
				<category><![CDATA[Tricks]]></category>

		<guid isPermaLink="false">http://azitech.wordpress.com/?p=2093</guid>
		<description><![CDATA[I had some spare time yesterday, so I did a little bit of maintainance to my Win7 Ultimate virtual machine (on a KVM/Qemu host running Ubuntu 11.10): Activated Windows so it would stop complaining Installed a free antivirus (Avast) Downloaded WSUS Offline and installed all updates Installed Google Chrome Installed the latest versions of Adobe [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=azitech.wordpress.com&amp;blog=1807848&amp;post=2093&amp;subd=azitech&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I had some spare time yesterday, so I did a little bit of maintainance to my Win7 Ultimate virtual machine (on a KVM/Qemu host running Ubuntu 11.10):</p>
<ul>
<li>Activated Windows so it would stop complaining</li>
<li>Installed a free antivirus (Avast)</li>
<li>Downloaded WSUS Offline and installed all updates</li>
<li>Installed Google Chrome</li>
<li>Installed the latest versions of Adobe Flash and Adobe Air</li>
<li>Changed the storage type from IDE to Virtio (much much faster!). It took some effort to get Red Hat&#8217;s virtio storage driver to work: in the end the problem was driver signing, and I needed to use the &#8221;Driver Signature Enforcement Overrider&#8221;. Plus I had to use Virtual CloneDrive in order to mount the .iso file with the drivers</li>
<li>Used WinDirStat to get a picture of disk usage, disabled the pagefile and hibernating to save space</li>
<li>Removed the (virtual) sound card, as it was messing with the host&#8217;s sound</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/azitech.wordpress.com/2093/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/azitech.wordpress.com/2093/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/azitech.wordpress.com/2093/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/azitech.wordpress.com/2093/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/azitech.wordpress.com/2093/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/azitech.wordpress.com/2093/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/azitech.wordpress.com/2093/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/azitech.wordpress.com/2093/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/azitech.wordpress.com/2093/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/azitech.wordpress.com/2093/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/azitech.wordpress.com/2093/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/azitech.wordpress.com/2093/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/azitech.wordpress.com/2093/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/azitech.wordpress.com/2093/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=azitech.wordpress.com&amp;blog=1807848&amp;post=2093&amp;subd=azitech&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://azitech.wordpress.com/2011/12/29/win7-kvm-guest-maintainance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c0ba64b9e5a62ed77295b79b63ab87c0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">azimout</media:title>
		</media:content>
	</item>
		<item>
		<title>Google&#8217;s 2-step verification</title>
		<link>http://azitech.wordpress.com/2011/12/12/google-2-step-verification/</link>
		<comments>http://azitech.wordpress.com/2011/12/12/google-2-step-verification/#comments</comments>
		<pubDate>Mon, 12 Dec 2011 15:21:49 +0000</pubDate>
		<dc:creator>azimout</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://azitech.wordpress.com/?p=2088</guid>
		<description><![CDATA[Google 2-step verification is a great step forward for security! It can be a little daunting at first, but once you have everything setup I think the increased security is well worth the effort spent. What it does is basically to break the well-established paradigm of &#8220;one-account-one-password&#8221;. Instead, one account has multiple passwords, which are [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=azitech.wordpress.com&amp;blog=1807848&amp;post=2088&amp;subd=azitech&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Google 2-step verification is a great step forward for security! It can be a little daunting at first, but once you have everything setup I think the increased security is well worth the effort spent.</p>
<p>What it does is basically to break the well-established paradigm of &#8220;one-account-one-password&#8221;. Instead, <strong>one account has multiple passwords</strong>, which are called &#8220;<em>application-specific passwords</em>&#8220;. The idea is that, e.g. if you setup to read your Gmail on your smartphone and then you lose it, you can revoke that password without having to change the password you use to read Gmail on your browser! These passwords are <strong>16 characters long</strong>.</p>
<p>In addition to the application-specific passwords, you also have one-time passwords (called &#8220;<em>verification codes</em>&#8220;) that are used (in addition to your normal password) for signing into your account using a browser. These codes are <strong>6 digits long</strong>. You can have them sent to you by SMS, or you can install the &#8220;<em>Google Authenticator</em>&#8221; app on your smartphone to have the verification codes generated by your phone each time.</p>
<p>Google 2-step verification:<br />
<a href="http://support.google.com/accounts/bin/static.py?hl=en&amp;topic=1056284&amp;guide=1056283&amp;page=guide.cs">http://support.google.com/accounts/bin/static.py?hl=en&amp;topic=1056284&amp;guide=1056283&amp;page=guide.cs</a></p>
<p>Google Authenticator, the app that turns your smartphone into a token:<br />
<a href="http://support.google.com/accounts/bin/answer.py?hl=en&amp;answer=1066447">http://support.google.com/accounts/bin/answer.py?hl=en&amp;answer=1066447</a></p>
<div id="-chrome-auto-translate-plugin-dialog" style="opacity:1!important;background-image:initial!important;background-attachment:initial!important;background-color:transparent!important;position:absolute!important;top:0;left:0;z-index:999999!important;text-align:left!important;display:none;margin:0!important;padding:0!important;">
<div style="max-width:300px!important;color:#fafafa!important;opacity:0.8!important;-webkit-border-radius:10px!important;background-color:#363636!important;font-size:16px!important;overflow:visible!important;background-image:0 color-stop(50%,#363636), color-stop(100%,#000));z-index:999999!important;text-align:left!important;border-color:#000000!important;border-width:0!important;padding:8px!important;"></div>
<p><img style="position:absolute!important;z-index:-1!important;right:1px!important;top:-20px!important;cursor:pointer!important;-webkit-border-radius:20px;background-color:rgba(200,200,200,0.3)!important;margin:0!important;padding:3px 5px 0!important;" src="http://www.google.com/uds/css/small-logo.png" alt="" /></p>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/azitech.wordpress.com/2088/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/azitech.wordpress.com/2088/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/azitech.wordpress.com/2088/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/azitech.wordpress.com/2088/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/azitech.wordpress.com/2088/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/azitech.wordpress.com/2088/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/azitech.wordpress.com/2088/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/azitech.wordpress.com/2088/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/azitech.wordpress.com/2088/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/azitech.wordpress.com/2088/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/azitech.wordpress.com/2088/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/azitech.wordpress.com/2088/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/azitech.wordpress.com/2088/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/azitech.wordpress.com/2088/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=azitech.wordpress.com&amp;blog=1807848&amp;post=2088&amp;subd=azitech&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://azitech.wordpress.com/2011/12/12/google-2-step-verification/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c0ba64b9e5a62ed77295b79b63ab87c0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">azimout</media:title>
		</media:content>

		<media:content url="http://www.google.com/uds/css/small-logo.png" medium="image" />
	</item>
		<item>
		<title>Delete a long list of files</title>
		<link>http://azitech.wordpress.com/2011/10/31/delete-a-long-list-of-files/</link>
		<comments>http://azitech.wordpress.com/2011/10/31/delete-a-long-list-of-files/#comments</comments>
		<pubDate>Mon, 31 Oct 2011 15:17:02 +0000</pubDate>
		<dc:creator>azimout</dc:creator>
				<category><![CDATA[Howto]]></category>

		<guid isPermaLink="false">http://azitech.wordpress.com/?p=2086</guid>
		<description><![CDATA[Say you wanna search your filesystem for files matching certain criteria and remove them. Here&#8217;s how to do it: Create a text file containing the list of files you want to remove, e.g. like this: locate abcd &#124; /bin/grep /usr/local &#62; filelist.txt Inspect filelist.txt carefully to make sure you&#8217;re not removing anything you want to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=azitech.wordpress.com&amp;blog=1807848&amp;post=2086&amp;subd=azitech&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Say you wanna search your filesystem for files matching certain criteria and remove them. Here&#8217;s how to do it:</p>
<p>Create a text file containing the list of files you want to remove, e.g. like this:</p>
<pre>locate abcd | <a href="/bin/grep">/bin/grep</a> <a href="/usr/local">/usr/local</a> &gt; filelist.txt</pre>
<p>Inspect <em>filelist.txt</em> carefully to make sure you&#8217;re not removing anything you want to keep. Then remove those files like this:</p>
<pre>for i in `cat filelist.txt`; do sudo rm -r $i; done</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/azitech.wordpress.com/2086/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/azitech.wordpress.com/2086/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/azitech.wordpress.com/2086/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/azitech.wordpress.com/2086/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/azitech.wordpress.com/2086/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/azitech.wordpress.com/2086/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/azitech.wordpress.com/2086/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/azitech.wordpress.com/2086/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/azitech.wordpress.com/2086/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/azitech.wordpress.com/2086/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/azitech.wordpress.com/2086/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/azitech.wordpress.com/2086/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/azitech.wordpress.com/2086/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/azitech.wordpress.com/2086/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=azitech.wordpress.com&amp;blog=1807848&amp;post=2086&amp;subd=azitech&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://azitech.wordpress.com/2011/10/31/delete-a-long-list-of-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c0ba64b9e5a62ed77295b79b63ab87c0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">azimout</media:title>
		</media:content>
	</item>
		<item>
		<title>Colourise MacOSX terminal</title>
		<link>http://azitech.wordpress.com/2011/10/28/colourise-macosx-terminal/</link>
		<comments>http://azitech.wordpress.com/2011/10/28/colourise-macosx-terminal/#comments</comments>
		<pubDate>Fri, 28 Oct 2011 12:51:47 +0000</pubDate>
		<dc:creator>azimout</dc:creator>
				<category><![CDATA[Tricks]]></category>

		<guid isPermaLink="false">http://azitech.wordpress.com/?p=2079</guid>
		<description><![CDATA[Edit the file /etc/bashrc and add/modify the following: export CLICOLOR=1 export LSCOLORS=ExFxCxDxBxegedabagacad PS1='\[33[;32m\]\u@\h\[33[m\]:\[33[;34m\]\w\[33[m\]\$ '<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=azitech.wordpress.com&amp;blog=1807848&amp;post=2079&amp;subd=azitech&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Edit the file /etc/bashrc and add/modify the following:</p>
<p><code>export CLICOLOR=1<br />
export LSCOLORS=ExFxCxDxBxegedabagacad<br />
PS1='\[33[;32m\]\u@\h\[33[m\]:\[33[;34m\]\w\[33[m\]\$ '</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/azitech.wordpress.com/2079/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/azitech.wordpress.com/2079/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/azitech.wordpress.com/2079/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/azitech.wordpress.com/2079/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/azitech.wordpress.com/2079/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/azitech.wordpress.com/2079/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/azitech.wordpress.com/2079/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/azitech.wordpress.com/2079/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/azitech.wordpress.com/2079/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/azitech.wordpress.com/2079/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/azitech.wordpress.com/2079/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/azitech.wordpress.com/2079/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/azitech.wordpress.com/2079/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/azitech.wordpress.com/2079/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=azitech.wordpress.com&amp;blog=1807848&amp;post=2079&amp;subd=azitech&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://azitech.wordpress.com/2011/10/28/colourise-macosx-terminal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c0ba64b9e5a62ed77295b79b63ab87c0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">azimout</media:title>
		</media:content>
	</item>
		<item>
		<title>Python modules installed through MacPorts</title>
		<link>http://azitech.wordpress.com/2011/10/07/python-modules-installed-throug-macports/</link>
		<comments>http://azitech.wordpress.com/2011/10/07/python-modules-installed-throug-macports/#comments</comments>
		<pubDate>Fri, 07 Oct 2011 09:44:19 +0000</pubDate>
		<dc:creator>azimout</dc:creator>
				<category><![CDATA[Howto]]></category>

		<guid isPermaLink="false">http://azitech.wordpress.com/?p=2077</guid>
		<description><![CDATA[MacOSX already includes the Python interpreter. However, if you install Python modules using MacPorts, you won&#8217;t be able to import them in your Python programs (ImportError: No module named &#60;module name&#62;). The reason is that Apple&#8217;s Python doesn&#8217;t &#8220;see&#8221; the modules installed through MacPorts; you need to use MacPorts&#8217;s Python. To see a list of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=azitech.wordpress.com&amp;blog=1807848&amp;post=2077&amp;subd=azitech&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>MacOSX already includes the Python interpreter. However, if you install Python modules using MacPorts, you won&#8217;t be able to import them in your Python programs (<em>ImportError: No module named &lt;module name&gt;</em>).</p>
<p>The reason is that Apple&#8217;s Python doesn&#8217;t &#8220;see&#8221; the modules installed through MacPorts; you need to use MacPorts&#8217;s Python.</p>
<p>To see a list of available Python interpreters, run <strong>port select python</strong>. Then to choose e.g. MacPorts&#8217;s Python 2.6, run <strong>sudo port select python python26</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/azitech.wordpress.com/2077/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/azitech.wordpress.com/2077/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/azitech.wordpress.com/2077/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/azitech.wordpress.com/2077/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/azitech.wordpress.com/2077/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/azitech.wordpress.com/2077/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/azitech.wordpress.com/2077/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/azitech.wordpress.com/2077/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/azitech.wordpress.com/2077/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/azitech.wordpress.com/2077/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/azitech.wordpress.com/2077/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/azitech.wordpress.com/2077/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/azitech.wordpress.com/2077/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/azitech.wordpress.com/2077/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=azitech.wordpress.com&amp;blog=1807848&amp;post=2077&amp;subd=azitech&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://azitech.wordpress.com/2011/10/07/python-modules-installed-throug-macports/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c0ba64b9e5a62ed77295b79b63ab87c0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">azimout</media:title>
		</media:content>
	</item>
		<item>
		<title>A couple of Apache tricks</title>
		<link>http://azitech.wordpress.com/2011/10/03/a-couple-of-apache-tricks/</link>
		<comments>http://azitech.wordpress.com/2011/10/03/a-couple-of-apache-tricks/#comments</comments>
		<pubDate>Mon, 03 Oct 2011 14:14:14 +0000</pubDate>
		<dc:creator>azimout</dc:creator>
				<category><![CDATA[Howto]]></category>

		<guid isPermaLink="false">http://azitech.wordpress.com/?p=2066</guid>
		<description><![CDATA[Don&#8217;t restart, reload After changing some configuration option, instead of restarting Apache (sudo service apache2 restart), try reloading instead (sudo service apache2 reload). To add another &#8220;subdir&#8221; under your domain (i.e. http://mydomain/newsubdir/), create the file /etc/apache2/sites-available/newsubdir: &#60;VirtualHost *:80&#62; Options FollowSymLinks MultiViews Alias /newsubdir/ "/path/to/content/" &#60;/VirtualHost&#62; Then enable the site with sudo a2ensite newsubdir and then [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=azitech.wordpress.com&amp;blog=1807848&amp;post=2066&amp;subd=azitech&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h5>Don&#8217;t restart, reload</h5>
<p>After changing some configuration option, instead of restarting Apache (<code>sudo service apache2 restart</code>), try reloading instead (<code>sudo service apache2 reload</code>).</p>
<p>To add another &#8220;subdir&#8221; under your domain (i.e. http://mydomain/newsubdir/), create the file /etc/apache2/sites-available/newsubdir:</p>
<pre>&lt;VirtualHost *:80&gt;
    Options FollowSymLinks MultiViews
    Alias /newsubdir/ "/path/to/content/"
&lt;/VirtualHost&gt;</pre>
<p>Then enable the site with <code>sudo a2ensite newsubdir</code> and then reload the Apache configuration as described above.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/azitech.wordpress.com/2066/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/azitech.wordpress.com/2066/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/azitech.wordpress.com/2066/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/azitech.wordpress.com/2066/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/azitech.wordpress.com/2066/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/azitech.wordpress.com/2066/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/azitech.wordpress.com/2066/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/azitech.wordpress.com/2066/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/azitech.wordpress.com/2066/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/azitech.wordpress.com/2066/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/azitech.wordpress.com/2066/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/azitech.wordpress.com/2066/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/azitech.wordpress.com/2066/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/azitech.wordpress.com/2066/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=azitech.wordpress.com&amp;blog=1807848&amp;post=2066&amp;subd=azitech&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://azitech.wordpress.com/2011/10/03/a-couple-of-apache-tricks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c0ba64b9e5a62ed77295b79b63ab87c0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">azimout</media:title>
		</media:content>
	</item>
		<item>
		<title>Matplotlib font manager error</title>
		<link>http://azitech.wordpress.com/2011/09/01/matplotlib-font-manager-error/</link>
		<comments>http://azitech.wordpress.com/2011/09/01/matplotlib-font-manager-error/#comments</comments>
		<pubDate>Thu, 01 Sep 2011 13:03:34 +0000</pubDate>
		<dc:creator>azimout</dc:creator>
				<category><![CDATA[Problems]]></category>

		<guid isPermaLink="false">http://azitech.wordpress.com/?p=2072</guid>
		<description><![CDATA[A Python script that used to work on my machine stopped working at some point. It&#8217;s the script presented in the post Designing a Butterworth low-pass filter with SciPy. The last few lines of the traceback were: File "/usr/lib/pymodules/python2.7/matplotlib/font_manager.py", line 1306, in findfont    if not os.path.exists(font): File "/usr/lib/python2.7/genericpath.py", line 18, in exists    os.stat(path) [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=azitech.wordpress.com&amp;blog=1807848&amp;post=2072&amp;subd=azitech&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A Python script that used to work on my machine stopped working at some point. It&#8217;s the script presented in the post <a href="http://azitech.wordpress.com/2011/03/15/designing-a-butterworth-low-pass-filter-with-scipy/">Designing a Butterworth low-pass filter with SciPy</a>. The last few lines of the traceback were:</p>
<pre>File "/usr/lib/pymodules/python2.7/matplotlib/font_manager.py", line 1306, in findfont
   if not os.path.exists(font):
 File "/usr/lib/python2.7/genericpath.py", line 18, in exists
   os.stat(path)
 TypeError: coercing to Unicode: need string or buffer, dict found</pre>
<p>Through <a href="http://stackoverflow.com/questions/3479887/unicode-error-using-matplotlib-with-log-scale-on-windows">this thread</a> I was able to resolve the issue by clearing matplotlib&#8217;s font cache: <strong>rm ~/.matplotlib/fontList.cache</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/azitech.wordpress.com/2072/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/azitech.wordpress.com/2072/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/azitech.wordpress.com/2072/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/azitech.wordpress.com/2072/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/azitech.wordpress.com/2072/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/azitech.wordpress.com/2072/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/azitech.wordpress.com/2072/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/azitech.wordpress.com/2072/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/azitech.wordpress.com/2072/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/azitech.wordpress.com/2072/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/azitech.wordpress.com/2072/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/azitech.wordpress.com/2072/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/azitech.wordpress.com/2072/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/azitech.wordpress.com/2072/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=azitech.wordpress.com&amp;blog=1807848&amp;post=2072&amp;subd=azitech&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://azitech.wordpress.com/2011/09/01/matplotlib-font-manager-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c0ba64b9e5a62ed77295b79b63ab87c0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">azimout</media:title>
		</media:content>
	</item>
		<item>
		<title>iOS for Linux users</title>
		<link>http://azitech.wordpress.com/2011/08/31/ios-for-linux-users/</link>
		<comments>http://azitech.wordpress.com/2011/08/31/ios-for-linux-users/#comments</comments>
		<pubDate>Wed, 31 Aug 2011 19:40:17 +0000</pubDate>
		<dc:creator>azimout</dc:creator>
				<category><![CDATA[Reference]]></category>

		<guid isPermaLink="false">http://azitech.wordpress.com/?p=2067</guid>
		<description><![CDATA[iOS &#8211; like Mac OS X &#8211; is a Darwin-based operating system, which in turn is based on the XNU kernel. It is POSIX-compliant and &#8220;Unix-like&#8221;, but it is NOT Linux-based. The output of &#8220;uname -a&#8221; on my iPhone is: Darwin &#60;device name&#62; 11.0.0 Darwin Kernel Version 11.0.0: Wed Mar 30 18:51:10 PDT 2011; root:xnu-1735.46~10/RELEASE_ARM_S5L8930X [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=azitech.wordpress.com&amp;blog=1807848&amp;post=2067&amp;subd=azitech&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://en.wikipedia.org/wiki/IOS_%28Apple%29">iOS</a> &#8211; like <a href="http://en.wikipedia.org/wiki/Mac_OS_X">Mac OS X</a> &#8211; is a <a href="http://en.wikipedia.org/wiki/Darwin_%28operating_system%29">Darwin</a>-based operating system, which in turn is based on the <a href="http://en.wikipedia.org/wiki/XNU">XNU</a> kernel. It is <a href="http://en.wikipedia.org/wiki/POSIX">POSIX</a>-compliant and &#8220;Unix-like&#8221;, but it is NOT Linux-based.</p>
<p>The output of &#8220;uname -a&#8221; on my iPhone is:</p>
<p><em>Darwin &lt;device name&gt; 11.0.0 Darwin Kernel Version 11.0.0: Wed Mar 30 18:51:10 PDT 2011; root:xnu-1735.46~10/RELEASE_ARM_S5L8930X iPhone3,1 arm N90AP Darwin</em></p>
<h4>USB cable</h4>
<p>When connected to a Ubuntu machine through the USB cable, two locations will be mounted over the AFC (Apple File Connection) protocol. The two mount points will be titled &#8220;<em>&lt;device name&gt;</em>&#8221; and &#8220;<em>Documents on &lt;device name&gt;</em>&#8220;. Ubuntu 11.04 will offer (in Nautilus) to open the first mount point with the <a href="http://banshee.fm/">Banshee Media Player</a> and with the <a href="http://yorba.org/shotwell/">Shotwell Photo Manager</a>.</p>
<h4>SSH</h4>
<p>On a jailbroken iPhone you can install <a href="http://en.wikipedia.org/wiki/OpenSSH">OpenSSH</a>. The default username is &#8220;mobile&#8221; and the default password (on ALL iPhones) is &#8220;alpine&#8221;. Change that immediately with &#8220;passwd&#8221;. Note your iPhone&#8217;s IP address on the WiFi interface (you can find that under Settings, Wi-Fi, then click on the blue right arrow; if you&#8217;re doing this at home, you might want to reserve a fixed IP address for your iPhone on your router).</p>
<h4>Filesystem</h4>
<p>The flash storage is divided into to <a href="http://en.wikipedia.org/wiki/Hierarchical_File_System">HFS</a>-formatted partitions; one is mounted under / (root) and the other under /private/var. Only the second one is journaled.</p>
<p>A few soft links exist at root level:</p>
<ul>
<li>/var -&gt; /private/var</li>
<li>/etc -&gt; /private/etc</li>
<li>/User -&gt; /var/mobile</li>
<li>/tmp -&gt; /private/var/tmp</li>
<li>/Applications -&gt; /var/stash/Applications.pwn</li>
</ul>
<p>Your home directory will be &#8220;/var/mobile&#8221;. The first mount point described above (&#8220;&lt;device name&gt;&#8221;) is actually &#8220;/var/mobile/Media&#8221;</p>
<h4>See also</h4>
<ul>
<li><a href="http://theiphonewiki.com/">http://theiphonewiki.com/</a></li>
<li><a href="http://azitech.wordpress.com/iphone-3gs/">http://azitech.wordpress.com/iphone-3gs/</a></li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/azitech.wordpress.com/2067/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/azitech.wordpress.com/2067/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/azitech.wordpress.com/2067/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/azitech.wordpress.com/2067/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/azitech.wordpress.com/2067/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/azitech.wordpress.com/2067/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/azitech.wordpress.com/2067/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/azitech.wordpress.com/2067/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/azitech.wordpress.com/2067/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/azitech.wordpress.com/2067/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/azitech.wordpress.com/2067/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/azitech.wordpress.com/2067/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/azitech.wordpress.com/2067/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/azitech.wordpress.com/2067/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=azitech.wordpress.com&amp;blog=1807848&amp;post=2067&amp;subd=azitech&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://azitech.wordpress.com/2011/08/31/ios-for-linux-users/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c0ba64b9e5a62ed77295b79b63ab87c0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">azimout</media:title>
		</media:content>
	</item>
		<item>
		<title>Difference between make clean and make distclean</title>
		<link>http://azitech.wordpress.com/2011/08/28/difference-between-make-clean-and-make-distclean/</link>
		<comments>http://azitech.wordpress.com/2011/08/28/difference-between-make-clean-and-make-distclean/#comments</comments>
		<pubDate>Sun, 28 Aug 2011 15:12:26 +0000</pubDate>
		<dc:creator>azimout</dc:creator>
				<category><![CDATA[Reference]]></category>

		<guid isPermaLink="false">http://azitech.wordpress.com/?p=2064</guid>
		<description><![CDATA[Basically, if make built it, then make clean should delete it; whereas if configure built it, then make distclean should delete it. Reference: http://www.gnu.org/software/automake/manual/automake.html#Clean<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=azitech.wordpress.com&amp;blog=1807848&amp;post=2064&amp;subd=azitech&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Basically, if <strong>make</strong> built it, then <strong>make clean</strong> should delete it; whereas if <strong>configure</strong> built it, then <strong>make distclean</strong> should delete it.</p>
<p>Reference: <a href="http://www.gnu.org/software/automake/manual/automake.html#Clean">http://www.gnu.org/software/automake/manual/automake.html#Clean</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/azitech.wordpress.com/2064/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/azitech.wordpress.com/2064/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/azitech.wordpress.com/2064/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/azitech.wordpress.com/2064/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/azitech.wordpress.com/2064/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/azitech.wordpress.com/2064/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/azitech.wordpress.com/2064/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/azitech.wordpress.com/2064/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/azitech.wordpress.com/2064/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/azitech.wordpress.com/2064/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/azitech.wordpress.com/2064/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/azitech.wordpress.com/2064/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/azitech.wordpress.com/2064/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/azitech.wordpress.com/2064/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=azitech.wordpress.com&amp;blog=1807848&amp;post=2064&amp;subd=azitech&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://azitech.wordpress.com/2011/08/28/difference-between-make-clean-and-make-distclean/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c0ba64b9e5a62ed77295b79b63ab87c0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">azimout</media:title>
		</media:content>
	</item>
		<item>
		<title>Convert Youtube video to .mp3 locally</title>
		<link>http://azitech.wordpress.com/2011/08/17/convert-youtube-video-to-mp3-locally/</link>
		<comments>http://azitech.wordpress.com/2011/08/17/convert-youtube-video-to-mp3-locally/#comments</comments>
		<pubDate>Wed, 17 Aug 2011 21:42:39 +0000</pubDate>
		<dc:creator>azimout</dc:creator>
				<category><![CDATA[Howto]]></category>

		<guid isPermaLink="false">http://azitech.wordpress.com/?p=2062</guid>
		<description><![CDATA[Yes, there are online services that do that for you, like video2mp3, but where&#8217;s the fun in that? Besides, those services might go away, they might be down when you need them, or they might start charging you money. Instead, you can do it on your machine, using youtube-dl (written in Python). Download the script [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=azitech.wordpress.com&amp;blog=1807848&amp;post=2062&amp;subd=azitech&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Yes, there are online services that do that for you, like <a href="http://www.video2mp3.net/">video2mp3</a>, but where&#8217;s the fun in that? Besides, those services might go away, they might be down when you need them, or they might start charging you money.</p>
<p>Instead, you can do it on your machine, using <a href="http://rg3.github.com/youtube-dl/">youtube-dl</a> (written in Python). Download the script and run it with the <code>--extract-audio</code> command-line option. You&#8217;ll need also <strong>ffmpeg</strong>, <strong>lame</strong> and <strong>libavcodec-extra-52</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/azitech.wordpress.com/2062/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/azitech.wordpress.com/2062/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/azitech.wordpress.com/2062/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/azitech.wordpress.com/2062/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/azitech.wordpress.com/2062/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/azitech.wordpress.com/2062/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/azitech.wordpress.com/2062/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/azitech.wordpress.com/2062/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/azitech.wordpress.com/2062/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/azitech.wordpress.com/2062/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/azitech.wordpress.com/2062/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/azitech.wordpress.com/2062/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/azitech.wordpress.com/2062/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/azitech.wordpress.com/2062/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=azitech.wordpress.com&amp;blog=1807848&amp;post=2062&amp;subd=azitech&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://azitech.wordpress.com/2011/08/17/convert-youtube-video-to-mp3-locally/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c0ba64b9e5a62ed77295b79b63ab87c0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">azimout</media:title>
		</media:content>
	</item>
	</channel>
</rss>
