Monthly Archives: December 2011

Weekly Tweets for 2011-12-31

RT @MindShiftKQED: On the eve before 2012, 21 things that will be obsolete in 2020. http://t.co/Fd3h6Cyy #

Posted in Tweets | Leave a comment

Weekly Tweets for 2011-12-24

RT @DesignerDepot: Layered screenshots on your Mac: Yes, it's possible! http://t.co/DOb7xenc # @alfredtwo Easier than ignoring Twitter :) # RT @davidwalshblog: Firefox Add-On Bypasses SOPA DNS Blocking http://t.co/9TnCbhKq #

Posted in Tweets | Leave a comment

Taunting a frog with an iPhone

Posted in Videos | Leave a comment

Quick Fix for OpenX Redirect Loop

tl:dr Version Problem is caused by a cookie. Quick fix is to park a different subdomain on top of your OpenX domain and use that subdomain to access admin. Full Version Last week I installed OpenX on my server to … Continue reading

Posted in Computers & Internet | Tagged , | 5 Comments

WordPress recent posts as JSON

For an update to one of my web projects I went looking for a way to get the recent posts as JSON instead of using the RSS feed. I personally find JSON much easier to deal with than RSS, so … Continue reading

Posted in Programming | Tagged , , | Leave a comment

days_ago function for PHP

Can’t take credit for all of this, but I also don’t remember where the code that I started with came from. days_ago is a function that will take two dates and return a more human friendly version of dates. So … Continue reading

Posted in Programming | Tagged , , | 1 Comment

PHP function to get first n words from a string

A handy little function for your bag of tricks. This PHP function will return a max number of words out of a string, or the whole string if it’s already shorter. This probably could be made shorter, but I was … Continue reading

Posted in Programming | Tagged , , , | 1 Comment

Weekly Tweets for 2011-12-10

Took one of my sites from a load time of 6.5+ seconds to 1.31s – stripped a social plugin, minifying, and CSS sprites http://t.co/AxYb5ha2 #

Posted in Tweets | Leave a comment

fsockopen / fgets very slow in PHP

I’ve been using a PHP class in a project that pulls a URL and then caches the result so it doesn’t have to get loaded again until it’s considered stale. Works pretty well, but every time it went out to … Continue reading

Posted in Programming | Tagged , , | 2 Comments