<?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>DeveloperSide.NET Blog &#187; HowTo</title>
	<atom:link href="http://www.devside.net/blog/category/howto/feed" rel="self" type="application/rss+xml" />
	<link>http://www.devside.net/blog</link>
	<description>Linux, Windows, MacOS? Who cares. Just give me something that works!</description>
	<lastBuildDate>Mon, 19 Sep 2011 20:58:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>WordPress, Disable and Delete Post Revisions</title>
		<link>http://www.devside.net/blog/wordpress-post-revisions-off</link>
		<comments>http://www.devside.net/blog/wordpress-post-revisions-off#comments</comments>
		<pubDate>Tue, 17 Feb 2009 15:07:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.devside.net/blog/?p=137</guid>
		<description><![CDATA[Post revisions are one of the more useless features of WordPress that do little but add bloat to the database.
At first they were kind of cool, but then what do you do with them?
You&#8217;re not running a wiki. Right?
Here is how to get rid of them once and for all.
Edit wp-config.php, add this line in [...]]]></description>
			<content:encoded><![CDATA[<p>Post revisions are one of the more useless features of WordPress that do little but add bloat to the database.</p>
<p>At first they were kind of cool, but then what do you do with them?</p>
<p>You&#8217;re not running a wiki. Right?</p>
<p>Here is how to get rid of them once and for all.</p>
<p>Edit wp-config.php, add this line in to disable the post revisions feature.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'WP_POST_REVISIONS'</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>You will also need to clean the database of all the previous entries under the wp_posts and wp_postmeta tables.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">USE</span> database_name;
<span style="color: #993333; font-weight: bold;">DELETE</span> a<span style="color: #66cc66;">,</span>b<span style="color: #66cc66;">,</span>c <span style="color: #993333; font-weight: bold;">FROM</span> wp_posts a <span style="color: #993333; font-weight: bold;">LEFT</span> <span style="color: #993333; font-weight: bold;">JOIN</span> wp_term_relationships b <span style="color: #993333; font-weight: bold;">ON</span> <span style="color: #66cc66;">&#40;</span>a<span style="color: #66cc66;">.</span>ID <span style="color: #66cc66;">=</span> b<span style="color: #66cc66;">.</span>object_id<span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">LEFT</span> <span style="color: #993333; font-weight: bold;">JOIN</span> wp_postmeta c <span style="color: #993333; font-weight: bold;">ON</span> <span style="color: #66cc66;">&#40;</span>a<span style="color: #66cc66;">.</span>ID <span style="color: #66cc66;">=</span> c<span style="color: #66cc66;">.</span>post_id<span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">WHERE</span> a<span style="color: #66cc66;">.</span>post_type <span style="color: #66cc66;">=</span> <span style="color: #ff0000;">'revision'</span>;</pre></td></tr></table></div>

<p>Congratulations, you are done! Enjoy your now much smaller database.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.devside.net/blog/wordpress-post-revisions-off/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>HowTo: Change VMWare Player Guest OS Display Resolution</title>
		<link>http://www.devside.net/blog/vmware-player-resolution</link>
		<comments>http://www.devside.net/blog/vmware-player-resolution#comments</comments>
		<pubDate>Wed, 20 Jun 2007 23:02:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://www.devside.net/blog/vmware-player-resolution</guid>
		<description><![CDATA[Here is one useful bit for anyone running, or thinking of running, a local test/development environment under VMWare Player version 2.0 with a guest OS Linux install.
I&#8217;ll assume you have installed VMWare Player and a VMWare Appliance similar to CentOS v5. After which, by default, the resolution will be limited to modes &#8220;800&#215;600&#8243; and &#8220;640&#215;480&#8243;.
Here [...]]]></description>
			<content:encoded><![CDATA[<p>Here is one useful bit for anyone running, or thinking of running, a local test/development environment under VMWare Player version 2.0 with a guest OS Linux install.</p>
<p>I&#8217;ll assume you have installed VMWare Player and a VMWare Appliance similar to CentOS v5. After which, by default, the resolution will be limited to modes &#8220;800&#215;600&#8243; and &#8220;640&#215;480&#8243;.</p>
<p>Here is how you fix that problem&#8230;</p>
<p><strong>Step 1: Install X and GNOME, if not already present.</strong><br />
<code>yum groupinstall "X Window System" "GNOME Desktop Environment"</code><br />
[Note: to install KDE, substitute the "GNOME..." string with "KDE (K Desktop Environment)"]</p>
<p><strong>Step 2: Edit /etc/X11/xorg.conf</strong></p>
<p>You should already have&#8230;<br />
<code><br />
Section "Device"<br />
	Identifier "Videocard0"<br />
	Driver "vmware"<br />
EndSection<br />
</code></p>
<p>Add the following &#8220;monitor&#8221; section&#8230;<br />
<code><br />
Section "Monitor"<br />
	Identifier "Monitor0"<br />
	HorizSync 1.0 - 10000.0<br />
	VertRefresh 1.0 - 10000.0<br />
EndSection<br />
</code></p>
<p>Modify the existing &#8220;Screen&#8221; section&#8230;<br />
Note to replace the following &#8220;1600&#215;1200&#8243; string with the highest resolution your monitor can handle.<br />
<code><br />
Section "Screen"<br />
	Identifier "Screen0"<br />
	Device "Videocard0"<br />
	Monitor "Monitor0"<br />
	DefaultDepth 24<br />
	SubSection "Display"<br />
		Viewport 0 0<br />
		Depth 24<br />
		Modes "1600x1200" "800x600" "640x480"<br />
	EndSubSection<br />
EndSection<br />
</code></p>
<p><strong>Step 3: Start X</strong><br />
<code>startx</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.devside.net/blog/vmware-player-resolution/feed</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
	</channel>
</rss>

