Upgrade from PHP 5.3 to PHP 5.4 on Ubuntu 10.04 LTS

By Josh Sherman
1 min read
development
php
linux
ubuntu

I’ve previously posted about upgrading to PHP 5.5.x on Ubuntu 12.04 LTS but what about my friends still on the even older Ubuntu Long Term Service release that’s still supported, 10.04 LTS. That particular version’s server release will remain supported until April 2015, with more than a year left at […]

“Failed to open page” on Windows Phone 8

By Josh Sherman
4 min read
development
windows

I ran into an issue a few days ago after pushing some hand rolled “infinite scroll” logic to my sites. One of my users reported getting the “Failed to open page” error on her Windows Phone 8 using UC Browser, some aftermarket browser I had never heard of. The rest […]

Using Keyring Access on the OSX Command-line

By Josh Sherman
2 min read
apple
os x
security
command-line

If you’re like me, you probably have a private dotfiles that supplements your public dotfiles repository. It contains private values like API keys and [hopefully not] plaintext passwords. There’s even a good chance you’re using git submodules or a setup script to manage the inclusion of the private stuff. Well […]

How to use Generators in PHP

By Josh Sherman
1 min read
development
php

Support for generators (via the yield keyword) has been added to PHP 5.5 and allows you to create simple iterators without the use of the Iterator interface. What’s this all mean? It boils down to overhead, generators use less memory than an implementation of the Iterator interface or simply creating […]