<?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>Topher's Scribbles</title>
	<atom:link href="http://topherdotcom.com/scribble/feed" rel="self" type="application/rss+xml" />
	<link>http://topherdotcom.com/scribble</link>
	<description>My journey through Apache, PHP, FreeBSD, and then some.</description>
	<lastBuildDate>Thu, 18 Mar 2010 23:05:10 +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>Finding Duplicate Records in MySQL</title>
		<link>http://topherdotcom.com/scribble/apache-php-mysql/finding-duplicate-records-in-mysql/41</link>
		<comments>http://topherdotcom.com/scribble/apache-php-mysql/finding-duplicate-records-in-mysql/41#comments</comments>
		<pubDate>Thu, 18 Mar 2010 23:04:36 +0000</pubDate>
		<dc:creator>Topher</dc:creator>
				<category><![CDATA[Apache - PHP - MySQL]]></category>
		<category><![CDATA[count]]></category>
		<category><![CDATA[duplicate]]></category>
		<category><![CDATA[having]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://topherdotcom.com/scribble/?p=41</guid>
		<description><![CDATA[So I was needed to find some duplicate records in a table that had more than 3,000 records. I stumbled upon this query which made my life easier.
SELECT `field`, COUNT(`field`)
FROM `table`
GROUP BY `field`
HAVING ( COUNT(`field`) &#62; 1 )
<script type="text/javascript">SHARETHIS.addEntry({ title: "Finding Duplicate Records in MySQL", url: "http://topherdotcom.com/scribble/apache-php-mysql/finding-duplicate-records-in-mysql/41" });</script>]]></description>
		<wfw:commentRss>http://topherdotcom.com/scribble/apache-php-mysql/finding-duplicate-records-in-mysql/41/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>vi &#8212; &#8216;already locked, session is read-only&#8217;</title>
		<link>http://topherdotcom.com/scribble/freebsd/vi-already-locked-session-is-read-only/39</link>
		<comments>http://topherdotcom.com/scribble/freebsd/vi-already-locked-session-is-read-only/39#comments</comments>
		<pubDate>Wed, 06 Jan 2010 22:19:07 +0000</pubDate>
		<dc:creator>Topher</dc:creator>
				<category><![CDATA[FreeBSD]]></category>

		<guid isPermaLink="false">http://topherdotcom.com/scribble/?p=39</guid>
		<description><![CDATA[I recently came across this error in Vi after I was editing a file and was disconnect: &#8220;foo.txt already locked, session is read-only.&#8221; I thought it was a swp file issue of some sort, so I immediately searched for it to remove it. Only to find out that one didn&#8217;t exist.
So I did what most [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "vi &#8212; &#8216;already locked, session is read-only&#8217;", url: "http://topherdotcom.com/scribble/freebsd/vi-already-locked-session-is-read-only/39" });</script>]]></description>
		<wfw:commentRss>http://topherdotcom.com/scribble/freebsd/vi-already-locked-session-is-read-only/39/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL Search and Replace</title>
		<link>http://topherdotcom.com/scribble/apache-php-mysql/mysql-search-and-replace/37</link>
		<comments>http://topherdotcom.com/scribble/apache-php-mysql/mysql-search-and-replace/37#comments</comments>
		<pubDate>Sat, 24 Jan 2009 00:03:03 +0000</pubDate>
		<dc:creator>Topher</dc:creator>
				<category><![CDATA[Apache - PHP - MySQL]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[search and replace]]></category>

		<guid isPermaLink="false">http://topherdotcom.com/scribble/?p=37</guid>
		<description><![CDATA[This is definitely useful&#8230;
UPDATE `&#60;table_name&#62;` SET `&#60;field_name&#62;` = replace( &#60;field_name&#62;, &#8216;&#60;string_search&#62;&#8217;, &#8216;&#60;string_replace&#62;&#8217; ) ;
Cheers!!

<script type="text/javascript">SHARETHIS.addEntry({ title: "MySQL Search and Replace", url: "http://topherdotcom.com/scribble/apache-php-mysql/mysql-search-and-replace/37" });</script>]]></description>
		<wfw:commentRss>http://topherdotcom.com/scribble/apache-php-mysql/mysql-search-and-replace/37/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ternary; which means this stuff ? :</title>
		<link>http://topherdotcom.com/scribble/apache-php-mysql/ternary-which-means-this-stuff/35</link>
		<comments>http://topherdotcom.com/scribble/apache-php-mysql/ternary-which-means-this-stuff/35#comments</comments>
		<pubDate>Thu, 08 Jan 2009 19:41:14 +0000</pubDate>
		<dc:creator>Topher</dc:creator>
				<category><![CDATA[Apache - PHP - MySQL]]></category>
		<category><![CDATA[:]]></category>
		<category><![CDATA[?]]></category>
		<category><![CDATA[ternary]]></category>

		<guid isPermaLink="false">http://topherdotcom.com/scribble/?p=35</guid>
		<description><![CDATA[OK, I needed to write this down as I do not use this comparison on a daily basis, but use it enough where its getting annoying that I have to research it every time I use it.
So without further ado&#8230;..
(expression) ? &#8216;do this if true&#8216; : &#8216;do this if false&#8216;
Voila
<script type="text/javascript">SHARETHIS.addEntry({ title: "Ternary; which means this stuff ? :", url: "http://topherdotcom.com/scribble/apache-php-mysql/ternary-which-means-this-stuff/35" });</script>]]></description>
		<wfw:commentRss>http://topherdotcom.com/scribble/apache-php-mysql/ternary-which-means-this-stuff/35/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OOP in PHP not the same as Java</title>
		<link>http://topherdotcom.com/scribble/apache-php-mysql/oop-in-php-not-the-same-as-java/33</link>
		<comments>http://topherdotcom.com/scribble/apache-php-mysql/oop-in-php-not-the-same-as-java/33#comments</comments>
		<pubDate>Thu, 09 Oct 2008 07:45:03 +0000</pubDate>
		<dc:creator>Topher</dc:creator>
				<category><![CDATA[Apache - PHP - MySQL]]></category>

		<guid isPermaLink="false">http://topherdotcom.com/scribble/apache-php-mysql/oop-in-php-not-the-same-as-java/33</guid>
		<description><![CDATA[We all know that PHP5 has a lot more OOP features than PHP4, and we all know that it is not a real OOP language. There are a lot of things in PHP5 that won&#8217;t work like Java (obviously). With that said, I just want to point out one feature that I noticed while playing [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "OOP in PHP not the same as Java", url: "http://topherdotcom.com/scribble/apache-php-mysql/oop-in-php-not-the-same-as-java/33" });</script>]]></description>
		<wfw:commentRss>http://topherdotcom.com/scribble/apache-php-mysql/oop-in-php-not-the-same-as-java/33/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Deny Users in a Directory and Allow Users in Subdirectory</title>
		<link>http://topherdotcom.com/scribble/apache-php-mysql/deny-users-in-a-directory-and-allow-users-in-subdirectory/31</link>
		<comments>http://topherdotcom.com/scribble/apache-php-mysql/deny-users-in-a-directory-and-allow-users-in-subdirectory/31#comments</comments>
		<pubDate>Mon, 24 Mar 2008 01:36:24 +0000</pubDate>
		<dc:creator>Topher</dc:creator>
				<category><![CDATA[Apache - PHP - MySQL]]></category>
		<category><![CDATA[Order allow]]></category>
		<category><![CDATA[order deny]]></category>

		<guid isPermaLink="false">http://topherdotcom.com/scribble/apache-php-mysql/deny-users-in-a-directory-and-allow-users-in-subdirectory/31</guid>
		<description><![CDATA[It took me a while to figure this out. I wanted to deny the public access to a directory, like /deny and allow the public in a subdirectory like /deny/allow.
This was done by the specific order of Allow, Deny. If you mix these up, you will either allow all or deny all. Anyway, here&#8217;s what [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "Deny Users in a Directory and Allow Users in Subdirectory", url: "http://topherdotcom.com/scribble/apache-php-mysql/deny-users-in-a-directory-and-allow-users-in-subdirectory/31" });</script>]]></description>
		<wfw:commentRss>http://topherdotcom.com/scribble/apache-php-mysql/deny-users-in-a-directory-and-allow-users-in-subdirectory/31/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stopping Starting Sendmail in FreeBSD</title>
		<link>http://topherdotcom.com/scribble/freebsd/stopping-starting-sendmail-in-freebsd/30</link>
		<comments>http://topherdotcom.com/scribble/freebsd/stopping-starting-sendmail-in-freebsd/30#comments</comments>
		<pubDate>Wed, 06 Feb 2008 18:45:45 +0000</pubDate>
		<dc:creator>Topher</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[/etc/rc.conf]]></category>
		<category><![CDATA[restart sendmail]]></category>
		<category><![CDATA[sendmail_enable]]></category>
		<category><![CDATA[start sendmail]]></category>
		<category><![CDATA[stop sendmail]]></category>

		<guid isPermaLink="false">http://topherdotcom.com/scribble/freebsd/stopping-starting-sendmail-in-freebsd/30</guid>
		<description><![CDATA[Here&#8217;s a quick reference for Sendmail users. The commands below are to start, stop, restart, and rebuild aliases for the Sendmail Daemon.
Stopping Sendmail
# cd /etc/mail
# make stop
Starting Sendmail
# cd /etc/mail
# make start
Restarting Sendmail
# cd /etc/mail
# make restart
Rebuild Aliases
# cd /etc/mail
# make
Enable Sendmail on startup
# echo &#8217;sendmail_enable=&#8221;YES&#8221;&#8216; &#62;&#62; /etc/rc.conf
# echo &#8217;sendmail_submit_enable=&#8221;YES&#8221;&#8216; &#62;&#62; /etc/rc.conf
Disable Sendmail on startup
# [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "Stopping Starting Sendmail in FreeBSD", url: "http://topherdotcom.com/scribble/freebsd/stopping-starting-sendmail-in-freebsd/30" });</script>]]></description>
		<wfw:commentRss>http://topherdotcom.com/scribble/freebsd/stopping-starting-sendmail-in-freebsd/30/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bash Test Operators</title>
		<link>http://topherdotcom.com/scribble/bash/bash-test-operators/29</link>
		<comments>http://topherdotcom.com/scribble/bash/bash-test-operators/29#comments</comments>
		<pubDate>Tue, 22 Jan 2008 18:31:21 +0000</pubDate>
		<dc:creator>Topher</dc:creator>
				<category><![CDATA[Bash]]></category>
		<category><![CDATA[bash programming]]></category>
		<category><![CDATA[bourne again shell]]></category>
		<category><![CDATA[csh]]></category>
		<category><![CDATA[sh]]></category>
		<category><![CDATA[shell programming]]></category>
		<category><![CDATA[shell tests]]></category>
		<category><![CDATA[tcsh]]></category>

		<guid isPermaLink="false">http://topherdotcom.com/scribble/bash/bash-test-operators/29</guid>
		<description><![CDATA[Here&#8217;s a list I have compiled that explains many Bash test operators. This is pretty much all I use. I think there&#8217;s more, but I will add to it as I discover them. I&#8217;ve been wanting to put this online so I can use as a reference and I finally did. So here it is, [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "Bash Test Operators", url: "http://topherdotcom.com/scribble/bash/bash-test-operators/29" });</script>]]></description>
		<wfw:commentRss>http://topherdotcom.com/scribble/bash/bash-test-operators/29/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FreeBSD 6.2 + PHP5 + PHP5-extensions = php.core dumps!!</title>
		<link>http://topherdotcom.com/scribble/freebsd/freebsd-62-php5-php5-extensions-phpcore-dumps/27</link>
		<comments>http://topherdotcom.com/scribble/freebsd/freebsd-62-php5-php5-extensions-phpcore-dumps/27#comments</comments>
		<pubDate>Thu, 10 Jan 2008 18:55:20 +0000</pubDate>
		<dc:creator>Topher</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[core dumps]]></category>
		<category><![CDATA[FreeBSD ports]]></category>
		<category><![CDATA[FreeBSD+php5+php5-extensions]]></category>
		<category><![CDATA[php.core]]></category>
		<category><![CDATA[ports]]></category>
		<category><![CDATA[Segmented Fault]]></category>
		<category><![CDATA[signal 11]]></category>

		<guid isPermaLink="false">http://topherdotcom.com/scribble/freebsd/freebsd-62-php5-php5-extensions-phpcore-dumps/27</guid>
		<description><![CDATA[I had just recently installed 2 new servers and both of them had PHP dumps (php.core) and issued a segmented fault, signal 11. I installed PHP5 and installed PHP5-Extensions through the ports.
My first experience with the dump, I wrote a simple code to calculate interest rates, which was totally incorrect (my code btw). My second [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "FreeBSD 6.2 + PHP5 + PHP5-extensions = php.core dumps!!", url: "http://topherdotcom.com/scribble/freebsd/freebsd-62-php5-php5-extensions-phpcore-dumps/27" });</script>]]></description>
		<wfw:commentRss>http://topherdotcom.com/scribble/freebsd/freebsd-62-php5-php5-extensions-phpcore-dumps/27/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Areca + FreeBSD 6.2 + &gt;2TB Installation</title>
		<link>http://topherdotcom.com/scribble/freebsd/areca-freebsd-62-2tb-installation/26</link>
		<comments>http://topherdotcom.com/scribble/freebsd/areca-freebsd-62-2tb-installation/26#comments</comments>
		<pubDate>Fri, 16 Nov 2007 20:55:36 +0000</pubDate>
		<dc:creator>Topher</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[>2TB]]></category>
		<category><![CDATA[Areca]]></category>
		<category><![CDATA[FreeBSD 6.2]]></category>
		<category><![CDATA[g_vfs_done():]]></category>

		<guid isPermaLink="false">http://topherdotcom.com/scribble/freebsd/areca-freebsd-62-2tb-installation/26</guid>
		<description><![CDATA[I&#8217;ve been trying to set up a backup file server using FreeBSD 6.2-RELEASE amd64, Areca RAID, and using a partition that is &#62;2TB. My first install crashed the server under heavy writing. I was rsyncing 3 servers simultaneously. Checking the logs, there were some &#8220;kernel: g_vfs_done():&#8230;Error: 5&#8243; errors before the crash. I searched google and [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "Areca + FreeBSD 6.2 + >2TB Installation", url: "http://topherdotcom.com/scribble/freebsd/areca-freebsd-62-2tb-installation/26" });</script>]]></description>
		<wfw:commentRss>http://topherdotcom.com/scribble/freebsd/areca-freebsd-62-2tb-installation/26/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
