Simulate CPU load with Python

While testing out some home automation code on my Raspberry Pi I noticed it was pretty CPU intensive. Time to bump up the overclock to squeeze more performance out of the Broadcom Arm7 processor. I wanted to keep an eye on temps as well as stability under full load so I needed to simulate CPU usage.

Continue reading

Executing PHP within a WordPress text widget

I was looking for a way to add a dynamic check of the status of my Raspberry Pi to the sidebar of my website. A quick search of the WordPress plugin directory returned a plugin that would allow me to execute PHP code from within a text widget. Perfect for what I was thinking; A simple ping test to drive the dynamic text.

Continue reading

Running Wireshark over SSH (Windows)

I recently came across and issue that required the use of Wireshark. Unfortunately I did not have access to install this on the remote linux host. No probelm, luckily it’s easy to route tcpdump over SSH to Wireshark on my local Window machine.

You will need:

  • Wireshark (obviously)
  • Putty
  • Plink
Continue reading

Simple Android Ad blocking (no root required)

Hey, it’s 2017! Time for some new content (Yes I know I was lazy with the image). Let’s look at reducing the number of ads that you are seeing on your Android device. Maybe you Googled something dodgy and your now getting embarrassing ad suggestions, or you just plain hate ads. I won’t judge. Either way,  blocking ads on an Android device is relatively easy.

Continue reading

2016 top Android apps – My current home screen

Coming up to the release of the new Google Pixel phones I felt like my old Nexus 5 needed a refresher on the off chance the Pixel’s fall short and this phone has to do me for another year. For a €400 euro phone at the time, this thing still has no issues with performance. The battery has always been lacking, but the changes I have made to my home-screen have helped a little in this area. What i have setup is clean, fast, and gives me quick access to my most used apps.

Continue reading