Articles

Set up a global .gitignore file

A global gitignore file can be handy to automatically hide common files from projects that you work on. I typically use this for files that are specific to me and my local setup. First create the file that you want to use for your global .gitignore file.

Tags Git Programming Terminal

I have decided to get back into tinkering with my Raspberry Pi.

I will be blogging my journey as I stumble through my initial playing, through to building out my first proper homelab.

This first Raspberry Pi (model 2b) will be initially used as both a wireguard VPN server and a local DNS server.

Tags Programming homelab Linux

How I organize my Neovim configuration

The entry point for my Neovim Configuration is the init.lua file. Init.lua My entrypoint file simply requires three other files: The user.plugins file is where I'm using Packer to require plugins for my configuration. I will be writing other posts around some of the plugins I use soon. The user.options file is where I set...

Tags Programming Dotfiles Neovim Vim Web Development

Started working on a side project I’m calling “Pitch”. It’s an end to end encrypted website starter inspired by SiteJS by the Small Technology Foundation.

Got a basic vue app set up with the vue-cli but now can’t work out why my private key generator sometimes returns what I expect — a Uint8Array — and more often a mess of random characters.

Am I misunderstanding something I wonder?

Tags Programming Web Development Encryption Pitch

Setting up my own labs

I’m going to begin setting up my own “labs” area to play around with various web technologies.

For the longest time now I have been holding myself back quite a bit by only really learning technologies around current roles at the time and for my own personal site. This has mainly revolved around Laravel and to a lesser extent WordPress.

Whilst I will continue to love both of those projects, I do want to start pushing myself to learn things that are completely out of my comfort zone.

I will also begin writing more about my learning, discoveries and new things that excite me in web development — something I haven’t done for a long while.

Tags Programming My Website

Bulk converting large PS4 screenshot png images into 1080p jpgs

I tend to have my screenshots set to the highest resolution when saving on my PlayStation 4.

However, when I upload to the screenshots area of this website, I don’t want the images to be that big — either in dimensions or file size.

This snippet is how I bulk convert those images ready for uploading. I use an Ubuntu 20.04 operating system when running this.

# Make sure ImageMagick is installed
sudo apt install imagemagick

# Run the command
mogrify -resize 1920x1080 -format jpg folder/*.png

You can change the width<strong>x</strong>height dimensions after the -resize flag for your own required size. As well as changing the required image format after the -format flag.

Tags Programming Linux Web Development Command Line