• LYCOM BLOG

    This is where I blog about projects that I'm working on, and stuff that interests me. (My previous blog posts are at http://old.lycom.net/blog/ )


  • Daft Google Docs Fail - Insert Date? Generally I find Google Docs (part of the bizarrely rebranded G suite) fulfils 99% of my needs. But sometime there are stare-at-the-screen-and-work-out-where-something-is moments.  Like trying to insert the current date into a document (for a legal agreement, where I wanted to track drafts printed).  You can't do it in Google Docs! There is no default mechanism for doing this.Luckily I found this post:https://www.quora.com/How-do-I-insert-the-current-date-into-Google-docsand this code seemed to do the trick:——————-COPY BELOW THIS LINE—————————function onOpen() {// Add a menu with some items, some separators, and a sub-menu.DocumentApp.getUi().createMenu('Utilities').addItem('Insert ...
    Posted 13 Dec 2016, 04:15 by Andrew at Lycom
  • Cpanel - Couple of Post Install Config Hacks I have done quite a lot of work with Cpanel for a couple of clients recently.  These are a couple of 'extra' config steps that I found useful.Change the default cpanel error pageSimplicity itself -  you know the defaultwebpage.cgi ( or /cgi-sys/defaultwebpage.cgi ) landing page for errors.In WHM, go to https://documentation.cpanel.net/display/1144Docs/Web+Template+Editor and you can customise / personalise the message text to reflect your needs.Add custom directories to the Cpanel system backupInstalled some custom software? Got some application dirs (e.g. /opt/nginx) you want to back up that don't sit in the default places that the Cpanel system backup will back up?So, go to "WHM ...
    Posted 20 Jun 2016, 13:00 by Andrew at Lycom
  • ESET Endpoint Antivirus - Not Updating? I've worked my way through lots of Antivirus products.  Over time I've come to prefer the simpler, less resource hungry ones.  And reliability is the key - you need something that is robust and will just work quietly in the background. I came to love the Network Associates Viruscan products which did just that.  In recent times I have been a big fan of ESET Antivirus - I have it on most of the servers and desktops I look after.  I love the way it doesn't need my time! I check occasionally to make sure it's still there, but by and large it just keeps doing the protecting business.So, I had a rare opportunity to do some ...
    Posted 22 May 2016, 07:49 by Andrew at Lycom
  • An Easy Way to Strip Out EXIF / Location From Your Photos One of the really useful things about taking photos on a smartphone is that digital file formats can also attach extra information to the image (so-called EXIF) data.  This can be really useful to show where you took the photograph.  But it can also be undesirable, and possibly dangerous if you publish the images online.  For a spectacular example: the legendary (and probably crazy) John McAfee was located (allegedly) in the Jungles of Guatemala after visiting reporters forgot to remove the GPS data from a twitter post.I've previously used various software to strip out this metadata from some of my photos - a tedious process.  Anyway, there's a simple way to do it now if you use ...
    Posted 9 May 2016, 02:45 by Andrew at Lycom
  • Getting excessive LFD Excessive resource usage / Suspicious Process Messages? I've been doing a project setting up a Cpanel dedicated Linux CentOS server.Part of the process involved getting the environment ready for hosting, and fine-tuning the various security / alerting options prior to it going live. One thing that I came across was a couple of excessive LFD alert emails every 30 mins or so:e.g. lfd on xxx.xxx.co.uk: Excessive resource usage: xxxxx (2305 (Parent PID:2305))lfd on xxx.xxx.co.uk: Suspicious process running under user xxxxxpretty annoying and when I checked out the source I found it wasn't anything to worry about, it just offended the defaults set up in the LFD daemon. What's that?Short for Login ...
    Posted 9 Mar 2016, 13:17 by Andrew at Lycom
Showing posts 1 - 5 of 42. View more »