Showing posts from category: geeky

Disable ESET Self-Defense to Shrink your Windows volume

As you can tell from the title, if your trying to Defrag your hard drive, shrink the volume or something like that you might have issues when you have the ESET security software (Anti-virus) installed. It took me a while and involved trawling online forums but I found the best option is to open up…

Continue Reading

Using jq to update the contents of certain JSON fields

OK, I’ll be brief.   I created a set of API docs with Apiary using Markdown format. We needed to change over to Postman, so I used Apimatic for the conversion. Which was 99% great, except for the item descriptions it only did a single line break, not two line breaks. As Postman is reading…

Continue Reading

My ~/.bash_aliases 2017

I have a base ~/.bash_aliases file which I normally use Ansible to update on various servers when needed and thought I’d share it. This is intended for sys admins using Ubuntu. [ Download the bash aliases file here ] The main aliases are : ll – I use this ALL the time, it’s `ls -aslch` and shows the…

Continue Reading

Initial Ansible Install on Ubuntu

Because I have to run this on any new Ansible or Vagrant machine, here’s a note to myself to make this a little faster. For Ubuntu Linux machines sudo apt-get –assume-yes install nano man git python # For a new, minimal install of Ubuntu, e.g a Vagrant Box, they don’t even include a ~/.bashrc file nor nano…

Continue Reading

Synology NAS – Start with the smaller drives first

When you are setting up a Synology NAS, such as the 8 bay ( DS1815+ ) system I got, you’ll want to start with your smallest drive first and add larger ones over time. If you start with your biggest drive, you won’t be able to make use of the smaller ones.   The reason is best…

Continue Reading

Windows 10 Anniversary update broke Vagrant

If you are like me and use a Windows machine to do web development on, but use a Linux Vagrant virtual machine, then you likely had issues with the virtual box VM not working after the Windows 10 Anniversary update. I found that after spending hours waiting for Windows 10 to update, my usual vagrant…

Continue Reading

Google Authenticator

Don’t Use Google Authenticator

Google Authenticator is used for 2 Factor authentication, but don’t use it, use Authenticator Plus (or an equivalent alternative) Now, 2 factor auth is very important, you definitely need to set it up. The problem is that the Google Authenticator app only really works well for your Google login because Google will also give you a set…

Continue Reading

#Drupalgeddon If you haven’t updated your drupal site, it’s infected

Do you host a Drupal website? Did you update within 7hrs of the latest Drupal update? If not your site is likely infected. Ours were. The main issue is an SQL Injection vulnerability in the core of Drupal that can even allow arbitrary PHP to be executed. The fiasco is being called #Drupalgeddon. If you run…

Continue Reading

Mailchimp Email Obfuscator

I was working on a project that tried to re-skin the Mailchimp email preferences center. Unlike the Mailchimp signup form this page is a lot harder because you need to know the users information. Thankfully this is fairly easily done with some merge tags to make the correct links in the eDM (email) and the…

Continue Reading

Optimising Human potential as we head towards the singularity

The many of people, myself included have fallen into a trap. We have a set of behaviours when using a computer which are mostly there to optimise the power of the computer, not of humans. We might have to start copying a load of files and leave the computer for a while as things are…

Continue Reading