<?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/"
	>

<channel>
	<title>My New Direction</title>
	<atom:link href="http://www.mynewdirection.org/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.mynewdirection.org</link>
	<description>Linux, coding, etc... and a really amusing name....</description>
	<pubDate>Fri, 13 Aug 2010 16:09:34 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Downgrading PHP in Ubuntu 10.04</title>
		<link>http://www.mynewdirection.org/?p=203</link>
		<comments>http://www.mynewdirection.org/?p=203#comments</comments>
		<pubDate>Tue, 22 Jun 2010 20:15:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Linux Tutorials]]></category>

		<guid isPermaLink="false">http://www.mynewdirection.org/?p=203</guid>
		<description><![CDATA[
Install Apache, Mysql, PostgreSQL as normal.
Add Karmic repositories in the apt sources file.
Load Synaptic and refresh the list.
Find the php common package and from the package menu, click Force Version.
Choose the Karmic package and press OK.
Install the package.
Lock the package.

Repeat these steps for the other PHP modules and related files.  I had to do them [...]]]></description>
			<content:encoded><![CDATA[<ol>
<li>Install Apache, Mysql, PostgreSQL as normal.</li>
<li>Add Karmic repositories in the apt sources file.</li>
<li>Load Synaptic and refresh the list.</li>
<li>Find the php common package and from the package menu, click <strong>Force Version.</strong></li>
<li>Choose the Karmic package and press OK.</li>
<li>Install the package.</li>
<li><span style="color: #ff0000;">Lock</span> the package.</li>
</ol>
<p>Repeat these steps for the other PHP modules and related files.  I had to do them one at a time, closing Synaptic in between installation due to &#8220;broken package&#8221; errors.</p>
<p><strong>NOTE:</strong> Running apt-get upgrade will ignore your locked packages, make sure you &#8220;pin&#8221; them in apt as well, or symlink the /etc/apt/preferences to /var/lib/synaptic/preferences (see related post)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mynewdirection.org/?feed=rss2&amp;p=203</wfw:commentRss>
		</item>
		<item>
		<title>Make apt respect your pinned or locked versions</title>
		<link>http://www.mynewdirection.org/?p=197</link>
		<comments>http://www.mynewdirection.org/?p=197#comments</comments>
		<pubDate>Tue, 22 Jun 2010 20:04:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Linux Tutorials]]></category>

		<guid isPermaLink="false">http://www.mynewdirection.org/?p=197</guid>
		<description><![CDATA[In ubuntu 10.04, I noticed if I locked a package using Synaptic,  running apt-get upgrade would ignore the lock and attempt to upgrade locked packages.  I solved this, by creating a symlink in &#8220;/etc/apt&#8221;.
 I ran &#8220;sudo ln -s /var/lib/synaptic/preferences preferences&#8221; in /etc/apt
]]></description>
			<content:encoded><![CDATA[<p>In ubuntu 10.04, I noticed if I locked a package using Synaptic,  running apt-get upgrade would ignore the lock and attempt to upgrade locked packages.  I solved this, by creating a symlink in &#8220;/etc/apt&#8221;.</p>
<p><strong><em> I ran &#8220;sudo ln -s /var/lib/synaptic/preferences preferences&#8221; in /etc/apt</em></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mynewdirection.org/?feed=rss2&amp;p=197</wfw:commentRss>
		</item>
		<item>
		<title>Automatically repeating a command in Linux</title>
		<link>http://www.mynewdirection.org/?p=195</link>
		<comments>http://www.mynewdirection.org/?p=195#comments</comments>
		<pubDate>Mon, 19 Oct 2009 15:45:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Linux Tutorials]]></category>

		<guid isPermaLink="false">http://www.mynewdirection.org/?p=195</guid>
		<description><![CDATA[Sometimes it&#8217;s nice to watch a folder or service without repetitively running the command and hitting enter over and over.  Use  the command Watch to automate this task.  Below is an example to watch ps aux while grepping for &#8220;ssh&#8221;
watch -n 1 &#8220;ps aux &#124; grep ssh&#8221;

]]></description>
			<content:encoded><![CDATA[<p>Sometimes it&#8217;s nice to watch a folder or service without repetitively running the command and hitting enter over and over.  Use  the command <strong>Watch </strong>to automate this task.  Below is an example to watch ps aux while grepping for &#8220;ssh&#8221;</p>
<p><strong>watch -n 1 &#8220;ps aux | grep ssh&#8221;<br />
</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mynewdirection.org/?feed=rss2&amp;p=195</wfw:commentRss>
		</item>
		<item>
		<title>High Pitch Whine running Ubuntu on a MacBook Pro</title>
		<link>http://www.mynewdirection.org/?p=192</link>
		<comments>http://www.mynewdirection.org/?p=192#comments</comments>
		<pubDate>Wed, 23 Sep 2009 17:55:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Linux Tutorials]]></category>

		<category><![CDATA[Mac OSX]]></category>

		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.mynewdirection.org/?p=192</guid>
		<description><![CDATA[After installing Ubuntu 9.10 Alpha 6 on my Macbook Pro, I found that whenever the machine was idle, it would produce a high pitched whine that sounded like it could be caused from by the fan or speaker.  I tried several &#8220;fixes&#8221; online which included changing the power saving settings in grub, but nothing worked [...]]]></description>
			<content:encoded><![CDATA[<p>After installing Ubuntu 9.10 Alpha 6 on my Macbook Pro, I found that whenever the machine was idle, it would produce a high pitched whine that sounded like it could be caused from by the fan or speaker.  I tried several &#8220;fixes&#8221; online which included changing the power saving settings in grub, but nothing worked until I found a post which recommended changing alsa&#8217;s power save settings which worked great.</p>
<p><strong>Solution:</strong></p>
<ol>
<li>Open <strong>/etc/modprobe.d/alsa-base.conf</strong></li>
<li>Find the line: <strong>options snd-hda-intel power_save=10</strong></li>
<li>Change the value from <strong>10 </strong>to <strong>0</strong></li>
<li><strong>Reboot</strong></li>
</ol>
<p><strong>NOTE: </strong> For Ubuntu 10.04 (Lucid) add the following instead of step 2:<br />
<strong>options snd-hda-intel power_save=0 power_save_controller=N<br />
</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mynewdirection.org/?feed=rss2&amp;p=192</wfw:commentRss>
		</item>
		<item>
		<title>Removing .svn Folders Recursively</title>
		<link>http://www.mynewdirection.org/?p=186</link>
		<comments>http://www.mynewdirection.org/?p=186#comments</comments>
		<pubDate>Tue, 07 Jul 2009 16:37:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Linux Tutorials]]></category>

		<guid isPermaLink="false">http://www.mynewdirection.org/?p=186</guid>
		<description><![CDATA[While porting projects to Git, I needed a way to remove all of the .svn folders in each project.  I don&#8217;t need the archived svn data in this case so it is safe to simply remove all folders labeled: &#8216;.svn&#8217;.
Use Find to locate the svn folders
find . -name &#8216;.svn&#8217;

Append the argument rm -R to remove [...]]]></description>
			<content:encoded><![CDATA[<p>While porting projects to Git, I needed a way to remove all of the .svn folders in each project.  I don&#8217;t need the archived svn data in this case so it is safe to simply remove all folders labeled: &#8216;.svn&#8217;.<strong></strong></p>
<p><strong>Use Find to locate the svn folders</strong><em><br />
find . -name &#8216;.svn&#8217;<br />
</em></p>
<p><strong>Append the argument rm -R to remove them</strong><em><br />
find . -name &#8216;.svn&#8217; | xargs rm -R<br />
</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mynewdirection.org/?feed=rss2&amp;p=186</wfw:commentRss>
		</item>
	</channel>
</rss>
