<?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>/dev/movabletripe &#187; Linux</title>
	<atom:link href="http://movabletripe.com/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://movabletripe.com</link>
	<description>Making up launch dates since 1982</description>
	<lastBuildDate>Mon, 27 Aug 2007 01:39:38 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>I got 99 problems but a bitch ain&#8217;t one!</title>
		<link>http://movabletripe.com/archive/i-got-99-problems-but-a-bitch-aint-one/</link>
		<comments>http://movabletripe.com/archive/i-got-99-problems-but-a-bitch-aint-one/#comments</comments>
		<pubDate>Thu, 23 Aug 2007 09:30:41 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[Bash]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Random]]></category>
		<category><![CDATA[Shell]]></category>

		<guid isPermaLink="false">http://movabletripe.com/archive/i-got-99-problems-but-a-bitch-aint-one/</guid>
		<description><![CDATA[#!/bin/bash

if [ -f girlproblems.txt ]
then
  FEELINGS="bad"
  PROBLEMS=`cat myproblems.txt &#124; wc -l`
  if [ $PROBLEMS == "99" ]
  then
    BITCHES=`cat myproblems.txt &#124; grep bitch &#124; wc -l`
    if [ $BITCHES == "0" ]
      then
      echo "a [...]]]></description>
			<content:encoded><![CDATA[<blockquote><pre>#!/bin/bash

if [ -f girlproblems.txt ]
then
  FEELINGS="bad"
  PROBLEMS=`cat myproblems.txt | wc -l`
  if [ $PROBLEMS == "99" ]
  then
    BITCHES=`cat myproblems.txt | grep bitch | wc -l`
    if [ $BITCHES == "0" ]
      then
      echo "a bitch ain't one!"
    fi
  fi
fi</pre>
</blockquote>
<p>Too many glasses of scotch will do that to you.</p>
]]></content:encoded>
			<wfw:commentRss>http://movabletripe.com/archive/i-got-99-problems-but-a-bitch-aint-one/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Grep all files in a directory for a string</title>
		<link>http://movabletripe.com/archive/grep-all-files-in-a-directory-for-a-string/</link>
		<comments>http://movabletripe.com/archive/grep-all-files-in-a-directory-for-a-string/#comments</comments>
		<pubDate>Sat, 30 Jun 2007 03:21:38 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[Bash]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://movabletripe.com/archive/grep-all-files-in-a-directory-for-a-string/</guid>
		<description><![CDATA[grep -i -r somestring ./
-i means ignore case
-r means recursive
Simple stuff, but useful nonetheless.
]]></description>
			<content:encoded><![CDATA[<p><code>grep -i -r somestring ./</code></p>
<p>-i means ignore case<br />
-r means recursive</p>
<p>Simple stuff, but useful nonetheless.</p>
]]></content:encoded>
			<wfw:commentRss>http://movabletripe.com/archive/grep-all-files-in-a-directory-for-a-string/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Opera 9.20-beta Slackware Packages</title>
		<link>http://movabletripe.com/archive/opera-920-beta-slackware-packages/</link>
		<comments>http://movabletripe.com/archive/opera-920-beta-slackware-packages/#comments</comments>
		<pubDate>Sun, 01 Apr 2007 00:29:07 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://movabletripe.com/archive/opera-920-beta-slackware-packages/</guid>
		<description><![CDATA[Opera has released an official beta build of its upcoming version 9.2 of the popular web browser. One of the big drawcards for this release is the inclusion of something they call &#8220;Speed Dial&#8221;. Basically, it is essentially a launchpad for your favourite sites which is displayed in any blank tab or window. Below is [...]]]></description>
			<content:encoded><![CDATA[<p>Opera has released an official beta build of its upcoming version 9.2 of the popular web browser. One of the big drawcards for this release is the inclusion of something they call &#8220;Speed Dial&#8221;. Basically, it is essentially a launchpad for your favourite sites which is displayed in any blank tab or window. Below is a screenshot of Speed Dial on my system:</p>
<p><a href="/static/operaspeeddial.png" title="Opera Speed Dial"><img class="aligncenter" src="/static/operaspeeddial.thumbnail.png" alt="Opera Speed Dial" /></a></p>
<p>For those of you using slackware and want to check it out, you can download the latest 9.20b release from my <a href="/archive/opera-slackware-packages/" title="Opera Slackware packages">Opera Slackware packages</a> page.</p>
]]></content:encoded>
			<wfw:commentRss>http://movabletripe.com/archive/opera-920-beta-slackware-packages/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Ballmer reissues patent threat against Linux</title>
		<link>http://movabletripe.com/archive/ballmer-reissues-patent-threat-against-linux/</link>
		<comments>http://movabletripe.com/archive/ballmer-reissues-patent-threat-against-linux/#comments</comments>
		<pubDate>Wed, 21 Feb 2007 07:49:48 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[That Other OS]]></category>

		<guid isPermaLink="false">http://movabletripe.com/archive/ballmer-reissues-patent-threat-against-linux/</guid>
		<description><![CDATA[Steve Ballmer has fired off another warning shot across the bow of the Linux users and open source vendors in general by repeating his threats to sue companies that do not respect Microsoft&#8217;s intellectual property.

Microsoft has argued in the past that Linux infringes on their IP, but when called upon for specifics has failed to [...]]]></description>
			<content:encoded><![CDATA[<p>Steve Ballmer has fired off another warning shot across the bow of the Linux users and open source vendors in general by repeating his threats to sue companies that do not respect Microsoft&#8217;s intellectual property.</p>
<p><span id="more-62"></span></p>
<p>Microsoft has argued in the past that Linux infringes on their <acronym title="Intellectual Property">IP</acronym>, but when called upon for specifics has failed to name the patents in question.</p>
<p>Ballmer, in an obvious threat towards open source users, has told <a href="http://www.cnet.com">c|net</a> that <em>&#8220;open source is not free, and open source will have to respect the intellectual-property rights of others, just as any other competitor will&#8221;</em>.</p>
<p>For those that aren&#8217;t fluent in the language of Bullshit, that is loosely translated as <em>&#8220;play by our rules, or else&#8221;</em>.</p>
<p>One interesting quote in the interview, however, is a possible admission that Windows <em>is</em> in fact more expensive than Linux. After a <a href="http://www.microsoft.com/windowsserver/facts/default.mspx">huge campaign</a> against Linux specifically aimed at proving that Windows has a lower total cost of ownership than it&#8217;s open source alternative, Ballmer has this little cherry:</p>
<blockquote><p>&#8220;We are higher-priced, but we bring greater value.&#8221;</p></blockquote>
<p>Higher priced you say? What happened to all of that &#8220;Linux is more expensive that Windows&#8221; rhetoric?</p>
<p>Linux users respoded to Ballmer&#8217;s accusations with the following message:</p>
<p><img class="aligncenter" src='/static/bush_finger.jpg' alt='Finger' /></p>
<p>You can keep your higher prices and intellectual property. We are going to play on our own, and you&#8217;re not invited.</p>
]]></content:encoded>
			<wfw:commentRss>http://movabletripe.com/archive/ballmer-reissues-patent-threat-against-linux/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Linux leads Windows and OSX in flash-player version</title>
		<link>http://movabletripe.com/archive/linux-leads-windows-and-osx-in-flash-player-version/</link>
		<comments>http://movabletripe.com/archive/linux-leads-windows-and-osx-in-flash-player-version/#comments</comments>
		<pubDate>Fri, 19 Jan 2007 08:50:16 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://movabletripe.com/archive/linux-leads-windows-and-osx-in-flash-player-version/</guid>
		<description><![CDATA[For the first time in recorded history (ie. as far as I can remember), linux is actually leading the pack when it comes to flash-player versions. The screenshot below is taken straight from the Adobe website no less than a few minutes ago:

Notice that Linux is at version 9,0,31,0, while both Windows and OSX are [...]]]></description>
			<content:encoded><![CDATA[<p>For the first time in recorded history (ie. as far as I can remember), linux is actually <em>leading the pack</em> when it comes to flash-player versions. The screenshot below is taken straight from <a href="http://www.adobe.com/products/flash/about/">the Adobe website</a> no less than a few minutes ago:</p>
<p><img class="aligncenter" id="image58" src="/static/flash-player-plugin.png" alt="Flash Player Plugin" /></p>
<p>Notice that Linux is at version 9,0,31,0, while both Windows and OSX are stuck at 9,0,28,0. Sure, I may be splitting hairs here, but after lagging (pun intended &#8211; ALSA anyone?) at least 1.5 versions behind for the last few years, it is good to be the front-runner for a change.</p>
<p><a href="http://www.adobe.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash&#038;P2_Platform=Linux">Get the latest version of Adobe Flash Player for Linux here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://movabletripe.com/archive/linux-leads-windows-and-osx-in-flash-player-version/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Opera Slackware packages</title>
		<link>http://movabletripe.com/archive/opera-slackware-packages/</link>
		<comments>http://movabletripe.com/archive/opera-slackware-packages/#comments</comments>
		<pubDate>Tue, 20 Jun 2006 04:57:59 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://movabletripe.com/archive/opera-slackware-packages/</guid>
		<description><![CDATA[Current testing release
opera-9.20b_20070323.5-i386-1_hno.tgz
opera-9.01_20060629.6-i486-1hno.tgz
Current stable release
opera-9.10_20061214.5-i386-1_hno.tgz
opera-9.0-i486-1hno.tgz
About the above packages
The opera desktop team have been releasing weekly builds of the upcoming recently released version 9.0.
I have been creating opera slackware packages for each one of these releases for my own personal use, and considering the fact that 9.0-final has been released, I thought that might as well [...]]]></description>
			<content:encoded><![CDATA[<h3>Current testing release</h3>
<p><a title="Download opera-9.20b_20070323.5-i386-1_hno.tgz" href="/download/file/opera-9.20b_20070323.5-i386-1_hno.tgz">opera-9.20b_20070323.5-i386-1_hno.tgz</a><br />
<span class="strike"><a title="Download opera-9.01_20060629.6-i486-1hno.tgz" href="/download/file/opera-9.01_20060629.6-i486-1hno.tgz">opera-9.01_20060629.6-i486-1hno.tgz</a></span></p>
<h3>Current stable release</h3>
<p><a title="Download opera-9.10_20061214.5-i386-1_hno.tgz" href="/download/file/opera-9.10_20061214.5-i386-1_hno.tgz">opera-9.10_20061214.5-i386-1_hno.tgz</a><br />
<span class="strike"><a title="Download opera-9.0-i486-1hno.tgz" href="/download/file/opera-9.0-i486-1hno.tgz">opera-9.0-i486-1hno.tgz</a></span></p>
<h3>About the above packages</h3>
<p>The <a href="http://my.opera.com/desktopteam/blog/">opera desktop team</a> have been releasing weekly builds of the <span class="strike">upcoming</span> recently released version 9.0.</p>
<p>I have been creating <a title="Opera Slackware packages" href="/archive/opera-slackware-packages/">opera slackware packages</a> for each one of these releases for my own personal use, and considering the fact that 9.0-final has been released, I thought that might as well share the love and upload my packages for my fellow slackers to use.</p>
<p>The current stable release is available for download, but I will also provide a package of the latest beta/nightly/weekly release. My own personal experience is that the beta builds are more often than not stable enough to use in a production environment, although if in doubt, download the latest stable version.</p>
<p><strong>Note:</strong> These packages use <em>shared</em> qt libraries, meaning that you will at the very least require a basic KDE installation. As Slackware comes default with KDE installed, this should not be a problem, and I believe that if you are clever enough to engineer a slackware installation without kdelibs installed, I think you should be smart enough to create your own opera package anyway. If there is enough interest, however, I <em>might</em> provide static-qt opera slackware packages if requested.</p>
]]></content:encoded>
			<wfw:commentRss>http://movabletripe.com/archive/opera-slackware-packages/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Recursively chmod directories only</title>
		<link>http://movabletripe.com/archive/recursively-chmod-directories-only/</link>
		<comments>http://movabletripe.com/archive/recursively-chmod-directories-only/#comments</comments>
		<pubDate>Mon, 19 Jun 2006 08:24:26 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://movabletripe.com/archive/recursively-chmod-directories-only/</guid>
		<description><![CDATA[find . -type d -exec chmod 755 {} \;
This will recursively search your directory tree (starting at dir &#8216;dot&#8217;) and chmod 755 all directories only.
Similarly, the following will chmod all files only (and ignore the directories):
find . -type f -exec chmod 644 {} \;
]]></description>
			<content:encoded><![CDATA[<p><code>find . -type d -exec chmod 755 {} \;</code></p>
<p>This will recursively search your directory tree (starting at dir &#8216;dot&#8217;) and chmod 755 all directories only.</p>
<p>Similarly, the following will chmod all files only (and ignore the directories):</p>
<p><code>find . -type f -exec chmod 644 {} \;</code></p>
]]></content:encoded>
			<wfw:commentRss>http://movabletripe.com/archive/recursively-chmod-directories-only/feed/</wfw:commentRss>
		<slash:comments>52</slash:comments>
		</item>
		<item>
		<title>Stop New Mail Notifications in Bash</title>
		<link>http://movabletripe.com/archive/stop-new-mail-notifications-in-bash/</link>
		<comments>http://movabletripe.com/archive/stop-new-mail-notifications-in-bash/#comments</comments>
		<pubDate>Fri, 30 Sep 2005 08:45:29 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://movabletripe.com/?p=38</guid>
		<description><![CDATA[This is going to be short and sweet.
Does it bug you everytime you use bash on your linux box (via a terminal-emulator, ssh or otherwise), and it echos new mail notifications every five minutes? Well, if you are signed up to some high traffic mailing lists like I am, you will know my pain.
Here is [...]]]></description>
			<content:encoded><![CDATA[<p>This is going to be short and sweet.</p>
<p>Does it bug you everytime you use <a href="http://www.gnu.org/software/bash/bash.html">bash</a> on your linux box (via a terminal-emulator, ssh or otherwise), and it echos new mail notifications every five minutes? Well, if you are signed up to some high traffic mailing lists like I am, you will know my pain.</p>
<p>Here is how you ditch those notifications.<br />
In <code>/etc/profile</code> comment out the following (or change the <code>y</code> to an <code>n</code>):</p>
<blockquote><pre># Notify user of incoming mail.  This can be overridden in the user's
# local startup file (~/.bash.login or whatever, depending on the shell)
if [ -x /usr/bin/biff ]; then
 biff y
fi</pre>
</blockquote>
<p>Another option is to simply stop your computer from running the <code>biff</code> executable:</p>
<blockquote><pre>chmod -x /usr/sbin/biff</pre>
</blockquote>
<p>NOTE: This will make system-wide changes for every user. If you want to make the change only for one user, add <code>biff n</code> to their <code>.bash_profile</code> and/or <code>.bashrc</code>. (Bash login shells use <code>.bash_profile</code>; bash non-login shells use <code>.bashrc</code>)</p>
]]></content:encoded>
			<wfw:commentRss>http://movabletripe.com/archive/stop-new-mail-notifications-in-bash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AVI + AVI + Linux = DVD</title>
		<link>http://movabletripe.com/archive/merging-avis-into-a-single-dvd-on-linux/</link>
		<comments>http://movabletripe.com/archive/merging-avis-into-a-single-dvd-on-linux/#comments</comments>
		<pubDate>Thu, 11 Aug 2005 05:36:43 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://movabletripe.com/archive/avi-plus-avi-plus-linux-equals-dvd/</guid>
		<description><![CDATA[This one is for the code vault, and for my own personal reference.
Situation:

You have a movie you really like, but for some reason (such as being a dirty movie pirate.. arrrr!) the movie has been split into multiple files of &#60;700MB for burning across multiple CDRs.
You infact own a DVD burner, and as such, want [...]]]></description>
			<content:encoded><![CDATA[<p>This one is for the code vault, and for my own personal reference.</p>
<p>Situation:</p>
<ol>
<li>You have a movie you really like, but for some reason (such as being a dirty movie pirate.. arrrr!) the movie has been split into multiple files of &lt;700MB for burning across multiple CDRs.</li>
<li>You infact own a DVD burner, and as such, want to combine these files seamlessly into one, and burn it to a single DVDR.</li>
<li>You are an uber-geek (in the eyes of your grandma) and use linux and are not afraid of using the command line</li>
</ol>
<p>Using 6 simple commands you can successfully burn this movie to DVD without skippy playback or out-of-sync audio. Here&#8217;s how:</p>
<p><span id="more-37"></span></p>
<p>Tools you will need for the task:</p>
<ul>
<li><a href="http://www.mplayerhq.hu">mencoder</a></li>
<li><a href="http://ffmpeg.org">ffmpeg</a></li>
<li><a href="http://dvdauthor.sourceforge.net">dvdauthor</a></li>
</ul>
<p>First we concatenate the two/three/four AVI files:</p>
<blockquote><pre>cat firstfile.avi secondfile.avi > concatenatedfile.avi
</pre>
</blockquote>
<p>Then we use a bit of mencoder wizardry:</p>
<blockquote><pre>mencoder -o finalmovie.avi -noidx -oac copy -ovc copy concatenatedfile.avi</pre>
</blockquote>
<p>That will leave you with a perfectly synced and concatenated single AVI of the movie in question. Now to make that movie into a DVD. (Just a note: change <code>ntsc-dvd</code> to <code>pal-dvd</code> if you live in a non-NTSC country such as Australia.)</p>
<blockquote><pre>ffmpeg -i finalmovie.avi -y -target ntsc-dvd -sameq -aspect 16:9 finalmovie.mpg</pre>
</blockquote>
<p>Now we move on to making that MPEG version of the movie into a directory with proper VIDEO.TS and IFO files for your DVD player to read.</p>
<blockquote><pre>dvdauthor --title -o dvd -f finalmovie.mpg</pre>
</blockquote>
<p>Then run the following:</p>
<blockquote><pre>dvdauthor -o dvd -T</pre>
</blockquote>
<p>And one final step to make that DVD structure into a burnable image:</p>
<blockquote><pre>mkisofs -dvd-video -o dvd.iso dvd/</pre>
</blockquote>
<p>After all of that is complete, you can burn the image using your favourite burning application, throw the disc in your DVD player and get watching.</p>
<p><strong>Footnote:</strong> If you are a confident, knowledgeable and impatient bugger, you can cut out the <code>mkisofs</code> step above and burn the files straight to disc something like this (change the <code>-speed</code> variable to suit your burner):</p>
<blockquote><pre>growisofs -dvd-compat -dvd-video -speed=4 -Z /dev/dvd ./dvd/*</pre>
</blockquote>
<p>This concludes today&#8217;s lesson. Now where&#8217;s my popcorn.</p>
]]></content:encoded>
			<wfw:commentRss>http://movabletripe.com/archive/merging-avis-into-a-single-dvd-on-linux/feed/</wfw:commentRss>
		<slash:comments>28</slash:comments>
		</item>
		<item>
		<title>What happened to my Plesk Updater?</title>
		<link>http://movabletripe.com/archive/what-happened-to-my-plesk-updater/</link>
		<comments>http://movabletripe.com/archive/what-happened-to-my-plesk-updater/#comments</comments>
		<pubDate>Sun, 24 Jul 2005 07:59:23 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Random]]></category>

		<guid isPermaLink="false">http://movabletripe.com/archive/what-happened-to-my-plesk-updater/</guid>
		<description><![CDATA[I ran into this problem today when updating a client&#8217;s server to the latest version of Plesk.
Did you know that upgrading to >7.5.2 disables the &#8216;Updater&#8217; button in the &#8216;Server&#8217; section of Plesk?
I didn&#8217;t, but after a bit of head-scratching I found the &#8216;fix&#8217;. (NOTE: Not really a &#8216;fix&#8217; as nothing was really broken &#8211; [...]]]></description>
			<content:encoded><![CDATA[<p>I ran into this problem today when updating a client&#8217;s server to the latest version of Plesk.</p>
<p>Did you know that upgrading to >7.5.2 disables the &#8216;Updater&#8217; button in the &#8216;Server&#8217; section of Plesk?</p>
<p>I didn&#8217;t, but after a bit of head-scratching I found the &#8216;fix&#8217;. <em>(NOTE: Not really a &#8216;fix&#8217; as nothing was really broken &#8211; just disabled).</em></p>
<p>Anyway, enough of the banter, re-enabling the &#8216;Updater&#8217; button again is as simple as one MySQL command:</p>
<blockquote><pre>mysql -uadmin -p`cat /etc/psa/.psa.shadow`
use psa;
UPDATE misc SET val='false' WHERE param='disable_updater';
exit
</pre>
</blockquote>
<p><strong>UPDATE:</strong> It should be pointed out that it is a bad idea to enable the updater if your plesk installation is running under Virtuozzo. Plesk running in a virtual environment needs to be updated via templates, not the control panel update feature, and as such is disabled for a pretty good reason. For more information, refer to the following link:</p>
<p><a href="http://kb.swsoft.com/article_117_786_en.html">http://kb.swsoft.com/article_117_786_en.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://movabletripe.com/archive/what-happened-to-my-plesk-updater/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
