<?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>Intuition &#38; Elbow Grease™ &#187; misc</title>
	<atom:link href="http://www.jeffpickell.com/category/misc/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jeffpickell.com</link>
	<description>Ponderings of things that go "Ping!" by Jeff Pickell</description>
	<lastBuildDate>Wed, 21 Apr 2010 18:07:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Displaying an HTML table from MySQL data</title>
		<link>http://www.jeffpickell.com/misc/displaying-an-html-table-from-mysql-data/</link>
		<comments>http://www.jeffpickell.com/misc/displaying-an-html-table-from-mysql-data/#comments</comments>
		<pubDate>Wed, 23 Jul 2008 23:42:42 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://www.vxrs.com/?p=49</guid>
		<description><![CDATA[Here&#8217;s one from the 2003 archives: Did you know that PHP could interface with a MySQL database? Well it can, and here&#8217;s how! The code below illustrates just how easy it is to produce a nice table with headers populated with data culled from a database. One little trick I like to use (and have [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s one from the 2003 archives:</p>
<p>Did you know that <a href="http://www.php.net/">PHP</a> could interface with a <a href="http://www.mysql.com/">MySQL</a> database? Well it can, and here&#8217;s how! The code below illustrates just how easy it is to produce a nice table with headers populated with data culled from a database. One little trick I like to use (and have used for a very long time) when displaying table data is to alternate the background color. This makes it a bit easier to read the data (at least it does for me) Notice that when the table is initialized (&lt;table&gt;&lt;tr bgcolor=\&#8221;#afafaf\&#8221;&gt;), I define the background color. Later as the code iterates through the lines of data, I test to see what the current backgound color is, and then reverse it. Not rocket science, but it spruces things up just a bit. I have been using a heavily modified version of this code in several places, whether it is for displaying log files or pulling intrusion reports from a <a href="http://www.snort.org/">Snort</a> database and it has worked quite well.  Any comments or improvements are always welcome!</p>
<pre>
&lt;?php
$link = mysql_connect("database_host", "user", "password");

mysql_select_db("database_name", $link);

$qry = mysql_query("SELECT * FROM table_name", $link);
echo &lt;table&gt;&lt;tr bgcolor=\"#afafaf\"&gt;;
if (mysql_num_rows($qry) &gt; 0) {

for ($i = 0; $i&lt;mysql_num_fields($qry); $i++) {

echo "&lt;td&gt;&lt;b&gt;" . mysql_field_name($qry, $i) . "&lt;/b&gt;&lt;/td&gt;";

}

}else{

echo "&lt;td&gt;No entries found in the database&lt;/td&gt;";

}
echo "&lt;/tr&gt;\n";
if (mysql_num_rows($qry) &gt; 0) {

for ($j = 0; $j&lt;mysql_num_rows($qry); $j++) {

if ($bgcolor == "#ffffff"){

$bgcolor="#cccccc";

}else{

$bgcolor="#ffffff";

}

echo "&lt;tr bgcolor=\"$bgcolor\"&gt;";

for ($k = 0; $k&lt;mysql_num_fields($qry); $k++) {

echo "&lt;td&gt;" . mysql_result($qry,$j, $k) . "&lt;/td&gt;";

}

echo "&lt;/tr&gt;\n";

}

echo "&lt;/table&gt;";

}
?&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.jeffpickell.com/misc/displaying-an-html-table-from-mysql-data/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gmail IMAP missing</title>
		<link>http://www.jeffpickell.com/misc/gmail-imap-missing/</link>
		<comments>http://www.jeffpickell.com/misc/gmail-imap-missing/#comments</comments>
		<pubDate>Wed, 16 Apr 2008 20:35:55 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[email]]></category>
		<category><![CDATA[misc]]></category>
		<category><![CDATA[palm]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://www.vxrs.com/?p=43</guid>
		<description><![CDATA[UPDATE:  Looks like it&#8217;s been re-enabled.  Hopefully for good.  Maybe they were upgrading the service. Looks like Google may be having some issues w/their IMAP services.  I noticed earlier that my palm pilot couldn&#8217;t access my gmail account via IMAP, producing a connection error.  When I log into my gmail settings, the IMAP section from [...]]]></description>
			<content:encoded><![CDATA[<p>UPDATE:  Looks like it&#8217;s been re-enabled.  Hopefully for good.  Maybe they were upgrading the service.</p>
<p>Looks like Google may be having some issues w/their IMAP services.  I noticed earlier that my palm pilot couldn&#8217;t access my gmail account via IMAP, producing a connection error.  When I log into my gmail settings, the IMAP section from the &#8216;Forwarding and Pop&#8217; tab is now missing:</p>
<p><a href="http://www.vxrs.com/wp-content/uploads/2008/04/picture-51.png" class="lightview" rel="gallery[43]"><img class="alignnone size-medium wp-image-47" title="gmail-no-imap" src="http://www.vxrs.com/wp-content/uploads/2008/04/picture-51-300x106.png" alt="No IMAP settings in gmail" width="300" height="106" /></a></p>
<p><a href="http://www.vxrs.com/wp-content/uploads/2008/04/picture-51.png" class="lightview" rel="gallery[43]"><br />
</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jeffpickell.com/misc/gmail-imap-missing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NaNoWriMo</title>
		<link>http://www.jeffpickell.com/misc/nanowrimo/</link>
		<comments>http://www.jeffpickell.com/misc/nanowrimo/#comments</comments>
		<pubDate>Fri, 02 Nov 2007 01:10:00 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[misc]]></category>

		<guid isPermaLink="false">http://www.vxrs.com/?p=6</guid>
		<description><![CDATA[Well, I actually did it this year! I signed myself up for NaNoWriMo (National Novel Writing Month) It&#8217;s kind of a pledge to write a 50,000 word novel in thirty days. I tend to write in spurts (just look at the frequency of my blog posts!) and lack the discipline to write daily. If I [...]]]></description>
			<content:encoded><![CDATA[<p>Well, I actually did it this year!  I signed myself up for <a href="http://www.nanowrimo.org">NaNoWriMo</a> (National Novel Writing Month)  It&#8217;s kind of a pledge to write a 50,000 word novel in thirty days.  I tend to write in spurts (just look at the frequency of my blog posts!) and lack the discipline to write daily.   If I gain anything from this experience, I&#8217;m hoping to scrape just a bit of discipline out of the process and continue to write in a more consistent manner.</p>
<p>I&#8217;m trying something quite a bit different with my writing.  I essentially have two modes of writing: First there&#8217;s the &#8220;Train-of-thought&#8221; mode where I have a simple subject and just sit down and let it spill out all in a single sitting (such as this blog-post).  Second is the &#8220;Hyper-Analytical&#8221; mode which requires years of research, outlining, brainstorming and generally enough pre-work to prevent the &#8220;Great Work&#8221; from ever achieving fruition.</p>
<p>So for my NaNoWriMo novel, I&#8217;m taking a whole new approach.  No plans.  No outlines.  Not even enough of a thought to attempt to &#8220;Train-of-thought&#8221; it.</p>
<p>So far, I&#8217;ve got about 600 words.  And, I think, it&#8217;s the start of something that&#8217;s at least better than my average as far as story-telling goes.</p>
<p>I&#8217;m doing my best to stay out of the story&#8217;s way and just let it write itself.  So I&#8217;m discovering the characters and the story as if I were reading an already published story.  It&#8217;s kind of a weird feeling, and liberating as well.  I&#8217;m quite eager to see just how far I can take this and what the finished product looks like.</p>
<p>And it looks like I&#8217;m quite good company this&#8230; <a href="http://merbc.invigorated.org">Charlie</a> has signed up, as has Marty.    I&#8217;ve read fiction from both of them and have been begging for more, so hopefully this is the little nudge that we each need to finally crank out a bit of fiction!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jeffpickell.com/misc/nanowrimo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Really, I shouldn&#8217;t be taking these things&#8230;</title>
		<link>http://www.jeffpickell.com/misc/really-i-shouldnt-be-taking-these-things/</link>
		<comments>http://www.jeffpickell.com/misc/really-i-shouldnt-be-taking-these-things/#comments</comments>
		<pubDate>Tue, 09 Oct 2007 14:45:00 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[misc]]></category>

		<guid isPermaLink="false">http://www.vxrs.com/?p=7</guid>
		<description><![CDATA[From the Nerd King himself!]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.nerdtests.com/nt2ref.html"><br />
<img src="http://www.nerdtests.com/images/badge/nt2/ea7cd7a89f8d560b.png" alt="NerdTests.com says I'm a Nerd God.  What are you?  Click here!" /><br />
</a></p>
<p>From the <a href="http://merbc.invigorated.org/archives/2007/10/09/cool-nerd-king/">Nerd King</a> himself!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jeffpickell.com/misc/really-i-shouldnt-be-taking-these-things/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I&#8217;ve been tagged!</title>
		<link>http://www.jeffpickell.com/misc/ive-been-tagged/</link>
		<comments>http://www.jeffpickell.com/misc/ive-been-tagged/#comments</comments>
		<pubDate>Tue, 07 Mar 2006 04:34:00 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[misc]]></category>

		<guid isPermaLink="false">http://www.vxrs.com/?p=12</guid>
		<description><![CDATA[Charlie (or should I say &#8216;Steve&#8217;) tagged me with the following: What time did you get up this morning? 7:15am Diamonds or pearls? Diamonds, but this is a close call&#8230; Diamonds are forever, but pearls just reek of sophistication! What was the last film you saw at the cinema? The Lion, the Witch, and the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://merbc.invigorated.org/archives/2006/03/06/tagged/">Charlie (or should I say &#8216;Steve&#8217;) tagged me with the following:</a></p>
<ol>
<li><span style="font-style: italic"> What time did you get up this morning?</span> 7:15am</li>
<li><span style="font-style: italic">Diamonds or pearls?</span> Diamonds, but this is a close call&#8230; Diamonds are forever, but pearls just reek of sophistication!</li>
<li><span style="font-style: italic">What was the last film you saw at the cinema?</span> The Lion, the Witch, and the Wardrobe. I got so wrapped up in the story at one that it was quite comforting to know that I know how this story ends!</li>
<li><span style="font-style: italic">What is your favorite TV Show?</span> I&#8217;m gonna second Charlie with Doctor Who (rumour has it that the new seasons are going to be broadcast on BBC America starting in March!) although I&#8217;ve only been truly fond of the the fourth Doctor (Tom Baker- long scarf, sonic screwdriver and man&#8217;s best friend at his side!)</li>
<li><span style="font-style: italic">What did you have for breakfast? </span>Protein shake and a granola bar.</li>
<li> <span style="font-style: italic">What is your middle name?</span> Kent.</li>
<li> <span style="font-style: italic">What is your favorite cuisine?</span> Chinese.</li>
<li> <span style="font-style: italic">What foods do you dislike? </span>Chicken that&#8217;s still on the bone.</li>
<li> <span style="font-style: italic">Favorite Potato Chip? </span>Dill Pickle flavored (no, really!)</li>
<li> <span style="font-style: italic">What is your favorite CD at the moment? </span>The Legend of Johhny Cash</li>
<li> <span style="font-style: italic">What kind of car do you drive? </span>02 Dodge Durango (hurray for third row seating!)</li>
<li> <span style="font-style: italic">Favorite sandwich? </span>Pastrami and Rye, hot with a side of chips and a dill pickle as made by Kent&#8217;s Deli in Chesterfield mall (which has unfortunately been gone for several years now)</li>
<li> <span style="font-style: italic">What characteristics do you despise? </span>Presumptuousness.</li>
<li> <span style="font-style: italic">What are your favorite clothes? </span>My old, worn out Wrangler jeans and my black Chicago Police Dept. sweatshirt.</li>
<li> <span style="font-style: italic">If you could go anywhere in the world on vacation where would you go? </span>Back to Hawaii or southern Germany.</li>
<li> <span style="font-style: italic">What color are your eyes? </span>Blue.</li>
<li> <span style="font-style: italic">Favorite Brand of Clothes?</span> Cheap.</li>
<li> <span style="font-style: italic">Where do you want to retire to?</span>  Someplace warm where I can continue to work.</li>
<li><span style="font-style: italic"> Favorite time of day?</span> Late night.</li>
<li>.<span style="font-style: italic"> Where were you born? </span>Chicago, IL.</li>
<li> <span style="font-style: italic">Favorite sport to watch? </span>Kickboxing&#8230;  but not the UFC kind of stuff, I much prefer traditional styles: Sumo, Muay Thai, etc.</li>
<li> <span style="font-style: italic">Whom do you least expect to respond to your tag? </span>Christopher (he&#8217;s too busy with his new baby!)</li>
<li> <span style="font-style: italic">Person you expect to send it back first? </span>Kevin or Faith</li>
<li> <span style="font-style: italic">Coke or Pepsi? </span>Neither&#8230; If I&#8217;m craving soda, it&#8217;s gotta be a Mountain Dew</li>
<li> <span style="font-style: italic">Are you a morning person or night owl?</span> Absolutely a night owl.</li>
<li> <span style="font-style: italic">Any new and exciting news you’d like to share with everyone? </span>&#8220;Be strong and courageous.  Do not be terrified; do not be discouraged, for the LORD your God will be with wherever you go&#8221; Joshua 1:9</li>
<li> <span style="font-style: italic">What did you want to be when you were little?</span> Astronaut, Science Officer on the U.S.S. Enterprise.</li>
<li> <span style="font-style: italic">What is your best childhood memory? </span> Christmas in Chicago with ALL of my relatives!</li>
<li> <span style="font-style: italic">What are the different jobs you have had in your life? </span>Bookstore manager, Data entry, Computer Sales &amp; Repair, Mobile phone installer, Telephone switch technician, systems admistrator, security administrator, entrepreneur!</li>
<li> <span style="font-style: italic">Nicknames:</span> Pickle.</li>
<li> <span style="font-style: italic">Piercings? </span>Two. One ear has no piercings&#8230;</li>
<li> <span style="font-style: italic">Ever been to Africa? </span>No.</li>
<li> <span style="font-style: italic">Ever been toilet papering? </span>No.</li>
<li> <span style="font-style: italic">Been in a car accident?</span> Just a small fender bender many years ago.</li>
<li> <span style="font-style: italic">Favorite day of the week? </span>Sunday.</li>
<li> <span style="font-style: italic">Favorite restaurants? </span>Culpepper&#8217;s (try the Teriyaki chicken!)</li>
<li> <span style="font-style: italic">Favorite flower? </span>American Beauty Rose.</li>
<li> <span style="font-style: italic">Favorite flavor of ice cream? </span>Plain chocolate, or vanilla with loads of Hershey&#8217;s chocolate syrup!</li>
<li> <span style="font-style: italic">How many times did you fail your driver’s license?</span> Just once, but only because I scared the officer that was in the car with me!</li>
<li> <span style="font-style: italic">Before this one, from whom did you get your last e-mail?</span> Mark.</li>
<li> <span style="font-style: italic">Which store would you choose to max out your credit card?</span> <a href="http://www.newegg.com">Newegg</a>, <a href="http://www.geeks.com">Geeks.com</a> or of course <a href="http://www.apple.com">Apple</a></li>
<li> <span style="font-style: italic">Bedtime?</span> between 11:00pm and 1:00am.</li>
<li> <span style="font-style: italic">Who are you most curious about their responses to this questionnaire? </span>Mark or Kevin.</li>
<li> <span style="font-style: italic">Last person you went to dinner with? </span>My beautiful wife!</li>
<li> <span style="font-style: italic">What are you listening to right now? </span>The hum of my Powermac.</li>
<li> <span style="font-style: italic">What is your favorite color? </span>Blue</li>
<li> <span style="font-style: italic">How many tattoos do you have?</span> None yet.</li>
<li> <span style="font-style: italic">How many people are you sending this e-mail to?</span> blogged +four.</li>
<li> <span style="font-style: italic">What time did you finish this? </span>Around 11:10pm.</li>
</ol>
<p>And I am tagging:</p>
<p>* Faith<br />
* Mark<br />
* Kevin<br />
* Christopher<br />
* Kristen</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jeffpickell.com/misc/ive-been-tagged/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>It&#8217;s Official, I am now a Cincinnati Reds Fan</title>
		<link>http://www.jeffpickell.com/misc/its-official-i-am-now-a-cincinnati-reds-fan/</link>
		<comments>http://www.jeffpickell.com/misc/its-official-i-am-now-a-cincinnati-reds-fan/#comments</comments>
		<pubDate>Fri, 05 Aug 2005 21:07:00 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[misc]]></category>

		<guid isPermaLink="false">http://www.vxrs.com/?p=13</guid>
		<description><![CDATA[http://www.kentucky.com/mld/kentucky/sports/12311591.htm]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.kentucky.com/mld/kentucky/sports/12311591.htm">http://www.kentucky.com/mld/kentucky/sports/12311591.htm</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jeffpickell.com/misc/its-official-i-am-now-a-cincinnati-reds-fan/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microcasting: A History</title>
		<link>http://www.jeffpickell.com/misc/microcasting-a-history/</link>
		<comments>http://www.jeffpickell.com/misc/microcasting-a-history/#comments</comments>
		<pubDate>Fri, 15 Jul 2005 13:32:00 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[misc]]></category>

		<guid isPermaLink="false">http://www.vxrs.com/?p=15</guid>
		<description><![CDATA[Microcasting (cross-posted from CrazyAces) Throughout history, the creation of new technologies quickly introduces new frontiers ripe for exploration. Brave explorers set out in their sailing vessels in search of better trade routes. The advent of the covered wagon opened the Wild West for the pioneers. Rocket ships led to the exploration of outer space. So [...]]]></description>
			<content:encoded><![CDATA[<p>Microcasting (cross-posted from <a href="http://www.crazyaces.com/2005/07/microcasting-history.html">CrazyAces</a>)</p>
<p>Throughout history, the creation of new technologies quickly introduces new frontiers ripe for exploration.  Brave explorers set out in their sailing vessels in search of better trade routes.  The advent of the covered wagon opened the Wild West for the pioneers.  Rocket ships led to the exploration of outer space. So it is with the Internet.</p>
<p>Originally, there were no &#8220;websites&#8221; on the Internet. HTML and XML had not been invented.  It was simply a refuel for the &#8220;Command Line Cowboy,&#8221; bravely exploring each node, each piece of code, and each path just to see what was out there.   Soon the graphical interface allowed us to better visualize this electronic superhighway as it coalesced and formed into the World Wide Web.</p>
<p>Just as the early settlers staked out and established their homesteads, the first digirati were equally quick to leave an impression on the world.  They created home pages, filling each nook and cranny with their personal collections or trinkets.  As these homepages evolved, people began to use the space for journaling.  They would share their day’s events, thoughts or feelings on a particular subject, for the rest of the online community to read and enjoy.  Over time, these journals became know as weblogs, or &#8220;blogs,&#8221; as they are commonly referred to today.</p>
<p>As personal computers and connections to the Internet became increasingly faster, a richer, more intimate experience began to emerge.  Animations, Sound, Personalized News!  Eventually, people began recording their blog entries in a downloadable audio format that was suitable for listening on Apple Computer&#8217;s iPod.  Hence, the term &#8220;podcasting&#8221; came about, as a way to better define “broadcasting for the iPod.&#8221;</p>
<p>Podcasting usually refers to a personal, commercial or syndicated site with regular, specialized content. Typically, each podcast will roughly follow the same genre and format as the site that it originates from.</p>
<p>Another branch of podcasting has begun to take shape as well, called MicroCasting.  Although the term “microcasting” has been around for a while, it wasn&#8217;t until the pioneers at <a href="http://www.crazyaces.com">CrazyAces</a> started to MicroCast that the medium was truly defined.  A MicroCast is a specific form of the audio blog wherein the content of each piece is wholly separate from the next. It is limited in time and scope and -most importantly &#8211; consists of only two to four people all contributing equally to the MicroCast.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jeffpickell.com/misc/microcasting-a-history/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
