Blog Archives

General comments, news or other stuff which doesn’t fall into one of the other specific categories.

Creating Word documents programmatically

I have spent much of this week creating software to generate electrical certification documents in word based on data filled in on a mobile application in the field. I must say that the Novacode DocX library has made the whole

Posted in General

Marketing yourself as a developer

I was listening to this podcast last night on Software Engineering radio, and there were a couple of points that really hit home – particularly at this time of year where traditionally resolutions are made: Developers typically do not like to market

Posted in General, Logos/Branding Tagged with: , ,

Force a favicon onto a webpage – 2016 update

Back in 2011 I wrote this article about supporting multiple sites on shared hosting, and forcing each site to have it’s own favicon. Modern browsers require image files, and it is just older browsers (and IE) that require the .ico files: <link

Posted in General

Making the jump to Linux

Switching from Windows to Linux for my main home computer (laptop) has been a real possibility for me for some time now, and I have finally made the jump – and I’m so glad I did! All that my main computer

Posted in General, Linux, Windows

Set date and time of a Linux device from a Windows batchfile

I had a client with Linux device that whose clock is not as reliable as it should be, running a time-critical application. As a workaround fix I wrote a Windows batchfile to update the Linux date and time, and  he

Posted in General Tagged with: ,

Force a favicon onto a webpage

<link rel=”shortcut icon” href=”http://www.my-domain.com/myfavicon.ico” type=”image/x-icon” /> This will force a favicon onto your webpage – useful if you house different websites in subfolders – each subfolder site (or page for that matter) can have a different favicon.

Posted in General, HTML/CSS Tagged with: ,

More mobile browser detection testing

My standard method of mobile browser detection as detailed in my previous post here involves the PHP function preg_match(). Unfortunately for me, having compiled a stripped down version PHP to run on ARM linux, the preg_match() function was not included (probably

Posted in General, PHP

Relative batchfile paths

In a previous post “Batch file to perform SSH commands and transfer files from Windows to Linux” I used a batchfile to call on plink.exe as follows: C:Pathplink.exe This is all well and good, but if this path changes for whatever

Posted in General Tagged with: , ,

Random Name Generator

Over the holiday period I was working on a bespoke CRM management system. I found myself in need of a list of random names. Once again a generic search engine came to my aid. The pick of the generators I

Posted in General Tagged with: , ,