<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.9.2" -->
<rss version="0.92">
<channel>
	<title>drew</title>
	<link>http://drewjoh.com/blog</link>
	<description>Words on your display.</description>
	<lastBuildDate>Sat, 16 Jan 2010 07:13:13 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>PHP Time Based UUID Function (GUID)</title>
		<description><![CDATA[
			
				
			
		
In my desire to find the &#8220;right&#8221; UUID function to use in my application, I grew to like the MySQL UUID() results produced because they are partially time based.  But I didn&#8217;t like that I have to make a database call every time I want a new UUID.  I didn&#8217;t find any similar functionality [...]]]></description>
		<link>http://drewjoh.com/blog/2009/07/php-time-based-uuid-function-guid/</link>
			</item>
	<item>
		<title>Converting Ticks to a Timestamp</title>
		<description><![CDATA[
			
				
			
		
I recently had to deal with a SQLite database that stored the timestamps as ticks.  Having to first research what a tick is, I created a simple function that will convert a tick value to a timestamp or MySQL datetime value since I couldn&#8217;t find anyone else who had done such a thing yet.
You can [...]]]></description>
		<link>http://drewjoh.com/blog/2009/05/converting-ticks-to-a-timestamp/</link>
			</item>
	<item>
		<title>Google Apps only gives 2GB to Safari users?</title>
		<description><![CDATA[
			
				
			
		
I recently had a small need to sign up two new Google Apps accounts and setup calendar sharing between them. So I naturally open up Safari as my second browser of choice and go to the sign-up page, only to notice that rather than the standard 7.2GB of space, I only get 2.7GB when signing [...]]]></description>
		<link>http://drewjoh.com/blog/2008/11/google-apps-only-gives-2gb-to-safari-users/</link>
			</item>
	<item>
		<title>Bug with Adobe Flash on Mac when uploading files to a redirected URL</title>
		<description><![CDATA[
			
				
			
		
Just spent almost the entire day trying to figure out what I was doing wrong when trying out many different flash multi-file uploading widgets. All of them would give me a 302 redirect http error, even when testing locally.
So after much searching and reading and studying&#8230; and finally testing this on my Windows machine (which [...]]]></description>
		<link>http://drewjoh.com/blog/2008/09/bug-with-adobe-flash-on-mac-when-uploading-files-to-a-redirected-url/</link>
			</item>
	<item>
		<title>Redirect all but used subdomains to primary domain using mod_rewrite and CodeIgniter</title>
		<description><![CDATA[
			
				
			
		
I was recently playing with mod_rewrite and wanting a couple of subdomains to act as subdomains, but all others to redirect back to my site without the leading &#8220;www&#8221;. For example:
www.example.com => example.com
bad.example.com => example.com
api.example.com => api.example.com
Not being a regular expression or mod_rewrite expert (or any resemblance of such), this was a bit of a [...]]]></description>
		<link>http://drewjoh.com/blog/2008/09/redirect-all-but-used-subdomains-to-primary-domain-using-mod_rewrite-and-codeigniter/</link>
			</item>
	<item>
		<title>Serving a large file through PHP without hitting memory_limit</title>
		<description><![CDATA[
			
				
			
		
Ran into a little problem hitting the memory limit for PHP when serving 100MB+ files through a script like:
$file = @fopen($filename,"r");
if ($file)
{
    while(!feof($file))
        {
            print(fread($file, 1024*4));
            flush();
 [...]]]></description>
		<link>http://drewjoh.com/blog/2008/09/serving-a-large-file-through-php-without-hitting-memory_limit/</link>
			</item>
	<item>
		<title>MultiTouch Trackpad Gestures For The Rest Of Your Apps</title>
		<description><![CDATA[
			
				
			
		
If you&#8217;re one of the lucky ones to be able to get one of the latest MacBooks with Multi-Touch, you&#8217;ve probably asked the same question I have: &#8220;How can I get Firefox to use the swipe gesture to go forwards and backwards like Safari does?&#8221;
Answer: MultiClutch
This neat little Preference Pane addition will allow you to [...]]]></description>
		<link>http://drewjoh.com/blog/2008/04/multitouch-trackpad-gestures-for-the-rest-of-your-apps/</link>
			</item>
	<item>
		<title>Cycle Your Batteries!</title>
		<description><![CDATA[
			
				
			
		
When buying portable products, I usually like to be (over) prepared for whatever situation may arrive.  When I bought my Panasonic HD camcorder, I also searched the web thoroughly and bought two extra batteries and a 16GB SD Card.  Plenty of power and plenty of space.
So I found myself looking at an extra battery for [...]]]></description>
		<link>http://drewjoh.com/blog/2008/04/cycle-your-batteries/</link>
			</item>
	<item>
		<title>Getting Organized with Spaces</title>
		<description><![CDATA[
			
				
			
		
Upon getting my Mac, Spaces was one of the first things I checked out. I had tried Virtual Desktops in Windows and Linux, but never found them to be too terribly helpful. Not to mention I used a dual monitor setup with my Windows machine, so I felt I had plenty of room for things.
Despite [...]]]></description>
		<link>http://drewjoh.com/blog/2008/03/getting-organized-with-spaces/</link>
			</item>
	<item>
		<title>My Mac crashed on me, and I lived to tell about it.</title>
		<description><![CDATA[
			
				
			
		
I&#8217;ve been a Mac user now for 24 days; and I&#8217;m loving it. I&#8217;ve been anxious to write several blog posts about the highlights of my experience in switching to a Mac + PC workstation. I have several stickies on my desktop with notes about what to include in these blog posts; and to be [...]]]></description>
		<link>http://drewjoh.com/blog/2007/12/my-mac-crashed-on-me-and-i-lived-to-tell-about-it/</link>
			</item>
</channel>
</rss>
