Category: Tech Tips

  • Recipe for a Raspberry Pi Kiosk

    Recipe for a Raspberry Pi Kiosk

    I recently set up a Raspberry Pi as Chromium Kiosk so I could display a webpage on a wall mounted TV screen. I have written what I did in an easy to follow recipe format. If you follow configuration steps carefully you should be successful in setting up your Raspberry pi to work as a…

  • WordPress Plugin install fails with Forbidden, you don’t have permission to wp-admin/update.php on your server

    This issue is fairly common on servers that are running Apache with mod_sec  ( mod security ). Mod security is a complex system that looks at the sort of web traffic ‘bay guys’ use to hack servers and stops them. In this case it is thinking that your actions are suspicious and blocks them.  This…

  • Problem with WordPress 4.8 screwing up your website layout?

    WordPress 4.8  has just been released, and many web designers have reported that their layout have been mucked up with this release. *** UPDATE *** Since writing this blog post I have written a plugin – https://wordpress.org/plugins/add-paragraphs-option-to-text-widget/ – that solves this problem in a very neat way. *** There could be multiple reasons for this, but…

  • Hugo: I’m receiving the message “We were unable to load Disqus.”

    When building a Hugo site you may well get  the message “I’m receiving the message “We were unable to load Disqus.” ” It took me a while to trouble shoot on mine. Basically Hugo them developers have a habit of setting the baseurl in the config.toml as “/” Your site will seem to work –…

  • Google Compute Engine Snapshot automation

    Google Compute Engine comes with an incremental snapshot capability. The product doesn’t have a specific automated method to take snapshots and to tidy them up either, but scripting using the gcloud command line is fairly straight forward, once you understand the power of the command line. I have seen many attempts at automating this using…

  • Using GIT to deploy scripts to production servers

    This is how I use GIT to deploy script configurations to multiple servers. In this instance I have fail2ban  configuration that I want to be able to deploy to multiple servers easily & quickly I assume you are root – otherwise prefix commands with sudo as appropriate I also assume that you have remote root…