Purge all Google Chrome user data on a Mac

In Google Chrome you can easily purge browsing data including cookies, history, etc using the application preferences. But there are still a bunch of files that it doesn’t touch. I was having some weird issues with my SilverStripe installs (I won’t go into that here) which didn’t happen when using incognito mode but did under normal browsing. Deleting all browsing data made no difference so I needed to really poke under the hood to delete all data.

Using the Pandora API with PHP

Pandora is a music streaming service which can be accessed via a web browser, smartphone/tablet app or desktop app. There is a closed API which can be used to extract some information from Pandora (and edit radio stations etc). This post looks at using a PHP API by Alex Dallaway to access radio stations and bookmarks from Pandora.

Categories PHP

Get public properties that aren’t static with PHP Reflection

PHP has a Reflection API adds the ability to reverse-engineer classes, interfaces, functions, methods and extensions. I needed to use it to get all the publicly accessible properties for a class that aren’t static, but there doesn’t seem to be a way to get this "out of the box".

Categories PHP