Skip to content

Instantly share code, notes, and snippets.

View jbosboom's full-sized avatar

Jeffrey Bosboom jbosboom

  • 21:51 (UTC -07:00)
View GitHub Profile
@jbosboom
jbosboom / 0-lsusb-tplink-archer-T3U-usb-wifi-B07P6N2TZH.txt
Created June 28, 2026 18:02
lsusb -v and iw phy info output for TP-Link Archer T3U AC1300 USB wireless adapter (ASIN B07P6N2TZH) purchased June 2026
@jbosboom
jbosboom / gist:11b3ec5842a735d45a6019fea5873205
Created June 4, 2026 17:21
OpenWrt elfutils build error
make[3]: Entering directory '/home/jbosboom/github-repos/openwrt/tools/elfutils'
CFLAGS="-O2 -I/home/jbosboom/github-repos/openwrt/staging_dir/host/include -Wno-error -fPIC -std=gnu17" CPPFLAGS="-I/home/jbosboom/github-repos/openwrt/staging_dir/host/include "'-I$(top_srcdir)/lib'"" CXXFLAGS="-O2 -I/home/jbosboom/github-repos/openwrt/staging_dir/host/include" LDFLAGS="-L/home/jbosboom/github-repos/openwrt/staging_dir/host/lib" make -C /home/jbosboom/github-repos/openwrt/build_dir/host/elfutils-0.192/. am__CONFIG_DISTCLEAN_FILES= DEFAULT_INCLUDES='-iquote . -I$(top_builddir) -I$(top_srcdir)/libgnu' AM_LDFLAGS='$(STACK_USAGE_NO_ERROR)' LIBS+='$(if $(findstring src,$(subdir)), $(libgnu))' LIBS+='$(wildcard $(libgnu_exitfail))' LIBS+='$(wildcard $(libgnu_fallocate-posix))' LIBS+='$(wildcard $(libgnu_mbszero))' LIBS+='$(wildcard $(libgnu_obstack))' LIBS+='$(wildcard $(libgnu_obstack-printf))' LIBS+='$(wildcard $(libgnu_printf-args))' LIBS+='$(wildcard $(libgnu_printf-frexp))' LIBS+='$(wildcard $(libgnu_printf-frex
@jbosboom
jbosboom / 0-lsusb-pecumecu-TM10C-barcode-scanner-B0FP4Z5LGB-keyboard.txt
Last active April 11, 2026 17:31
lsusb -v output for PecuMecu TM-10C Handheld 1D&2D Barcode Scanner (ASIN B0FP4Z5LGB) purchased April 2026
Bus 001 Device 009: ID 34eb:1502 WCM HIDKeyboard
Negotiated speed: Full Speed (12Mbps)
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 [unknown]
bDeviceSubClass 0 [unknown]
bDeviceProtocol 0
bMaxPacketSize0 64
@jbosboom
jbosboom / pecumecu-TM10C-magic-barcodes-manual.md
Last active April 11, 2026 17:37
Magic barcodes from the manual for PecuMecu TM-10C Handheld 1D&2D Barcode Scanner (ASIN B0FP4Z5LGB)

Like most barcode scanners, the PecuMecu TM-10C scanner is configurable by scanning magic barcodes. A manual and quick-reference card are included with the scanner, but seemingly not posted online. Below is a table containing the data and an image of all barcodes in the manual. The data of all barcodes starts with a 0x80 byte, followed by the string "WSM", followed by 8 ASCII digits, followed by a period character. The images in this table were generated with qrencode. They are not identical to the barcodes in the manual, but they represent the same data.

Action Data Barcode
Restore factory settings <U+80>WSM00020001. restore-factory-settings
USB keyboard mode[(USB descriptors from lsusb)](https://gist.github.com/jbosboom/649021a31b7f54a3178713c00a37d259#file-0-lsusb-pecumecu-tm10c-barcode
@jbosboom
jbosboom / lsusb-sabrent-usb-rs232-prolific-B000A1KD1K.txt
Created February 23, 2026 01:24
lsusb -v output for Sabrent USB 2.0 RS-232 Adapter Cable 6ft SBT-USC6K (ASIN B000A1KD1K) purchased February 2026
Bus 001 Device 011: ID 067b:23a3 Prolific Technology, Inc. ATEN Serial Bridge
Negotiated speed: Full Speed (12Mbps)
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 [unknown]
bDeviceSubClass 0 [unknown]
bDeviceProtocol 0
bMaxPacketSize0 64
@jbosboom
jbosboom / lsusb-sabrent-usb-rs232-ftdi-B006AA04K0.txt
Created February 23, 2026 01:23
lsusb -v output for Sabrent USB 2.0 RS-232 Adapter Cable 6ft CB-FTDI (ASIN B006AA04K0) purchased February 2026
Bus 001 Device 010: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) IC
Negotiated speed: Full Speed (12Mbps)
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 [unknown]
bDeviceSubClass 0 [unknown]
bDeviceProtocol 0
bMaxPacketSize0 8
@jbosboom
jbosboom / lsusb-amazon-hub-B07V5K6LSF.txt
Created February 23, 2026 00:18
lsusb -v output for Amazon Basics 3-Port USB 3.0 Hub and Gigabit Ethernet Adapter Black (ASIN B07V5K6LSF) purchased February 2026
Bus 004 Device 007: ID 2109:0817 VIA Labs, Inc. USB3.0 Hub
Negotiated speed: SuperSpeed (5Gbps)
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 3.20
bDeviceClass 9 Hub
bDeviceSubClass 0 [unknown]
bDeviceProtocol 3
bMaxPacketSize0 9
@jbosboom
jbosboom / lsusb-amazon-ethernet-B00M77HMU0.txt
Created February 22, 2026 23:28
lsusb -v output for Amazon Basics USB 3.0 Gigabit Ethernet Adapter Black (ASIN B00M77HMU0) purchased May 2017
Bus 004 Device 006: ID 0b95:1790 ASIX Electronics Corp. AX88179 Gigabit Ethernet
Negotiated speed: SuperSpeed (5Gbps)
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 3.00
bDeviceClass 255 Vendor Specific Class
bDeviceSubClass 255 Vendor Specific Subclass
bDeviceProtocol 0
bMaxPacketSize0 9
@jbosboom
jbosboom / lsusb-amazon-ethernet-B0898C73ZZ.txt
Created February 18, 2026 00:30
lsusb -v output for Amazon Basics Aluminum USB 3.0 Gigabit Ethernet Adapter (ASIN B0898C73ZZ) purchased February 2026
Bus 004 Device 002: ID 0b95:1790 ASIX Electronics Corp. AX88179 Gigabit Ethernet
Negotiated speed: SuperSpeed (5Gbps)
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 3.20
bDeviceClass 0 [unknown]
bDeviceSubClass 0 [unknown]
bDeviceProtocol 0
bMaxPacketSize0 9
@jbosboom
jbosboom / moxxis-endowment-bl3.md
Created February 15, 2026 22:51
Moxxi's Endowment BL3 experience bonus breakpoints

Moxxi's Endowment (BL3) experience bonus breakpoints

In Borderlands 3, Moxxi's Endowment is an artifact with a guaranteed effect of "+N% Combat XP" and can also generate with "+M% Experience Gained From Combat", where N and M depend on the item level. This table shows the bonuses for each level where they increase (the breakpoints), which may be useful for deciding when to stop grinding and get a higher-level artifact. At low levels the experience bonus is actually negative, but Moxxi's Endowment can't normally generate at those levels. Data collected on 2026-02-15 from the Steam version of Borderlands 3 by using ZakisM/bl3_save_edit v0.1.6 to create Moxxi's Endowment at each level.

Level Guaranteed Additional Total
1 -5% -3% -8%
3 -4% -3% -7%
5 -4% -2% -6%
7 -3% -2% -5%