Archives
-
Twitter-related domain names for sale
I’m putting some domain names up for sale, including twitapps.com/net/org, and several others that are ideal for Twitter-related services, or whatever. For more info please see the blog post over on 3ft9.com.
Jul 6th, 2010 | Filed under Misc, Technology -
What’s going on?
I know it’s been a while since posted anything on this blog, but I’ve had a lot going on and it hasn’t really been at the forefront of my mind. So, what’s been going on?
Nov 2nd, 2009 | Filed under Misc -
PHP Job Queue
One of the pillars of a scalable website is ensuring that only activity which is required to build a page should be performed during the processing of a page request. Activities that fall under this category commonly include sending emails, recording statistics and general housekeeping such as removing temporary files. Back when I started working [...]
May 29th, 2009 | Filed under Misc -
Extreme Sheep LED Art
Not sure if I believe this is real or not, but either way it’s a pretty cool idea.
Mar 23rd, 2009 | Filed under Misc -
Twitter unfollows: too much information?
A couple of days ago I released a new TwitApps tool called Follows. I know I haven’t talked about TwitApps on this blog yet – that post is coming – but if you follow me on Twitter you should be aware of it. The Follows service monitors your followers on Twitter and sends you a [...]
Jan 31st, 2009 | Filed under Misc -
Alexei Arkhipovskiy – Sharmanka
Absolute genius!
Jan 25th, 2009 | Filed under Misc -
Snippet: Simple templates with PHP
Several templating systems exist for PHP, but since PHP was originally created as a templating language I’ve never understaood why more developers don’t use pure PHP in their view layer. The following snippet is a small function that facilitates precisely that. The only setup required is to simply define TPL_DIR to point to the root [...]
Oct 28th, 2008 | Filed under Misc -
Snippet: Password generator for PHP
Really short snippet today – a password generator. Not much to say about this one since it’s pretty simple. Pass it the length of password you want and optionally a string of valid characters it can use and it’ll give you a random string back. function GeneratePassword($len, $allowedchars = false) { if ($allowedchars === false) [...]
Oct 23rd, 2008 | Filed under Misc -
Snippet: Singletons with PHP
Today’s snippet describes the singleton pattern. The singleton pattern is a method of creating a class that statically maintains an instance of itself and ensures that no other instances can be created. This is useful for classes that implement app-wide services such as logging, DB access and other shared resources. The basic requirements for a [...]
Oct 20th, 2008 | Filed under Misc -
Snippet: Time class for PHP
Pretty boring snippet today, but I find it immensely useful. My time class provides representations of periods from OneMinute to OneYear. It only has one method which will calculate an absolute time by adding a given time period to the current time. You can optionally provide a format intended for use by the date function [...]
Oct 17th, 2008 | Filed under Misc
Recent comments