Setup WSL and work seaminglessly NetworkEdit /etc/wsl.conf and add 12[network]generateResolvConf = false Reboot computer and edit /etc/resolv.conf 12nameserver 9.9.9.9nameserver 1.1.1.1 File systemEdit /etc/wsl.conf and add 1234[au 2024-02-16 programming #windows #WSL
Install Windows11 Without Microsoft Account or Internet Access Starting from Windows11, Microsoft require you to connect to Internet and log-in your Microsoft account during installation. To bypass that: Make sure the machine is not conncted to Ethernet. Press 2023-12-16 privacy & anonymity #windows
Daily Use of GPG Prepare GPG keysGenerate new keys1gpg --gen-key Or you can use --full-gen-key to set encryption algorithm, key size, and expiry date. 1gpg --full-gen-key Sample output 12345678910111213141516171819 2023-12-16 privacy & anonymity > opsec #gpg
Limitation of Java Lambdas “First-class citizen” function means a function can be dynamically created and be passed around just like any other value. Java 8 added lambda expression that provide “similar” feature by simplifying 2023-09-07 programming #java