Raspberry Pi Access Point and Captive Portal

By | October 27, 2016

In this post you will learn how to configure a Raspberry Pi as a wireless hotspot and captive portal for Android devices. Here is the objective: When users connect to the Raspberry Pi with their phones, a notification will pop up asking them to sign into the network. When they tap the notification, a browser… Read More »

Integrate the Google Maps API Into Your Website

By | October 22, 2016

Are you building an application that needs to calculate the cycling, walking or driving distance between two addresses? Google offers a handy service called the Google Maps Distance Matrix API that you can use to get this information and present it to your users. The service is free, and you can specify the mode of… Read More »

Move WordPress Sidebar Widgets Above Content in Responsive Mode

By | October 12, 2016

Do you have a sidebar that contains essential widgets that your visitors must see when they visit your site from a mobile device? Perhaps a search box, product categories, an advertisement, or something else? A lot of WordPress themes display the sidebar below the content on mobile devices, so visitors have to scroll all the… Read More »

Youtube-dl-WebUI jQuery and PHP customizations

By | October 5, 2016

Youtube-dl-WebUI is a web interface for the program Youtube-dl, which allows you to download audio and video from streaming sites, and save them to your computer in a variety of formats. Youtube-dl-WebUI is a convenient interface to Youtube-dl but was missing some key features such as previewing the video and selecting the format. The customizations… Read More »

Bash Script to Sync WordPress Blog to Live Server

By | September 22, 2016

It’s handy to have a test server that we can use to see what will happen when we upgrade WordPress, install new plugins, or mess around with the layout and design of our blog. But how can we copy the changes we make to our test WordPress site to our live server? In this post,… Read More »

Adding Featured Images to Your Tweeted Blog Posts

By | April 17, 2016

So you’ve written a fantastic blog post and set the featured image, but all you’re seeing is bland text and a hyperlink when you tweet it. A picture adds a thousand words to your tweet, grabs your audience’s attention, and drives traffic to your website. This is a quick guide that will show you how… Read More »

Why is There a  in my MySQL Database?

By | February 4, 2016

Data submitted to a database via AJAX or other means sometimes includes a non-breaking space ( ). How this entity is displayed depends on the character encoding of the database and its tables. Using the default Latin1 encoding, a non-breaking space is displayed as this little funny character right here -> Â To have it displayed… Read More »

Designing HTML Tables for Mobile Devices

By | February 4, 2016

If you have an HTML table with multiple columns it likely doesn’t render very nicely on a small smartphone. One way to solve this problem is to hide lower priority columns when the table is viewed from a mobile device. First, create a new class in your CSS file, under the @media tag. For example… Read More »

Child Themes to Make Your WordPress Customizations Permanent

By | January 25, 2016

So you’ve made some awesome tweaks to your WordPress theme, but then you go ahead and update it with the latest version from the author and… All your brilliant customizations have been lost! If you have made customizations directly to a WordPress theme, they will be wiped out whenever you install an update from the… Read More »

Open Source Gaming on the Raspberry Pi

By | January 18, 2016

The Raspberry Pi is an inexpensive computer about the size of a credit card that was designed to promote the teaching of computer science. In the spirit of openness, this post focuses on open source games whose code can be studied, analyzed, customized and perhaps even improved upon, by anyone. I’ll start off by explaining… Read More »