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 [Read the full article…]
How to Extract URLs from Google SERPs
These steps are how to easily extract URLs from google SERPs Install Chrome Install Chris Ainsworth’s Extractor ‘bookmarklet’ http://www.chrisains.com/seo-tools/extract-urls-from-web-serps/ Install ginfinity plugin for Chrome https://chrome.google.com/webstore/detail/ginfinity/dgomfdmdnjbnfhodggijhpbmkgfabcmn Set Google search to return 100 per page Run the query Click on the bookmark This summarises the steps detailed and provided by Chris Ainsworth at http://www.chrisains.com/seo-tools/extract-urls-from-web-serps/
WordPress Roles and Capabilities
WordPress comes with a standard set of roles and capabilities e.g. Super Admin ( only applies to multi-site networks ) Administrator Editor Author Contributor Subscriber These roles are described here https://codex.wordpress.org/Roles_and_Capabilities However these are only the default, and can easily be customised to meet virtually any requirement. Traditionally this has been a programming task, and many [Read the full article…]
Sailwave and sending files by SCP or SFTP
Sailwave is a windows based application that manages scoring and results for sail races and series See http://www.sailwave.com/ Sailwave comes with many different ways to ‘publish’ results, including FTP’ing the html results files to a server. Whilst there are many ways to achieve the desired results, the situation arose that my server no longer supported FTP [Read the full article…]
5 minute guide to setup process monitoring with MONIT on Linux
If you are running a VPS, for a production server, it is very useful to have a process that monitors, and restarts if failed, and notifies you of key processes, like apache, mysql, postfix & ssh. Monit is a free open source tool that does the job. Took me a little while to get my [Read the full article…]
Adding Swap to Google Compute Engine
By default Google Compute Engine (Debian) doesn’t come with any swap space. If you have periodic programs that eat a bit more memory (like my backups do) then instead on just adding more physical memory you can add a swap file. Swaps files are much slower than physical memory, so should be avoided except when [Read the full article…]
Backup Virtualmin to remote server by command line
virtualmin backup-domain –domain example.com –all-features –dest ssh://root:password@otherserver/tmp –newformat
Backing up to gcloud storage from Linux/Virtualmin
Using Google Cloud Storage as backup for your linux server is inexpensive if you use the nearline storage option. This is cheaper that Amazon Web Services (at the time of writing) The process I use is as follows. Backup locally Create storage bucket / folders, set lifecycle Script to move backups find way to execute [Read the full article…]
Export WordPress Content to Hugo
Download zip from here and install plugin https://github.com/SchumacherFM/wordpress-to-hugo-exporter
Hosting a Static Site on Amazon web Services
Really need to use Route 53 DNS so make this a bit different. http://docs.aws.amazon.com/gettingstarted/latest/swh/website-hosting-intro.html
