March 2012
4 posts
February 2012
4 posts
January 2012
1 post
December 2011
4 posts
Don't Be A Free User - Pinboard blog →
November 2011
1 post
October 2011
2 posts
1 tag
September 2011
1 post
1 tag
August 2011
1 post
1 tag
June 2011
1 post
2 tags
May 2011
1 post
1 tag
Guy live tweets Osama's raid without knowing it.
This is pretty interesting. An Abbottabad resident was (unknowingly) live tweeting the raid on Osama Bin Laden. He didn’t realize it until it was announced several hours later.
Helicopter hovering above Abbottabad at 1AM (is a rare event). - May 01, 2011, 7:58 PM
Full tweets: http://tweetlibrary.com/damon/osamaraidlivetweets
April 2011
2 posts
2 tags
1 tag
Capistrano: Deploy from local git repo
I’m a big fan of Git and use it for all my projects. Not all repos of my projects are hosted remotely (they are onDropbox however) but I still deploy them using Capistrano. Here’s how I do it from my local Git repo:
# deploy.rb set :application, "app_name" set :repository, "/Path/to/local/git/repo/.git" set :local_repository, "/Path/to/local/git/repo/.git" set :scm, :git set...
March 2011
2 posts
2 tags
Count Published Sticky Posts in WordPress
get_option( 'sticky_posts' );
The problem with the above line of code, is that it also returns draft and trashed sticky posts. So to get the count of published posts only, you’ll need to query for it.
function get_sticky_posts_count() { global $wpdb; $sticky_posts = array_map( 'absint', (array) get_option('sticky_posts') ); return count($sticky_posts) > 0 ? $wpdb->get_var(...
2 tags
February 2011
1 post
1 tag
January 2011
1 post
2 tags
New WordPress Plugin: Post Format Permalink
Being a fan of tumblogs, I was excited to hear that WordPress would be introducing Post Formats in their 3.1 release. I quickly whipped up a new theme for my site that would support these formats.
I was disappointed however, that there they did not include a permalink tag for the post format type to include in your custom permalink structure. So I did what any developer would do and build my...
July 2010
1 post
June 2010
2 posts
Full D8 Steve Jobs Interview
kevinrose:
Definitely worth watching.
May 2010
7 posts
It’s AnchorMAN, not AnchorLADY and that is a scientific fact!
– Champ Kind
Feels like 93 Habs Parody Song
I admit the original (err remake) song is actually pretty good, but I hate the Habs so much that I can’t help but love the parody song.
Here’s the original:
Here’s the parody:
April 2010
9 posts
Joining The Theme Foundry team.
Today I am excited to announce Yan Sarazin has officially joined The Theme Foundry team as a part-time support specialist and theme developer. He will be providing fast and friendly support in our forums, developing new theme features, improving existing features, and working with me on our theme codebase.
- Welcome Yan
Every new day is another chance to change your life.
– Unknown
2 tags
Best Sawyer (from Lost) line ever
LOCKE: We're taking a boat ride over to the other island.
SAWYER: What do you need a boat for? Can't you just turn into smoke and fly your ass over the water?
LOCKE: Do you think if I could do that I would still be on this island?
SAWYER: No, 'cause that would be ridiculous...
So long, Scrubs
I’ve watched you for nine years now. It’s sad to see you go.
February 2010
1 post
5 tags