Skip to content

Instantly share code, notes, and snippets.

View mbohun's full-sized avatar
🙃
How do you do?

Martin Bohun Hormann mbohun

🙃
How do you do?
  • Canberra, ACT, Australia
View GitHub Profile
@mbohun
mbohun / error_log.md
Created February 9, 2026 11:16
OrangePi5pro armbian apt kernel

/var/lib/dkms/v4l2loopback/0.12.7/build/make.log

DKMS make.log for v4l2loopback-0.12.7 for kernel 6.1.115-vendor-rk35xx (aarch64)
Mon Feb  9 12:05:20 PM CET 2026
Building v4l2-loopback driver...
make -C /lib/modules/6.1.115-vendor-rk35xx/build M=/var/lib/dkms/v4l2loopback/0.12.7/build modules
make[1]: Entering directory '/usr/src/linux-headers-6.1.115-vendor-rk35xx'
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: aarch64-linux-gnu-gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
@mbohun
mbohun / NOTES.md
Last active January 28, 2026 08:27
termux; termux-api; termux-location

termux-location

install

  1. install termux app
  2. install termux-api app
  3. open termux terminal and install:
    pkg install termux-api
    

run it

@mbohun
mbohun / NOTES.md
Last active November 5, 2025 14:07
aarch64 big.LITTLE cpu-pinning

big.LITTLE cpu-pinning

ROCKPro64

  • ROCKpro64 by PINE64
    • Rockchip RK3399
  • big.LITTLE architecture:
    • Quad Cortex-A53 0xd03
    • Dual Cortex-A72 0xd08

NOTE: "CPU part" identifies the A53 and A72 CPUs respectively.

@mbohun
mbohun / NOTES.md
Last active September 3, 2025 23:13
geojson jq Siebenbuergen
@mbohun
mbohun / NOTES.md
Last active August 16, 2025 20:55
C++17
Feature C++17 (std) Boost 1.88
Threading ✅ (std::thread) ✅ (boost::thread)
Mutexes ✅ (std::mutex) ✅ (boost::mutex)
Futures/Promises ✅ (std::future) ✅ (boost::future)
Filesystem ✅ (std::filesystem) ✅ (boost::filesystem)
Time Utilities ✅ (std::chrono) ✅ (boost::chrono)
UDP Sockets ✅ (boost::asio)
TCP Sockets ✅ (boost::asio)
HTTP/HTTPS ✅ (boost::beast)
@mbohun
mbohun / NOTES.md
Last active March 5, 2025 22:06
MSI laptop `fwupdmgr get-upgrades`
mbohun@mamlas:~> Read from remote host 192.168.1.35: Connection timed out
Connection to 192.168.1.35 closed.
client_loop: send disconnect: Broken pipe
[mbohun@mbohunorangepi5pro ~]$ ssh 192.168.1.35
Last login: Thu Mar  6 08:05:01 AEDT 2025 from 192.168.1.20 on ssh

1 device has a firmware upgrade available.
Run `fwupdmgr get-upgrades` for more information.
@mbohun
mbohun / NOTES.md
Last active June 26, 2025 14:41
fungi taxonomy gbif uniprot REST JSON
@mbohun
mbohun / NOTES.md
Last active December 29, 2024 23:19
xmllint XPath

Creating the "main" photo gallery screen

  • From each gallery (subdir) index.html "main" thumbnail
    • encoded at (XPath):
      /html/head/meta[@property="og:image"]/@content
      
  • By extracting each gallery thumbnail with xmllint --xpath as shown here:
mbohun@mamlas:~/pCloudDrive/Public Folder/fungi> find . -name "index.html"
    | xargs xmllint --xpath 'string(/html/head/meta[@property="og:image"]/@content)'
@mbohun
mbohun / NOTES.md
Created December 7, 2024 15:38
AXAGON USB-C_to_eth

AXAGON USB-C_to_eth

[mbohun@danctnix ~]$ sudo dmesg -T
...

[Sat Dec  7 16:19:49 2024] usb 2-1: new SuperSpeed USB device number 8 using xhci-hcd
[Sat Dec  7 16:19:49 2024] usb 2-1: New USB device found, idVendor=0bda, idProduct=8153, bcdDevice=30.00
[Sat Dec  7 16:19:49 2024] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=6
[Sat Dec  7 16:19:49 2024] usb 2-1: Product: USB 10/100/1000 LAN
[Sat Dec 7 16:19:49 2024] usb 2-1: Manufacturer: Realtek
@mbohun
mbohun / NOTES.md
Last active December 1, 2024 06:08
GIS Leaflet JavaScript GeoJSON