Deploying Hugo site from Github

Just some quick notes on this - as everytime I setup a new server I forget some steps! Stick the Hugo executable somewhere on the server. Use the following PHP deploy script from here, published below in case it ever goes offline. /** * Automated deploy from GitHub * * https://developer.github.com/webhooks/ * Template from ServerPilot (https://serverpilot.io/community/articles/how-to-automatically-deploy-a-git-repo-from-bitbucket.html) * Hash validation from Craig Blanchette (http://isometriks.com/verify-github-webhooks-with-php) */ // Variables $secret = getenv('GH_DEPLOY_SECRET'); # Paul note: Best to set environment variable - avoid setting here....

Saturday, 14 January 2023 · 3 min · Paul Smith

Mastodon behind an Apache reverse proxy

I’ve noticed a lot of new Mastodon server admins struggling to get Mastodon, either inside or outside of Docker, to properly work behind an Apache reverse proxy. A lot of them seem to be running into “ERR_TOO_MANY_REDIRECTS” or “403 Forbidden”. As the recommended configuation is behind Nginx there isn’t much documentation for getting this working with Apache. Although I run my main private instance through Nginx, I do run an a very small public instance behind Apache....

Sunday, 20 November 2022 · 1 min · Paul Smith

Tesco scrap free electric vehicle charging

Tesco have introduced fees to use their electric vehicle chargers! I can finally get to the chargers on my Saturday morning grocery shop! I’ve had an electric vehicle for a couple of years now, back in the good old days there was myself and one other guy using the chargers every Saturday morning, we’d get maybe 4 or 5 kWh of electric for free while we were there doing the shop - enough for around 20 miles of range, not a big deal but nice to have every week....

Saturday, 12 November 2022 · 2 min · Paul Smith

Mastodon username without a subdomain

This week I’ve been experimenting with getting a Mastodon instance up and running and the best way of doing this. One of the things I’ve wanted to do which very few instances seem to implement, is running the Mastodon instance on subdomain.domain.tld yet using name @ domain.tld for the usernames, that’s got to be possible right? Yes it is! If you edit the Mastodon env.production file and use the following:...

Saturday, 12 November 2022 · 2 min · Paul Smith

Paying for blue checkmark on Twitter

There’s been a fair amount of criticism directed at Elon Musk over potentially charging users for account verification on Twitter after he acquired it a few days ago. The current proposal going around is that users will pay $8 a month for their blue checkmark. At the moment it is free. However the problem with it today is that Twitter essentially decide who is worthy or not of having a blue checkmark....

Wednesday, 2 November 2022 · 2 min · Paul Smith

Website removed from Bing search results?

I was doing a bit of work today on a couple of websites, including this one and noticed a drop in traffic from Bing. Initially I thought this might be related to the website re-design which was rolled out February 6th. However it looks like the problem goes back to November, when traffic suddenly dropped off. De-indexing looks like it started January 16th and was complete 4th of February with now no pages from dasmirnov....

Monday, 14 March 2022 · 3 min · Paul Smith

Is PhenoFX a scam crypto website? Yes, don't get scammed

Someone I know recently got scammed by an alleged crypto trading platform, after seeing a fake advert/article claiming Elon Musk had invested $12 million into this new trading platform. They knew I was into crypto, so probably thought they’d be willing to yolo £50 into Bitcoin and see what happens, of course the sensible thing would have been to talk to me about it and use my referral links for actual crypto exchanges....

Monday, 14 March 2022 · 3 min · Paul Smith

Coinbase and account under review

Quick blog post of my experiences of using Coinbase this year. Signed up in early January as I needed somewhere to exchange some cryptocurrency, submitted my required ID and waited, and waited. A month later I submit a support ticket, get a generic stock answer, explain how they’re busy and it’ll be reviewed when they can. Ticket closed, despite issue not resolved. Fair enough, I wait another two months and submit another support ticket asking how long this will take and if there is anyway they can expedite this....

Saturday, 11 September 2021 · 3 min · Paul Smith

Workaround for raytracing performance issues in Minecraft

I’ve been playing a bit of Minecraft this weekend and noticed much worse raytracing performance than previously. After a bit of investigation it looks like a regression was introduced with 1.16.220 which has substantially reduced performance, dropping from around 90+fps to 30ish, this is on an RTX 3080 with DLSS turned on at 3440x1440. After a bit of troubleshooting it looks like its related to v-sync, changing: gfx_vsync:1 to gfx_vsync:0...

Sunday, 2 May 2021 · 1 min · Paul Smith

CityFibre/Zen 900Mbps install and initial impressions

In 2020 CityFibre started digging up parts of Worthing to install Fibre to the Premises (FTTP), they sell this wholesale to ISPs, similar to BT Openreach. Their network allows for gigabit-ish speeds. The main difference for consumers however is CityFibre offer a symmetrical connection for residential and not just business customers, so around 900Mbps down and up. In comparison BT Openreach FTTP residential packages offer around 900Mbps down and 100Mbps up....

Monday, 26 April 2021 · 3 min · Paul Smith