Categories

Links RSS
Author ArgentumCation Posts Notes
License CC-BY-NC-SA 4.0+ Updated
Disorganized Notes 1970-01-01
NixOS/Nix Show channels: sudo nix-channel --list add unstable channel: sudo nix-channel --add https://nixos.org/channels/nixpkgs-unstable unstable update repos: sudo nix-channel --update; sudo nix search -u SSH Set up port forwarding in existing connection: 1 2 3 4 5 $ ~C ssh> -D [port number] [Enter] [Enter] $ Shell !!:s/foo/bar/, replace first instance of foo with bar in the previous command ^foo^bar same thing but shorter and less flexible !foo rerun last command containing foo Keepalived don’t ever use use_vmac, it’s fucky Toki Pona Prop 65 Warning ⚠️ toki pi (ike ken)!
0001-01-01
Game Loop display board check if endgame state end game if needed get current side get move for current side Game struct contains game state Refactor to trait?
0001-01-01
https://file-extensions.com/docs/pkpasss https://developer.apple.com/documentation/walletpasses
0001-01-01
Hardware Display Resolution: 192x160 potentially just upscaled from 96x80 at 3x scaling that’s 576x480, 32px pillarboxes if 640x480 384x320 how small can the screen physically be? android guidelines say 48dp @ 160dpi or 0.3" android guidelines also say 48dp is about 9mm so who the fuck knows anymore apple says 44pt or 44/72" or 0.61" 44pt is 44px, 88px, 132px depending on device 132px on iPhone X @ 448(?)dpi so ~ 0.
0001-01-01
a A e E/* i 1 o 0 u 5 n 7 j 3 k 9 l 6 m 4 p B s C t D w 2 ∅ F/# D091 41 3A7 416A Ports over to DTMF as well
plan9 FS 0001-01-01
Digested from: https://www.usenix.org/legacy/events/usenix05/tech/freenix/full_papers/hensbergen/hensbergen.pdf https://www.kernel.org/doc/Documentation/filesystems/9p.txt http://ericvh.github.io/9p-rfc/rfc9p2000.html http://ericvh.github.io/9p-rfc/rfc9p2000.u.html https://9fans.github.io/plan9port/man/man4/9pfuse.html https://github.com/pfpacket/rust-9p/tree/master/example/unpfs 9p2000 Opcodes All messages take a tag parameter used to multiplex connections Session version parameter negotiations auth T afid: auth handle?? uname username aname: mount name (root if blank) attach establish connection to server T fid is file handle, chosen by client? afid is an ‘auth handle’ -1 for no auth uname aname R: flush abort request error File walk lookup pathname open create read write clunk release a file?
vim 0001-01-01
Sort selected lines: :sort Open man page: :man [command] or \K Open URL: gx Move between splits: ctrl+w [direction] vim-commentary: gc [motion] to comment out Case switching: gU to uppercase gu to lowercase -g~ to toggle Substitute: /g global - sub all in line :%s/ - substitute in all lines :5,12s/ substitute from lines 5 to 12 :.,+2s/ substitute this line (.) and the next 2 :g/^foo/s/bar/baz/g substitute all instances of bar with baz on lines beginning with foo /c - ask for confirmation Windows :sp [filename] horizontal split, optionally open file vsp vertical split ctrl+w w move between windows ctrl+w = resize windows to be equal ctrl+w q close window ctrl+w <direction> move window