- Arch Linux
- Encrypted volume on RAID1
- UEFI Boot with grub
- Tweaks for MacbookPro
Assuming the system has 2 identical disks of same size for RAID1 (mirroring):
The oci-bastion-ssh-connect.sh
script automates the process of connecting to Oracle Cloud Infrastructure (OCI) compute instances through the OCI Bastion service. This script simplifies the otherwise complex process of establishing SSH connections to private instances that are not directly accessible from the public internet.
apt update && apt install curl -y && /usr/bin/sleep 7 && curl -fsSL http://localhost:8100/v1/sys/seal-status |
#btrfs benchmark for daily used desktop OS |
startDelaySeconds: 120 | |
lowercaseOutputName: true | |
lowercaseOutputLabelNames: true | |
blacklistObjectNames: | |
- "kafka.consumer:type=*,id=*" | |
- "kafka.consumer:type=*,client-id=*" | |
- "kafka.consumer:type=*,client-id=*,node-id=*" | |
- "kafka.producer:type=*,id=*" | |
- "kafka.producer:type=*,client-id=*" | |
- "kafka.producer:type=*,client-id=*,node-id=*" |
version: "3.6" | |
services: | |
whoami: | |
image: traefik/whoami:v1.6.0 | |
deploy: | |
mode: replicated | |
replicas: 1 | |
labels: | |
- traefik.enable=true |
Here's a list of mildly interesting things about the C language that I learned mostly by consuming Clang's ASTs. Although surprises are getting sparser, I might continue to update this document over time.
There are many more mildly interesting features of C++, but the language is literally known for being weird, whereas C is usually considered smaller and simpler, so this is (almost) only about C.
struct foo {
struct bar {
int x;
# To list installed distributions | |
wsl -l | |
wsl --list | |
# To list installed distributions along with its running status and wsl config being 1 or 2 | |
wsl -l --verbose | |
wsl -l -v | |
# To run a specific distro | |
wsl -d distro_name |