Search

Ubuntu AMD no overscan / underscan fix

Ubuntu AMD no overscan / underscan fix
I have a monitor with a bunch of dead pixels at the left hand side and the bottom affecting maybe 5% of the screen. Rather than throw the monitor away I usually change the underscan so I can skip the dead pixels. Ubuntu 16.04 decided that it would no longer play nice with the official AMD drivers for my graphics... Read More

Particle core/photon/electron function post data using curl or wget

Particle core/photon/electron function post data using curl or wget
This is a quick howto on using curl, wget or any other web based method to pass data to a Particle (formerly Spark) Core, Photon or Electron. Prerequisites: working Particle device as listed above software on the device waiting for user passed data The device’s access token A simple code example which exports a function is below. int ledPin =... Read More

Today I did a clean install of Ubuntu 16.04.1 LTS 64 bit and upgraded my site

Today I did a clean install of Ubuntu 16.04.1 LTS 64 bit and upgraded my site
Over the past couple of days my site has been offline as I have been optimising it. I have installed: Ubuntu 16.04.1 LTS 64 bit MariaDB rather than Mysql database server Nginx web server The site definitely feels more responsive to me but that is purely subjective. I have tried doing speed tests but they vary even between page refreshes.... Read More

LetsEncrypt renew Apache PluginError((‘There has been an error in parsing the file (%s): %s’, u’/etc/apache2/sites-enabled/000-default-le-ssl.conf’, u’Syntax error’),).

LetsEncrypt renew Apache PluginError((‘There has been an error in parsing the file (%s): %s’, u’/etc/apache2/sites-enabled/000-default-le-ssl.conf’, u’Syntax error’),).
Trying to renew a LetsEncrypt SSL certificate in Apache and I got this unhelpful error message: PluginError((‘There has been an error in parsing the file (%s): %s’, u’/etc/apache2/sites-enabled/000-default-le-ssl.conf’, u’Syntax error’),). Now I can understand most error messages and figure out the issue but this one had me stumped. There was nowhere near enough information to allow me to determine the... Read More

Apache wordpress remove index.php 404 not working .htaccess definitive solution

Apache wordpress remove index.php 404 not working .htaccess definitive solution
Scenario: You are running Apache, have installed WordPress and are trying to get pretty permalinks working and it keeps returning a 404 page. You’ve tried everything – a2enmod rewrite, removed the .htaccess file, reset the permalinks, changed them back to the pretty version, restarted Apache – in short everything people tell you. The problem is still there isn’t it? The... Read More

Phpmyadmin root login not working apache http2

Phpmyadmin root login not working apache http2
After playing around with http2 for a couple of servers I am commissioning (not this one yet!) I consistently run into issues with root being unable to log into phpmyadmin. Logging into mysql manually works perfectly, the password is definitely correct. If you have the same issue, try this as root: echo "update user set plugin='' where User='root'; flush privileges;"... Read More

Pixels Movie Collectable Pixels Cup (cinema promotion) teardown and conversion to MAME arcade emulator

Pixels Movie Collectable Pixels Cup (cinema promotion) teardown and conversion to MAME arcade emulator
Yesterday I visited the cinema with my children (not to see Pixels oddly enough!). In the foyer there was a section of the popcorn stand dedicated to the Pixels movie and selling tie in merchandise. One of the items was a popcorn and drink combo in a collectable cup shaped like an arcade machine. I purchased 3 of the combos... Read More