-
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 […]
-
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 […]
-
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 […]
-
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 […]
-
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 […]