How do I 'hugo new' remotely, to create new posts?

Today I moan about my Amazon/Aqara disappointment on the Facebook HA UK group, and ask the group what they think I should do.

Hugo

Until now, I was struggling to work out how the home page of the Ananke theme example site displayed the ‘Articles’ link at the top of the page. Adding this line to hugo.toml made a really useful difference:

sectionPagesMenu = 'main'

Thanks to Harry Cresswell for the help.

How do I ‘hugo new’ remotely, to create new posts?

Further Reading

Git Tower Hugo Context Example

[Read More]

Aqara

Aqara

I ordered a few items during Amazon Prime Day.

  1. Aqara Smart Radiator Thermostat E1 x 2
  2. Aqara Smart Hub E1
  3. Aqara Motion Sensor P1

Only the radiator valves were delivered by Amazon but not the hub or the motion sensor although their website and app say it was all delivered. The valves don’t work without the hub, so I’ll be sending them back because I’d rather not pay full price for the hub and sensor which is what Amazon suggested. Very disappointing.

[Read More]

Snap on ChromeOS

Snap on ChromeOS

git update-index –chmod=+x install-nodejs

install-nodejs install-vscode linux-update README.md

Snap

Snap

Snap is OK on Ubuntu. What about Debian?

On ChromeOS sudo apt install -y libsquashfuse0 squashfuse fuse sudo apt install -y snapd

An early start (for me)

An early start (for me)

I was up before six this morning. ChromeOS on my PC was unresponsive and “git pull” in the Ubuntu 22.04.2 LTS WSL just hung. The problem was the VPN by Google One was blocking connections.

sudo snap install –classic –channel=1.20/stable go sudo snap install hugo

Further Reading

https://github.com/theNewDynamic/gohugo-theme-ananke

Can I avoid git submodule?

There’s been some progress

Years ago a cousin, who runs a small business, fell victim to ransomware; before ransomware was known to be a real thing. I could barely believe it at the the time because I thought those sort of criminals only targeted bigger fish. I was wrong and it cost the business a considerable amount of money to resolve the problem. Trying to deal with the issue with antivirus/antimalware software after the fact was a waste of time. Since then my security awareness has been heightened, but the passphrase on my ssh setup is overkill so I’ve removed it for now.

[Read More]

Chromebook Flex vs Windows 10?

Chromebook Flex vs Windows 10

I have a Lenovo K450 PC running Windows 10 in my office (spare bedroom) and an old Samsung laptop running ChromeOS (Chromebook Flex) in the living room.

I use Ubuntu 22.04.2 LTS app (via WSL) on Windows 10 and use the Penguin Debian subsytem (via Terminal) on ChromeOS.

I hope to use GitHub to keep my two systems synchronised as I develop this blog.

Starting up Ubuntu on Windows is so much slower than starting up Debian on Chromebook Flex

[Read More]

What inspired this blog?

What inspired this blog?

I’ve been a computer programmer for most of my life1. I’m a fan of Stack Overflow as a great place to ask questions about any problems I bump into while developing code. Recently I’ve been working on Google Apps Script and I noticed one name that often gave me good answers to my question was Tanaike; his page on Medium listed some other scripts that I thought were quite interesting. I liked the look of his about Tanaike web page which prompted me to look behind the scenes on that page. The page was generated by Hugo, and the Hugo theme being used appears to be Blackburn, created by Yoshiharu Yamashita. I had a play with the instructions on the Hugo quickstart page and I quite like how fast it is, even on my dated hardware. The missing detail about the layouts setup took me a little while to work around.

[Read More]