get protected ical calendars in google calendar

This is a short and sweet post. I was trying to merge and sync all my calendars (something I do every so often which leaves me frustrated, drunk and huddled in a corner crying) and decided on google calendar as a main point since I have my work Outlook synced up with it (using their [...]

More



PHP5 With GD Support on OS X

Because I’ll Forget #15901:
Firstly, let me just say that compiling PHP has never been this difficult before. It shouldn’t be difficult at all actually. So heres the basic run down: I need SOAP, GD, SimpleXML and a few other miscellaneous extensions to make all my dev apps work properly — this went smoothly on the [...]

More



Descriptive Comments For The Angry Developer

We all know that a picture is worth 1,000 words. We also know that programmers are lazy and typing comments is boring. After reading the following post about “comments from a madman” on Worse Than Failure I started to realize the pure genius of it all.
Here are 3 “descriptive comments” for use whenever you [...]

More



Boredom Strikes Again – Old PHP Fun Scrambling Functions

Found this while looking for something that isn’t this. It will take a normal string and convert it into numbers. There really is no point to it, I think it was written years ago as a learning exercise or because I was really bored. Anyways, I converted it really fast to a shell script instead [...]

More



Simple Easy To Use PHP Calendar Script

I keep finding fun scripts the more I look around. This one is from about a year ago, I used it in a small project so it isn’t the greatest. Regardless, it is very lightweight and is pretty flexible. It doesn’t include all that CRUD admin mumbo-jumbo because I’m being lazy, but it can be [...]

More



99 Bottles of Beer Song (PHP5)

Found this while hunting for a file. It’s an old submission to the 99 bottles of beer website. I don’t think they ever posted it, but it was just a fun way to kill time.
Source

#!/usr/local/php5/bin/php
<?
foreach(range((is_numeric($argv[1]) ? $argv[1] : 99),1,1) as $number)
printf(
“%1\\$d bottle%3\\$s of beer on the wall,
%1\\$d bottle%3\\$s of beer.\\nTake one down, pass it around,
%2\\$d [...]

More



funny php mail script to harass friends, co-workers, or anyone you wish

I was bored the other day and on the phone or on IM, something. I had a stupid idea to write a script that just annoys the hell out of people via PHP’s Mail function. Its basically useless and I’m not trying to promote pissing off your friends — but here it is.
Usage

Save the annoy_friends.php [...]

More



Wordpress Plugin for Relative Digg Content

MOVED: http://ubrio.us/plugins

Relative Digg Wordpress Plugin – Add related digg story links to the bottom of your post based on keywords
Note (5/13/07):
I just looked over this code and I made a lot of mistakes. Just use it as an example/reference or clean it up. I hacked it together pretty quick when I was bored at work, [...]

More



YouTube Wordpress Plugin With Technorati Tags

I’m no longer supporting this, and I’m unsure if the old YouTube API is still in place.

Download
Usage
Features
Change Log

Hey all, I was asked to write a simple plugin that will make use of the YouTube API to generate videos based on specific post tags.

Downloads

YouTube Wordpress Plugin
svn export http://public.svnme.com/youtubevideos .

Usage

open the .PHP file in a text editor, [...]

More



Php5 on Dreamhost

Im pretty satisfied with DreamHost so far, although it kind of urked me that they did not support native php SOAP. Why not? It seems like it would be a pretty popular thing.. Anyway, I’m not a big fan of NuSoap or any of the other SOAP libraries written in PHP so I started on [...]

More