The Swiss have some of the most awesome hillclimbing races. Here’s some of the best half hour of hillclimb video I’ve seen. Worth the watch if you’re into auto racing.
The Swiss have some of the most awesome hillclimbing races. Here’s some of the best half hour of hillclimb video I’ve seen. Worth the watch if you’re into auto racing.
Ever since I was 10 years old (if not longer), I’ve wanted a Dodge Viper. I fell in love with the car as a kid and had models of the car growing up. I even picked my username based on the car. Never did I dream that I would actually own one someday though but thanks to saving for years and having a great job, I finally accomplished my 17+ year dream.
I took delivery of it a week ago and am so happy!
You can find more details as well as video over on the page I have dedicated to the car.
Nerds are so awesome.
Ridley Scott’s latest film. Gives me goosebumps just watching the trailer.
Do you use Gas Cubby on your iPhone? If so, would you mind helping me out by sending me an export of your data?
I’m writing a new WordPress plugin that will allow you display data similar to Gas Cubby’s data on your website. You’ll have the option to manually enter gas fillups and such, but you’ll also be able to import from the Gas Cubby app. I’ve been using my data as a test and it’s working great but I’d appreciate being able to use a larger sample size.
If you’d like to help me out, here’s how:
While there isn’t really any personal data in the export file other than perhaps your gas station location if you fill that in, I still promise not to share this information with anyone. I’ll only be using it for testing in my local machine’s WordPress installation.
Thanks!
If you’re a WordPress developer and you don’t know about wp_list_pluck(), then listen up!
Say you have an array called $posts that contains this:
[0] => stdClass Object [ID] => 675 [post_author] => 5 [post_date] => 2010-07-25 19:40:01 [post_date_gmt] => 2010-07-25 19:40:01 [post_content] => This site is using the standard ... [post_title] => About The Tests [1] => stdClass Object [ID] => 501 [post_author] => 6 [post_date] => 2010-08-01 09:42:26 [post_date_gmt] => 2010-08-01 16:42:26 [post_content] => The last item in this page's content ... [post_title] => Clearing Floats [2] => stdClass Object [ID] => 174 [post_author] => 5 [post_date] => 2007-12-11 16:25:40 [post_date_gmt] => 2007-12-11 06:25:40 [post_content] => Level 1 of the reverse hierarchy test ... [post_title] => Level 1 ) [3] => stdClass Object [ID] => 173 [post_author] => 5 [post_date] => 2007-12-11 16:23:33 [post_date_gmt] => 2007-12-11 06:23:33 [post_content] => Level 2 of the reverse hierarchy test. [post_title] => Level 2
How would you go about getting all of the post_title values? Well obviously you could do something like this:
[code lang=”php”]$post_titles = array();
foreach ( $posts as $key => $post ) {
$post_titles[$key] = $post->post_title;
}[/code]
Sure, it’s not that complicated but that can get repetitive in your code. So how about this instead?
[code lang=”php”]$post_titles = wp_list_pluck( $posts, ‘post_title’ );[/code]
Much easier, right? 🙂
Thanks Michael Fields for reminding me about this great function!
As much as I love my Canon PowerShot G11, it’s just too big. It technically fits in my pocket but it’s uncomfortable to walk around with it in my pocket. So after seeing my co-worker Daniel Bachhuber’s Canon PowerShot S100 a few weeks back, I just had to have one for myself. Besides shooting just about as good of quality images (if not better) than my G11, it also shoots full 1080p video (compared to 640×480!!) and has built-in GPS tagging of photos. Awesome!

