Making Hard Things Easy

source: Evans, Julia. “New Talk: Making Hard Things Easy.” Julia Evans, October 6, 2023. https://jvns.ca/blog/2023/10/06/new-talk--making-hard-things-easy/. How to: Reusable tools: shellcheck Find Good Documentation in that field, for example, HTTP: MDN RFC(rfc9110) Big list to small list, focus on the core: Only learn a few arguments about grep Only know a few fields about the output of dig Understand how computer executed chronologically: SQL Understand the hidden parts: DNS (resolve, library, servers) Communication with each other

October 8, 2023 · 1 min · Gray King

YubiKey-Guide

tags: GPG, Yubikey source: https://github.com/drduh/YubiKey-Guide

October 5, 2023 · 1 min · Gray King

A Visual Explanation of GPG Subkeys

tags: GPG, Yubikey source: “A Visual Explanation of GPG Subkeys - Richard Goulter’s Blog.” Accessed October 5, 2023. https://rgoulter.com/blog/posts/programming/2022-06-10-a-visual-explanation-of-gpg-subkeys.html. What does the [SC] or [E] mean in the output of gpt --list-keys: E = encrypt/descript S = sign C = certify(sign another key, establishing a trust relation) A = authentication(log in to SSH with a PG key)

October 5, 2023 · 1 min · Gray King

sui_getTransactionBlock

tags: Sui POST https://fullnode.mainnet.sui.io Content-Type: application/json { "jsonrpc": "2.0", "id": 1, "method": "sui_getTransactionBlock", "params": [ "6wthaE4QzjWM7HnAzm6Pd4ymkNtadbHnqQkTXY7Ne1L3", { "showInput": true, "showRawInput": false, "showEffects": true, "showEvents": true, "showObjectChanges": true, "showBalanceChanges": true } ] }

September 26, 2023 · 1 min · Gray King

FreeBSD 13.2 NFS

Tags: FreeBSD First, configure to start service during the bootstrap: sysrc nfs_server_enable="YES" sysrc nfs_server_flags="-u -t -n 4" sysrc rpcbind_enable="YES" sysrc rpc_statd_enable="YES" sysrc rpc_lockd_enable="YES" sysrc mountd_flags="-r" sysrc mountd_enable="YES" Second, export volume to the network in /etc/exports: /data/warehouse -mapall=root -network 192.168.1.0/24 NOTE: you shouldn’t export the pool root while you are using ZFS, as it can’t show the children in a datasets of it. And then we can start the services: service nfsd start service statd start service lockd start You need to stop extra services when you want to restart: ...

September 15, 2023 · 1 min · Gray King