<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.6.3" -->
<rss version="0.92">
<channel>
	<title>FarmSoft Studios Scratchpad</title>
	<link>http://scratchpad.farmsoftstudios.com</link>
	<description>What We're Thinking About Right Now...</description>
	<lastBuildDate>Thu, 20 Nov 2008 15:04:03 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Adding A User In MySQL</title>
		<description>Do you need to quickly add a specific user with access to only a certain table?  Issue this command as a root or admin user:

GRANT ALL ON testdb.* TO 'testuser'@'localhost' IDENTIFIED BY 'pass1';

You can also limit user's privileges to specific ip addresses or domains in case you need to ...</description>
		<link>http://scratchpad.farmsoftstudios.com/2008/11/web-design/adding-a-user-in-mysql/</link>
			</item>
	<item>
		<title>Find The Version Of CentOS/RHEL Without Rebooting</title>
		<description>Want to know if you have CentOS 4.5 or 5.0? Issue this command:
cat /etc/redhat-release
That file contains the needed version information.
[root@localhost ~]# cat /etc/redhat-release
CentOS release 5 (Final) </description>
		<link>http://scratchpad.farmsoftstudios.com/2008/11/linux/find-the-version-of-centosrhel-without-rebooting/</link>
			</item>
	<item>
		<title>Mounting a Samba (SMB) Share in CentOS</title>
		<description>Need to mount a samba share on your CentOS server from the command line?

Create a directory on the root:
mkdir /sharename

Then mount the share:
mount -t cifs //&#60;servername&#62;/&#60;sharename&#62; /sharename
if you type df -h you should see that your share is now mounted on the mountpoint that you created earlier. </description>
		<link>http://scratchpad.farmsoftstudios.com/2008/10/linux/mounting-a-samba-smb-share-in-centos/</link>
			</item>
	<item>
		<title>Connecting to the Remote Windows Console with Mac&#8217;s RDP Client</title>
		<description>Ever needed to connect to the remote console of the machine rather than running through a terminal services session so that you could install certain software, or reset stuck terminal services sessions from a remote location?  All you have to do is type /console behind the host in the ...</description>
		<link>http://scratchpad.farmsoftstudios.com/2008/10/apple-computer/connecting-to-the-remote-windows-console-with-macs-rdp-client/</link>
			</item>
	<item>
		<title>Pandora Music Application</title>
		<description>I wrote a little application that allows you to play music from Pandora right from your dock.  It does not take up a tab in your web browser, and it supports playing while minimized, which Safari does not.  You can get it here: http://www.farmsoftstudios.com/pandora/ </description>
		<link>http://scratchpad.farmsoftstudios.com/2008/10/farmsoft-studios/pandora-music-application/</link>
			</item>
	<item>
		<title>Alternating Table Backgrounds in PHP</title>
		<description>If you like the alternating table backgrounds that are in applications like iTunes, and want them in your web application, there is a simple way to do so in PHP:

&#60;table&#62;
 &#60;tr class="title"&#62;
  &#60;td&#62;&#60;/td&#62;
 &#60;/tr&#62;
&#60;?php
$i=0;
foreach($row as $r){
   if($i&#38;0){$alt=' class="even"';}else{$alt='';}
   echo "&#60;tr".$alt."&#62;";
   //other table stuff in here
   $i++;
   echo "&#60;/tr&#62;";
}
?&#62;
&#60;/table&#62;
 </description>
		<link>http://scratchpad.farmsoftstudios.com/2008/09/graphic-design/alternating-table-backgrounds-in-php/</link>
			</item>
	<item>
		<title>Project Management</title>
		<description>These days, I consider the failure to use version control a professional malpractice. I’m also a zealot when it comes to deleting dead code. In fact, I derive quite a bit of enjoyment out of deleting existing code. Unused code, old code, mockups, things that were started and never finished, things that someone thought they needed ...</description>
		<link>http://scratchpad.farmsoftstudios.com/2008/09/web-design/project-management/</link>
			</item>
	<item>
		<title>We&#8217;ve Moved.</title>
		<description>Instead of serving your web design / programming needs in the rolling hills of Wisconsin, we're now available in the Statesville, Mooresville, Charlotte, and greater Piedmont area.  Look us up if you get a chance! </description>
		<link>http://scratchpad.farmsoftstudios.com/2008/09/web-design/weve-moved/</link>
			</item>
	<item>
		<title>Blocking a certain IP address with iptables</title>
		<description>To block an ip address from accessing your linux box, you can use the following iptables rule:
iptables -A INPUT -s 222.124.24.131 -j DROP

If you just need to block a certain port (i.e. port 22 for SSH), you would do it like so:

iptables -A INPUT -s 222.124.24.131 -p tcp --destination-port 22 ...</description>
		<link>http://scratchpad.farmsoftstudios.com/2008/08/linux/blocking-a-certain-ip-address-with-iptables/</link>
			</item>
	<item>
		<title>Change&#8230;</title>
		<description>Well, it certainly is not pretty yet, but my blog is now more integrated with my site than before.  I was using K2 as my theme, and I wanted it integrated more into my site's look and feel.  One step at a time as I have a few moments here ...</description>
		<link>http://scratchpad.farmsoftstudios.com/2008/08/uncategorized/change/</link>
			</item>
</channel>
</rss>
