Fork me on GitHub

Pushover Library for Codeigniter

I recently discovered the Pushover app while browsing IFTTT recipes. I have a number of cron jobs and IFTTT recipes that send me text message notifications and, after discovering Pushover, I decided to convert them to use Pushover notifications. I like that Pushover gives me the ability to set a custom sound and priority in the app; I can now distinguish which cron is sending me a notice from the notification sound on my phone. Also, the messge limit is 512 characters for Pushover; sometimes it's nice to have more than the 160 allowed in a text message.

Old Habits Die Hard: Web-Safe Colors

I put my first website up in 1997. While I was rocking my 16-bit color depth and massive 19" CRT monitor (which weighed about 70 pounds), I knew plenty of people that only had 8-bit color capabilities on their computers. I wanted the websites I designed to look as similar as possible for everyone so, when designing my websites, I took great care to stick to a nice 256 color palette; the so-called web-safe colors.

A Holiday Library in PHP

Some time ago, I wrote a library to work with US holiday dates. Since a number of the holidays are floating holidays (i.e., the last Monday in May), it's handy to have a library to calculate the dates for those holidays.

One of the better uses I've found is to allow the excluding of holiday dates from the jQuery UI date picker. In this post, I'll explain a little about the library and give detail of how it can be used with the jQuery datepicker.