If you are a blogger and a programmer, the chances are that you will often shows some programming code on your blog. The codes that you shared may not be syntax-highlighted like what you see on your favourite text editor or IDE, but it is easy to add syntax highlight to your WordPress blog using Highlight.js (hljs). Continue reading "Add Syntax Highlight to WordPress Blog"
Category: Programming
How to use LCD 5110 (PCD 8544) with Raspberry Pi
In this article, I will briefly explain on how to create a Python class library to interface with LCD 5110 display module and shares the common APIs with the Arduino LCD5110 library that I previously created. Continue reading "How to use LCD 5110 (PCD 8544) with Raspberry Pi"
DS18B20 data analysis using Pandas
I wrote about how to collect data from DS18B20 temperature sensor with Raspberry Pi a few months ago, and this is an article on how to do some basic data analysis using Python with the collected DS18B20 temperature sensor data. Continue reading "DS18B20 data analysis using Pandas"
WordPress SEO-friendly optimisation with your own plugin
If you run Google PageSpeed Insights or GTMetrix tests on standard WordPress installation, you will noticed that your website could be more SEO friendly with some optimisation. You can do so by creating your own customise plugin and put all the code for optimisation and customisation in one place.
Continue reading "WordPress SEO-friendly optimisation with your own plugin"
Hosting WordPress on Raspberry Pi Part 4 – Optimise WordPress through cache
We had WordPress installed on the Raspberry Pi, we are going to look into how to implement various cache solutions to optimise WordPress without depending on plugins. Continue reading "Hosting WordPress on Raspberry Pi Part 4 – Optimise WordPress through cache"
Hosting WordPress on Raspberry Pi Part 2 – Install Nginx, PHP and MariaDB
Before installing WordPress, we will need to setup a web server for our Raspberry Pi. We will use Nginx as the web server itself, MariaDB as a database management system, and PHP for dynamic script processing. We choose Nginx, PHP-FPM and MariaDB for its performance and lightweight that are both important factors for Raspberry Pi. Continue reading "Hosting WordPress on Raspberry Pi Part 2 – Install Nginx, PHP and MariaDB"
Hosting WordPress on Raspberry Pi – A complete approach
What you see is a WordPress web server running on a Raspberry Pi 3, and this is a series of articles on how I host WordPress on Raspberry Pi 3 and optimise it to achieve impressive performance and a capable WordPress web server.
Continue reading "Hosting WordPress on Raspberry Pi – A complete approach"