Jay is a medical miracle known as a Super Survivor. He runs two YouTube channels, five websites and several podcast feeds. To see what else he's up to, and to support him on his mission to make the world a better place, check out his Patreon Campaign.
When you drag more than one image into a WordPress Post, the Gutenberg editor is nice enough to arrange your pictures as a gallery. By default however, the link target of the thumbnails it generates is set to “none”, which means that when users click on your images, they’re not seeing a full size version. Instead, nothing happens.
That’s probably not what 99% of all users expect to happen.
It is possible to change this in the sidebar to either Media File or Attachment Page, however if you’re like me and tend to forget that you need to make this change, or if you’re uploading a large number of galleries, it would be handy to have Media File as the default behaviour.
Thankfully there is a way to enable this with a little hack, courtesy of this Stack Exchange post by Tomas. By adding the following function to your child theme’s functions.php file, Gutenberg will behave slightly differently.
I’m saying it’s a “slight hack” because Gutenberg will now start with a gallery module at the top of your post, with the new default link behaviour set to Media File. Ordinarily the first module is a paragraph module that allows you to start typing, so if you’d like to write some text before showing off a gallery, you’ll have to manually insert one.
It depends on if this is what suits your needs, but I came across this solution and tested successful, thought it might come in handy in the future and sharing it with you and my future self at the same time. There are some other interesting ideas in that post too if you’d like to have a fiddle.
I like grabbing video footage from OBDUCTION for holding loops and phenomenal backgrounds from time to time. However, by default, the big white cursor circle is in the middle of the picture. That’s handy for interactions of all kinds, but for a full screen video capture, I’d rather it would be switched off for a few seconds.
I had done this successfully a few weeks ago and have since forgotten (of course). Now that I’ve just remembered through trial and error, I thought I’d best make a note of it.
enter the game’s Settings Menu
switch Cursor Mode to Unlocked (my default was Locked)
Now when you move the camera round, the cursor will disappear when you stop moving. Switch it back to Locked if you’d like to keep playing the game.
If you’re using a game controller, you can also temporarily switch these two stats by pressing the right thumb stick in. Once done, move your character with the left thumb stick and the cursor will disappear.
Discord invitations can either be set to expire automatically after a given amount of time, or they can be set to “never expire”. The latter ones are great if you give the link to select users only, however sometimes you might just want to disable them manually.
Here’s how to do that in Discord for Desktop (Windows and Mac).
Right-click on your server’s title and choose Server Settings. I mean the strap at the top above all the channels, not the server icon on the left hand side.
In here, on the sidebar at the bottom left, find the Invites section, under User Management.
This will show you a list of your currently active invites. Hover over the one you’d like to revoke and click the little red X icon in the top right corner.
That’s it! Once removed, the invitation link is no longer valid, and users trying to join your server that way will receive a message.
A while ago I made a video about how to use OBS Studio for Screen Recordings. If you’re new to OBS, I recommend watching it to see how this thing works. I’ve been meaning to make an update to this and explain how to switch from one scene to another, but since it’s a complex process I decided to write this article instead. It might be easier to follow in words and screenshots.
Scenes are collections of items that appear on your (captured) screen. They allow you to craft something you’d like to show to your viewers, for example your desktop and an inset of your webcam. From time to time you may want to show something else, such as a video, or your web cam in full screen, or a zoomed-in portion of your desktop. That’s where scenes can be helpful, because each scene can show something different. You can then seamlessly switch between them with ease.
Let’s take a look at how we can make such magic happen.
In this episode I’ll show you how to successfully pair an Apple Wireless Magic Keyboard (first generation, MC184B/A) with Windows 10 (Version 1809). I’ve found so much conflicting information on the web, so I’m showing you what worked for me – in May 2019.
I’m using a HP Z800 Workstation here, with a no-frills Belkin F8T013 (early millennial vintage).
In this episode I’ll show you how to use the same USB receiver for two Logitech devices. I’m using a K360 Keyboard and an M325 Mouse. Both devices come with their own (unifying) receiver, and with a piece of software I’ll combine them to use the same receiver. This allows me to free up one USB port on my computer and avoid conflicts with other devices at the same time.
Every once in a while, users notice that the File Editor in WordPress may disappear. This has been happening for many years, and although I’ve read about this issue, it’s never happened to me – until very recently. I’m talking about the options under Appearance – Theme Editor and Plugins – Plugin Editor.
When these options are no longer showing up, it’s usually because a measure of security has ben added to your WordPress configuration file. Some plugins do this, but also some other security measures governed by your hosting administrator or server software (Plesk’s WordPress Toolkit for example).
To bring these options back, head over to your wp-config.php file and hunt for the DISALLOW_FILE_EDIT constant. When defined and set to true, the file editors will no longer show up. Set it to false and they should come back.
I love my old MacBook Pro. It does everything I want for a portable coding, writing and occasional editing device. I’ve had it since 2011 and it’s still going strong.
Apple however doesn’t want to suport it anymore. I’m stuck with macOS High Sierra, without an option to upgrade without shadowy patches. Even if I could keep up with Mojave and beyond, the hardware might just not be fast enough anymore to give me an enjoyable experience.
So I thought, perhaps I’ll put in a new hard drive that I had in another old laptop and install Windows 10 on it. Apple’s recommended way is to do all this from macOS, using their own Bootcamp setup. However, being the hacker that I am, I thought perhaps I’ll try the “Windows Only” experience.
I did this in two live streams the other night, and continued the process over the following days – and now I’ve got a (more or less working) Windows 10 installation on my MacBook Pro (early 2011 Edition). I thought I’d take some notes on how I did this step by step, and give you my opinions if this was an adventure worth undertaking.
I never noticed this before, but it appears that the Contributor Role in WordPress does not come with ability to upload files to an instance. That’s slightly weird, given that most users will probably assign this role to users who shall be able to write content for a site, and with good content inevitably come images in this day and age.
According to WordPress, the roles included with WordPress are mere examples or “capability collections” so to speak, and we’re free to create our own, or add/remove capabilities from any role if we so desire. I did some digging and found out how that the add_cap() and remove_cap() functions do just that.
In this article I’ll show you how to add the upload_files() capability to the Contributor Role, without the need for yet another plugin.
I’ve been trying to build Blender from source on CentOS for many years, but never had any luck making it work. There was always one package missing, or something else that needed to be configured. Depressed and resentful, I gave up and never got a chance to try Blender on CentOS.