May
26
2007

The Simpsons Spoof WoW



Posted in Funny and Uncategorized
[kml_flashembed movie="http://www.youtube.com/v/XuIOwy65kTs" height="350" width="425" /]

The creators of the Simpsons have made this spoof of World of Warcraft. It's actually pretty impressive, not like the Dominos advert they did.

[Via: WoW Insider]

May
24
2007

Streaky Bacon



Posted in Funny

Mmmmmmmm

K-Mart's own brand of bacon looks to be a bit on the streaky side, even if you like crispy bacon. I don't know which part of the pig they cut this from, but I'm guessing it's somewhere near the arse.

[Via: The Consumerist]

May
12
2007

eCigarette Makes Smoking Fun



Posted in Latest news

The eCigarette is an electronic cigarette that provides nicotine and replicates the action of smoking without giving you cancer and croaky voicebox.It even provides vapour to exhale.

Reuters [Via: Sci-Fi.com]

May
9
2007

LiveZeit Online Organizer



Posted in Personal and Site news

LiveZeit Online Organizer

I haven't had much tome to post recently, because most of my time has been taken up with developing LiveZeit, an online organizer. It's similar to google calendar, only better.

LiveZeit offers loads of features, including recurring events, multiple users, your own subdomain, themes, AJAX and much more. I'm looking for testers at the moment, so if you're looking for an online task manager and you want to contribute, please sign up at the link below.

LiveZeit Homepage (Signup)

May
6
2007

Vote for Chester!



Posted in Personal

Chester’s one of the cities being considered to be the center of the new version of Monopoly, die for release next year. With a bit of luck, my street will be one of the properties and my house will suddenly double in price!

Vote for Chester

Apr
29
2007

Mmmm, still wriggling



Posted in Uncategorized
[kml_flashembed movie="http://www.youtube.com/v/hvyunwtlvuc" height="350" width="425" /]

Found this on BoingBoing. I’m not sure whether Octopi are like worms in that if you chop one in half, both halves will carry on living or whether these tentacles are just nerves.

Via: BoingBoing

Apr
28
2007

Subdomain to subdirectory



Posted in Uncategorized

If you ever need to pass a non-existent subdomain as an argument to another script, you’ll need this:

RewriteCond %{HTTP_HOST} !^www\.izeit\.nu$
RewriteCond %{HTTP_HOST} ^([^\.]+)\.izeit\.nu$
RewriteRule (.*) /home/hjennerway/izeit.nu/hosted/current/index.php?cal=%1

I used it for my LiveZeit project, which is a hosted version of iZeit. It takes a subdomain, then passes it to index.php as a GET variable. So if you go to blah.izeit.nu, you're really seeing izeit.nu/hosted/current/index.php?cal=blah. First you need to set up Wildcard DNS with your host so that every subdomain resolves to the same IP as the www subdomain, then add the lines above to a .htaccess file. The first line tells Apache to ignore the www domain, the second tells it to only look for subdomains without dots in them, then the third transparently redirects the subdomain to a script on your server. Then you can use PHP to take the query string from $_SERVER['REQUEST_URI'], explode it, and use it to set GET variables.

$qstring = explode("&",substr($_SERVER['REQUEST_URI'],strpos("?",$_SERVER['REQUEST_URI'])+1));
foreach($qstring as $gvar) {
  list($k,$v) = explode("=",$gvar);
  $_GET[$k] = $v;
}
Apr
15
2007

Communist Party T-Shirt



Posted in Funny

These seem to sell out within a few days of coming into stock. This time though, I managed to grab one. There are still a few left at the moment, but they'll probably be sold out again in a few days, so buy one quick!

Communist Party T-Shirt

Buy one at Threadless

Mar
30
2007

Batch Scripts from the Command Line



Posted in Technology

I always thought batch scripts were only really useful in linux. I didn't realise windows supported the FOR command. This quick tutorial from Daily Cup of Tech shows you how to recursively search all subdirectories for a particular type of file, then perform an action on every file found.

<strong>for /R %1 in (*.zip) do unzip "%1"</strong>
 
for - indicates that we are going to be using the for command
/R - recursively searches all sub-directories within the active directory.
%1 - the variable that will contain the filename that is found. This can be any number but it is case sensitive. If you want to use the for command in a batch file, you will need to use %% (e.g. %%z) instead of just %.
in (*.zip) - the search pattern that will be found. The portion in parenthesis uses the same wildcard scheme as the dir command.
do - indicates that the string following is the command that should be executed on each file found
unzip “%1” - the command that is executed for each file. The %1 portion is replaced by the name of the file found. So, for example, if the file found was archive.zip, the command that would be executed would be unzip "archive.zip".

DailyCupOfTech

Mar
17
2007

MySpace Idiots and HTML



Posted in Personal

Why is it that MySpace is such a breeding ground for Emos and idiots with nothing better to do? I have a friend, let's call her Jo. Jo spends hours in front of her computer, but instead of doing something productive with her time like learning a language or making wallpapers in Photoshop, she arses around on Myspace. That's fine, if Jo wants to waste her time 'networking' on MySpace that's her problem, but what makes her think she can lecture ME about HTML.

Just a tip Jo, if you don't know what HTML stands for, you probably shouldn't be giving tips about how to nest tags correctly so the damn page validates! For starters, you need a closing tag for every tag you open. You can't just open paragraph after paragraph to put blank lines between sections of text with such a blatant disregard for valid HTML! Secondly, if you want that picture of you dressed as a hooker for Red Nose Day to actually show up on your page, you need to actually upload it. Dragging the picture from your desktop and dropping it on a text box just won't do.

I know everyone has to start somewhere, but I really hope I wasn't such an arsehole when I was a newbie.



Page 10 of 31« First...89101112...2030...Last »