Fake cron on XAMPP

Posted by & filed under Code Tips.

This little batch file came about from needing to run a cron job from within XAMPP. Since it’s Windows I could have used a scheduled task, but I don’t have XAMPP running all the time and I wanted a little more control over when it runs. And on this specific project, I’m working on a… Read more »

WordPress script not working from the command line

Posted by & filed under Blogging, Programming.

Spent most of yesterday working on a script that interfaces with WordPress to update posts as it runs. It wasn’t a big part of the script, but it was the part that caused the most frustration. When I was testing locally, I was running the script through a web browser and everything worked perfectly. But… Read more »

Posting to Twitter with PHP and OAuth class

Posted by & filed under Programming.

Needed a bit of an update on a font site I threw up a few years ago. Specifically I wanted to put a script together to tweet a random font each day. Should have been easy since I already had a script that tweeted new fonts, although it’s been a bit behind since I haven’t… Read more »