Skip to content

Instantly share code, notes, and snippets.

View Chapoly1305's full-sized avatar

Junming Chen Chapoly1305

  • George Mason University
  • Fairfax, VA
  • 20:27 (UTC -05:00)
  • LinkedIn in/junming-c
View GitHub Profile
@noobnooc
noobnooc / cloudflare-worker-proxy.js
Last active October 20, 2025 04:09
cloudflare-worker-proxy
// Website you intended to retrieve for users.
const upstream = 'api.openai.com'
// Custom pathname for the upstream website.
const upstream_path = '/'
// Website you intended to retrieve for users using mobile devices.
const upstream_mobile = upstream
// Countries and regions where you wish to suspend your service.
@OmkarKirpan
OmkarKirpan / SCORM_cheat.js
Created March 1, 2023 19:53
SCORM LMS Hack
let ok = SCORM_GetAPI()
// setting lesson_status
ok.LMSSetValue('cmi.core.lesson_status', 'completed')
ok.LMSGetValue('cmi.core.lesson_status')
// setting score
ok.LMSSetValue('cmi.core.score.raw', '100')
ok.LMSGetValue('cmi.core.score.raw')
// Saving
ok.LMSCommit()
ok.LMSFinish()
@gbevan
gbevan / INSTALL.md
Last active June 2, 2022 08:47
Gnuradio 3.8 on Ubuntu 18.04
@syneart
syneart / build_wireshark.sh
Last active July 6, 2025 17:55
BUILD WIRESHARK ON UBUNTU OR DEBIAN
#!/bin/sh
# This shell script is made by SyneArt <[email protected]>
#######################################
# BUILD WIRESHARK ON UBUNTU OR DEBIAN #
#######################################
# | THIS SCRIPT IS TESTED CORRECTLY ON |
# |----------------------------------------------------------|
# | OS | Wireshark | Test | Last test |
# |--------------------|----------------|------|-------------|
@pavel-kirienko
pavel-kirienko / arm-bin-to-elf.sh
Last active September 23, 2025 20:55
Converting flat binary into ARM ELF format, useful for firmware uploading via GDB
# The part .data=0x08000000 should be replaced with the correct base offset of the ROM.
# The value 0x08000000 is valid for STM32.
arm-none-eabi-objcopy -I binary -O elf32-little --change-section-address .data=0x08000000 input.bin output.elf

HomeKit Service and Characteristic UUIDs

Thanks to HAP-NodeJS

Service UUID
Accessory Information 0000003E-0000-1000-8000-0026BB765291
Air Quality Sensor 0000008D-0000-1000-8000-0026BB765291
Battery Service 00000096-0000-1000-8000-0026BB765291
Bridging State 00000062-0000-1000-8000-0026BB765291