Author: Mike

Backup to AWS S3 Bucket

Backup to AWS S3 Bucket

While this is not an uncommon thing to do, I couldn’t find a straight forward example for both databases and file directories. So of course, I had to write my own (albeit based on a database only script from mittsh). For the TLDR; just go to https://github.com/mikemcmurray/backup-to-s3 It’s written in python using the ubiquitous boto3 and …

+ Read More

MySQL Fails to Update on Ubuntu

MySQL Fails to Update on Ubuntu

So your Ubuntu server doesn’t want to upgrade MySQL using apt-get and fails with the following error? mysql_upgrade: Got error: 1045: Access denied for user ‘debian-sys-maint’@’localhost’ (using password: YES) while connecting to the MySQL server Upgrade process encountered error and will not continue. Thankfully the fix should be fairly easy to carry out. For some reason …

+ Read More

Pressing Pause on Work

Pressing Pause on Work

The French legislation that was signed off in May 2016 and is in effect as of Jan 1st 2017 will be something studied closely by most other countries in the next few years. Part of the law changes (which included other changes to allow employers to more easily dismiss staff) was to have companies define …

+ Read More

WordPress Permalink 404 with HTTPS

WordPress Permalink 404 with HTTPS

The time had come to switch this blog to HTTPS given the ease and cost ($0) of deploying certificates from LetsEncrypt. So that was easily done under Apache – create a new conf file for the SSL site in /etc/apache2/sites-available, and then update the old conf for the non-SSL site to redirect before requesting a new cert using …

+ Read More

Book: Lock In

Book: Lock In

Just finished reading this after a random find during a library visit. I’ve read at least one John Scalzi before and that was a relatively easy but good read. Lock In was a great read and touched on some great sci-fi topics that are close to becoming reality – “wet” impants to the human brain and …

+ Read More

Allowing SSH Key Based Logins from Another System

Allowing SSH Key Based Logins from Another System

I have a Digital Ocean server that I SSH into from my laptop for mainly development purposes. But I also want to do scheduled downloads of the server backups from a server at home. So I need to SSH from a new machine to my server with no user prompt. Easy, but it always prompts …

+ Read More

Geo-blocked Content and Business Models

Geo-blocked Content and Business Models

The internet has changed the world we live in dramatically in the last 10 years. This is a fact that no one would dispute. But many businesses are continuing to ignore some of the associated changes that this global connectivity has bought. No longer do the borders of countries matter to data, in that those …

+ Read More

Doc5 Wiki Available for Download

Doc5 Wiki Available for Download

Slightly behind with this post but I finally have a new release of Doc5 available for download. New features include, Full WYSIWYG editing and no more trying to get used to the markup. (Not that it was difficult but people are used to risch editors these days) Complete redesign of the UI. Bootstrap makes for …

+ Read More

Change of Host = Change of Performance

Change of Host = Change of Performance

As per the previous posts I’ve moved hosts over the last week and now I think everything is across. While having a quick look at the Google Web Developer Tools to check for errors I also see the following little chart indicating the time it takes Google to fetch a page from this sub-domain and …

+ Read More

Permissions Problems with git pull

Permissions Problems with git pull

I’ve started working on Doc5 from a laptop in the last few months and have begun the pull/push process to get my Bitbucket repo and desktop machine all in sync. But when trying to get these sorted I found permissions problems on one of the local repos. When I tried to do a pull I …

+ Read More