Alan’s Personal Techy Website

  • 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 –…

  • Looking for a Discount or Promo for Jobber

    Updated: August 2018 Jobber may look expensive initially compared to the alternatives but when you start to understand the limitation of the alternative you will appreciate why Jobber is a great tool. Naturally, you will be searching for a Jobber Discount Code, or a Promo Code for Jobber. Get a whole month free if you…

  • 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…

  • Submit A Post via Front End using Gravity Forms

    The following is a Gravity Form Form, that allows you to submit a post via the front end. It can submit as ‘draft’, ‘pending review’ or even ‘published’. Feel free to try it, and if you include a valid WordPress tip or other news I may even publish it.  

  • jQuery to remove a link and just replace it with anchor text

    Occasionally a WordPress plugin is not templated, so difficult to customise the output, so in these circumstances one solution is to use jQuery to modify the output. Now this is not pure and a bit hacky, as ideally you would change the code that is producing the output.  However the situation is just sometimes that isn’t…