Notes, notes and notes. All those years of evaluating, using and abandons I learnt that there is no perfect note taking app, everyone's requires and preferences are so different. Even the same person(like me) will change over time, I almost stay to use one app over 6 months, and will use the same app abounded before. So for me, if there is only one key, before starting to use an app, learn how to quit elegant, with the full data.
Moving blog images to GCS
I had previously committed some images into my blog git repository, but recently found that I can't keep adding blog images into the repo, which will cause it bloat.
Expose Homelab services through HAPROXY with OPNSENSE
In this post I will show you how to expose the homelab services through HAPROXY as a reversed proxy, but keep in mind this is dangerous because anyone knows the domains you setup will be able to connect your homelab directly, and if you not securely setup your firewall they can be possibly hack you and your families devices.
Upgrade Ubuntu kernel
Recently I have added some new devices to my homelab, phone size machine with Intel N5105 CPU, 16GB RAM and 256GB SSD storage, wanted to build a kubernetes cluster use 4 such machines. It also has built-in 2.5G NIC, WIFI6 and Bluetooth version 5.2, but the current Ubuntu LTS(20.04) has linux kernel 5.4 which don't support the NIC driver, need to upgrade kernel to solve this.
Install network services on OpnSense
[frp] is my choice of homelab NAT service because [others] fails me, and [v2ray] is for egress proxy. Both are very critical network services to me and I want them to run all the time, together with my router OpnSense. But OpnSense is based on FreeBSD which is not using systemd as service manager, which is new to me so I spent some time and managed to setup v2ray service, frp will be the next. This post is about how to set them up. When researching, I learnt from below articles.
Learning TypeScript
Some of the notes are take from the book [Programming TypeScript]
Proxmox
Creating bootable usb disk
Occasionally I need to reinstall my desktop or servers, this page will help myself for referring if want to try any new OS.
Install extension on code-server from the marketplace
I use code-server daily, but there is [an restriction] to install latest awesome extensions, so I created a script to download and install extensions from the VSCode official marketplace. One issue for using this script is that it will sometime failed to download extension due to Microsoft's requests limit. You can either retry or manual download.
GPG and pass
gpg --full-generate-key
gpg --list-secret-keys
gpg --armor --export <key_id> # Export public key
gpg --armor --export-secret-keys <key_id> # Export private key
pass init <key_id>
pass git init