Skip to content

Instantly share code, notes, and snippets.

@bkw777
bkw777 / install-freecad-appimage.sh
Last active July 14, 2025 15:37
FreeCAD AppImage desktop integration
#!/bin/bash
#h
#h install_freecad_appimage.sh
#h
#h Configures desktop integration for a FreeCAD AppImage.
#h * copies FreeCad*.AppImage to ~/.local/bin/freecad
#h * installs mime-type, .desktop, and icon under ~/.local/share
#h All files installed in $HOME. No sudo needed.
#h Brian K. White <[email protected]>
#h
KC-85 clones electrolytic capacitors
[email protected]
Jeff Birt's cap maps
https://www.soigeneris.com/document/vintcom/
----
KC-85
@bkw777
bkw777 / bootstrap_rexcpm.txt
Last active March 15, 2025 19:38
Bootstrap REXCPM
Run-through for reference, old but mostly still the same:
Part 1 - REXCPM firmware and option roms
https://youtu.be/tb0WYQCaF1I
Part 2 - CPM disk image
https://youtu.be/M-rBnPiVQOE
=== One-time prerequisite ===
@bkw777
bkw777 / Xperia-1-VI-rooted-firmware-update.txt
Last active July 14, 2025 01:57
Sony Xperia 1 VI rooted firmware update
Xperia 1 VI - XQ-EC72 HK
firmware update notes
This is for a HongKong device in the USA.
https://xdaforums.com/t/tool-xperifirm-xperia-firmware-downloader-v5-7-1.2834142/
https://xdaforums.com/t/tool-newflasher-xperia-command-line-flasher.3619426/
https://xdaforums.com/t/tool-unsin-sin-v3-v4-v5-unpacker-v2-0.3128106/
-------------------------------------------
@bkw777
bkw777 / Brother label printer shrink tube hack.txt
Last active March 27, 2025 08:50
Brother p-touch shrink tube hack
Use shrink tube in printer models that don't officially support them.
https://hackaday.io/project/190126-brother-label-tape-hack
@bkw777
bkw777 / Quartus_13_on_Ubuntu_23.md
Last active October 2, 2025 06:36
Quartus 13.0 & ModelSim on Ubuntu 24
@bkw777
bkw777 / bashcat.sh
Last active July 23, 2025 17:13
cat without cat
# minimal example just for reference, not pointful by itself
# binary-safe read/write file without cp/cat/dd etc, pure bash, no subshell
while LANG=C IFS= read -d '' -r -n 1 x ;do printf '%c' "$x" ;done <bin1 >bin2
@bkw777
bkw777 / BYA_BYxxxx_hot_plate.txt
Last active October 17, 2025 22:49
BYA BY1010 BY1515 BY2020 BY2030 BY3030 BY4030 hot plate directions
Directions for BYA hot plate
BY1010 BY1515 BY2020 BY2030 BY3030 BY4030
https://www.amazon.com/dp/B0932X6JB8
https://www.amazon.com/dp/B0CN19C4DC
https://www.amazon.com/dp/B0CC62TP4L
https://www.aliexpress.us/item/3256805843992076.html
https://www.aliexpress.us/item/3256805212626461.html
https://www.aliexpress.us/item/3256804646990894.html
@bkw777
bkw777 / downpour_merge.sh
Last active January 2, 2025 11:04
Merge downpour.com m4b files
#!/bin/bash
# Merges downpour.com m4b files into a single m4b file per book.
# Directions:
# download m4b files from downpour.com
# cd into the directory with "Book Title ...[File # of #].m4b
# run with no arguments
# Multiple books may all be downloaded into the same directory.
# Previously combined books may still exist in the same directory.
@bkw777
bkw777 / show_signals.sh
Created March 12, 2023 02:20
Trap & display all possible signals in bash
# with bash-isms
for s in {1..64}; do trap "echo trap $s" $s; done
# without bash-isms
s=1; while [ $s -le 64 ]; do trap "echo trap $s" $s; s=$((s+1)); done