Guides
-
Connecting to a VPN in Arch Linux with nmcli
nmcli is the command line tool for interacting with NetworkManager. For work I sometimes need to connect to a vpn using an .ovpn (openvpn) file. This method should work for other vpn types (I’ve only used openvpn) Installing the tools All three of the required programs are available via the official Arch repositories. Importing the…
-
Installing and setting up github cli
What is the github cli The Github CLI tool is the official Github terminal tool for interacting with your github account, as well as any open source projects hosted on Github. I’ve only just begun looking into it but am already trying to make it part of my personal development flow. Installation You can see…
-
Adding Laravel Jetstream to a fresh Laravel project
I only have this post here as there was a couple of extra steps I made after regular installation, which I wanted to keep a note of. Here are the changes made to my Inventory Manager. Follow the Jetstream Installation guide Firstly I just follow the official installation guide. When it came to running the…
-
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…
-
Starting a new Laravel 9 project
Whenever I start a new Laravel project, whether that’s a little side-project idea or just having a play, I try to follow the same process. I recently read Steve’s post here on starting your first Laravel 9 Application, so thought I would write down my own setup. Whereas Steve’s guide walks you through the beginnings…
-
Given, When, Then — how I approach Test-driven development in Laravel
Laravel is an incredible PHP framework and the best starting point for pretty much any web-based application (if writing it in PHP, that is). Along with it’s many amazing features, comes a beautiful framework from which to test what you are building. For the longest time I cowered at the idea of writing automated tests…
-
Preview Laravel’s migrations with the pretend flag
Here is the command to preview your Laravel migrations without running them: Laravel’s migrations give us the power to easily version control our database schema creations and updates. In a recent task at work, I needed to find out why a particular migration was failing. This is when I discovered the simple but super-useful flag…
-
Giving a flatpak program access to home directory on Linux
Categories: GuidesList out all of your installed Flatpaks and copy the “Application ID” for the Flatpak you want to give home directory access to. Let’s assume we want to give the program “Insomnia” access to our home directory when it is used. The second column is the Application ID. The application ID for Insomnia is rest.insomnia.Insomnia.…
-
Setting up Elasticsearch and Kibana using Docker for local development
Categories: GuidesHow to set up Kibana and Elasticsearch locally, within Docker containers.
-
Install MongoDB with Docker for local development
Categories: GuidesPull the docker image for mongo down to your computer. docker pull mongo Run the mongo container in the background, isolated from the rest of your computer. # Command explained belowdocker run -d -p 27017:27017 –name mongodb mongo -v /data/db:/data/db What I love about this approach is that I don’t start muddying up my computer…
-
Bulk converting large PS4 screenshot png images into 1080p jpg’s
Categories: GuidesA niche example of how I bulk convert my screenshots to make them more website-friendly.