Set up a global .gitignore file
Tags Git Programming Terminal
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
Tags Git Programming Terminal Github Linux Workflow 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 Docker Web Development Elasticsearch Kibana
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
sudo find . -type d -exec chmod g+rwx {} +
sudo find . -type f -exec chmod g+rw {} +
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