<?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>GimmeSoda &#187; Randomness</title>
	<atom:link href="http://www.gimmesoda.com/category/juanjose-galvez/randomness/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gimmesoda.com</link>
	<description>The Blog of a Programmer</description>
	<lastBuildDate>Sun, 29 Jan 2012 10:26:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Simple Setup of PEAR on a DreamHost Account</title>
		<link>http://www.gimmesoda.com/simple-setup-of-pear-on-a-dreamhost-account/</link>
		<comments>http://www.gimmesoda.com/simple-setup-of-pear-on-a-dreamhost-account/#comments</comments>
		<pubDate>Mon, 21 Mar 2011 07:17:08 +0000</pubDate>
		<dc:creator>JuanJose</dc:creator>
				<category><![CDATA[DreamHost]]></category>
		<category><![CDATA[Linux Command Line]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Randomness]]></category>

		<guid isPermaLink="false">http://www.gimmesoda.com/?p=565</guid>
		<description><![CDATA[While DH installs a basic set of PEAR modules it&#8217;s a common situation need others, when that situation comes up you&#8217;ll often be referred to the PEAR article on the DH wiki. I&#8217;ve taken the instructions found there and created a shell script you can download and execute, it&#8217;ll do the  [...]]]></description>
			<content:encoded><![CDATA[<p>While DH installs a basic set of PEAR modules it&#8217;s a common situation need others, when that situation comes up you&#8217;ll often be referred to the <a href="http://wiki.dreamhost.com/PEAR">PEAR article</a> on the <a href="http://wiki.dreamhost.com">DH wiki</a>. I&#8217;ve taken the instructions found there and created a shell script you can download and execute, it&#8217;ll do the following:</p>
<ol>
<li>Creates a .pearrc file in your home directory.</li>
<li>Sets the download_dir, cache_dir, and temp_dir to folders within your /home/user/pear directory</li>
<li>Sets the PHP_PEAR_PHP_BIN variables by adding &#8220;export PHP_PEAR_PHP_BIN=/usr/local/php5/bin/php&#8221; to your .bash_profile</li>
<li>Modifies your PATH variable by adding &#8220;export PATH=/home/user/pear:/usr/local/php5/bin:$PATH&#8221; to your .bash_profile. This change also sets the PHP5 binary as the default for your shell.</li>
</ol>
<p>Next time you call pear you&#8217;ll be using your custom settings and when you attempt to install any modules it will be done within your home directory. Now in order to use these PEAR modules in your application you will need to add the following to your app:</p>
<pre>$pear_user_config = '/home/user/.pearrc';
set_include_path('.' . PATH_SEPERATOR . '/home/user/pear/php' . PATH_SEPERATOR . get_include_path());</pre>
<p>Make sure to update &#8220;user&#8221; in the path to the actual user you are using and you&#8217;ll be set.</p>
<h2>Download and Execute the Script</h2>
<p>Just execute the following in a shell session:</p>
<pre>wget http://files.gimmesoda.com/dreamhost/install_pear.sh; chmod 0744 install_pear.sh; ./install_pear.sh;</pre>
<p>You can download and review the shell script from <a href="http://files.gimmesoda.com/dreamhost/install_pear.sh">here</a>, just open it up in a text editor of your choice.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gimmesoda.com/simple-setup-of-pear-on-a-dreamhost-account/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Code Fix for Missing PATH_INFO</title>
		<link>http://www.gimmesoda.com/code-fix-for-missing-path_info/</link>
		<comments>http://www.gimmesoda.com/code-fix-for-missing-path_info/#comments</comments>
		<pubDate>Wed, 12 Jan 2011 03:57:53 +0000</pubDate>
		<dc:creator>JuanJose</dc:creator>
				<category><![CDATA[CodeIgniter]]></category>
		<category><![CDATA[Concrete5]]></category>
		<category><![CDATA[Personal Projects]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Randomness]]></category>

		<guid isPermaLink="false">http://www.gimmesoda.com/?p=539</guid>
		<description><![CDATA[Many applications seem to be using the $_SERVER['PATH_INFO'] and related variables in their router section of code to figure out what information or page is being requested without having to write rewrite_rules for each possible request. It&#8217;s smart really! What about the web hosts that aren&#8217;t  [...]]]></description>
			<content:encoded><![CDATA[<p>Many applications seem to be using the $_SERVER['PATH_INFO'] and related variables in their router section of code to figure out what information or page is being requested without having to write rewrite_rules for each possible request. It&#8217;s smart really! What about the web hosts that aren&#8217;t setting this information due to whatever reason?</p>
<p>While there are ways to getting this fixed on the server side, where I do agree it should be fixed, an application should be able to handle running in as many possible environments as possible. With that in mind I&#8217;ve found a way to &#8216;fake&#8217; the information in PATH_INFO when it isn&#8217;t being set through the use of the argv array.</p>
<p><code>$path = (substr($_SERVER[argv][0], 0, 1) == "/") ? $_SERVER['argv'][0] : false;</code></p>
<p>This has been useful in my <a href="http://www.gimmesoda.com/pretty-urls-with-concrete5-on-dreamhost/">current patch for Concrete5</a> and should be useful for any app that depends on PATH_INFO.</p>
<p>Enjoy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gimmesoda.com/code-fix-for-missing-path_info/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Slacking</title>
		<link>http://www.gimmesoda.com/slacking/</link>
		<comments>http://www.gimmesoda.com/slacking/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 17:30:33 +0000</pubDate>
		<dc:creator>JuanJose</dc:creator>
				<category><![CDATA[JuanJose Galvez]]></category>
		<category><![CDATA[Randomness]]></category>

		<guid isPermaLink="false">http://www.gimmesoda.com/slacking/</guid>
		<description><![CDATA[I really need to do some work with my CJ affiliate earnings. I&#8217;ve done basically nothing in the last three months and I wouldn&#8217;t mind boosting my earnings. WTH should help out with that, once it&#8217;s finished. :(
]]></description>
			<content:encoded><![CDATA[<p>I really need to do some work with my CJ affiliate earnings. I&#8217;ve done basically nothing in the last three months and I wouldn&#8217;t mind boosting my earnings. WTH should help out with that, once it&#8217;s finished. :(</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gimmesoda.com/slacking/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Playlist AWESOME</title>
		<link>http://www.gimmesoda.com/playlist-awesome/</link>
		<comments>http://www.gimmesoda.com/playlist-awesome/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 03:52:15 +0000</pubDate>
		<dc:creator>JuanJose</dc:creator>
				<category><![CDATA[JuanJose Galvez]]></category>
		<category><![CDATA[Randomness]]></category>

		<guid isPermaLink="false">http://www.gimmesoda.com/?p=230</guid>
		<description><![CDATA[You HIMYM fans will recognize this. Some of the songs have been cut to decrease any potential for loss in tremors of psychitude.
1) You Give Love a Bad Name &#8211; Bon Jovi
2) The Humpty Dance &#8211; Digital Underground
3) Come Sail Away &#8211; Styx
4) Don&#8217;t Stop Believin&#8217; &#8211; Journey
5) The Transformers Theme &#8211;  [...]]]></description>
			<content:encoded><![CDATA[<p>You HIMYM fans will recognize this. Some of the songs have been cut to decrease any potential for loss in tremors of psychitude.</p>
<p>1) You Give Love a Bad Name &#8211; Bon Jovi<span style="text-decoration: line-through;"><br />
2) The Humpty Dance &#8211; Digital Underground</span><br />
3) Come Sail Away &#8211; Styx<br />
4) Don&#8217;t Stop Believin&#8217; &#8211; Journey<br />
5) The Transformers Theme &#8211; Vince DiCola<br />
6) You&#8217;re The Best Around &#8211; Joe Esposito<br />
7) High Enough &#8211; Damn Yankees<br />
8) Jessie&#8217;s Girl &#8211; Rick Springfield<br />
9) Rock You Like A Hurricane &#8211; Scorpions<span style="text-decoration: line-through;"><br />
10) Hip Hop Hooray &#8211; Naughty By Nature<br />
11) Change Of Heart &#8211; Tom Petty<br />
12) Run Runaway &#8211; Slade</span></p>
<p>I&#8217;m worried now &#8211; we NEED more songs. Working on it&#8230;.</p>
<p>Songs to add in:</p>
<p>I Wanna Rock &#8211; Twisted Sister ???<br />
Paradise City &#8211; Guns N&#8217; Roses *fist bump*<br />
<span style="text-decoration: line-through;">Lick It Up &#8211; KISS<br />
</span>Talk Dirty To Me &#8211; Poison</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gimmesoda.com/playlist-awesome/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>In the mood for tequila…</title>
		<link>http://www.gimmesoda.com/in-the-mood-for-tequila/</link>
		<comments>http://www.gimmesoda.com/in-the-mood-for-tequila/#comments</comments>
		<pubDate>Wed, 11 Mar 2009 12:57:03 +0000</pubDate>
		<dc:creator>JuanJose</dc:creator>
				<category><![CDATA[JuanJose Galvez]]></category>
		<category><![CDATA[Randomness]]></category>

		<guid isPermaLink="false">http://www.gimmesoda.com/?p=181</guid>
		<description><![CDATA[Okay so I&#8217;m normally in the mood for some good tequila however, tonight/this morning, I&#8217;ve really been craving two very specific bottles, however I wouldn&#8217;t mind some of the third about now.

First we have La Pinta Pomegranate Tequila, which I&#8217;ve been craving for awhile but have been too lazy to go  [...]]]></description>
			<content:encoded><![CDATA[<p>Okay so I&#8217;m normally in the mood for some good tequila however, tonight/this morning, I&#8217;ve really been craving two very specific bottles, however I wouldn&#8217;t mind some of the third about now.</p>
<p><a href="http://www.bevmo.com/Shop/ProductDetail.aspx?D=pomegranate&amp;Ntx=mode%2bmatchall&amp;Dx=mode%2bmatchall&amp;Ntk=All&amp;Nty=1&amp;Ntt=pomegranate&amp;N=0&amp;ProductID=11070" target="_blank"><img id="ctl00_uxContentMain_uxProductImageFull" style="border-width: 0px;" src="http://www.bevmo.com/Media/Images/ProductImagesFull/60493.jpg" alt="" width="69" height="280" /></a></p>
<p>First we have La Pinta Pomegranate Tequila, which I&#8217;ve been craving for awhile but have been too lazy to go pick up or order.</p>
<p><a href="http://www.bevmo.com/Shop/ProductDetail.aspx?D=tres&amp;Ntx=mode%2bmatchall&amp;Dx=mode%2bmatchall&amp;Ntk=All&amp;Nty=1&amp;Ntt=tres&amp;N=0&amp;ProductID=1333" target="_blank"><img src="http://www.bevmo.com/Media/Images/ProductImagesFull/3612.jpg" alt="http://www.bevmo.com/Media/Images/ProductImagesFull/3612.jpg" /></a></p>
<p>The next is <span class="ProductListItemLink">Tres Generaciones </span><span class="ProductListItemLink">Anejo, which anyone who has been introduced to tequila by me has very likely had a taste of. It&#8217;s among my favorites and goes down smoothly even for those people who aren&#8217;t big on tequila.<br />
</span></p>
<p><a href="http://www.bevmo.com/Shop/ProductDetail.aspx?D=milagro&amp;Ntx=mode%2bmatchall&amp;Dx=mode%2bmatchall&amp;Ntk=All&amp;Nty=1&amp;Ntt=milagro&amp;N=0&amp;ProductID=16348" target="_blank"><img id="ctl00_uxContentMain_uxProductImageFull" style="border-width: 0px;" src="http://www.bevmo.com/Media/Images/ProductImagesFull/68887.jpg" alt="" /></a></p>
<p>I&#8217;ve only had this one twice Milagro Select Anejo tequila, super smooth tequila that&#8217;s just a little sweeter then most anejo&#8217;s I&#8217;ve tasted. Wonderful, a great tequila for special occasions, or the nights you want to get messed up &#8211; with class.</p>
<p>As my buddy Sambeano would say, &#8220;Goulet!&#8221;</p>
<p>Now, if you happen to feel like being REALLY REALLY kind to me and want to feed my habit, you could always send a bottle of Herradura Tequila Seleccion Suprema my way, I promise it won&#8217;t impede my programming for tooo long. I probably wouldn&#8217;t open it until I finish up with <a title="Where To Host" href="http://www.wheretohost.net/" target="_blank">WhereToHost.net</a> and get a few extra patches/additions out for my installer framework.</p>
<p><a href="http://www.bevmo.com/Shop/ProductDetail.aspx?Ne=5&amp;N=40+4294967184&amp;area=spirits&amp;No=0&amp;ProductID=5383&amp;Ns=SalesPrice|1"><img id="ctl00_uxContentMain_uxProductImageFull" style="border-width: 0px;" src="http://www.bevmo.com/Media/Images/ProductImagesFull/20093.jpg" alt="" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gimmesoda.com/in-the-mood-for-tequila/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Love My Job</title>
		<link>http://www.gimmesoda.com/love-my-job/</link>
		<comments>http://www.gimmesoda.com/love-my-job/#comments</comments>
		<pubDate>Sat, 10 Jan 2009 07:25:37 +0000</pubDate>
		<dc:creator>JuanJose</dc:creator>
				<category><![CDATA[JuanJose Galvez]]></category>
		<category><![CDATA[Randomness]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.gimmesoda.com/love-my-job/</guid>
		<description><![CDATA[I got off work at around 11:10 tonight and I left feeling satisfied and happy. I love this job!
That is all. =D
]]></description>
			<content:encoded><![CDATA[<p>I got off work at around 11:10 tonight and I left feeling satisfied and happy. I love this job!</p>
<p>That is all. =D</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gimmesoda.com/love-my-job/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I need some crack…</title>
		<link>http://www.gimmesoda.com/i-need-some-crack/</link>
		<comments>http://www.gimmesoda.com/i-need-some-crack/#comments</comments>
		<pubDate>Sun, 09 Nov 2008 06:55:04 +0000</pubDate>
		<dc:creator>JuanJose</dc:creator>
				<category><![CDATA[JuanJose Galvez]]></category>
		<category><![CDATA[Randomness]]></category>

		<guid isPermaLink="false">http://www.gimmesoda.com/?p=118</guid>
		<description><![CDATA[It&#8217;s been awhile since I&#8217;ve done some SERIOUS programming. Most of what I&#8217;m working on (like the laconica web based installer, the modified zenPhoto installation, various modifications to e-commerce sites) is actually the type of thing I would work on and create when I was younger. I guess most  [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been awhile since I&#8217;ve done some SERIOUS programming. Most of what I&#8217;m working on (like the laconica web based installer, the modified zenPhoto installation, various modifications to e-commerce sites) is actually the type of thing I would work on and create when I was younger. I guess most things don&#8217;t change. Anyhow, I&#8217;m starting to itch for a real project, something complex or with an interesting problem to solve&#8230; maybe I&#8217;ll continue work on my framework.</p>
<p>I don&#8217;t know, anyhow I got a <strong>great</strong> read for you.</p>
<p>While working today I got the chance to help out with Greg Marriott&#8217;s blog, and when I finished up I noticed one of his posts was on a topic that I&#8217;ve always had some trouble explaining to my non-programmer friends. Go check it out and find out why programming is my drug of choice&#8230;</p>
<p><a href="http://blog.greggybits.com/?p=14">Programming is like crack<br />
</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gimmesoda.com/i-need-some-crack/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Without Time – Dropping Clients</title>
		<link>http://www.gimmesoda.com/without-time-dropping-clients/</link>
		<comments>http://www.gimmesoda.com/without-time-dropping-clients/#comments</comments>
		<pubDate>Tue, 28 Oct 2008 05:08:39 +0000</pubDate>
		<dc:creator>JuanJose</dc:creator>
				<category><![CDATA[JuanJose Galvez]]></category>
		<category><![CDATA[Personal Projects]]></category>
		<category><![CDATA[Randomness]]></category>

		<guid isPermaLink="false">http://www.gimmesoda.com/?p=115</guid>
		<description><![CDATA[As quite a few of you have noticed I haven&#8217;t been able to get any new work or scripts out lately. I&#8217;ve also have not been taking on any new clients for awhile because I don&#8217;t have any time! I&#8217;m actually at the point where I&#8217;m about to fire a few of my remaining clients in order to free up time!  [...]]]></description>
			<content:encoded><![CDATA[<p>As quite a few of you have noticed I haven&#8217;t been able to get any new work or scripts out lately. I&#8217;ve also have not been taking on any new clients for awhile because I don&#8217;t have any time! I&#8217;m actually at the point where I&#8217;m about to fire a few of my remaining clients in order to free up time! Crazy.</p>
<p>Projects that need to be finished, in random order:</p>
<ol>
<li>WordPress MU based Community for Anonymous Bloggers</li>
<li>Modified ZenPhoto system that hosts multiple galleries for the above system through one install. (Think of it as ZenPhoto MU.)</li>
<li>Laconica web based installer script. This one bothers me because I&#8217;m so close yet having been getting any time to complete it.</li>
<li>Re-organization of GimmeSoda Blog</li>
<li>Re-organization of Black Falcon Solutions and automating a few more tasks for client billing</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.gimmesoda.com/without-time-dropping-clients/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Need A Drink?</title>
		<link>http://www.gimmesoda.com/need-a-drink/</link>
		<comments>http://www.gimmesoda.com/need-a-drink/#comments</comments>
		<pubDate>Tue, 15 Jan 2008 22:53:58 +0000</pubDate>
		<dc:creator>JuanJose</dc:creator>
				<category><![CDATA[JuanJose Galvez]]></category>
		<category><![CDATA[Personal Projects]]></category>
		<category><![CDATA[Randomness]]></category>

		<guid isPermaLink="false">http://www.gimmesoda.com/2008/01/15/need-a-drink/</guid>
		<description><![CDATA[Today was a horrible day at work and just kinda makes me want to sit at a bar for the next few hours and let myself forget about the horrors of not being able to get anything done, but if you&#8217;re like me and don&#8217;t like paying absolutely outrageous prices for a drink, mix your own!
Which makes this  [...]]]></description>
			<content:encoded><![CDATA[<p>Today was a horrible day at work and just kinda makes me want to sit at a bar for the next few hours and let myself forget about the horrors of not being able to get anything done, but if you&#8217;re like me and don&#8217;t like paying absolutely outrageous prices for a drink, mix your own!</p>
<p>Which makes this the prefect day to announce that I&#8217;m working on a site for a community of those who enjoy their drinks &#8211; not just alcohol based (although mainly it will be). You can see the current database over at <a href="http://drinks.gimmesoda.com/search_name.php" target="_blank">http://drinks.gimmesoda.com/</a> and a simple random drink page at <a href="http://drinks.gimmesoda.com/" target="_blank">http://drinks.gimmesoda.com/</a></p>
<p><a href="http://drinks.gimmesoda.com/search_name.php?keyword=Midori+Sour+Ultra&amp;search=Search" target="_blank">Cheers!</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gimmesoda.com/need-a-drink/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Song from F.E.A.R. Commercial – Tears for Fears!</title>
		<link>http://www.gimmesoda.com/song-from-fear-commercial-tears-for-fears/</link>
		<comments>http://www.gimmesoda.com/song-from-fear-commercial-tears-for-fears/#comments</comments>
		<pubDate>Sun, 26 Nov 2006 04:27:00 +0000</pubDate>
		<dc:creator>JuanJose</dc:creator>
				<category><![CDATA[JuanJose Galvez]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[Randomness]]></category>

		<guid isPermaLink="false">http://www.gimmesoda.com/?p=14</guid>
		<description><![CDATA[The song used in the F.E.A.R. commercial!
&#8220;All around me are familiar faces
Worn out places, worn out faces
Bright and early for their daily races
Going nowhere, going nowhere
And their tears are filling up their glasses
No expression, no expression
Hide my head I want to drown my sorrow
No  [...]]]></description>
			<content:encoded><![CDATA[<p>The song used in the F.E.A.R. commercial!</p>
<p>&#8220;All around me are familiar faces<br />
Worn out places, worn out faces<br />
Bright and early for their daily races<br />
Going nowhere, going nowhere<br />
And their tears are filling up their glasses<br />
No expression, no expression<br />
Hide my head I want to drown my sorrow<br />
No tomorrow, no tomorrow&#8230;&#8221;</p>
<p>&#8211;Tears for Fears, &#8220;Mad World&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gimmesoda.com/song-from-fear-commercial-tears-for-fears/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced

Served from: www.gimmesoda.com @ 2012-02-10 09:11:30 -->
