<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Home on Codewrite Dev Blog</title><link>https://dev.codewrite.co.uk/</link><description>Recent content in Home on Codewrite Dev Blog</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sun, 08 Mar 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://dev.codewrite.co.uk/index.xml" rel="self" type="application/rss+xml"/><item><title>Overview</title><link>https://dev.codewrite.co.uk/general/overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://dev.codewrite.co.uk/general/overview/</guid><description>&lt;p&gt;This blog is really for my benefit. In years to come I&amp;rsquo;ll forget how I did some of this stuff. If I&amp;rsquo;ve got it written down somewhere I&amp;rsquo;ll be able to figure it out again. If it helps you too that&amp;rsquo;s just a bonus!&lt;/p&gt;
&lt;p&gt;The topics I am hoping to cover are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;C# and dotnet core&lt;/li&gt;
&lt;li&gt;Visual Studio Code&lt;/li&gt;
&lt;li&gt;MySQL and SQL server&lt;/li&gt;
&lt;li&gt;Amazon Web Services (AWS)&lt;/li&gt;
&lt;li&gt;Raspberry Pi&lt;/li&gt;
&lt;li&gt;Arduino(s)&lt;/li&gt;
&lt;li&gt;Docker&lt;/li&gt;
&lt;li&gt;VueJS&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I&amp;rsquo;ve been using &lt;a href="https://code.visualstudio.com/"&gt;Visual Studio Code&lt;/a&gt; the last year and a half, so most of my code will be using that.&lt;/p&gt;</description></item><item><title>Check [micro] SD Cards using WSL2</title><link>https://dev.codewrite.co.uk/posts/2026-03-08-checksdcards/</link><pubDate>Sun, 08 Mar 2026 00:00:00 +0000</pubDate><guid>https://dev.codewrite.co.uk/posts/2026-03-08-checksdcards/</guid><description>&lt;p&gt;I decided to check all my microSD cards and decided to use &lt;a href="https://fight-flash-fraud.readthedocs.io/"&gt;f3 - Fight Flash Fraud&lt;/a&gt;. I also decided to do this using my Windows PC. So I was going to need to use WSL2 and Ubuntu and set it up using &lt;a href="https://learn.microsoft.com/en-us/windows/wsl/connect-usb"&gt;Connecting USB devices&lt;/a&gt;. I managed it, but there was enough complexity for me to feel that I needed to write some notes about what I did.&lt;/p&gt;
&lt;p&gt;So here it is&amp;hellip;&lt;/p&gt;</description></item><item><title>Home Assistant Serial Link to an Arduino</title><link>https://dev.codewrite.co.uk/posts/2026-02-27-homeassistantwithserialarduino/</link><pubDate>Fri, 27 Feb 2026 00:00:00 +0000</pubDate><guid>https://dev.codewrite.co.uk/posts/2026-02-27-homeassistantwithserialarduino/</guid><description>&lt;p&gt;The purpose of this project was to connect an Arduino Nano to the USB port that Home Assistant was running on. For me that is a Raspberry Pi 4 but this solution should work with any Home Assistant hardware. And the reason for using a serial connection over USB (rather than wirelessly with WiFi or similar) could be for many reasons:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Wifi may not be available (e.g. if the network is down)&lt;/li&gt;
&lt;li&gt;It is more secure&lt;/li&gt;
&lt;li&gt;It is un-jammable&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The ultimate plan for me was to create an uninterruptable power supply for Home Assistant from bits that I had:&lt;/p&gt;</description></item><item><title>Updating from Jekyll to Hugo</title><link>https://dev.codewrite.co.uk/posts/2026-02-06-updatejekylltohugo/</link><pubDate>Fri, 06 Feb 2026 00:00:00 +0000</pubDate><guid>https://dev.codewrite.co.uk/posts/2026-02-06-updatejekylltohugo/</guid><description>&lt;p&gt;Today I updated the website to use Hugo instead of Jekyll. This has been on my list of things to do for some time.
It should be easier than it is - that was the whole reason I used Jekyll in the first place.
Anyway, after several attempts at doing this myself and failing, I decided to let Github Copilot have a go.&lt;/p&gt;
&lt;p&gt;I started by renaming the old site to &amp;ldquo;dev-old.codewrite.co.uk&amp;rdquo; and then asked Copilot to convert it from Jekyll to a new Hugo site at &amp;ldquo;dev.codewrite.co.uk&amp;rdquo;. It took ages (well minutes but I consider that a long time), but it did quite a good job. It summarized what it had done in the readme.md (which I&amp;rsquo;ve kept in the repo). Rather than editing what it had done I decided to go the full &amp;ldquo;vibe coding&amp;rdquo; way, and just asked it to fix things that didn&amp;rsquo;t look good.&lt;/p&gt;</description></item><item><title>Camera Object Detection in Python, Part 1</title><link>https://dev.codewrite.co.uk/posts/2023-02-21-picamobjectdetection1/</link><pubDate>Tue, 21 Feb 2023 00:00:00 +0000</pubDate><guid>https://dev.codewrite.co.uk/posts/2023-02-21-picamobjectdetection1/</guid><description>&lt;p&gt;I have been looking at TensorFlow and following some of the tutorials. I have a camera that looks out over the front garden using a Raspberry Pi 3. It&amp;rsquo;s has quite a low resolution and frame rate (deliberately so that it doesn&amp;rsquo;t use a lot of network bandwidth). The resolution is 640x480 at 3 fps. Usually there is not much going on (which is good) but when something does happen I always thought it would be good to have some automatic processing, and TensorFlow seemed like a great way to do that. I followed one of the [tutorials on a single frame][TensorFlow Object Detection], and it picked out quite a lot of detail, as shown below:&lt;/p&gt;</description></item><item><title>Home Assistant REST Devices and Sensors</title><link>https://dev.codewrite.co.uk/posts/2022-12-22-hassconfigfiles/</link><pubDate>Thu, 22 Dec 2022 00:00:00 +0000</pubDate><guid>https://dev.codewrite.co.uk/posts/2022-12-22-hassconfigfiles/</guid><description>&lt;p&gt;A while back (before I was using Home Assistant) I built a COB light controller board. The idea was to have lights under the eaves all round the outside of our house (bungalow). They look like this:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://dev.codewrite.co.uk/images/COBLightsInHASS/LightsUnderEaves.jpg" alt="COB Lights under Eaves"&gt;&lt;/p&gt;
&lt;p&gt;In this picture there are three lights, but around the rest of the house there are about 15 in total on 4 different circuits. I won&amp;rsquo;t go into the detail here other than to say that there is a controller board up in the loft that uses a Wemos D1 mini which serves up a REST interface to turn the lights on and off. I did a presentation for the London Raspberry Pi group. The link to my GitHub page is here:&lt;/p&gt;</description></item><item><title>Home Assistant on the Raspberry Pi</title><link>https://dev.codewrite.co.uk/posts/2022-03-28-raspberrypihomeassistant/</link><pubDate>Mon, 28 Mar 2022 00:00:00 +0000</pubDate><guid>https://dev.codewrite.co.uk/posts/2022-03-28-raspberrypihomeassistant/</guid><description>&lt;p&gt;I use Home Assistant (HASS) around the house to switch some of the lights on and off automatically and to monitor the temperature. I plan to use HASS for other automation tasks, maybe controlling things in the garden (e.g. watering plants in the greenhouse) and inside to turn the heating on and off. In this post will describe what I currently have and some ideas for the future.&lt;/p&gt;
&lt;p&gt;The main reason that I like HASS is that it separates functionality, specifically keeping the configuration and control logic away from the sensors and devices. This makes everything much more scalable and maintainable. I could write the software to control everything, but like most software engineers I would rather not reinvent the wheel, especially when you have something like HASS that does such a good job with much less effort.&lt;/p&gt;</description></item><item><title>Arduino Low Power Encryption</title><link>https://dev.codewrite.co.uk/posts/2020-08-19-arduinolowpowerencryption/</link><pubDate>Wed, 19 Aug 2020 00:00:00 +0000</pubDate><guid>https://dev.codewrite.co.uk/posts/2020-08-19-arduinolowpowerencryption/</guid><description>&lt;p&gt;&lt;img src="https://dev.codewrite.co.uk/images/ArduinoLowPowerEncryption/LowPowerEncryptionBoard.jpg" alt="LowPowerEncryptionBoard"&gt;&lt;/p&gt;
&lt;p&gt;This was my experiment in creating a low power Arduino that can communicate wirelessly to a Raspberry Pi using an HC-12.
By low power I mean run for a couple of years on a 18650 battery. Encryption should be unhackable by today&amp;rsquo;s standards.&lt;/p&gt;
&lt;p&gt;I did a presentation for the Raspberry Pint group, &lt;a href="https://www.youtube.com/watch?v=aB-yj1D6h-8&amp;amp;t=164s"&gt;the video is here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The code is on &lt;a href="https://github.com/codewrite/ArduinoLowPowerWirelessEncryption"&gt;my Github repo&lt;/a&gt;.
I had to do some mods to the Arduino board to make it low power (removing the regulator and power LED resistor):&lt;/p&gt;</description></item><item><title>Arduino Default Libraries</title><link>https://dev.codewrite.co.uk/posts/2020-08-14-arduinodefaultlibraries/</link><pubDate>Fri, 14 Aug 2020 00:00:00 +0000</pubDate><guid>https://dev.codewrite.co.uk/posts/2020-08-14-arduinodefaultlibraries/</guid><description>&lt;p&gt;I used to think that the default libraries in the Arduino IDE would be the best available but having come across a couple of cases where this isn&amp;rsquo;t true I would definitely search for better lib libraries now&amp;hellip;&lt;/p&gt;
&lt;h2 id="what-libraries"&gt;What libraries?&lt;/h2&gt;
&lt;p&gt;What am I talking about? Well the two that have better alternatives are:&lt;/p&gt;
&lt;h3 id="keyboard"&gt;Keyboard&lt;/h3&gt;
&lt;p&gt;The reason why this didn&amp;rsquo;t work for me was because the BIOS on my desktop PC didn&amp;rsquo;t recognize the Arduino Leonardo as a keyboard. So I tried [the HID project][HID-Project] - which works flawlessly.&lt;/p&gt;</description></item><item><title>Generating sounds on the Arduino</title><link>https://dev.codewrite.co.uk/posts/2020-08-13-arduinoclassdsound/</link><pubDate>Thu, 13 Aug 2020 00:00:00 +0000</pubDate><guid>https://dev.codewrite.co.uk/posts/2020-08-13-arduinoclassdsound/</guid><description>&lt;p&gt;&lt;img src="https://dev.codewrite.co.uk/images/arduinoSoundClassD/ArduinoWAVPlayer1.jpg" alt="Arduino WAV Player 1"&gt;
&lt;img src="https://dev.codewrite.co.uk/images/arduinoSoundClassD/ArduinoWAVPlayer2.jpg" alt="Arduino WAV Player 2"&gt;&lt;/p&gt;
&lt;p&gt;This is a small project to read wav files from a micro SD card via an Arduino Nano and then play them directly to a loudspeaker.
I&amp;rsquo;ll state upfront that this isn&amp;rsquo;t the easiest way to do this (there are MP3 modules and libraries), but I wanted to:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Understand sound generation using a microcontroller from first principles&lt;/li&gt;
&lt;li&gt;Have some tools / ideas about how to generate sounds for any future projects&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;As an idea of the sort of thing I was thinking of - I&amp;rsquo;ve been thinking of a DIY &amp;ldquo;ring&amp;rdquo; doorbell. I already have a camera that can see anyone approaching the front door. A 433.92MHz receiver could detect when the doorbell is pressed (so no new doorbell required). A Raspberry Pi (i.e. the one with the camera) controlling it all and sending and receiving to my mobile phone. A lot more work than just buying a Ring doorbell - but a lot more satisfying!&lt;/p&gt;</description></item><item><title>NRF24L01 on Raspberry Pi</title><link>https://dev.codewrite.co.uk/posts/2020-06-07-raspberrypinrf24l01/</link><pubDate>Sun, 07 Jun 2020 00:00:00 +0000</pubDate><guid>https://dev.codewrite.co.uk/posts/2020-06-07-raspberrypinrf24l01/</guid><description>&lt;p&gt;OK, so just for the record, I&amp;rsquo;ve tried using the NRF24L01 on the Raspberry Pi (via tha GPIO SPI pins) and I don&amp;rsquo;t recommend it.&lt;/p&gt;
&lt;p&gt;So the following is just a record of what I did, in case I ever change my mind :).&lt;/p&gt;
&lt;p&gt;&lt;img src="https://dev.codewrite.co.uk/images/RPI-NRF24L01/wiring-photo.jpg" alt="RPI NRF Board Wiring"&gt;&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;NRF24L01 Side Wire Raspberry Pi Side
------------- ---- -----------------
MISO White GPIO 9 (SPI_MISO)
SCK Grey GPIO 11 (SPI_SCLK)
CE Orange GPIO 25
GND Black GND (PIN 20)
IRQ Brown GPIO 22
MOSI Purple GPIO 10 (SPI_MOSI)
CSN Yellow GPIO 8 (SPI_CE0)
VCC Red 3.3V (PIN 1)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;The Raspberry Pi code consisted of two python files which had to be in the same folder:&lt;/p&gt;</description></item><item><title>Dotnet Core on Raspberry Pi</title><link>https://dev.codewrite.co.uk/posts/2020-04-15-rasperrypianddotnet/</link><pubDate>Wed, 15 Apr 2020 00:00:00 +0000</pubDate><guid>https://dev.codewrite.co.uk/posts/2020-04-15-rasperrypianddotnet/</guid><description>&lt;blockquote&gt;
&lt;p&gt;&lt;a href="https://github.com/codewrite/rPiLedButtonFanBoard"&gt;Source Code on GitHub&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Next: [Creating the solution in Visual Studio Code&amp;hellip;][RPI-dotnet-software]&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;This week&amp;rsquo;s project has been writing the software for my GPIO board on my Raspberry Pi. I added this board to a case I bought for my Raspberry Pi 3+.
I designed the GPIO board with a few things in mind:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;I wanted a couple of buttons so I could do things like shutting the Pi down (it&amp;rsquo;s not a good idea to just unplug the power)&lt;/li&gt;
&lt;li&gt;I wanted a couple of LEDs so I could display a simple status&lt;/li&gt;
&lt;li&gt;I wanted to control the fan so it wasn&amp;rsquo;t on all the time, just when it was needed (like a laptop fan)&lt;/li&gt;
&lt;li&gt;The piezo sounder was added because there was space - so maybe I&amp;rsquo;d be able to get the Pi to do audible notifications&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;em&gt;[This was mainly for when I was running the Raspberry Pi headless - so there wouldn&amp;rsquo;t be a screen or keyboard connected.]&lt;/em&gt;&lt;/p&gt;</description></item><item><title>Setting Up Jekyll</title><link>https://dev.codewrite.co.uk/posts/2020-04-02-setupjekyll/</link><pubDate>Thu, 02 Apr 2020 00:00:00 +0000</pubDate><guid>https://dev.codewrite.co.uk/posts/2020-04-02-setupjekyll/</guid><description>&lt;p&gt;The first thing I did was &lt;a href="https://docs.microsoft.com/en-us/windows/wsl/install-win10"&gt;installed Ubuntu on windows&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Then I &lt;a href="https://github.com/nodesource/distributions/blob/master/README.md"&gt;installed NodeJS and NPM&lt;/a&gt; (which I&amp;rsquo;m not sure if I needed).&lt;/p&gt;
&lt;p&gt;And then &lt;a href="https://computingforgeeks.com/how-to-install-jekyll-on-ubuntu-18-04/"&gt;installed Jekyll&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;To run it: &lt;code&gt;jekyll serve --host=0.0.0.0&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;I edited .bashrc to add the GEM exports&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="background-color:#f0f0f0;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"&gt;1&lt;/span&gt;&lt;span&gt;&lt;span style="color:#60a0b0;font-style:italic"&gt;# Ruby exports&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"&gt;2&lt;/span&gt;&lt;span&gt;&lt;span style="color:#007020"&gt;export&lt;/span&gt; &lt;span style="color:#bb60d5"&gt;GEM_HOME&lt;/span&gt;&lt;span style="color:#666"&gt;=&lt;/span&gt;&lt;span style="color:#bb60d5"&gt;$HOME&lt;/span&gt;/gems
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"&gt;3&lt;/span&gt;&lt;span&gt;&lt;span style="color:#007020"&gt;export&lt;/span&gt; &lt;span style="color:#bb60d5"&gt;PATH&lt;/span&gt;&lt;span style="color:#666"&gt;=&lt;/span&gt;&lt;span style="color:#bb60d5"&gt;$HOME&lt;/span&gt;/gems/bin:&lt;span style="color:#bb60d5"&gt;$PATH&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;I added a couple of files to the _includes folder:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;head.html&lt;/em&gt;&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="background-color:#f0f0f0;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-html" data-lang="html"&gt;&lt;span style="display:flex;"&gt;&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"&gt; 1&lt;/span&gt;&lt;span&gt;&amp;lt;&lt;span style="color:#062873;font-weight:bold"&gt;head&lt;/span&gt;&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"&gt; 2&lt;/span&gt;&lt;span&gt; &amp;lt;&lt;span style="color:#062873;font-weight:bold"&gt;meta&lt;/span&gt; &lt;span style="color:#4070a0"&gt;charset&lt;/span&gt;&lt;span style="color:#666"&gt;=&lt;/span&gt;&lt;span style="color:#4070a0"&gt;&amp;#34;utf-8&amp;#34;&lt;/span&gt;&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"&gt; 3&lt;/span&gt;&lt;span&gt; &amp;lt;&lt;span style="color:#062873;font-weight:bold"&gt;meta&lt;/span&gt; &lt;span style="color:#4070a0"&gt;http-equiv&lt;/span&gt;&lt;span style="color:#666"&gt;=&lt;/span&gt;&lt;span style="color:#4070a0"&gt;&amp;#34;X-UA-Compatible&amp;#34;&lt;/span&gt; &lt;span style="color:#4070a0"&gt;content&lt;/span&gt;&lt;span style="color:#666"&gt;=&lt;/span&gt;&lt;span style="color:#4070a0"&gt;&amp;#34;IE=edge&amp;#34;&lt;/span&gt;&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"&gt; 4&lt;/span&gt;&lt;span&gt; &amp;lt;&lt;span style="color:#062873;font-weight:bold"&gt;meta&lt;/span&gt; &lt;span style="color:#4070a0"&gt;name&lt;/span&gt;&lt;span style="color:#666"&gt;=&lt;/span&gt;&lt;span style="color:#4070a0"&gt;&amp;#34;viewport&amp;#34;&lt;/span&gt; &lt;span style="color:#4070a0"&gt;content&lt;/span&gt;&lt;span style="color:#666"&gt;=&lt;/span&gt;&lt;span style="color:#4070a0"&gt;&amp;#34;width=device-width, initial-scale=1&amp;#34;&lt;/span&gt;&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"&gt; 5&lt;/span&gt;&lt;span&gt; {%- seo -%}
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"&gt; 6&lt;/span&gt;&lt;span&gt; &amp;lt;&lt;span style="color:#062873;font-weight:bold"&gt;link&lt;/span&gt; &lt;span style="color:#4070a0"&gt;rel&lt;/span&gt;&lt;span style="color:#666"&gt;=&lt;/span&gt;&lt;span style="color:#4070a0"&gt;&amp;#34;stylesheet&amp;#34;&lt;/span&gt; &lt;span style="color:#4070a0"&gt;href&lt;/span&gt;&lt;span style="color:#666"&gt;=&lt;/span&gt;&lt;span style="color:#4070a0"&gt;&amp;#34;{{ &amp;#34;&lt;/span&gt;&lt;span style=""&gt;/&lt;/span&gt;&lt;span style="color:#4070a0"&gt;assets&lt;/span&gt;&lt;span style=""&gt;/&lt;/span&gt;&lt;span style="color:#4070a0"&gt;main&lt;/span&gt;&lt;span style=""&gt;.&lt;/span&gt;&lt;span style="color:#4070a0"&gt;css&lt;/span&gt;&lt;span style=""&gt;&amp;#34;&lt;/span&gt; &lt;span style=""&gt;|&lt;/span&gt; &lt;span style="color:#4070a0"&gt;relative_url&lt;/span&gt; &lt;span style=""&gt;}}&amp;#34;&lt;/span&gt;&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"&gt; 7&lt;/span&gt;&lt;span&gt; &amp;lt;&lt;span style="color:#062873;font-weight:bold"&gt;link&lt;/span&gt; &lt;span style="color:#4070a0"&gt;rel&lt;/span&gt;&lt;span style="color:#666"&gt;=&lt;/span&gt;&lt;span style="color:#4070a0"&gt;&amp;#34;stylesheet&amp;#34;&lt;/span&gt; &lt;span style="color:#4070a0"&gt;href&lt;/span&gt;&lt;span style="color:#666"&gt;=&lt;/span&gt;&lt;span style="color:#4070a0"&gt;&amp;#34;{{ &amp;#34;&lt;/span&gt;&lt;span style=""&gt;/&lt;/span&gt;&lt;span style="color:#4070a0"&gt;assets&lt;/span&gt;&lt;span style=""&gt;/&lt;/span&gt;&lt;span style="color:#4070a0"&gt;css&lt;/span&gt;&lt;span style=""&gt;/&lt;/span&gt;&lt;span style="color:#4070a0"&gt;main&lt;/span&gt;&lt;span style=""&gt;.&lt;/span&gt;&lt;span style="color:#4070a0"&gt;css&lt;/span&gt;&lt;span style=""&gt;&amp;#34;&lt;/span&gt; &lt;span style=""&gt;|&lt;/span&gt; &lt;span style="color:#4070a0"&gt;relative_url&lt;/span&gt; &lt;span style=""&gt;}}&amp;#34;&lt;/span&gt;&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"&gt; 8&lt;/span&gt;&lt;span&gt; {%- feed_meta -%}
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"&gt; 9&lt;/span&gt;&lt;span&gt; {%- if jekyll.environment == &amp;#39;production&amp;#39; and site.google_analytics -%}
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"&gt;10&lt;/span&gt;&lt;span&gt; {%- include google-analytics.html -%}
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"&gt;11&lt;/span&gt;&lt;span&gt; {%- endif -%}
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"&gt;12&lt;/span&gt;&lt;span&gt;&amp;lt;/&lt;span style="color:#062873;font-weight:bold"&gt;head&lt;/span&gt;&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;in the file above I added a link to my css file - which is built from main.scss in the assets/css folder.&lt;/p&gt;</description></item></channel></rss>