RSSAmplifier

Blog

Bhavesh's Blog

Last 10 notes on Bhavesh's Blog

bhavesh.devRSS feed ↗10 posts

Latest posts

My 2023 Self Hosting Setup

It’s almost 2024 and I’m trying out a new blogging setup.

Combining Docker Images for Fun

No profit WIP This is a WIP article If you self host a lot of software, chances are you are pretty much exclusively using docker and docker containers to handle all your installations.

Encrypting external drive with cryptsetup

This is mostly for self reference but if you ever want to encrypt an external drive, here’s how you can do that.

Encrypting mapped folder with cryptsetup

fallocate -l 6.5T ${FILE} sudo cryptsetup -q -s 512 luksFormat ${FILE} ${KEY_PATH} sudo cryptsetup --allow-discards luksOpen -d ${KEY_PATH} ${FILE} ${ENCRYPTED_DISK} sudo mkfs.ext4 /dev/mapper/${ENCRYPTED_DISK} sudo tune2fs -e remount-ro /dev/mapper/${ENCRYPTED_DISK} FSTAB_ENTRY="/dev/mapper/${...

Running Docker Apps Over Unix Sockets

I’m not sure how common this technique is. I described the why I use unix sockets with my docker apps in my last post Why I build my Custom Images.

00 - Writing a Simple Type Checked Language

Why? Types are nice I guess. How? I am going to be using rust, but you can do this in any language that has recursion, probably.

01 - Scanner

Scanner OK but before that let’s create our project first.

Running Services Over HTTPS With Tailscale and Caddy

Warning This article isn’t done yet! Tailscale already allows you to run services over https using their machine.tailnet.ts.net domains.

The Perils of docker run -p

Or why you should never use default logins for internet facing services.

You should learn IaC sooner

WIP This is a WIP article .