Category: WebDev & Code
-
Birthday Calculator – in case you don't want to wait a whole year to celebrate being alive
We have a tradition where I live. We celebrate being alive with a party and that party generally coincides with being alive for another 31,557,600 seconds. 31,557,600 seconds happens to be just about equal to a solar year, which is a happy co-incidence as it’s not so easy to remember otherwise. I decided I could really…
-
Virtual PDF Printer for our small office network – a step by step how to
Alternative title: How I got multiple cups-pdf printers on the same server. (I didn’t, but postprocessing let me work around the problem). Preamble: I have a small business. For years we’ve been creating PDFs from any computer on our network through a “virtual appliance’ called YAFPC (“Yet Another Free PDF Composer”). The appliance originally ran…
-
sunspot solr slow in production (fixed by using IP address instead of domain name)
Short version: ————– In my sunspot.yml I used a FQDN ( solr.rkbb.co.uk ). Solr was slow When I used the server IP (10.18.6.224). Solr was fast. Setting the scene (you can skip this bit): ——————————————- I’ve been slowing working on some improvements to our business system at work. Whilst most of it currently runs on…