When you try to decrypt something with a GPG that has a password, the OS you're using will prompt you to enter that password. Some operating systems, like PopOS, have a pop-up style prompt for you to enter the password. I don't like this, and much prefer the terminal prompt.
The printer-spooler in Windows 10 is all kinds of fucked, and is a common entry-point for attackers into a W10 system. The best protection right now is to just turn it off until you need to print something.
MacOS has the ability to create multiple virtual desktops. I find this feature super handy because it allows me to have separate desktops for separate pieces of work. Annoyingly, Apple doesn't include a built-in hot-key to create a new desktop. However, with the use of Albert, we can create a script to create a new desktop for us!
Yet another blog post about setting your background wallpaper using a bash script. I know; revolutionary stuff.
I often find myself resetting my phone, which means I have to reimport my GPG keys from my PC to the phone. And _every single time_, I go to the OpenKeychain FAQs to find the one command I need to run. So instead of doing that, I've throw that command here.
Over the years I've accumulated a bunch of crap in my music library. Lots of `DS_Store` and `.dat` files, bouncing around for no particular reason. I found out that I can clean everything up with just a couple of commands!
Wanna spin up a Lotus full-node on the Filecoin network, but don't wanna have to slog through the docs? Run these commands in order to get everything built and installed super quick.
Have a Raspberry Pi somewhere on your network, but don't know what the IP address is? All you need to do is get all the IPs on the network, and filter the ones with Raspberry Pi MAC addresses!
MacOS is silly. One of the things that makes the operating silly is it's insistency on forcing mouse controlls to _accelerate_ before moving across the page. You know the deal: you move your mouse one inch to the left very slowly, and the cursor moves about half way across the screen. But if you shift your mouse to the left incredibly fast, then the cursor will scream across the screen and hit the monitor wall.
Rsync is a command-line tool that makes copy files to and from a remote server super easy. It's also great for keeping backup folders and external drive in sync with each other.
Sometimes, you need a beefy GPU to process all the shaders in Metro 2033. And other times, you just need the integrated CPU graphics to show you a terminal window while you try to rebuild a Lotus binary on the train to Kings Cross without your battery crapping out.
By default, you cannot copy something from the terminal into ChromeOS. If you want to access the terminal clipboard, you need to install the wl-clipboard package.
New software often has a way of just appearing in your life, especially if you life is work. I recently discovered Notion.so completely by accident and through no fault of my own. It started out with an email.
A while ago, the maintainers of Git decided that git branch should act like less instead of ls. That was a terrible decision that made me very upset. Fortunately, the maintaners decided to leave a configuration option to let me change it back. Lovely.
I was messing around with a new Raspberry Pi Zero I got for Christmas, and I was surprised how convoluted it is to SSH into the device through the USB port. So I jotted down the steps and put them here.
I often fine myself needing to copy the contents of a file into the system clipboard while fiddling around in the terminal. So I created a quick little function to help me.
How to edit multiple lines at once. I created this mini-guide while using Windows and Powershell, but the information is relevant to Unix-based systems as well.
Look, I know there's a bunch of tutorials out there that show you how to Curl or Wget a wallpaper down from Unsplash. But most of them gloss over super basic stuff that I got stuck on. So I put this guide together that walks you through each baby-step.
CMUS is an incredibly simple music and media player that runs straight from the terminal. However, sometimes it can be tricky to customize and interact with. In this post, I'll quickly jump into where the config files for CMUS are and how to edit them.
Rsync is a super handy utility that makes synchronizing files between two systems incredibly simple. Unfortunately, Android doesn't allow users to use this utility straight out of the box. This post discusses why the restrictions exist and how to get around them using ADB-sync.
I experienced a weird issue with Plasma and Kubuntu (the KDE flavour of Ubuntu) recently. Plasma is the desktop environment that comes default with Kubuntu, and it built by the KDE team. It's pretty nice, and works pretty well. At least, unless you try to uninstall the Clipboard app that comes built-in with Kubuntu.
All good programmers use the terminal for literally everything, so you should use the Unix Pass manager to manage your passwords. And since Windows 10 has the ability to use Linux apps through the Windows Subsystem for Linux (WSL), you should install it and be the envy of all your nerd friends.
It's super annoying when you're scrolling down a window and press `CTRL` for whatever reason. The whole window freaks out and starts zooming in. I don't really want this to happen, so here's how to disable the scroll-zoom in Firefox.
Using the clipboard from with the Windows Subsystem for Linux (WSL) sounds like a very niche thing to do. But if you're using the Unix Pass password manager, like I do, then it's absolutely necessary. This post briefly goes over how to enable the clipboard, and some issues you might run into.
Having a paper backup of your keys is a great way to make sure you don't lose them. Yeah, you can store them on digital media like a USB stick or a CD, but there is a chance that the data could get borked. Create a paper copy and store it somewhere safe.
GPG keys are a super secure way to encrypt your stuff. If you're an idiot like me and use Unix Pass everywhere, including on your phone, you'll need to import your GPG key from your PC to your phone. So this post goes over how to import a GPG key onto your phone, if not very briefly.
This has been a long time coming. I'd like to say it's because of life-stuff, just things getting in the way. Since I wrote the original post back in 2017 (posted to Medium in 2018), I've changed jobs, moved house, moved house again, moved countries, got a house, got a new job, and now I'm moving house again. But the story about Maree Docia hasn't really changed. Until seven days ago.
Writing docs is easy. It's just a bunch of words strung together into sentences, which in turn make paragraphs. But writing docs that are so lit that they make your parents actually proud of you, that's hard to do. But fear not!
Password managers are great. Services like Lastpass, 1Password, and Dashlane are a great jumping off point for improving your online security. It's just that they're not the end-all be-all of password management, and they suffer from a lot of the vulnerabilities that other onlines services do.
CMUS is a fantastically simple music player for Unix systems. It just runs in the terminal and requires hardly any memory to run! This low memory requirement is actually why I go onto using it in the first place. Between Chrome, Slack, and VSCode, I don't have much memory left to go around in my 8gb MacBook.
This guide will quickly walk you through how to create an encrypted zip file on a Mac. Since macOS and Linux systems have a lot in common, this will likely work on any Linux distributions too.
Bored of the standard Android OS on your Nexus 5X? You might be interested in installing LineageOS, a free and open-source operating system for various devices based on the Android mobile platform. I created this post partly as a guide, and partly as a reminder for when I need to do this again in three months.
So a new Firefox version came out a few weeks ago. Everyone's been claiming that it's super fast and has overcome it's sluggish past. There's even been some journalists saying it's faster as less resource heavy than Chrome. I wanted to find out for myself, so I did a few tests.
Windows has this pretty handy feature where you can turn folders into links to other directories. For example, instead of your Documents folder existing in C:/Users/Me/Documents you could have it point to C:/Users/Me/Google Drive/Documents. That way you can just interact with your Documents folder like you normally do, but be safe in the knowledge that everything is being backed up.
Do you ever find yourself 22 folders deep into some long lost repository or Drupal theme, and need to jump into the file manager at this point to take a look at some pictures or something?
This is the second part in my never ending quest to prove that Maree Docia probably doesn't actually exist. To catch you up, Maree Docia is an artist on Spotify with a few popular tracks. However, outside of Spotify, there is no mention of Maree Docia out in the wild. This series of posts attempts to find out what's going on.
DKAN is an open-source tool for managing and displaying large public data sets like census data, or weather patterns. It can be a bit tricky to customise, so this post details my exploration into how to configure the global search bar within DKAN.
I just spent the last week listening to nothing but Hardstyle music at work. When I say that, I wasn't actually listening to it 100% non-stop, obviously. What I mean is I didn't listen to any other genre of music while working. No punk rock, no classical stuff, no spoken word. Just Hardstyle.
So, for some reason PHP's default upload size is only 2MB. This might have been large enough for most files way back in the day, but these days it's barely enough to move a .doc file around. Here's how to change it to whatever you like.
Hidden in the depths of Spotify exists a track called "At Last, Sunrise". It's slightly over two minutes long so if you have a Spotify account I recommend giving it a quick listen. Even if you're not into classical music, give it a go. It's only two minutes long.
For some reason, clicking the middle mouse button in Ubuntu will paste whatever you have copied to your clipboard. I don't like this. So, here's how to disable that feature, since there isn't an easy way to disable this feature through Ubuntu settings. Fun.
This post dives into how I grabbed some fancy data out of a very old, and fairly inaccessible, dataset.
This week I ran into an issue with clean URLs (essentially an SEO friendly URL, so no question marks, equals signs, etc) in DKAN. I stumbled onto this while attempting to fix an issue with the DKAN datastore.
DKAN is an open-source tool for managing and displaying large public data sets like census data, or weather patterns. This post runs through how to set up DKAN on a LAMP stack.
We're going to quickly run through how to set up a backup and restore procedure for your DKAN installation.
In this guide I'm going to _very quickly_ run you through how to install DKAN on a Ubuntu 16.04 server.
CKAN relies on libapache2-mod-wsgi to run various bits and bobs. Unfortunately for me, I've run into an issue.
This post covers how to build and run CKAN from source, in case you're not a fan of using pre-built binaries.