return; } $mutex_filename = 'wp_cache_mutex.lock'; $new_cache = false; // Don't change variables behind this point if (!$cache_enabled || $_SERVER["REQUEST_METHOD"] == 'POST') return; $file_expired = false; $cache_filename = ''; $meta_file = ''; $key = md5($_SERVER['SERVER_NAME'].preg_replace('/#.*$/', '', $_SERVER['REQUEST_URI']).wp_cache_get_cookies_values()); $cache_filename = $file_prefix . $key . '.html'; $meta_file = $file_prefix . $key . '.meta'; $cache_file = $cache_path . $cache_filename; $meta_pathname = $cache_path . $meta_file; $wp_start_time = microtime(); if( ($mtime = @filemtime($meta_pathname)) ) { if ($mtime + $cache_max_time > time() ) { $meta = new CacheMeta; if (! ($meta = unserialize(@file_get_contents($meta_pathname))) ) return; foreach ($meta->headers as $header) { header($header); } $log = "\n"; if ( !($content_size = @filesize($cache_file)) > 0 || $mtime < @filemtime($cache_file)) return; if ($meta->dynamic) { include($cache_file); } else { /* No used to avoid problems with some PHP installations $content_size += strlen($log); header("Content-Length: $content_size"); */ if(!@readfile ($cache_file)) return; } echo $log; die; } $file_expired = true; // To signal this file was expired } function wp_cache_postload() { global $cache_enabled; if (!$cache_enabled) return; require(ABSPATH . 'wp-content/plugins/wp-cache/wp-cache-phase2.php'); wp_cache_phase2(); } function wp_cache_get_cookies_values() { $string = ''; while ($key = key($_COOKIE)) { if (preg_match("/^wordpress|^comment_author_email_/", $key)) { $string .= $_COOKIE[$key] . ","; } next($_COOKIE); } reset($_COOKIE); return $string; } ?> Amateur Geek

Nov
09
    
Filed Under (Playa del Carmen, cool, ramblings) by Flash on 09-11-2009

Since I’m a geeky guy, I tend to love everything Google. I was naturally excited when Canada got Google Street View last month, and have already used it several times to find out ahead of time what to look for ahead of time when heading out to see a new building for the first time.

Street View of Playa del Carmen - 5th Ave at 10th St

Street View of Playa del Carmen - 5th Ave at 10th St

And I’m sure that any reader of this blog knows that one of my favorite places in the world is Playa del Carmen on the Mexican Riveria.  So naturally I was excited to hear that the cars that snap the Street View pictures were seen in the Playa region at the same time as there were photographing Canada.

Well the wait is now over, I can virtual wander the streets of Playa now whenever I like!  Google Street View for Playa del Carmen (and the rest of Mexico) has now gone live!

There is a couple of disappointments… they must not have made arrangements with the city to travel down the normally pedestrian only Quinta Avenida (5th Avenue), which is the cities main tourist walk and likely would have been the highest viewed street in Playa if it was available. Additionally, it would be nice if they could get the Street View tricycle to drive along the beaches to give us that view too. But considering Playa did not even have street maps within Google Maps a few months ago, this is a major update. Now if they can just get a sattelite view that doesn’t have clouds over downtown Playa….

I’m off to bed, but I shall be exploring Playa tomorrow!

Reblog this post [with Zemanta]
Share or save on your favorite network
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Furl
  • StumbleUpon
  • Technorati
  • TwitThis
  • Fark
  • Live
  • Ma.gnolia
  • Slashdot
  • Bumpzee
  • co.mments
  • Linkter
  • Propeller
  • Reddit
  • Spurl
  • email
Start Slide Show with PicLens Lite PicLens


Oct
30
    
Filed Under (ramblings) by Flash on 30-10-2009

Well I’ve been unable to blog for some time now. ?Work and school suddenly got too busy, and so some things had to suffer. ?But now I have time agin, the reason why we’ll leave for another post.

Halloween upon us, and John Chow posted a challenge to beat his score at a Halloween themed online slots game. ?So while I sat here eating my dinner, I clicked away and beat his score as evidenced below. Sure, it’s barely a win, but I’ll keep clicking and I’ll update the screenshot if I do significantly better.

Halloween Slots

Share or save on your favorite network
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Furl
  • StumbleUpon
  • Technorati
  • TwitThis
  • Fark
  • Live
  • Ma.gnolia
  • Slashdot
  • Bumpzee
  • co.mments
  • Linkter
  • Propeller
  • Reddit
  • Spurl
  • email
Start Slide Show with PicLens Lite PicLens


Jan
24
    
Filed Under (ramblings) by Flash on 24-01-2009
WordCamp Whistler Toques
Image by miss604 via Flickr

I keep meaning to spend what little free time I have between work and school to work on fixing the problems on this blog, but I keep getting distracted. The fixes need to be done, as they are what keep me from blogging (every time I have a couple of minutes free, I work on the fixes instead of a new post). But I’m distracted yet again this weekend, paying attention to WordCamp Whistler ‘09, which is was organized by my favourite Vancouver bloggers. Karin and I would have really liked to go, but the budget does not allow it. Too bad Dad doesn’t own a room up there anymore.

Because I’m distracted yet again, I’ll make an exception and blog this quick post.

In order to keep up with what is going on, I’ve made a Yahoo Pipe with as many sources as I can find, and I’m constantly adding more. You can get the RSS feed or you can go to the pipe’s page. Included on the pipe page is the list of sites I’m pullling from so far, please leave a comment or Twitter me if you have additional suggestions.

Share or save on your favorite network
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Furl
  • StumbleUpon
  • Technorati
  • TwitThis
  • Fark
  • Live
  • Ma.gnolia
  • Slashdot
  • Bumpzee
  • co.mments
  • Linkter
  • Propeller
  • Reddit
  • Spurl
  • email
Start Slide Show with PicLens Lite PicLens


Dec
24
    
Filed Under (ramblings) by Flash on 24-12-2008
Christmas 2002 002
Image by The Gordons via Flickr

Just a quick post to say that I’ll be returning to regular posting by the new year, and hopefully even before then as I should have some time over the holidays.  There’s a number of things broken here, as when they’ve happened I’ve just had time to fix Karin’s blog; but I should have time between Christmas and the New Year to clean my own blog up, so please be patient.

I hope everyone is having a great holiday season (I’ll say Christmas, I’m not scared of being politically incorrect, but if you celebrate something else this time of year I hope it’s going great too!) and that you are all safe in this snowy weather. Drop back real soon!

Share or save on your favorite network
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Furl
  • StumbleUpon
  • Technorati
  • TwitThis
  • Fark
  • Live
  • Ma.gnolia
  • Slashdot
  • Bumpzee
  • co.mments
  • Linkter
  • Propeller
  • Reddit
  • Spurl
  • email
Start Slide Show with PicLens Lite PicLens


« Previous Entries
Geotagging plugin by eMich.