bkw777/pdd.sh
View on GitHub ↗ ★ 21 Shell
TPDD client implemented in bash
4 mentions on Hacker News by 2 people: 0 stories, 4 comments · first 2022-02-15 · latest 2024-07-31
20082026
-
…in most of my scripts forever. This one is a purity stunt and doesn't use grep, or anything else: https://github.com/bkw777/pdd.sh (the script itself is of no use to you since it only talks to a piece of hardware) The command dispatcher…
comment by Brian_K_White · 2024-07-31 · in Our audit of Homebrew -
…from a serial port: https://gist.github.com/bkw777/ddde771cc85fdd888c7ec74953193... Used in anger: https://github.com/bkw777/pdd.sh see tpdd_read, tpdd_write, file_to_fhex, str_to_shex reading and writing both a serial port and local files…
comment by Brian_K_White · 2024-03-02 · in Writing a Minecraft server from scratch in Bash (2022) -
Direct link to the goods, pdd.sh: https://github.com/bkw777/pdd.sh/blob/main/pdd.sh Now that is some serious bash-fu! Edit: > Similarly, you don't need xxd to convert back & forth between raw binary and text encoding. How do you convert…
comment by jaytaylor · 2022-02-16 · in My thoughts on writing a Minecraft server from scratch in Bash -
…mkfifo once at startup, but that's just startup like to open the serial port, not part of the work. https://github.com/bkw777/pdd.sh The gimmick for reading nulls is not exactly efficient. Basically you read one character at a time and…
comment by Brian_K_White · 2022-02-15 · in My thoughts on writing a Minecraft server from scratch in Bash