When administering a Confluence Cloud instance, we encountered the issue where I needed to use the API to check every space’s permissions. However, in Confluence’s REST API, you need to have “Read” permissions on a space to be able to read the permissions. To get this access, you can (as an admin) go to the […]
Author: Jay Tuckey
Systems Administrator
I wrote a tool recently that allows taking log files from the Cisco-managed S3 bucket, and outputs each log line as a Syslog message, with the content of the log line as a JSON-formatted message. Details of the Cisco-managed S3 bucket are here: https://docs.umbrella.com/deployment-umbrella/docs/cisco-managed-s3-bucket Once logged onto disk, the output of this tool looks like: […]
suspend-then-hibernate is a neat feature in systemd that allows a computer to suspend (aka sleep) for a period of time, then wake up, and hibernate. To configure this required a few steps on KDE Neon, though: Configure Hibernate To configure hibernate, you need to have a swap partition that is as large as your system’s […]
I’ve recently been playing with the Hyperscript (https://hyperscript.org/) tool, and I’ve been really liking it. I set myself the challenge of making a HTML form, and adding the ability to add tags to the form. So how might we achieve this? Lets start with a simple HTML form: Now how can we send the tags? […]
To backup my server I uses a tool called restic (https://restic.net/) – It’s great. I’ve recently been testing out using MEGA (https://mega.io/) as the backend storage for my backups, and to integrate that with restic, you use rclone (https://rclone.org/) as a storage driver. Sounds complicated, but it’s really not:restic –talks-to–> rclone –talks-to–> mega However, during […]
NOTE: This is no longer needed! ? KDE Neon have now rolled out the latest version of xdg-desktop-portal in the normal repo, which fixes the problem. Note the version is v1.14.1 and the repo is archive.neon.kde.org Old Guide: I’ve been testing the new Wayland session in KDE Neon, and it’s working pretty great, but one […]
When trying to debug OSPF issues recently I found a set of excellent video tutorials from Darrell Root: https://www.youtube.com/c/DarrellRoot – I believe this is his website: https://networkmom.net/CiscoHandsOnTraining/ He has a playlist of videos called Cisco Hands-On Training: https://www.youtube.com/playlist?list=PLueKg14298FzreJSTGtMFIGdu10GLnT6z I found his videos super helpful, and a very clear explanation of how OSPF works, and how […]
I run nextcloud on my home server. The primary purpose is for file sync, which I also use to back up my photos from my Android phone, and also I use the Notes app synchronised with my phone. Here’s a bottom-up description of the server setup. The Server Hardware The server is an old desktop […]
Series Part 1: https://jaytuckey.name/2021/07/22/trio-tutorial-simple-tcp-chat-program-part-1/ Part 2: https://jaytuckey.name/2021/07/24/trio-tutorial-simple-tcp-chat-program-part-2/ Part 3: https://jaytuckey.name/2021/07/24/trio-tutorial-simple-tcp-chat-program-part-3/ In part 4 we look into making the server handle disconnections without crashing. We also look into how me can make messages quicker to distribute. For this code we use the trio functionality to wait for limited time for a task to complete, by using […]
Series Part 1: https://jaytuckey.name/2021/07/22/trio-tutorial-simple-tcp-chat-program-part-1/ Part 2: https://jaytuckey.name/2021/07/24/trio-tutorial-simple-tcp-chat-program-part-2/ In part 3 we build more of the server. We build out the functionality to receive messages, then distribute them to all connected users. For this part we use Trio’s nurseries to start up new running tasks: https://trio.readthedocs.io/en/stable/reference-core.html#nurseries-and-spawning We use the nursery.start_soon() function to kick off new tasks […]