Blog

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

Posted by on 9:05 pm in Knowledge Base | Comments Off on 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...

read more

How YouTube trimmed my 3 hour video to a 6 second clip – Funny Fail Story

Posted by on 6:30 pm in Knowledge Base | Comments Off on How YouTube trimmed my 3 hour video to a 6 second clip – Funny Fail Story

I wanted to share a tragically funny YouTube story with you. It has to do with a copyright claim I’ve received on one of my recent Twitch streams, and a “helpful” tool YouTube offer to alleviate such a problem. Grab a coffee and prepare to be amused. I was playing Cube Escape: Paradox on Twitch, and we really got into it. It’s an exciting TwinPeak-esque game with a very atmospheric soundtrack. In fact, the first part is free to play, and there’s a free movie you can watch too. Twitch only saves game broadcasts...

read more

How to transfer Stardew Valley save files between PCs, Macs and iOS Devices

Posted by on 2:45 am in Knowledge Base | Comments Off on How to transfer Stardew Valley save files between PCs, Macs and iOS Devices

I love Stardew Valley, and it’s super exciting that save games can be transferred between multiple platforms. It’s not difficult if you know how, but sometimes it’s the little things where you get stuck – so before I forget again, here’s what I’ve been able to transfer and how. I have the game on PC (from Steam) and from the Apple App Store on multiple iOS devices. I’ve also got it working on my Mac, and I can transfer my game onto all these platforms. The game saves themsevles are text files inside a...

read more

What is the path to .NET Core SDK on macOS

Posted by on 3:57 pm in Knowledge Base | Comments Off on What is the path to .NET Core SDK on macOS

I thought I’d look into C# development for a bit, and the first hurdle I came across is that I didn’t know the path to the .NET framework when I tried it out on my Mac. I did some digging and found that after installing it from here, the framework (SDK and Core Runtime) are installed here: /usr/local/share/dotnet/dotnet Super! I should now be able to call the dotnet command from a Terminal window, but for that I need to add that path to my $PATH variable. Yes… how do I do that again…? Adding dotnet to your local PATH...

read more

Removing the latest Kernel in CentOS

Posted by on 7:05 pm in Knowledge Base | Comments Off on Removing the latest Kernel in CentOS

I’ve had a power cut recently, which seems to have corrupted the latest Kernel I have installed on my CentOS 6 server. I can boot into the previous one just fine, but of course if I forget to make a choice on startup, the server doesn’t start up. That’s annoying. Thankfully there are ways to either fix the latest version, remove it, and even exclude a particular version from future updates. Here’s what worked for me on CentOS 6: What Kernel are we using To figure out which version is working for us, we can use the...

read more

Including Custom Posts on Archive Pages in WordPress

Posted by on 10:44 pm in Knowledge Base | Comments Off on Including Custom Posts on Archive Pages in WordPress

By default, Custom Posts don’t show up on regular Archive Pages. They still show regular posts, but none of the Custom Post Types are included. I suppose you’d have separate pages with custom queries for that. In my project however, which consists mainly of Custom Posts, it made sense to use the regular WordPress queries to simply include my Custom Posts. I found an elegant solution that makes this happen: // add game posts to regular WordPress queries function guru_add_games_to_query( $query ) { if ( $query->is_archive() ++...

read more

Accessing Custom Taxonomy of a Custom Post Type in the_loop

Posted by on 7:34 pm in Knowledge Base | Comments Off on Accessing Custom Taxonomy of a Custom Post Type in the_loop

I was wondering how to access the custom taxonomy of my custom post types so it can be mentioned in the_loop. To continue my example from earlier posts, I have custom post type of “game”, with a custom taxonomy of “platform”. When I list a game, I’d like to show the platform in a list after its title. On regular posts, I have access to access to both categories and tags using the get_the_category() or get_the_tags() functions. For my project I have a custom query for the custom post type, and I’m using a...

read more

How to fix “active developer path does not exist” with git on macOS

Posted by on 12:13 pm in Knowledge Base | Comments Off on How to fix “active developer path does not exist” with git on macOS

I’ve recently removed Xcode from my ageing MacBook. Ever since then, I’m getting an error when I try to run git from the command line. The error goes something like this: xcrun: error: active developer path ("/Library/Developer/CommandLineTools") does not exist That’s because Xcode had installed several command line tools provided by Apple, and one of them was Git. I thought simply installing it via Homebrew would do the trick but alas that too brings up an error message, albeit a different one. Somewhat...

read more

How to add FTP sync in Visual Studio Code

Posted by on 4:06 am in Knowledge Base | Comments Off on How to add FTP sync in Visual Studio Code

To my delight I found out how to add an FTP destination to Visual Studio Code. It’s an extension called sftp by liximomo, available for free from the VS Marketplace. Here’s how to install, configure and use it on both Mac and Windows. Obtain it by selecting the extensions symbol in the sidebar (the bottom one, consisting of four little squares) and enter sftp in the search box. Click the green install option to proceed. Select View – Command Palette to open another scary menu, then type sftp. This will bring up a list of...

read more

How to add the path to PHP in Visual Studio Code

Posted by on 5:24 pm in Knowledge Base | Comments Off on How to add the path to PHP in Visual Studio Code

I’ve recently started using Microsoft’s Visual Studio Code on my Mac. It works great, and I really like its simple useful features. The installation and most of the configuration worked flawlessly on my Mac and I was up and running very quickly. I had assumed it would be the same on Windows, but of course that wasn’t the case. Nothing is ever easy in Windows, is it? The error I got was with two PHP extensions: PHP Executable not found. Install PHP 7 and add it to your PATH or set the php.executablePath setting. Hey sure, I...

read more