Cleared SSD Speedway.
-
-
-
๐ Journal
-
Raccoon City Recruit – Dead by Daylight โข Set 2
In a public match, repair the generator on the 1st floor of the RPD stationโs main hall and escape.
-
๐ Journal
I just successfully submitted my first test-driven package to the PHP packagist repository. It’s just a little Laravel validation rule object for validating a hmac hash against a configurable group of key / value pairs.
Am aiming to do a proper write up and possibly even a little video explaining it.
-
-
-
-
๐ Journal
Migrating my website to Statamic
I love Laravel.
I also really like WordPress, for what it is. So when it came to originally putting my personal site together I just wanted to get a simple WordPress site together.
I have attempted to build my own website and blog in Laravel from scratch multiple times over the years. I even stuck with a build for a while but ultimately went back to WordPress.
My issue was only down to the fact that I wanted to write more in my own time and found I spent most my time tinkering.
But I really love Laravel.
So imagine my joy when I came across Statamic. Statamic is a CMS package that can be installed into a Laravel site and just works seamlessly alongside you Laravel code.
I am in the process of rebuilding my personal site and will be getting it live as soon as I can.
I think I will migrate my current site to a new domain, something like “davidpeach.me”, and then use the 4042302 technique to ensure my old posts are still found as I migrate the posts over.
I’m really looking forward to getting creative with Statamic and then layering on all of the excellent Laravel features as a way to learn as much, and refresh my mind, about my favourite framework.
-
๐ Journal
-
๐ Journal
I remember the day clearly — a Udemy meme
I remember the day clearly… It was the one day in the year that Udemy didn’t have a 90% sale on.
Original meme inspired by Ronnie Corbett’s famous line.๐ท๏ธ Memes
-
๐ Programming
Giving a flatpak program access to home directory on Linux
List out all of your installed Flatpaks and copy the “Application ID” for the Flatpak you want to give home directory access to.
$ flatpak list
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
.To give Insomnia access to your home directory, run the following:
flatpak override --user --filesystem=home rest.insomnia.Insomnia
Notes
My knowledge of Flatpaks is limited so apologies if I end up being incorrect here.
Flatpak’ed programs are self-contained installations that are sheltered from the system they are installed on. (Linux / security geeks may need to correct me here).
By default, they don’t have access to the filesystem of your computer.
I needed to give my own installation of Insomnia access to my system (just the home directory in my case) so that I could upload a file to it. The command above gives me that result.
Other online tutorials
There are some tutorials I’ve seen online that mention similar solutions, except using
sudo
and not including the--user
flag. This didn’t give me the result I was needing.You see, without the
--user
flag, the command will try to update the Flatpak’s global configuration — which is why it needssudo
privileges.But by using the
--user
flag, we are only affecting the configuration for the current user, and so thesudo
is not needed.๐ท๏ธ Linux
-