How To Archives

How to cancel you Amazon Prime Video Channels

I really like the how Amazon let you add new channel subscriptions to the existing Prime Video library. Julia and I are having great fun channel hopping through various British catalogues and catch up on UK telly. So far we’ve had Acorn TV, PBS and Britbox. What we don’t particularly like is that certain shows … Read more

How to embed your latest YouTube Video with responsive CSS

I’ve recently had to update the code that’s responsible for pulling in my latest YouTube upload on the front page. I had previously used a solution that uses the channel name rather than the channel ID. Apparently that API has stopped working and I had to find a workaround.

In addition to making it work again, I also wanted my embed to be responsive and look handsome on all screen sizes. The trouble is that regular iFrame embeds use a static size for the video (like 600×360 or 800×480), but being the future-proof thinking kind of guy that I am, I wondered if there was a way to make this dynamic. The “height=auto” trick didn’t work for me, but thankfully I came across a great piece of CSS that adds this feature.

Let me show you both parts to solving this puzzle.

Read more

How to recover from a 6-beep BIOS error on a HP Z600 / Z800 Workstation

Funny story: I was setting browsing through the Z600 BIOS today trying to optimise an issue I was investigating, when I came across an interesting option I thought I’d fiddle with: the PCI-e compute option. You can find it under Advanced PCI options I believe. I thought perhaps it’ll turn my two GPUs on the … Read more

How to get the URL to your next Live Stream on YouTube (stream now)

YouTube’s Studio “forever Beta” interface is in a continuous state of disarray. At the time of writing, and since 2018, we’re seeing a partially upgraded interface with plenty of deep links into the older YouTube Classic experience. 2020 is almost half over, and YouTube have upgraded half of the Live Streaming experience (Events). However, the Stream Now option is still Classic, and as such has a few issues that won’t be fixed (until we see the rest of YouTube’s upgrade… at some point in the indeterminate future).

The issue that I sometimes have is to find the URL to my new Stream Now live stream. With events it’s not a problem, but Stream Live Classic will often show us the generic live URL to our channel (say https://youtube.com/TheWPguru/live) rather than a direct URL with an ID. It entirely depends on the channel. On some you’ll see this (generic):

where you’d really like to see this (direct ID):

The latter is preferred because you can start chatting with people before you go live, and you can give out this link before the event begins. Although the generic live URL will work, the event will not be accessible when you start streaming the next time.

Thankfully, there is a way to extract the correct direct URL from the new YouTube Studio interface, but it’s not entirely obvious. Here’s how to grab it:

Read more

SVN Command Line Basics

I keep forgetting SubVersion basics from the command line, and thought this quick little cheat sheet might come in handy. I’ll cover the basics: checking out updating your local copy checking current file status committing a change adding a file removing a file Checkout Out To make an initial copy of an online repository, we … Read more