<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>WebDev &amp;Amp; Code on Steve Root's blog</title><link>https://www.steveroot.co.uk/categories/webdev-amp-code/</link><description>Recent content in WebDev &amp;Amp; Code on Steve Root's blog</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>© 2026 Steve Root</copyright><lastBuildDate>Tue, 12 Aug 2025 12:28:06 +0000</lastBuildDate><atom:link href="https://www.steveroot.co.uk/categories/webdev-amp-code/index.xml" rel="self" type="application/rss+xml"/><item><title>Quickly convert a Xero batch payment CSV to a format that works on Metro Bank</title><link>https://www.steveroot.co.uk/2025/08/12/quickly-convert-a-xero-batch-payment-csv-to-a-format-that-works-on-metro-bank/</link><pubDate>Tue, 12 Aug 2025 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2025/08/12/quickly-convert-a-xero-batch-payment-csv-to-a-format-that-works-on-metro-bank/</guid><description>&lt;p&gt;Ah Xero. Every day you disappoint. Not quite enough for me to find a replacement for your poor accounting software (I figure they all have issues but at least I have work arounds for most of your flaws) but one day, I will put enough effort into moving.&lt;/p&gt;&#10;&lt;p&gt;Today though, I’m going to share a fix for Xero’s bulk/batch payment file export being in the wrong format.&lt;/p&gt;&#10;&#10;&lt;h2 class="relative group"&gt;Where we start&#10; &lt;div id="where-we-start" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#where-we-start" aria-label="Anchor"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&lt;p&gt;If you have a number of people/suppliers to pay you can create a ‘batch’ payment.&lt;/p&gt;</description></item><item><title>Marathon training, turning planned run times into distances</title><link>https://www.steveroot.co.uk/2025/02/26/marathon-training-turning-planned-run-times-into-distances/</link><pubDate>Wed, 26 Feb 2025 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2025/02/26/marathon-training-turning-planned-run-times-into-distances/</guid><description>&lt;p&gt;I’m training to run a marathon (Run Rootie!) and basing my training plan on the Chris Evans book “119 days to go”. That training plan is based around time you spend running rather than distance to run each time.&lt;/p&gt;&#10;&lt;p&gt;I like the approach but it’s made it really hard for me to plan my running routes. Now I know that I’m running around 7 minutes per km I wanted to convert every run duration into distance and add it to my calendar.&lt;/p&gt;</description></item><item><title>Building a low power server</title><link>https://www.steveroot.co.uk/2024/03/01/building-a-low-power-server/</link><pubDate>Fri, 01 Mar 2024 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2024/03/01/building-a-low-power-server/</guid><description>&lt;p&gt;&lt;a href="https://www.linuxquestions.org/questions/linux-general-1/someone-please-explain-ext4lazyinit-to-me-4175658874/" target="_blank" rel="noreferrer"&gt;&lt;strong&gt;Note to future me:&lt;/strong&gt;&lt;/a&gt; The reason the new server HDD would not sleep is because ext4lazyinit writes inodes slowly on new disks in the background, so the disks were immediately woken even if forced to sleep.&lt;/p&gt;&#10;&#10;&lt;h2 class="relative group"&gt;Build a low power server…&#10; &lt;div id="build-a-low-power-server8230" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#build-a-low-power-server8230" aria-label="Anchor"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&lt;p&gt;It will be easy, says me…&lt;/p&gt;&#10;&lt;p&gt;Replace our 10 year old Atom C2750 running FreeNAS/TrueNAS with a 6 disk raid, that uses 65W of power, with an N100 and 2 disks (+nvme boot disk) on plain ubuntu server. I plan to get it to less than 20W when idle, sure seems I can when checking various blog posts. Processing power isn’t a big deal for this server as it only received backups from the other servers and computers we use.&lt;/p&gt;</description></item><item><title>Santa-pi, a music player for a charity fundraising float</title><link>https://www.steveroot.co.uk/2023/12/19/santa-pi/</link><pubDate>Tue, 19 Dec 2023 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2023/12/19/santa-pi/</guid><description>&lt;p&gt;This is a &lt;a href="https://www.raspberrypi.com/for-home/" target="_blank" rel="noreferrer"&gt;Raspberry Pi&lt;/a&gt;. A small, powerful, low cost computer. &lt;figure&gt;&lt;img&#10; class="my-0 rounded-md"&#10; loading="lazy"&#10; decoding="async"&#10; fetchpriority="low"&#10; alt=""&#10; src="https://www.steveroot.co.uk/wp-content/uploads/2023/12/raspberry-pi-model-3b-1024x1024.jpg"&#10; &gt;&lt;/figure&gt;&#10;&lt;/p&gt;&#10;&lt;p&gt;&lt;em&gt;Raspberry Pi Model 3B+&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;I’m writing this blog post from the pi you see in the photo. It is very slow compared to my laptop but it works and is in front of me now, whereas my laptop is a whole 2 meters away on another desk.&lt;/p&gt;&#10;&lt;p&gt;This is the Raspberry Pi Model 3 B+ that used to run the background music for my small business, a shop that &lt;a href="https://www.roots.uk" target="_blank" rel="noreferrer"&gt;sells furniture and appliances for kitchens, bedrooms and bathrooms&lt;/a&gt;. I retired this pi from service a few years ago when we moved to a different background music service. Before the new company I used &lt;a href="https://licensing.jamendo.com/en/in-store?jmm=instore" target="_blank" rel="noreferrer"&gt;Jamendo&lt;/a&gt; which allowed me to licence and download a few hundred tracks every few months. I would copy them to the pi over the wifi network and the pi would play the music. I wrote a small script that meant as the pi powered on it would start playing music tracks randomly from the selection I had uploaded to it. No human interaction, once setup it ran and ran and ran. Perfect.&lt;/p&gt;</description></item><item><title>Solution sharing: My small business phone system, 4 lines, 6 extensions, and costs less than £10 per month</title><link>https://www.steveroot.co.uk/2023/09/28/solution-sharing-my-small-business-phone-system-4-lines-6-extensions-and-costs-less-than-10-per-month/</link><pubDate>Thu, 28 Sep 2023 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2023/09/28/solution-sharing-my-small-business-phone-system-4-lines-6-extensions-and-costs-less-than-10-per-month/</guid><description>&lt;p&gt;plus call costs of about 1p/minute&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Short version:&lt;/strong&gt; Get SIP trunks from &lt;a href="https://www.dial9.co.uk/?s=AZH4BZ" target="_blank" rel="noreferrer"&gt;Dial9.co.uk&lt;/a&gt;**, get a small Virtual Machine running at &lt;a href="https://m.do.co/c/bf5986139e43" target="_blank" rel="noreferrer"&gt;DigitalOcean&lt;/a&gt;*, install &lt;a href="https://wiki.incrediblepbx.com/HomePage" target="_blank" rel="noreferrer"&gt;IncrediblePBX&lt;/a&gt;, connect to your own phones.&lt;/p&gt;&#10;&#10;&lt;h3 class="relative group"&gt;Where we start from:&#10; &lt;div id="where-we-start-from" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#where-we-start-from" aria-label="Anchor"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h3&gt;&#10;&lt;p&gt;BT Openreach are turning off analog copper phone lines and moving everyone to an all IP (Internet Protocol) system. It’s called SOGeA (Single Order Generic Ethernet Address). This is a good thing, it’s progress. It means as a network they will only provide an internet connection (think broadband adsl vdsl etc) and it is up to your ISP and/or phone service provider to turn that digital service into an analog phone line for your old style phones to plug into. It means no analog phone line rental just so you have VDSL internet.&lt;/p&gt;</description></item><item><title>FreePBX adding additional network card</title><link>https://www.steveroot.co.uk/2023/06/09/freepbx-adding-additional-network-card/</link><pubDate>Fri, 09 Jun 2023 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2023/06/09/freepbx-adding-additional-network-card/</guid><description>&lt;p&gt;New FreePBX virtual machine with two virtual network cards.&lt;/p&gt;&#10;&lt;p&gt;When installing, only 1 is configured automatically (eth0) and eth1 does not appear to FreePBX. It also didn’t get an IP address from the DHCP server.&lt;/p&gt;&#10;&lt;p&gt;To enable the second network interface, in command line SSH as root user and change ‘onboot=no’ to ‘onboot=yes’ in /etc/sysconfig/network-scripts/ifcfg-eth1&lt;/p&gt;&#10;&lt;pre class="wp-block-code"&gt;&lt;code&gt;# cd /etc/sysconfig/network-scripts/&#10;# cat ifcfg-eth0&#10;TYPE="Ethernet"&#10;PROXY_METHOD="none"&#10;BROWSER_ONLY="no"&#10;BOOTPROTO="dhcp"&#10;DEFROUTE="yes"&#10;IPV4_FAILURE_FATAL="no"&#10;IPV6INIT="yes"&#10;IPV6_AUTOCONF="yes"&#10;IPV6_DEFROUTE="yes"&#10;IPV6_FAILURE_FATAL="no"&#10;IPV6_ADDR_GEN_MODE="stable-privacy"&#10;NAME="eth0"&#10;UUID="cce57258-c43d-4384-b3f0-951dec77586a"&#10;DEVICE="eth0"&#10;ONBOOT="yes"&#10;ZONE=external&#10;DESCRIPTION="unset"&#10;# cat ifcfg-eth1&#10;TYPE=Ethernet&#10;PROXY_METHOD=none&#10;BROWSER_ONLY=no&#10;BOOTPROTO=dhcp&#10;DEFROUTE=yes&#10;IPV4_FAILURE_FATAL=no&#10;IPV6INIT=yes&#10;IPV6_AUTOCONF=yes&#10;IPV6_DEFROUTE=yes&#10;IPV6_FAILURE_FATAL=no&#10;IPV6_ADDR_GEN_MODE=stable-privacy&#10;NAME=eth1&#10;UUID=7e554799-26cb-4760-961f-6a42d434b7f5&#10;DEVICE=eth1&#10;ONBOOT=no&#10;&#10;(change the ONBOOT=no to ONBOOT=yes, then save and reboot&lt;/code&gt;&lt;/pre&gt;&#10;&lt;p&gt;Then go and check firewall settings and more in the web interface&lt;/p&gt;</description></item><item><title>Google workspace – printing the collaborative inbox / printing google groups</title><link>https://www.steveroot.co.uk/2023/05/02/google-workspace-printing-the-collaborative-inbox-printing-google-groups/</link><pubDate>Tue, 02 May 2023 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2023/05/02/google-workspace-printing-the-collaborative-inbox-printing-google-groups/</guid><description>&lt;p&gt;One of our new work processes is for my by brother to check invoices from a group of suppliers and if they’re OK to pay forward them to a private collaborative inbox/google group in our Google Workspace.&lt;/p&gt;&#10;&lt;p&gt;It has been working really well so far but there’s been one issue. Some of those suppliers send their invoices as plain text and Google collaborative inbox has no print button. I need to print them as part of our accounting records.&lt;/p&gt;</description></item><item><title>Automatic Letterheads from a printer</title><link>https://www.steveroot.co.uk/2022/11/03/automatic-letterheads-from-a-printer/</link><pubDate>Thu, 03 Nov 2022 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2022/11/03/automatic-letterheads-from-a-printer/</guid><description>&lt;p&gt;Some time ago I made our printer print letterheads on demand, and wrote the instructions here: &lt;a href="https://www.steveroot.co.uk/2019/11/19/magic-letterhead-tray-making-preprinted-stationary-automatically-on-plain-white-paper/" target="_blank" rel="noreferrer"&gt;https://www.steveroot.co.uk/2019/11/19/magic-letterhead-tray-making-preprinted-stationary-automatically-on-plain-white-paper/&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;We’ve just replaced our printer with a new model, a Kyocera P7240cdn and that means I need to update cups with a new print queue that generates letterheads on demand for anything sent to that queue.&lt;/p&gt;&#10;&lt;p&gt;Typically, it didn’t work first time. Checking the logs, and error file was created that said&lt;/p&gt;&#10;&lt;pre class="wp-block-code"&gt;&lt;code&gt;Error: /undefined in !R!RGBL0,0;RGBL1,0;RGBL2,0;HUE0,0;HUE1,0;HUE2,0;HUE3,0;HUE4,0;HUE5,0;HUE6,0;LGHT0,0;LGHT1,0;SATU0;EXIT;&#10;Operand stack:&#10;&#10;Execution stack:&#10; %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1990 1 3 %oparray_pop 1989 1 3 %oparray_pop 1977 1 3 %oparray_pop 1833 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval--&#10;Dictionary stack:&#10; --dict:731/1123(ro)(G)-- --dict:0/20(G)-- --dict:75/200(L)--&#10;Current allocation mode is local&#10;Current file position is 261&#10;GPL Ghostscript 9.50: Unrecoverable error, exit code 1&lt;/code&gt;&lt;/pre&gt;&#10;&lt;p&gt;From that I worked out that the new PPD file contained settings not seen in the old printer (P6035) starting with the section&lt;/p&gt;</description></item><item><title>Moving my small business [cloud email, file sharing, calendars] to a new provider</title><link>https://www.steveroot.co.uk/2021/08/28/moving-my-small-business-cloud-email-file-sharing-calendars-provider/</link><pubDate>Sat, 28 Aug 2021 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2021/08/28/moving-my-small-business-cloud-email-file-sharing-calendars-provider/</guid><description>&lt;p&gt;It’s time for my small business to update our solution for email, file storage, calendars, etc so I’m making notes as I go that you may find helpful and I will find helpful when I look back to remember what I’ve done and why.&lt;/p&gt;&#10;&#10;&lt;h2 class="relative group"&gt;Situation:&#10; &lt;div id="situation" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#situation" aria-label="Anchor"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&lt;p&gt;When I started &lt;a href="http://roots.uk" target="_blank" rel="noreferrer"&gt;Roots Kitchens Bedrooms Bathrooms&lt;/a&gt; in 1998 our email was provided by our Internet Service Provider. Then we got our own domain, eventually our own web server and in the early 2000’s I set up our own email server. A few years after that, spam filtering became unmanageable and we moved onto Google Apps as it was then, Google Workspace as it is now. As an early adopter (around 2006) we had a free 50 user account and to their credit Google still have this free account some 15 years later. It’s a ‘legacy’ account, still free, but several features added to later versions don’t apply to our account.&lt;/p&gt;</description></item><item><title>Magic letterhead tray – making preprinted stationary automatically on plain white paper</title><link>https://www.steveroot.co.uk/2019/11/19/magic-letterhead-tray-making-preprinted-stationary-automatically-on-plain-white-paper/</link><pubDate>Tue, 19 Nov 2019 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2019/11/19/magic-letterhead-tray-making-preprinted-stationary-automatically-on-plain-white-paper/</guid><description>&lt;p&gt;A couple of years ago I stopped buying letterheads for my business and instead created a special print queue that merged any document sent to print with a PDF letterhead template.&lt;/p&gt;&#10;&lt;p&gt;Last month, it stopped working on just my PC. I’m not quite sure if it broke from a Windows update or something else had changed but the result was I needed to start from scratch and make it all again. My original notes weren’t very good and in 3 years time I’ll look back on these notes and think much the same. If you’re looking to print letterheads on demand too, these notes may help you achieve it.&lt;/p&gt;</description></item><item><title>How many 1st class stamps to use on heavy letters?</title><link>https://www.steveroot.co.uk/2017/10/20/how-many-1st-class-stamps-to-use-on-heavy-letters/</link><pubDate>Fri, 20 Oct 2017 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2017/10/20/how-many-1st-class-stamps-to-use-on-heavy-letters/</guid><description>&lt;p&gt;In our office, we buy Royal Mail stamps in ready to use denominations of “1st Class”, “2nd Class”, “Large 1st Class” and “Large 2nd Class”. However, these are only useful for 100g weight letters.&lt;/p&gt;&#10;&lt;figure&gt;&lt;img&#10; class="my-0 rounded-md"&#10; loading="lazy"&#10; decoding="async"&#10; fetchpriority="low"&#10; alt=""&#10; src="https://www.steveroot.co.uk/wp-content/uploads/2017/10/royal_mail_stamp_prices.jpg"&#10; &gt;&lt;/figure&gt;&#10;&lt;p&gt;For heavy letters, we can use multiples of these stamps. I noticed I was routinely having to do the calculation in my head as to what is the optimum combination of stamps. For example, what to stick on a 500g 2nd class large letter. I know that’s £1.58, I know the stamps represent the 100g values, so 1st=65p 2nd=56p Large_1st=98p and Large_2nd=76p.&lt;br&gt;&#10;…&lt;br&gt;&#10;It’s not too hard to work out, but it takes time and gets harder with bigger letters and parcels.&lt;/p&gt;</description></item><item><title>Google Chrome ” Failed – Network Error.” on downloading files greater than 5MB (ish) – solution for me = Disable QUIC</title><link>https://www.steveroot.co.uk/2017/04/24/google-chrome-failed-network-error-on-downloading-files-greater-than-5mb-ish-solution-for-me-disable-quic/</link><pubDate>Mon, 24 Apr 2017 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2017/04/24/google-chrome-failed-network-error-on-downloading-files-greater-than-5mb-ish-solution-for-me-disable-quic/</guid><description>&lt;p&gt;For the last few weeks I’ve had trouble downloading from Google Photos files. It only happened on large files; videos &amp;amp; zip files of multiple images. The problem only affected Chrome – the files would download fine using Firefox. For single images the download would work so I decided it must be something related to the files size. A lot of googling and it seemed to only affect me so I removed and fully reinstalled chrome, that didn’t fix it.&lt;/p&gt;</description></item><item><title>Blog traffic</title><link>https://www.steveroot.co.uk/2016/09/30/blog-traffic/</link><pubDate>Fri, 30 Sep 2016 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2016/09/30/blog-traffic/</guid><description>&lt;p&gt;&lt;figure&gt;&lt;img&#10; class="my-0 rounded-md"&#10; loading="lazy"&#10; decoding="async"&#10; fetchpriority="low"&#10; alt="sep2016_cloudflare_traffic"&#10; src="https://www.steveroot.co.uk/wp-content/uploads/2016/09/Sep2016_cloudflare_traffic.png"&#10; &gt;&lt;/figure&gt;&#10; According to cloudflare, my blog traffic this month.&lt;/p&gt;&#10;&lt;p&gt;&lt;figure&gt;&lt;img&#10; class="my-0 rounded-md"&#10; loading="lazy"&#10; decoding="async"&#10; fetchpriority="low"&#10; alt="sep2016_analytics_traffic"&#10; src="https://www.steveroot.co.uk/wp-content/uploads/2016/09/Sep2016_analytics_traffic.png"&#10; &gt;&lt;/figure&gt;&#10;According to google analytics, my blog traffic this month.&lt;/p&gt;&#10;&lt;p&gt;The difference?&lt;br&gt;&#10;a) Cloudflare is counting requests to my server (each image, each file, each style sheet) whereas Google Analytics is joining requests from the same visitor into a session.&lt;br&gt;&#10;b) Hackers don’t always ask for a page, and don’t load the javascript that google analytics need to track the visitor.&lt;/p&gt;</description></item><item><title>Upgrading my server to PHP7 broke wordpress admin interface (cloudflare)</title><link>https://www.steveroot.co.uk/2016/09/30/upgrading-my-server-to-php7-broke-wordpress-admin-interface-cloudflare/</link><pubDate>Fri, 30 Sep 2016 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2016/09/30/upgrading-my-server-to-php7-broke-wordpress-admin-interface-cloudflare/</guid><description>&lt;p&gt;&lt;a href="http://wp-cli.org/" target="_blank" rel="noreferrer"&gt;wp-cli&lt;/a&gt;, a command line interface for WordPress, just saved me a big headache.&lt;/p&gt;&#10;&lt;p&gt;It all began when I updated my server to the latest ubuntu LTS. That removed PHP5 support and replaced it with PHP7. That meant several of my sites stopped working as the nginx configuration had to change. With that done I thought the blog as the pages were still displaying OK but for some reason I could no longer access the admin interface to make new posts or moderate comments. Instead, when I logged in I would see a message: Sorry, you are not allowed to access this page&lt;/p&gt;</description></item><item><title>Hot topic – our backup server (overheating!)</title><link>https://www.steveroot.co.uk/2016/06/24/hot-topic-our-backup-server-overheating/</link><pubDate>Fri, 24 Jun 2016 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2016/06/24/hot-topic-our-backup-server-overheating/</guid><description>&lt;p&gt;Ahh, computer backups. I’ve &lt;a href="https://www.steveroot.co.uk/?s=backup" target="_blank" rel="noreferrer"&gt;said before&lt;/a&gt; and &lt;a href="https://www.steveroot.co.uk/2006/07/13/you-did-do-that-backup-didnt-you/" target="_blank" rel="noreferrer"&gt;learn’t first hand how important they are&lt;/a&gt; over the years.&lt;/p&gt;&#10;&lt;p&gt;My business backup routine is to copy the files from the server in another building. I used to have a ReadyNAS NV+ (&lt;a href="https://en.wikipedia.org/wiki/Netgear#/media/File:Netgear_ReadyNAS_NV%2B.jpg" target="_blank" rel="noreferrer"&gt;image&lt;/a&gt; on &lt;a href="https://en.wikipedia.org/wiki/Netgear#READYDATA" target="_blank" rel="noreferrer"&gt;wikipedia&lt;/a&gt;) and for many years it served us well. Actually, 8 years, which is long enough for any piece of hardware you rely on. Last Christmas (yeah… 6 months working on this between other tasks) I spent some time reading up on hardware and software solutions to replace our ReadyNAS. I did consider getting the latest ReadyNAS or equivalent but in the end decided to build my own solution. An &lt;a href="http://blog.brianmoses.net/2015/01/diy-nas-2015-edition.html" target="_blank" rel="noreferrer"&gt;excellent blog post by Brian Moses&lt;/a&gt; about FreeNAS set me on the right track and pretty much I followed the suggestions there along with reading the FreeNAS forums. Brian chose the the Silverstone DS380 case and so did I. I was really tempted by the 8 hot swap trays.&lt;/p&gt;</description></item><item><title>Royalty free music and a time lapse video for work</title><link>https://www.steveroot.co.uk/2016/01/05/royalty-free-music-and-a-time-lapse-video-for-work/</link><pubDate>Tue, 05 Jan 2016 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2016/01/05/royalty-free-music-and-a-time-lapse-video-for-work/</guid><description>&lt;p&gt;Here’s a great way to start 2016, Win an award for “&lt;a href="http://www.rkbb.co.uk/#!geberit-awards-2015/z83yf" target="_blank" rel="noreferrer"&gt;Best Domestic Bathroom Installer 2015&lt;/a&gt;“.&lt;br&gt;&#10;My brother David entered the Geberit Awards, Geberit being a large multinational manufacturer of bathroom products and out of all the entries from all of the UK, he won. We’re very proud 🙂&lt;/p&gt;&#10;&lt;p&gt;That prompted us to finish editing a timelapse video of the winning bathroom. Rather than a silent movie sound I went searching for suitable music to accompany the movie and found the track “&lt;a href="http://incompetech.com/music/royalty-free/index.html?isrc=USUAN1300036" target="_blank" rel="noreferrer"&gt;Pamgaea&lt;/a&gt;” by &lt;a href="http://incompetech.com" target="_blank" rel="noreferrer"&gt;Kevin McCleod&lt;/a&gt;. Best of all, the licence to use this sound track was ‘&lt;a href="https://en.wikipedia.org/wiki/Royalty-free" target="_blank" rel="noreferrer"&gt;Royalty Free&lt;/a&gt;‘ as well as being free of cost on condition it was clearly attributed to the author. That’s very much like the software code I’ve written and shared, although Kevin is a master of his craft, whereas I’m just an amateur coding for fun.&lt;/p&gt;</description></item><item><title>Migrating from phpBB to Google Groups</title><link>https://www.steveroot.co.uk/2015/11/03/migrating-from-phpbb-to-google-groups/</link><pubDate>Tue, 03 Nov 2015 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2015/11/03/migrating-from-phpbb-to-google-groups/</guid><description>&lt;p&gt;For many years I’ve run a tiny web site for the village we live and work in. 8 years ago (or maybe more) I added a forum to the site using &lt;a href="https://www.phpbb.com/" target="_blank"&gt;phpBB&lt;/a&gt;, as they say about themselves ‘THE #1 FREE, OPEN SOURCE BULLETIN BOARD SOFTWARE’.&lt;/p&gt;&#10;&lt;p&gt;It’s been very good software, regularly updated and very easy to maintain. However, the most interaction I have with the forum now is blocking spam registrations and migrating it to new servers every couple of years. There are only a couple of posts a year now, so I wanted to find a way of reducing my administration workload.&lt;/p&gt;</description></item><item><title>Birthday Calculator – in case you don't want to wait a whole year to celebrate being alive</title><link>https://www.steveroot.co.uk/2015/01/08/birthday-calculator-in-case-you-dont-want-to-wait-a-whole-year-to-celebrate-being-alive/</link><pubDate>Thu, 08 Jan 2015 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2015/01/08/birthday-calculator-in-case-you-dont-want-to-wait-a-whole-year-to-celebrate-being-alive/</guid><description>&lt;p&gt;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.&lt;/p&gt;&#10;&lt;p&gt;I decided I could really do with a good excuse to party before that arbitrary unit of time though.  The solution? Write a web application where I can put in my date of birth and it will tell me other dates that I can celebrate on.&lt;/p&gt;</description></item><item><title>Virtual PDF Printer for our small office network – a step by step how to</title><link>https://www.steveroot.co.uk/2014/11/22/virtual-pdf-printer-for-our-small-office-network-a-step-by-step-how-to/</link><pubDate>Sat, 22 Nov 2014 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2014/11/22/virtual-pdf-printer-for-our-small-office-network-a-step-by-step-how-to/</guid><description>&lt;p&gt;&lt;em&gt;Alternative title: How I got multiple cups-pdf printers on the same server. (I didn’t, but postprocessing let me work around the problem).&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;Preamble:&lt;/p&gt;&#10;&lt;p&gt;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”).&lt;/p&gt;&#10;&lt;p&gt;The appliance originally ran on an old PC, then on a server that ran several other virtual machines. It had a neat web interface and would allow PDF printers to be created that would appear on the network for all of our users to use. It had one printer for plain A4 paper, one for A4 paper with a letterhead background, another one for an obscure use of mine, and so on. If you printed to it, it would email you the PDF (for any user, without any extra setup needed per user). It could also put the PDFs on one of our file servers or make them available from it’s built in file server.&lt;/p&gt;&#10;&lt;p&gt;If I remember correctly it cost £30 and ran since 2006 right through until today, November 2014. One of my best software investments!&lt;/p&gt;&#10;&lt;p&gt;However, Windows 8 came along and it no longer worked. Getting Windows 8 to print to it directly turned out to be impossible.  The program was not going to be updated or replaced with a new version. I managed a short term work around having windows 8 print to a samba printer queue which converted and forwarded to the YAFPC virtual appliance. There were problems, page sizes not be exact and so on but it worked in a fashion.&lt;/p&gt;&#10;&lt;p&gt;Roll forward to today when I’ve just got a new network PDF virtual printer working. It wasn’t so easy to do (some 20 hours I guess) so here are my setup notes for others to follow.  The final run through of these notes had it installed and working in about an hour.&lt;/p&gt;&#10;&lt;p&gt;These steps assume you know quite a bit about setting up linux servers. Please feel free to use the comments to point out errors or corrections, or add more complete instructions, and I’ll edit this post with the updates.  Also please suggest alternatives methods that you needed to use to meet your needs.&lt;/p&gt;&#10;&lt;p&gt;Overview – We are going to create:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;a new Ubuntu based linux server as a virtual machine&lt;/li&gt;&#10;&lt;li&gt;Install CUPS, the Common Unix Printing System&lt;/li&gt;&#10;&lt;li&gt;Install CUPS-PDF, and extension that allows files to be created from the print queue&lt;/li&gt;&#10;&lt;li&gt;Create a postprocessing script that will run every time CUPS-PDF is used that will customise our PDF’s and send them where we want them (to our users).&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;Sounds simple, right 🙂&lt;/p&gt;</description></item><item><title>sunspot solr slow in production (fixed by using IP address instead of domain name)</title><link>https://www.steveroot.co.uk/2014/10/02/sunspot-solr-slow-in-production-fixed-by-using-ip-address-instead-of-domain-name/</link><pubDate>Thu, 02 Oct 2014 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2014/10/02/sunspot-solr-slow-in-production-fixed-by-using-ip-address-instead-of-domain-name/</guid><description>&lt;p&gt;Short version:&lt;br&gt;&#10;————–&lt;br&gt;&#10;In my sunspot.yml I used a FQDN ( solr.rkbb.co.uk ). Solr was slow&lt;br&gt;&#10;When I used the server IP (10.18.6.224). Solr was fast.&lt;/p&gt;&#10;&lt;p&gt;Setting the scene (you can skip this bit):&lt;br&gt;&#10;——————————————-&lt;br&gt;&#10;I’ve been slowing working on some improvements to our business system at work. Whilst most of it currently runs on MS Access and MySQL, I’m slowing working on moving bits into Ruby on Rails. One of the most important things our current system does is store prices and descriptions for over 200,000 products. Searching that database is a crucial task.&lt;/p&gt;</description></item><item><title>BT Wifi hotspots intercept and redirect google SSL searches</title><link>https://www.steveroot.co.uk/2014/05/05/bt-wifi-hotspots-intercept-and-redirect-google-ssl-searches/</link><pubDate>Mon, 05 May 2014 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2014/05/05/bt-wifi-hotspots-intercept-and-redirect-google-ssl-searches/</guid><description>&lt;p&gt;&lt;a href="https://www.steveroot.co.uk/2014/05/bt-wifi-hotspots-intercept-and-redirect-google-ssl-searches/screen-shot-2014-02-19-at-10-17-52/" rel="attachment wp-att-844"&gt;&lt;figure&gt;&lt;img&#10; class="my-0 rounded-md"&#10; loading="lazy"&#10; decoding="async"&#10; fetchpriority="low"&#10; alt="BT WiFI intercept and redirect SSL"&#10; src="https://www.steveroot.co.uk/wp-content/uploads/2014/02/Screen-Shot-2014-02-19-at-10.17.52.png"&#10; &gt;&lt;/figure&gt;&#10;&lt;/a&gt; I wouldn’t have noticed them doing this except google told me. That does beg the question, if I was buying something on a website and didn’t notice the redirect from HTTPS to HTTP, could other people on the hot spot be snooping my transactions?&lt;/p&gt;&#10;&lt;p&gt;I guess BT have a good reason for doing it but this reminds me I must always connect to the internet via a VPN when on a public hotspot.&lt;/p&gt;</description></item><item><title>How to change a folder icon to a picture in Mac OS X</title><link>https://www.steveroot.co.uk/2014/04/22/how-to-change-a-folder-icon-to-a-picture-in-mac-os-x/</link><pubDate>Tue, 22 Apr 2014 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2014/04/22/how-to-change-a-folder-icon-to-a-picture-in-mac-os-x/</guid><description>&lt;p&gt;In an earlier post I showed &lt;a href="https://www.steveroot.co.uk/2013/08/mac-os-x-screenshot-save-to-folder-instead-of-desktop/" target="_blank" rel="noreferrer"&gt;how I set my screenshots to save in a custom folder&lt;/a&gt; rather than onto my desktop (I seem to take a lot of screenshots). I also shared a little camera icon that I made for it. One of the comments asked how I changed the folder icon, so I’ve made a 30 second screen recording to show how.&lt;/p&gt;&#10;&lt;ol&gt;&#10;&lt;li&gt;Go to web page that has the image you want&lt;/li&gt;&#10;&lt;li&gt;Right click image (or ctrl + left click)&lt;/li&gt;&#10;&lt;li&gt;choose Copy image&lt;/li&gt;&#10;&lt;li&gt;select folder you want to change the icon for (single left click the folder)&lt;/li&gt;&#10;&lt;li&gt;Press cmd + i keys together (opens the info pane)&lt;/li&gt;&#10;&lt;li&gt;left click folder icon shown in the top left of the info pane (it will get a blue highlight border)&lt;/li&gt;&#10;&lt;li&gt;Press cmd + v keys together (this is the shortcut for paste). You’ll see the image will have replaced the folder icon.&lt;/li&gt;&#10;&lt;/ol&gt;</description></item><item><title>VMware consolidated backup missing a catalogue file – fixed!</title><link>https://www.steveroot.co.uk/2014/04/13/vmware-consolidated-backup-missing-a-catalogue-file-fixed/</link><pubDate>Sun, 13 Apr 2014 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2014/04/13/vmware-consolidated-backup-missing-a-catalogue-file-fixed/</guid><description>&lt;p&gt;As always seems to be the case, a routine update of server software becomes a problem. This time it was updating VMware ESXi from 4 to 5. I know, I’m a little behind the times, but it was working, and it’s only a small office server… and I should have left it alone, sigh.&lt;/p&gt;&#10;&lt;p&gt;So, shutdown the Virtual Machines, overnight copy them all over the network to my laptop and a handy external disk. – Done.&lt;br&gt;&#10;Note: I probably should have used the VMWare standalone converter to copy them, rather than just copy them direct from the datastore.&lt;br&gt;&#10;This morning, in at 8am, install the new ESXi (having lost two hours ’cause the DVD on the server was playing up).&lt;/p&gt;</description></item><item><title>A quick note on my first steps using stripe.com</title><link>https://www.steveroot.co.uk/2014/03/14/a-quick-note-on-my-first-steps-using-stripe-com/</link><pubDate>Fri, 14 Mar 2014 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2014/03/14/a-quick-note-on-my-first-steps-using-stripe-com/</guid><description>&lt;p&gt;I’m building a web site for a charity that needs to take credit cards for tickets being sold. I’ve chosen to use &lt;a href="http://stripe.com" target="_blank" rel="noreferrer"&gt;stripe.com&lt;/a&gt; as:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;It’s simple to implement&lt;/li&gt;&#10;&lt;li&gt;They take care of all the security and PCI DSS (I never get any card details to save, that’s a good thing).&lt;/li&gt;&#10;&lt;li&gt;It’s not expensive (compared to other options like having a merchant account for the charity).&lt;/li&gt;&#10;&lt;li&gt;I couldn’t get away with using existing services (eg: &lt;a href="http://eventbrite.com" target="_blank" rel="noreferrer"&gt;eventbrite&lt;/a&gt;, &lt;a href="http://picatic.com" target="_blank" rel="noreferrer"&gt;picatic&lt;/a&gt;, etc)&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;Users don’t have to register on this charity site (essentially it’s selling a one off event ticket) so my process is:&lt;/p&gt;</description></item><item><title>A new form of Comment spam? – url shorteners and redirection?</title><link>https://www.steveroot.co.uk/2014/01/21/a-new-form-of-comment-spam-url-shorteners-and-redirection/</link><pubDate>Tue, 21 Jan 2014 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2014/01/21/a-new-form-of-comment-spam-url-shorteners-and-redirection/</guid><description>&lt;p&gt;This is interesting. This blog just had a comment which, at first glance, looked normal.&lt;/p&gt;&#10;&lt;figure id="attachment_839" aria-describedby="caption-attachment-839" style="width: 498px" class="wp-caption alignnone"&gt;&lt;a href="https://www.steveroot.co.uk/2014/01/a-new-form-of-comment-spam-url-shorteners-and-redirection/tinyurl_to_adfly_link/" rel="attachment wp-att-839"&gt;![URL redirection can hide the destination, not always a good thing](/wp-content/uploads/2014/01/tinyurl_to_adfly_link.png)&lt;/a&gt;&lt;figcaption id="caption-attachment-839" class="wp-caption-text"&gt;URL redirection can hide the destination, not always a good thing&lt;/figcaption&gt;&lt;/figure&gt;&#10;&lt;p&gt;The link first runs through URL shortening service tinyurl.com.&lt;/p&gt;&#10;&lt;p&gt;That in turn redirects it to adfly (&lt;a href="http://adf.ly" target="_blank" rel="noreferrer"&gt;http://adf.ly&lt;/a&gt;) which is where it becomes interesting.&lt;br&gt;&#10;&lt;a href="https://www.steveroot.co.uk/2014/01/a-new-form-of-comment-spam-url-shorteners-and-redirection/adflyexample/" rel="attachment wp-att-840"&gt;&lt;figure&gt;&lt;img&#10; class="my-0 rounded-md"&#10; loading="lazy"&#10; decoding="async"&#10; fetchpriority="low"&#10; alt="Example of an Adfly landing page"&#10; src="https://www.steveroot.co.uk/wp-content/uploads/2014/01/AdflyExample.png"&#10; &gt;&lt;/figure&gt;&#10;&lt;/a&gt;&lt;br&gt;&#10;Adfly is an advertising system. Instead of linking directly to the destination, you link with a custom link from them. Before the visitor can go to the new page, they see an advert.&lt;br&gt;&#10;They can interact with that advert or click the big “Skip Ad” button at the top of the page.&lt;br&gt;&#10;If people click on the advert, whoever created the link gets a commission.&lt;/p&gt;</description></item><item><title>BitDefender v Nod32</title><link>https://www.steveroot.co.uk/2013/11/18/bitdefender-v-nod32/</link><pubDate>Mon, 18 Nov 2013 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2013/11/18/bitdefender-v-nod32/</guid><description>&lt;p&gt;It’s anti virus renewal time! Not the most exciting job of the year, which is why I’ve been renewing for at least 2 years at a time.&lt;/p&gt;&#10;&lt;p&gt;&lt;em&gt;Bottom line: So, after all my research, reading and testing, we’re sticking with Nod32 for another 2 years&lt;/em&gt;.&lt;/p&gt;&#10;&lt;p&gt;We’ve been Eset Nod32 customers a long time, but for this renewal a few warning signs meant extending the licence wasn’t the no brainer it has been in the past.&lt;/p&gt;</description></item><item><title>Parallels virtual disk much larger on mac than windows is actually using</title><link>https://www.steveroot.co.uk/2013/11/12/parallels-virtual-disk-much-larger-on-mac-than-windows-is-actually-using/</link><pubDate>Tue, 12 Nov 2013 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2013/11/12/parallels-virtual-disk-much-larger-on-mac-than-windows-is-actually-using/</guid><description>&lt;p&gt;I’m using Parallels 9 on Mac OS X (Mavericks) to run Windows 7.&lt;br&gt;&#10;A couple of days ago I duplicated my Windows 7 virtual machine. Parallels spotted the duplicated machine when it started and offered to create a new MAC address. All looked good.&lt;/p&gt;&#10;&lt;p&gt;I uninstalled some software but Parallels was still using just as much disk space. Windows said it was using 64GB but Parallels and the folder size in Mac OS X reported 137GB. I wanted that free space back!&lt;/p&gt;</description></item><item><title>After Win 8.1 update display has shrunk</title><link>https://www.steveroot.co.uk/2013/10/24/after-win-8-1-update-display-has-shrunk/</link><pubDate>Thu, 24 Oct 2013 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2013/10/24/after-win-8-1-update-display-has-shrunk/</guid><description>&lt;p&gt;I’ve been setting up our first Windows 8 PC at work and working through all the bugs and gotchas a new operating system introduces to work.&lt;/p&gt;&#10;&lt;p&gt;Part way through the process the Windows 8.1 update happened and once rebooted there was a black border around the screen. AMD Catalyst wouldn’t start but windows reported the correct screen resolution being sent to the monitor. The monitor was fine when plugged into another PC.&lt;/p&gt;</description></item><item><title>Network PDF printing from Windows 8</title><link>https://www.steveroot.co.uk/2013/10/24/network-pdf-printing-from-windows-8/</link><pubDate>Thu, 24 Oct 2013 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2013/10/24/network-pdf-printing-from-windows-8/</guid><description>&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt;  I wrote a step by step guide on &lt;a href="https://www.steveroot.co.uk/2014/11/virtual-pdf-printer-for-our-small-office-network-a-step-by-step-how-to/" target="_blank" rel="noreferrer"&gt;creating a virtual PDF printer&lt;/a&gt; as a new virtual machine. This has been more reliable and has replaced the work around I used below&lt;/p&gt;&#10;&lt;hr&gt;&#10;&lt;p&gt; &lt;/p&gt;&#10;&lt;p&gt;Our small business is beginning the move from Windows XP to Windows 8. Moving to a new operating system is always a problem. There’s new things to learn, old systems that stop working together and many many hours of hair pulling on my part. It is progress though – I can’t imagine going back to Windows 98!&lt;/p&gt;</description></item><item><title>Mac OS X Screenshot save to folder (instead of desktop)</title><link>https://www.steveroot.co.uk/2013/08/23/mac-os-x-screenshot-save-to-folder-instead-of-desktop/</link><pubDate>Fri, 23 Aug 2013 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2013/08/23/mac-os-x-screenshot-save-to-folder-instead-of-desktop/</guid><description>&lt;p&gt;I take a lot of screenshots on my mac.  Sometimes it’s simply the quickest way to save information from a web page or design I’m working on, sometimes it’s because I need to show someone what they should be seeing on their screen when I’m helping them with their computer by email.&lt;/p&gt;&#10;&lt;p&gt;Taking a screenshot is so simple on a mac.  Using the three key shortcut “Shift  CMD  4” brings up crosshairs and you can draw the area of the screen that’s of interest.  Easy.  They’re saved to the desktop with the name ‘Screen Shot 2013-08-23 at 16.55.19.png’&lt;/p&gt;</description></item><item><title>Rails Sunspot/Solr returning result for single character searches</title><link>https://www.steveroot.co.uk/2013/07/17/rails-sunspotsolr-returning-result-for-single-character-searches/</link><pubDate>Wed, 17 Jul 2013 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2013/07/17/rails-sunspotsolr-returning-result-for-single-character-searches/</guid><description>&lt;p&gt;I spent 8 hours trying to get this to work. I googled and found lots of people asking the question but no one with a solution, or rather the given solutions wasn’t working for me.&lt;/p&gt;&#10;&lt;ol&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;rake sunspot:solr:stop&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;Edit the solr/conf/schema.xml file;&lt;br&gt;&#10;&lt;code&gt;&amp;lt;br /&amp;gt; &amp;lt;fieldType name=&amp;quot;text&amp;quot; class=&amp;quot;solr.TextField&amp;quot; omitNorms=&amp;quot;false&amp;quot;&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;analyzer&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;tokenizer class=&amp;quot;solr.StandardTokenizerFactory&amp;quot;/&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;filter class=&amp;quot;solr.StandardFilterFactory&amp;quot;/&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;filter class=&amp;quot;solr.LowerCaseFilterFactory&amp;quot;/&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;filter class=&amp;quot;solr.PorterStemFilterFactory&amp;quot;/&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;filter class=&amp;quot;solr.NGramFilterFactory&amp;quot; minGramSize=&amp;quot;1&amp;quot; maxGramSize=&amp;quot;15&amp;quot;/&amp;gt; &amp;lt;!-- This is The New Line --&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;/analyzer&amp;gt;&amp;lt;br /&amp;gt; &amp;lt;/fieldType&amp;gt;&lt;/code&gt;&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;rake sunspot:solr:start&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;rake sunspot:reindex&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;/ol&gt;</description></item><item><title>Backup! (Bye bye TimeMachine, hello Carbon Copy Cloner)</title><link>https://www.steveroot.co.uk/2013/07/07/backup-bye-bye-timemachine-hello-carbon-copy-cloner/</link><pubDate>Sun, 07 Jul 2013 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2013/07/07/backup-bye-bye-timemachine-hello-carbon-copy-cloner/</guid><description>&lt;p&gt;&lt;strong&gt;Executive summary:&lt;/strong&gt;&lt;br&gt;&#10;Stop reading, backup your computer. Done that? Let’s continue. [&lt;a href="https://www.steveroot.co.uk/2013/07/07/backup-bye-bye-timemachine-hello-carbon-copy-cloner/#1" &gt;1&lt;/a&gt;]&lt;a href="https://www.steveroot.co.uk/2013/07/07/backup-bye-bye-timemachine-hello-carbon-copy-cloner/#1" &gt;1&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Second Executive summary:&lt;/strong&gt;&lt;br&gt;&#10;TimeMachine on my mac failed, I now use Carbon Copy Cloner.&lt;br&gt;&#10;Yes, that cost me £26. Yes, it’s basically rsync (free opensource software I already use) but it’s easier to configure and has other useful features that I decided are worth me paying for.&lt;/p&gt;&#10;&lt;p&gt;Part 1: What happened to TimeMachine.&lt;br&gt;&#10;Part 2: How I solved it&lt;br&gt;&#10;Part 3: Other backup options that may be better for you&lt;br&gt;&#10;Part 4: Backup of yesteryear&lt;/p&gt;</description></item><item><title>Gandi said thanks :-)</title><link>https://www.steveroot.co.uk/2013/05/23/gandi-said-thanks/</link><pubDate>Thu, 23 May 2013 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2013/05/23/gandi-said-thanks/</guid><description>&lt;p&gt;&lt;a href="https://www.steveroot.co.uk/2013/05/gandi-said-thanks/gandi_tshirt/" rel="attachment wp-att-770"&gt;&lt;figure&gt;&lt;img&#10; class="my-0 rounded-md"&#10; loading="lazy"&#10; decoding="async"&#10; fetchpriority="low"&#10; alt="gandi_tshirt"&#10; src="https://www.steveroot.co.uk/wp-content/uploads/2013/05/gandi_tshirt.jpg"&#10; &gt;&lt;/figure&gt;&#10;&lt;/a&gt;What a lovely surprise! A T-shirt arrived in the post from the folks at &lt;a href="http://gandi.net" target="_blank" rel="noreferrer"&gt;Gandi.net&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;Gandi are the company that provide all my domain names and server hosting for work and play, including the hardware behind this blog.  I’ve been using them &lt;a href="https://www.steveroot.co.uk/2009/05/moving-to-a-new/" target="_blank" rel="noreferrer"&gt;since 2009&lt;/a&gt; and they’ve always super.  If you need domain names or hosting, I can recommend them with confidence.&lt;/p&gt;&#10;&lt;p&gt;They are always improving things and the side effect is small errors on the web site admin interface. Mostly, that means they’ve forgotten to translate a French word into English (eg, it displays Serveur instead of Server).  One of the recent improvements to their web site was to allow a table of information to show how much memory each of my servers was allocated, but it was showing the maximum amount that could be allocated.  A small error, but as always I sent an email with the details.  Not only did they fix it and say thanks, they sent me a Gandi T-shirt in the post.  Nice 🙂&lt;/p&gt;</description></item><item><title>Extracting images from PDF (free, using command line)</title><link>https://www.steveroot.co.uk/2013/05/22/extracting-images-from-pdf-free-using-command-line/</link><pubDate>Wed, 22 May 2013 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2013/05/22/extracting-images-from-pdf-free-using-command-line/</guid><description>&lt;p&gt;This is a day when I love computers. I have a multipage PDF and I need to extract the images from it.&lt;/p&gt;&#10;&lt;p&gt;Option 1: Open the PDF on screen, capture each section, save each file.&lt;br&gt;&#10;No thanks, that’ll take far too long and lose quality (which already isn’t too great)&lt;/p&gt;&#10;&lt;p&gt;Option 2: Open the PDF using Adobe Illustrator. select each image, copy/crop/save as, etc.&lt;br&gt;&#10;No thanks, almost as bad as option 1&lt;/p&gt;</description></item><item><title>Building an automatic infrared remote control for the shop</title><link>https://www.steveroot.co.uk/2013/05/06/building-an-automatic-infrared-remote-control-for-the-shop/</link><pubDate>Mon, 06 May 2013 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2013/05/06/building-an-automatic-infrared-remote-control-for-the-shop/</guid><description>&lt;p&gt;&lt;a href="https://www.steveroot.co.uk/2013/05/building-an-automatic-infrared-remote-control-for-the-shop/arduinounosmd/" rel="attachment wp-att-748"&gt;&lt;figure&gt;&lt;img&#10; class="my-0 rounded-md"&#10; loading="lazy"&#10; decoding="async"&#10; fetchpriority="low"&#10; alt="ArduinoUnoSmd"&#10; src="https://www.steveroot.co.uk/wp-content/uploads/2013/05/ArduinoUnoSmd.jpg"&#10; &gt;&lt;/figure&gt;&#10;&lt;/a&gt;My second &lt;a href="http://arduino.cc" target="_blank" rel="noreferrer"&gt;Arduino&lt;/a&gt; based project has been to build an infrared remote control that will turn on a TV when the TV is powered up and defaults to standby mode.&lt;/p&gt;&#10;&lt;p&gt;Here the background. I have a showroom that sells &lt;a href="http://www.rkbb.co.uk" target="_blank" rel="noreferrer"&gt;kitchens, bedrooms and bathrooms&lt;/a&gt;. On the second floor one of the displays has a TV that we use to play videos from suppliers along with our own youtube videos (which we still haven’t got around to creating).&lt;/p&gt;</description></item><item><title>A quick review of WordPress comment and trackback spam</title><link>https://www.steveroot.co.uk/2013/04/28/a-quick-review-of-wordpress-comment-and-trackback-spam/</link><pubDate>Sun, 28 Apr 2013 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2013/04/28/a-quick-review-of-wordpress-comment-and-trackback-spam/</guid><description>&lt;p&gt;One down side of running a blog has got to be the amount of comment spam.  I’m going to have to put in place better systems to stop it but before then, here’s a brief unscientific analysis of the last 23 spam comments (they all get held until I approve them) and what I think the spammers are trying to do:&lt;/p&gt;&#10;&lt;ol&gt;&#10;&lt;li&gt;Trying to flog fakes&lt;/li&gt;&#10;&lt;/ol&gt;&#10;&lt;p&gt;Brand name sunglasses are popular. Rayban and Oakley frequently appear.  Also hand bagsThe destination sites appear to like Western Union money transfer and a good number are based in China.&lt;/p&gt;</description></item><item><title>BT Openzone, Mac OS X connection problems</title><link>https://www.steveroot.co.uk/2013/03/05/bt-openzone-mac-os-x-connection-problems/</link><pubDate>Tue, 05 Mar 2013 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2013/03/05/bt-openzone-mac-os-x-connection-problems/</guid><description>&lt;p&gt;I’ve had a problem for a while connecting to BT Openzone from my mac.  I get an IP address. I can ping the gateway, but I can’t get online.  Using my android phone the connection always worked first time.  I read one forum post that the problem for one mac user was the DNS not being updated when the network was joined (he had google DNS set instead of BT Openzones DNS). I also had google DNS settings present (8.8.8.8) but removing them didn’t solve it for me.&lt;/p&gt;</description></item><item><title>Grey text on a web page not visible when printing, how to fix it</title><link>https://www.steveroot.co.uk/2013/02/11/grey-text-on-a-web-page-not-visible-when-printing-how-to-fix-it/</link><pubDate>Mon, 11 Feb 2013 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2013/02/11/grey-text-on-a-web-page-not-visible-when-printing-how-to-fix-it/</guid><description>&lt;p&gt;Edit: what a rubbish title! I probably should have written:&lt;/p&gt;&#10;&#10;&lt;h2 class="relative group"&gt;How to change light grey text to black when printing a web page&#10; &lt;div id="how-to-change-light-grey-text-to-black-when-printing-a-web-page" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#how-to-change-light-grey-text-to-black-when-printing-a-web-page" aria-label="Anchor"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&lt;p&gt;Sometimes you need to print a web page and sometimes that becomes quite a challenge.  In an ideal world the designer will have foreseen you might print some pages and will add relevant settings to the site CSS styles that make things better for you.  For example, they’ll turn the light grey text into black and maybe remove the menu from the view when you print.&lt;/p&gt;</description></item><item><title>Mac Timemachine backups are NOT complete</title><link>https://www.steveroot.co.uk/2013/01/11/mac-timemachine-backups-are-not-complete/</link><pubDate>Fri, 11 Jan 2013 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2013/01/11/mac-timemachine-backups-are-not-complete/</guid><description>&lt;p&gt;How annoying. I’m discovering the hard way that a TimeMachine backup is NOT complete.  It’s missing things all over the system.&lt;/p&gt;&#10;&lt;p&gt;Sure, it has backed up my documents and applications but so far it appears to have missed:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;/private/etc/hosts (lost some custom DNS settings)&lt;/li&gt;&#10;&lt;li&gt;Missing symbolic links, fixed by &lt;code&gt;sudo ln -sn /usr/bin/g++ /usr/bin/g++-4.2&lt;/code&gt;(Thanks &lt;a href="http://stackoverflow.com/questions/8368834/error-with-inline-and-xcode-4-2-1" target="_blank"&gt;StackOverflow&lt;/a&gt;!)&lt;/li&gt;&#10;&lt;li&gt;All my ruby gems (fixed by running bundle install)&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;Whilst none of these are major issues they do result in strange errors. &lt;code&gt;Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension&lt;/code&gt; sure does make the heart jump and slow things down.  I’m still glad I bought a &lt;a href="https://www.steveroot.co.uk/2012/12/installing-a-new-hard-disk-in-a-mac-not-fun/" target="_blank" rel="noreferrer"&gt;new hard disk&lt;/a&gt; though&lt;/p&gt;</description></item><item><title>Calc (Openoffice / Libreoffice) If statements using 'between' or 'and'</title><link>https://www.steveroot.co.uk/2012/12/15/calc-openoffice-libreoffice-if-statements-using-between-or-and/</link><pubDate>Sat, 15 Dec 2012 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2012/12/15/calc-openoffice-libreoffice-if-statements-using-between-or-and/</guid><description>&lt;p&gt;It’s always annoyed me when I want to write an if statement where true is based upon more than one fact and I have to nest if statements. Today I looked at lots of other forumulas and found one that let me create an if_between effect. Like “IF a number is between 2000 and 3000 DO this ELSE that”&lt;/p&gt;&#10;&#10;&lt;h2 class="relative group"&gt;First, a little background on simple if statements&#10; &lt;div id="first-a-little-background-on-simple-if-statements" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#first-a-little-background-on-simple-if-statements" aria-label="Anchor"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&lt;p&gt;An if statement in calc is written:&lt;/p&gt;</description></item><item><title>Gitolite won't let server read repo</title><link>https://www.steveroot.co.uk/2012/12/06/gitolite-wont-let-server-read-repo/</link><pubDate>Thu, 06 Dec 2012 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2012/12/06/gitolite-wont-let-server-read-repo/</guid><description>&lt;p&gt;A note for my future self.&lt;/p&gt;&#10;&lt;p&gt;Summary: When adding a new production server to my cap deploy that will clone a repository from my gitolite server, First SSH into the gitolite server so the production server has the gitolite server in it’s trusted hosts file.&lt;/p&gt;&#10;&lt;p&gt;More detail:&lt;br&gt;&#10;A repository on my gitolite server wouldn’t allow a new server to read it. Cap Deploy failed with lines like:&lt;/p&gt;&#10;&lt;p&gt;&lt;code&gt;&amp;lt;br /&amp;gt; failed: &amp;quot;sh -c 'git clone -q git@my.server.ip:myrepo.git ....&amp;lt;br /&amp;gt; &lt;/code&gt;&lt;/p&gt;</description></item><item><title>WordPress redirects</title><link>https://www.steveroot.co.uk/2012/11/30/wordpress-redirects/</link><pubDate>Fri, 30 Nov 2012 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2012/11/30/wordpress-redirects/</guid><description>&lt;p&gt;Moving from movabletype to wordpress has involved several post moving to new locations. The redirection plugin has made adding redirects easy but only once I figured out the correct regular expressions to use. Here’s what I’ve had to use.&lt;/p&gt;&#10;&lt;ol&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;Old MT pages had .html on the permalink&lt;br&gt;&#10;&lt;code&gt;&amp;lt;br /&amp;gt; Source: /(d*)/(d*)/(.*).html&amp;lt;br /&amp;gt; Target: /$1/$2/$3/&amp;lt;br /&amp;gt; &lt;/code&gt;&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;A much earlier MT site had pages in an ‘archive’ directory. They also had urls with underscores instead of hyphens the wordpress pages are using, instead of spaces generated from the page title. So some archive entries had one hypen, others had four. I didn’t figure out a singe elegant regex and instead used five to do the job. Note, I couldn’t use “.*” to match as “.” would match the underscores too. The same applied to using the shortcut w as that also matches underscores.&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;/ol&gt;</description></item><item><title>Goodbye MovableType, hello WordPress</title><link>https://www.steveroot.co.uk/2012/11/27/goodbye-movabletype-hello-wordpress/</link><pubDate>Tue, 27 Nov 2012 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2012/11/27/goodbye-movabletype-hello-wordpress/</guid><description>&lt;p&gt;Finally I’ve got around to updating my blog from MovableType to WordPress.&lt;/p&gt;&#10;&lt;figure&gt;&lt;img&#10; class="my-0 rounded-md"&#10; loading="lazy"&#10; decoding="async"&#10; fetchpriority="low"&#10; alt="Steves original movable type blog"&#10; src="https://www.steveroot.co.uk/wp-content/uploads/2012/11/Screen-Shot-2012-11-27-at-21.50.13.png"&#10; &gt;&lt;/figure&gt;&#10;&lt;p&gt;&lt;em&gt;How the old blog looked&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;If you’re looking at this today (and maybe for another month.. or year) you’ll see the template is still the default WordPress template. Eventually I’ll update it but for now at least the content from all the old posts is still visible.&lt;/p&gt;&#10;&lt;p&gt;The move has come about because of a number of reasons:&lt;/p&gt;</description></item><item><title>Technical notes on migrating from MovableType to WordPress</title><link>https://www.steveroot.co.uk/2012/11/27/technical-notes-on-migrating-from-movabletype-to-wordpress/</link><pubDate>Tue, 27 Nov 2012 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2012/11/27/technical-notes-on-migrating-from-movabletype-to-wordpress/</guid><description>&lt;p&gt;Having just migrated from MovableType to WordPress here are my notes just in case they help anyone else.&lt;/p&gt;&#10;&lt;p&gt;Time it’s taken from empty wordpress to viewing complete posts: about 6 hours&lt;br&gt;&#10;Time it would take to do now knowing exactly how to solve problems: about 1 hour&lt;br&gt;&#10;Time you need to allow…. decide for yourself based on your past experience of migrations!  I was happy with 8 hours or less.  Oh, and there are few broken images I need to find and some hard coded html within some old posts I need to look into.&lt;/p&gt;</description></item><item><title>Mail merge onto a PDF background</title><link>https://www.steveroot.co.uk/2012/11/16/mail-merge-onto/</link><pubDate>Fri, 16 Nov 2012 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2012/11/16/mail-merge-onto/</guid><description>&lt;p&gt;Some days, I love computers.&lt;/p&gt;&#10;&lt;p&gt;Days like today, where we want send a mailshot to 900 past customers. I got the address list from our MS Access database. I got a PDF of the artwork. What I wanted to do was create a mail merge using the PDF as a background.&lt;/p&gt;&#10;&lt;p&gt;Libreoffice/Openoffice didn’t seem to have a neat way of adding a background so I googled the problem and instantly found the &lt;a href="http://tech.velmont.net/mail-merge-database-pdf-for-free-in-linux-wo-big-overhead/" target="_blank" rel="noreferrer"&gt;solution here&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>The joy of being a forum/newsgroup moderator</title><link>https://www.steveroot.co.uk/2012/08/03/the-joy-of-bein/</link><pubDate>Fri, 03 Aug 2012 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2012/08/03/the-joy-of-bein/</guid><description>&lt;p&gt;I like to be helpful. It makes me feel good. When I post lots of technical questions to a community I’ll look to see if I can offer something in return for others. When the &lt;a href="http://spreecommerce.com" target="_blank" rel="noreferrer"&gt;spree&lt;/a&gt; group asked for volunteer anti-spam moderators I was happy to volunteer.&lt;/p&gt;&#10;&lt;p&gt;One side effect of that was being added to the spree github group which leads to seeing a variety of pull&lt;a href="http://spreecommerce.com" target="_blank" rel="noreferrer"&gt;1&lt;/a&gt; requests. I don’t action any as I don’t have the code skills to validate other peoples submissions. This morning &lt;a href="http://randomecho.com/" target="_blank" rel="noreferrer"&gt;randomecho.com&lt;/a&gt; submitted a request which has made me start the day smiling.&lt;/p&gt;</description></item><item><title>Screen recording on a mac</title><link>https://www.steveroot.co.uk/2012/07/17/screen-recordin/</link><pubDate>Tue, 17 Jul 2012 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2012/07/17/screen-recordin/</guid><description>&lt;p&gt;&lt;img decoding="async" src="https://www.steveroot.co.uk/files/import/349-quicktime-player-capture-screen-thumb-300x74-348.png" alt="349-quicktime-player-capture-screen-thumb-300x74-348.png" /&gt;Mac OS continues to keep me happy. Sure, it has it’s faults but I just needed to capture my screen to file a software bug report. I could have explained step by step by typing but sending a video file is so much simpler. Except, I hadn’t done it on my Mac before. A quick google lead to a page of results of screen capture applications. Most cost money, a couple of open source solutions… I was reluctantly expecting the need to invest in more software. Then I noticed another search result that basically said – ‘use Quicktime Player’… and I thought.. I have that – it’s comes built in to OS X!&lt;/p&gt;</description></item><item><title>Useful bash command for ruby programming (find a string within a file including sub directory files)</title><link>https://www.steveroot.co.uk/2012/07/11/useful-bash-com/</link><pubDate>Wed, 11 Jul 2012 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2012/07/11/useful-bash-com/</guid><description>&lt;p&gt;Here’s a useful bash command, great for finding the source of any ruby “unintialized constant” errors.&lt;/p&gt;&#10;&lt;p&gt;&lt;code&gt;&amp;lt;br /&amp;gt; &amp;lt;strong&amp;gt;steve@Steve-Root-MBP$&amp;lt;/strong&amp;gt;grep -r 'Spree::Admin::Application' .&amp;lt;br /&amp;gt; &lt;/code&gt;&lt;br&gt;&#10;Returns the file name and the line with the matching string, like:&lt;br&gt;&#10;&lt;code&gt;&amp;lt;br /&amp;gt; ./app/controllers/spree/admin/satisfies_controller.rb: class Spree::Admin::SatisfiesController &amp;lt; Spree::Admin::ApplicationController &lt;/code&gt;&lt;/p&gt;&#10;&lt;p&gt;So, my constant that caused the error is located in app/controllers/spree/admin/satisfies_controller.rb&lt;/p&gt;&#10;&lt;p&gt;The command is made up like this:&lt;br&gt;&#10;grep = grep is a command-line utility for searching plain-text data sets for lines matching a regular expression&lt;br&gt;&#10;-r = recursively search all the sub directories&lt;br&gt;&#10;&amp;lsquo;Spree::Admin::Application&amp;rsquo; = The Needle = the string you want to search for, I enclose in apostrophes, I think you can use speech marks etc. You can also use a regular expression to match things&lt;br&gt;&#10;. = The Haystack = Where you want to search, using just a dot means search every every file.&lt;/p&gt;</description></item><item><title>SPF with google site verification</title><link>https://www.steveroot.co.uk/2012/06/27/spf-with-google/</link><pubDate>Wed, 27 Jun 2012 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2012/06/27/spf-with-google/</guid><description>&lt;p&gt;Ahh, the joys of computing. My plan for a 30 minute task dissolves once more into 3 hours of head scratching. As always, the solution was ridiculously easy.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;The aim:&lt;/strong&gt; To add Spam Protection Filter/Sender Policy Framework to our DNS.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;The problem:&lt;/strong&gt; Having more than one TXT entry wasn’t possible with my DNS provider (and if it was, it would have created an error)&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;The solution:&lt;/strong&gt; Put all the TXT strings in the same TXT entry field, ensuring a space character is present WITHIN the strings if multiple strings are to be concatenated.&lt;/p&gt;</description></item><item><title>My SSL certificate was not working in Safari, but it did in Chrome and Firefox</title><link>https://www.steveroot.co.uk/2012/06/20/my-ssl-certific/</link><pubDate>Wed, 20 Jun 2012 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2012/06/20/my-ssl-certific/</guid><description>&lt;p&gt;or at least, I *thought* my SSL certificate wasn’t working in Safari.&lt;/p&gt;&#10;&lt;p&gt;When I launched our new company &lt;a href="http://www.rkbb.co.uk" target="_blank" rel="noreferrer"&gt;web site&lt;/a&gt; last month I thought I’d checked the SSL certificate was working in all browsers. It wasn’t, a customer quickly pointed out it didn’t work in for him and I tracked down a particular issue to do with chains. It seemed fine for google Chrome but Firefox couldn’t work it out. Anyway, fixed in half an hour, or so I thought.&lt;/p&gt;</description></item><item><title>Outlook Web Access – missing options</title><link>https://www.steveroot.co.uk/2012/05/26/outlook-web-acc/</link><pubDate>Sat, 26 May 2012 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2012/05/26/outlook-web-acc/</guid><description>&lt;p&gt;Missing options in outlook web access? I was. I wanted to forward email from a service using Outlook Web Access but I didn’t have the option. It was simply missing. A friend had told me where to find it. I googled it and saw instructions on how to set it, but it wasn’t there. I could not see the ‘rules’ option. It was as if this account had restricted privileges.&lt;/p&gt;</description></item><item><title>Installing Sphinx on Mac OS X Lion</title><link>https://www.steveroot.co.uk/2011/12/10/installing-sphi/</link><pubDate>Sat, 10 Dec 2011 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2011/12/10/installing-sphi/</guid><description>&lt;p&gt;Moving from Windows/Linux to Mac, one of my Ruby on Rails applications wasn’t working. I’d forgotten to install &lt;a href="http://sphinxsearch.com/" target="_blank" rel="noreferrer"&gt;sphinx&lt;/a&gt;, and the error was a little cryptic for an amateur like me.&lt;/p&gt;&#10;&lt;p&gt;Anyway, knowing the problem, installing sphinx I expected to be easy. 2 hours later and I realise it’s working. It was probably working within 5 minutes. These notes are here to remind me what I did next time I need to.&lt;/p&gt;</description></item><item><title>Windows to Mac continued</title><link>https://www.steveroot.co.uk/2011/11/19/windows-to-mac/</link><pubDate>Sat, 19 Nov 2011 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2011/11/19/windows-to-mac/</guid><description>&lt;p&gt;Where did that month go! It seems only 2 weeks ago I was opening the box of my new macbook pro but it’s actually been a month already. So, what have I learned?&lt;/p&gt;&#10;&lt;p&gt;Remember how I said how I found it strange the mouse wheel direction had reversed? Well, that’s a new ‘feature’ of OS X Lion. It’s called “natural scrolling”. Well, it might be natural if your on a touch screen grabbing the page, but I’m still used to considering the scroll controlled by mouse as moving the scroll bar down the side of the page. Fortunately, there’s an option to turn that off. Now I like keeping to as many software defaults as possible so that when I use someone elses machine things work the way I expect, but this change doesn’t seem ideal to me. It feels like a change for the point of change rather than a thought out user interface decision. That is, a nice idea in theory, but everyone is used to the standard so don’t change it. To me, this would be the same as changing the keyboard number pad (number 1 is at the bottom) to match a telephone keypad (number 1 is at the top). Or, why not make a desk calculator the same as a desk phone (calculator number 1 is at the bottom). That difference has been a minor irritation of mine for years, but I wouldn’t change it – not when so many devices are set that way and I’m used to it.&lt;/p&gt;</description></item><item><title>CRON – multiple cron jobs on one line (running consecutively, not concurrently)</title><link>https://www.steveroot.co.uk/2010/07/05/cron-multiple/</link><pubDate>Mon, 05 Jul 2010 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2010/07/05/cron-multiple/</guid><description>&lt;p&gt;This post will (hopefully) remind me in the future how to do something very simple.&lt;/p&gt;&#10;&lt;p&gt;A crontab is normally running one command on each line. EG:&lt;/p&gt;&#10;&lt;p&gt;# m h dom mon dow command&lt;br&gt;&#10;01 00 * * * /home/cronscripts/vine-warn-when-large-user-profile&lt;br&gt;&#10;05 00 * * * /home/cronscripts/vine-get-remote-pc-backup.sh&lt;br&gt;&#10;01 01 * * * /home/cronscripts/vine-samba-users&lt;br&gt;&#10;01 02 * * * /home/cronscripts/vine-database-backups&lt;/p&gt;&#10;&lt;p&gt;So the above jobs run at 00:01, then 00:05, then 01:01am then 02:01am.&lt;/p&gt;</description></item><item><title>cciss-vol-status on Ubuntu didn't work, it was cciss_vol_status</title><link>https://www.steveroot.co.uk/2010/05/22/cciss-vol-statu/</link><pubDate>Sat, 22 May 2010 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2010/05/22/cciss-vol-statu/</guid><description>&lt;p&gt;In the hope I find this post next time I’m trying to monitor a SmartArray drive controller, A fresh install of Ubuntu 10.04, installing package cciss-vol-status didn’t seem to work. I couldn’t even find the file on the system using ‘locate’.&lt;/p&gt;&#10;&lt;p&gt;For some reason, it installed as cciss_vol_status (using underscores instead of hyphens).&lt;/p&gt;</description></item><item><title>ruby on rails sql_type – A reminder for me</title><link>https://www.steveroot.co.uk/2010/02/04/a-reminde-for-m/</link><pubDate>Thu, 04 Feb 2010 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2010/02/04/a-reminde-for-m/</guid><description>&lt;p&gt;I treated myself to a rails training course last weekend (with &lt;a href="http://www.wellho.net/course/rpfull.html" target="_blank" rel="noreferrer"&gt;Well House Consultants&lt;/a&gt;, rather good, I’ll write about it if I get around to it). Immediately I start to create my first ruby app and I forget all the sqltypes I can use in my Model and where to look them up. As I think I’ll be looking them up quite a lot, I’ve put them here on my blog for my later reference&lt;/p&gt;</description></item><item><title>Migrating Coldfusion to Open Bluedragon – form.FIELDNAMES</title><link>https://www.steveroot.co.uk/2009/09/04/migrating-coldf/</link><pubDate>Fri, 04 Sep 2009 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2009/09/04/migrating-coldf/</guid><description>&lt;p&gt;This is a note for my future self, because something tells me I’ll come across the same problem again….&lt;/p&gt;&#10;&lt;p&gt;The old server ran &lt;a href="http://www.adobe.com/products/coldfusion/" target="_blank" rel="noreferrer"&gt;Colfusion MX 6.01&lt;/a&gt;, the new server is running &lt;a href="http://www.openbluedragon.org/" target="_blank" rel="noreferrer"&gt;Open Bluedragon&lt;/a&gt;, the near equivalent to Coldfusion 7 or 8. (Colfusion MX6.01 doesn’t work properly with Apache 2, or more recent linux operating systems and I couldn’t justify the upgrade cost to the latest version of coldfusion. My next big project will be to rewrite the Roots web site into an open source language though as Open Bluedragon runs coldfusion code and is open source, I might be able to develop rather than re-write from scratch, anyway, enough of that background).&lt;/p&gt;</description></item><item><title>Fresh Ubuntu install could not resolve domains names – and how I fixed it… maybe</title><link>https://www.steveroot.co.uk/2009/05/04/fresh-ubuntu-in/</link><pubDate>Mon, 04 May 2009 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2009/05/04/fresh-ubuntu-in/</guid><description>&lt;p&gt;For some time I’ve had trouble installing Ubuntu Server to test things. Affecting 7.10 &amp;amp; 8.04, but only at work and not at home. Strange. Now though, I’ve just figured out what the problem was, at least, I thought I had.&lt;/p&gt;&#10;&lt;p&gt;At work, we have a gateway/DHCP box (say: 192.168.55.254). When handing out IP addresses, it gives a nameserver IP of 192.168.55.225 first, and should that not be working 208.67.222.222 second (&lt;a href="http://www.opendns.com" target="_blank" rel="noreferrer"&gt;www.opendns.com&lt;/a&gt;)&lt;/p&gt;</description></item><item><title>Ruby woes: NameError and uninitialized constant</title><link>https://www.steveroot.co.uk/2008/03/31/ruby-woes-namee/</link><pubDate>Mon, 31 Mar 2008 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2008/03/31/ruby-woes-namee/</guid><description>&lt;p&gt;The thing I hate most about learning a new programming language is the time it takes to do the simplest things… something goes wrong and it takes hours to figure it. Sure, it’s worth it once you know but boy do I hate that time consuming learning process.&lt;/p&gt;&#10;&lt;p&gt;Meet today’s problem.&lt;/p&gt;&#10;&lt;p&gt;&lt;em&gt;NameError in StoryController#index&lt;br&gt;&#10;uninitialized constant StoryController::Story&lt;br&gt;&#10;RAILS_ROOT: C:/Documents and Settings/sroot/My Documents/NetBeansProjects/scaffoldlearning&lt;br&gt;&#10;Application Trace | Framework Trace | Full Trace&lt;br&gt;&#10;C:/InstantRails-1.7-win/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:478:in `const_missing’&lt;br&gt;&#10;app/controllers/story_controller.rb:5:in `index’&lt;/em&gt;&lt;/p&gt;</description></item><item><title/><link>https://www.steveroot.co.uk/2008/03/03/post/</link><pubDate>Mon, 03 Mar 2008 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2008/03/03/post/</guid><description>&lt;p&gt;When learning PHP I spent hours fixing errors simply because I forgot to put a semicolon ‘;’ at the end of a line&lt;/p&gt;&#10;&lt;p&gt;Creating my first Ruby on Rails application today I’ve just spent hours on one small part just because I forgot the equal ‘=’ sign in the view file where I wanted to see things&lt;/p&gt;&#10;&lt;p&gt;&amp;lt;% can anybody hear me? %&amp;gt;&lt;br&gt;&#10;nope.&lt;br&gt;&#10;&amp;lt;%= We hear you now Steve! %&amp;gt;&lt;br&gt;&#10;hooray!&lt;/p&gt;</description></item><item><title>Automatic backups of my windows laptop</title><link>https://www.steveroot.co.uk/2008/01/21/automatic-backu/</link><pubDate>Mon, 21 Jan 2008 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2008/01/21/automatic-backu/</guid><description>&lt;p&gt;Backups are important. This tenet will be learned the first time you lose important files. Knowledge in itself is useless, it’s the application knowledge that reaps rewards.&lt;/p&gt;&#10;&lt;p&gt;Having learnt many years ago the cost of losing data from a computer, I’ve become a dab hand at setting up backup routines for my laptop, desktops and servers. In the past I used a windows shell script to copy files from my laptop to a space on my office server. That server backs up again to an off site server just to make sure the data is kept. Unfortunately this script has been somewhat unreliable of late. At some point, on a never quite identified file, the copy action would fail and backup would stop. I needed a new solution, one that would be reliable, simple to set up and cost nothing but setup time. I found it in the shape of some linux software called &lt;a href="http://samba.anu.edu.au/rsync/" target="_blank" rel="noreferrer"&gt;rsync&lt;/a&gt; and a windows client to rsync called &lt;a href="http://www.aboutmyip.com/AboutMyXApp/DeltaCopy.jsp" target="_blank" rel="noreferrer"&gt;DeltaCopy&lt;/a&gt;. Actually, DeltaCopy is more than just an rsync client, it can be an rsync server for windows machines but I didn’t need that. That would be very useful though if you are using an old windows PC as your file server though.&lt;/p&gt;</description></item><item><title>webERP Virtual Machine</title><link>https://www.steveroot.co.uk/2007/02/24/weberp-virtual/</link><pubDate>Sat, 24 Feb 2007 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2007/02/24/weberp-virtual/</guid><description>&lt;p&gt;I’ve been investigating ways of improving our business systems to keep up with our growth.&lt;/p&gt;&#10;&lt;p&gt;One system I’ve been investigating is the open source “&lt;a href="http://www.weberp.org" target="_blank" rel="noreferrer"&gt;Web ERP&lt;/a&gt;” which is a system using PHP and MySQL. It looks good and I’m now at the stage of deeply investigating how it works and how moving onto it would affect our processes. In order to do this I needed to install it on a server. I really don’t like installing things on our production server so &lt;a href="http://www.vmware.com" target="_blank" rel="noreferrer"&gt;VMWare&lt;/a&gt; comes to the rescue once more. VMWare is a piece of software that lets you have a virtual computer running on top of your regular operating system (Windows XP for my laptop). So, to test weberp I installed my favourite &lt;a href="http://www.trustix.org" target="_blank" rel="noreferrer"&gt;Trustix&lt;/a&gt; Linux operating system.&lt;/p&gt;</description></item><item><title>creating a new column in a MySQL select query</title><link>https://www.steveroot.co.uk/2006/10/04/creating-a-new/</link><pubDate>Wed, 04 Oct 2006 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2006/10/04/creating-a-new/</guid><description>&lt;p&gt;I’ve been really busy since my last post (a whole month without a post!). Work is exceptionally busy and work comes first. Even my reading has slowed down a bit. I have several things waiting to be posted when I get time to write about them – including the first ever competition for this blog! You’ll have to check back over the next week or two to find out what that’s all about, in the mean time this post is all about…&lt;/p&gt;</description></item><item><title>First Lessons</title><link>https://www.steveroot.co.uk/2006/07/05/first-lessons/</link><pubDate>Wed, 05 Jul 2006 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2006/07/05/first-lessons/</guid><description>&lt;p&gt;&lt;img decoding="async" src="https://www.steveroot.co.uk/files/import/i-169b0a422e9f46fb60b306cafe8d75ee-zend_logo.gif" alt="i-169b0a422e9f46fb60b306cafe8d75ee-zend_logo.gif" /&gt;First lesson over! That was fun. Just like starting sixth form in so many ways. Meeting all the new people but with easier opening lines like “so, where are you from?”. Thinking of which, I should put this in the Root Memory category as I remember starting my Business Studies A levels and meeting my friend Wendy…&lt;/p&gt;&#10;&lt;p&gt;Nice group, good sense of humour. There were 8 of us tonight, should be 10 next week. This was just a familiarisation night to check the software worked for all of us. We came from all over the world, or to be precise USA, Canada, Holland, Romania and me from the UK. The instructor is a chap called Ben Ramsey. We can hear him but we can only speak when he ‘passes the mic’ – students that can’t answer back? It must be teacher heaven! He speaks clearly and I’m sure he knows his stuff.&lt;/p&gt;</description></item><item><title>My return to education begins…. in a distant sort of way</title><link>https://www.steveroot.co.uk/2006/07/05/my-return-to-ed/</link><pubDate>Wed, 05 Jul 2006 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2006/07/05/my-return-to-ed/</guid><description>&lt;p&gt;&lt;img decoding="async" src="https://www.steveroot.co.uk/files/import/i-169b0a422e9f46fb60b306cafe8d75ee-zend_logo.gif" alt="i-169b0a422e9f46fb60b306cafe8d75ee-zend_logo.gif" /&gt;My return to education begins in just 2 hours. I say return but of course I’ve never stopped learning. However, I’ve signed up to a formal training course and paid a fair amount of money for the privilege.&lt;/p&gt;&#10;&lt;p&gt;The course is “&lt;a href="http://www.zend.com/education/online_training/courses#phpessentials" target="_blank" rel="noreferrer"&gt;Zend PHP Essentials&lt;/a&gt;“. PHP is a programming language commonly used on web servers. It’s core functionality is about generating web pages. It allows a programmer to generate those pages from a database, as well as many other things like create PDF files. As with many languages, you can use it to start other programs that aren’t really related to PHP or web pages. It’s one of the most popular programming languages for web site because&lt;br&gt;&#10;a) It’s free (well, it ‘open source’ which means you can use the software for free but there are other obligations – like you can’t alter it and then sell it)&lt;br&gt;&#10;b) It’s now very popular (which means its on almost every server set up going and if you get stuck the chances are someone you know can help you fix it).&lt;/p&gt;</description></item><item><title>Woohoo! a new uptime record for my Win XP laptop</title><link>https://www.steveroot.co.uk/2006/06/09/woohoo-a-new-up/</link><pubDate>Fri, 09 Jun 2006 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2006/06/09/woohoo-a-new-up/</guid><description>&lt;p&gt;I just noticed my laptop was turned on 5 days and 4 hours ago (yes, it’s Friday today, and yes, I do work Sundays). Now, if only I could work for that long without a rest….&lt;/p&gt;</description></item><item><title>The Big Server Move</title><link>https://www.steveroot.co.uk/2006/01/10/the-big-server/</link><pubDate>Tue, 10 Jan 2006 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2006/01/10/the-big-server/</guid><description>&lt;p&gt;Phew! What a Christmas. While many spent the time enjoying Christmas TV, I spent the time migrating from one web server to a new web server.&lt;/p&gt;&#10;&lt;p&gt;Easy? I was hoping so. Way before the move, I installed RedHat on my laptop to test the setup to ensure it went smoothly. It worked fine so my 3 days (24 hours) of set aside time [to set up new server, copy across all the web sites (approx 10Gb of data), transfer IP addresses from old server to new server] seemed an over estimate.&lt;/p&gt;</description></item><item><title>Linux on a USB Memory Stick</title><link>https://www.steveroot.co.uk/2005/07/10/linux-on-a-usb/</link><pubDate>Sun, 10 Jul 2005 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2005/07/10/linux-on-a-usb/</guid><description>&lt;p&gt;I’ve finally got it working! Linux running of a USB Key.&lt;/p&gt;&#10;&lt;p&gt;It wasn’t so hard to set up once I’d found &lt;a href="http://www.goosee.com/puppy/" target="_blank" rel="noreferrer"&gt;Puppy Linux&lt;/a&gt;.&lt;/p&gt;&#10;&lt;p&gt;As this is going to get more technical, you’ll have to follow the link to the extended entry about this (otherwise I’ll bore most of you reading this).&lt;/p&gt;</description></item><item><title>New Category – WebDev &amp; Code</title><link>https://www.steveroot.co.uk/2005/01/01/new-category-we/</link><pubDate>Sat, 01 Jan 2005 00:00:00 +0000</pubDate><guid>https://www.steveroot.co.uk/2005/01/01/new-category-we/</guid><description>&lt;p&gt;I’ve always enjoyed making computers do what I want them to – especially where it saves me doing the same work more than once. That’s why I first learnt to program a computer.&lt;/p&gt;</description></item></channel></rss>