Latest Posts

  • A Simple Clock Progressive Web App

    A Screenshot of my clock app.

    I built a simple clock app and made it into a progressive web app over the last week. I’m back playing with web development and JavaScript and wanted to see how siple it was to make a Progressive Web App (PWA). It turns out it was fairly simple, I used this guide over one freecodecamp.org, I love that site. I just took out the bits I needed from the article and adapted them to my own JS Clock. I actually ended up hosting the Clock and azure too, which was a nice little additional learning exercise, not really much to earn it’s very plug and play from the github source code. Have a look at the source if you like, let me know if you think I can make some improvements, I’m just learning JS. The app can be found linked on my projects page and here: https://clock.securelee.uk

  • iOS Custom URL for VPN and DNS Shortcuts

    I was trying to get an easy way to automate toggling my Wireguard VPN conection on and off when I left the house or for certain times of day. Unfortunately wiht the standard iOS settings or the Wireguard app there is no way to autmoate this that I have found. I did however discover some custom URLs for getting to certain VPN and DNS settings via shortcuts. So I can get all the way to the VPN setting but there is no way to make it toggle as far as I can tell. here are all the URL’s I discovered while looking into this, as most guides still refer to the VPN shortcut the old way. I found this list useful in my research, though it is out of date.

  • My first Capture the Flag

    CTF Leaderboard

    I have recently been participating in the UK Governments Upskill in Cyber initiative, which I have completed my SANS GFACT and GSEC exams. As a celebration of the end of the learning part of the course they put on a Capture the Flag event for us. It was my first time participating in such and event, though I had played First Person Shooters but this is something very different.

  • I passed my GSEC Exam today

    GFACT Passed

  • Setting up Wireguard for a personal Virtual Private Network.

    The terminal on my mobile phone shown an ssh session to my home network over mobile using wireguard. I just wanted access to my PiHole on my mobile when out of the house so I could get the tracking benefits when out of the house. I was surprised to find Wireguard was relatively simple to set up configure and deploy for my small use case of a desktop, Raspberry Pi, Mobile, iPad, and laptop. I did run into a small issue with a typo in my config file, which took me an hour to spot, even after I’d spotted it in the script I created to automate adding peers.

  • ZSH style autocomplete in PowerShell with PSReadline

    I went looking for a way to get ZSH style AutoComplete where it shows commands from youor history as you type and you can complete with a tap of the right arrow. And I came a cross PSReadline, a powerful PowerSHell model that does autocomplete exactly how I wanted it and so much more. I am using it mostly for the autocomplete functionality but if you have a read through it’s default profile, there are some great additional things it can do.

  • Ubuntu 22.04, a Goodix Fingerprint Reader, and an XPS 13

    I had a really annoying problem where I couldn’t get the fingerprint reader working on my Dell XPS 13 after installing Ubuntu 22.04. Turns out there was a bug in the released drivers and Dell hadn’t picked it up when certifying the release for this device. My fingerprint reader is a Goodix Technology one, which doesn’t offer open source drivers itself either so couldn’t fall back to those.

  • Auto list contents after changing directory

    Hot tip if you use zsh, which I do. I pretty much always want to list the contents of a directory after I cd into it, which you can achieve using zsh hook functions. Just add the following to your .zshrc and your good to go, this can be used to run any command you like after a directory change.

    function chpwd() {
        ls
    }
  • Generating and Adding SSH Keys

    I always forget to transfer my keys and never remeber the command s to generte new ones, So here are my basic instructions for generating SSH keys and setting them up with Github and a server.

  • Enable full right click context menu in Windows 11.

    To enable the full right click context menu in Windows 11, hat tip to PC Pro a paper magazine I still get occasionally.
    Go to the registy key:
    HKEY_CURRENT_USER\SOFTWARE\CLASSES\CLSID

  • Using CMD to create individual archives of multiple folders.

    Using the command line in Windows to create and individual zip archive of multiple folders.

  • Docker volume location in WSL2

    The location where Docker stores the data for volumes created when using it in WSL2 mode:

    \\wsl.localhost\docker-desktop-data\data\docker\volumes

    This has moved several times over it’s lifetime so far and may move again in the future.

  • I passed my GFACT Exam today

    GFACT Passed

  • Setting up ZSH on linux with antigen and powerlevel10k

    My Shell

    Here is my setup for my shell in linux, I use antigen to manage plugins and Powerlevel10k them by Roman Perepelitsa. All commands assume you are in your home directory.

    First things first is to install some dependencies (some others that I always need installed too):