Webscraping using Python

So there’s this website where they sell limited amounts of something at a very good price. Someone gave me a hint that something is going to be sold there that’s worth a lot of money on the open market, and since all the items on the website are priced according to class we know what this object will sell for. The only problem is that manually checking the site might take too long and we might miss the boat....

Using ntfy.sh for notifications

I am hosting this website on a VPS and I have a desire to know when my VPS provider reboots my VPS. I wanted to send a multi-cast notification to any subscribed device when the machine reboots. I had a lot of options: Telegram bot, Email or WhatsApp. I settled for using the free and open-source ntfy.sh software which I self-host. It allows you to send one-way messages via a subscription model and feature great integration with web and mobile clients....

The one about rebuilding my VPS

So I have this VPS which is basically the thing which hosts the website you’re reading this on. The VPS also hosts other applications so security is a concern of mine since access is entirely remote. I do have fail2ban installed though. Although I’m getting better at it I mucked about with my /etc/ssh/sshd_config file and configured the daemon to liste on a non-standard port. I then promptly forgot to add an iptables entry to allow traffic on this port, essentially locking myself out of the VPS....

Setup SSL using NGINX

This post is about how I set up nginx and started serving pages over ssl after requesting an SSL certificate using acme.sh Apart from securing the instance, these instructions assume a fresh install and that I am logged in as user who is a member of the sudo group. If you see a command prefixed with # assume I am either logged in as root, or prefixed the command with sudo....