Brad Morton

I'm Brad, and I'm nearing 20 years of experience with Linux. I've worked in just about every IT role there is before taking the leap into software development. Currently, I'm building desktop and web-based solutions with NodeJS and PHP hosted on Linux infrastructure. Visit my blog or find me on Twitter to see what I'm up to.

Browsing the Internet on a 1989 Macintosh II with a Raspberry Pi

Browsing the Internet on a 1989 Macintosh II with a Web Rendering Proxy

For completely impractical reasons I decided to try and browse the internet using my 1989 Macintosh IICI computer. Here’s how it went. I’ve previously tried web browsing with Web Rendering Proxy on a 1993 Windows 3.11 computer, and thought I’d see how the Apple experience… Read More »Browsing the Internet on a 1989 Macintosh II with a Web Rendering Proxy

Pausing PHP with sleep and usleep

Using PHP sleep() and usleep() to Pause Execution [Examples]

This short tutorial will show you how to use the PHP sleep() and usleep() functions to pause script execution for a number of seconds/microseconds, and provide some code examples. The PHP sleep() and usleep() functions both pause execution of the script, but both behave a bit differently. Why Pause/Sleep PHP Script Execution? Delaying, sleeping, or… Read More »Using PHP sleep() and usleep() to Pause Execution [Examples]

JavaScript Print to Printer, Console, Page

JavaScript Print – To the Console, WebPage, or a Printer [Examples]

You’ve searched for ‘JavaScript Print’ – so you’re probably trying to output data to the console, to the webpage or to a printer. Here’s how to do all three. Printing to the Console with console.log() The JavaScript console.log() method prints data to the JavaScript console (visible in your browsers web inspector).… Read More »JavaScript Print – To the Console, WebPage, or a Printer [Examples]