Skip to content

Instantly share code, notes, and snippets.

@koreapyj
koreapyj / HHKB.ahk
Created May 14, 2018 15:37
HHKB layout for KS keyboards
LCtrl::return
AppsKey::return
CapsLock::LCtrl
SC29::Esc
AppsKey & SC29::SC29
AppsKey & Tab::CapsLock
AppsKey & SC2::F1
AppsKey & SC3::F2
AppsKey & SC4::F3
AppsKey & SC5::F4
//////////
// This script will attempt to launch a ship into a stable (equatorial) orbit.
// It started life as the sample launch script from the wiki, but has since
// evolved into something a bit more useful.
//
// It is assumed that any stages are fair game for getting to orbit and that
// there is a single radially mounted SRB stage at the initial launch that
// overlaps with the main liquid engine(s).
//
// - al [2/14/2017]
@koreapyj
koreapyj / DTMF_calling_112.tone
Created April 17, 2019 06:12
Tone Generator code for DTMF calling (PSTN전화에 실험해보지 말 것)
tone(350, 1, 0, 3, 2)
tone(440, 1, 0, 3, 2)
tone(697, 1, 3, 0.3, 2)
tone(1209, 1, 3, 0.3, 2)
tone(697, 1, 3.5, 0.3, 2)
tone(1209, 1, 3.5, 0.3, 0)
tone(697, 1, 4, 0.3, 2)
tone(1336, 1, 4, 0.3, 2)
tone(587, 1, 5, 1.5, 2)
@koreapyj
koreapyj / hanbit-capl6000-firmware.md
Last active May 17, 2020 12:55
한빛전자 CAPL-6000 펌웨어

header (256 bytes)

magic number (uint32)

13 97 21 74

uboot address (uint32be)

00 00 01 00

rootfs address (uint32be)

00 0C 00 00

@koreapyj
koreapyj / boot.log
Created May 21, 2020 14:11
kt GIGA WiFi Wave 2
U-Boot 1.1.3 (Feb 13 2018 - 10:29:24)
Board: Ralink APSoC DRAM: 256 MB
##### The CPU freq = 880 MHZ ####
Boot act = 1
MCR Image Checksum OK
## Booting image at bc140000 ...
@koreapyj
koreapyj / commax_rs485_reference.md
Last active December 11, 2021 13:57
commax 월패드 rs485 프로토콜 정리

개요

코맥스 월패드의 RS485 패킷을 정리합니다.

에너지

써모스탯 (02)

써모스탯은 각방온도조절기라고도 부릅니다.

질의 패킷

02 AA 00 00 00 00 00 00

@koreapyj
koreapyj / rtl8371_commands.md
Last active May 27, 2022 18:21
RTL8371 UART commands

RTL8371 UART commands

reg

reg - to read/write switch core register

option description
reg get [regAddr] get register
reg socget [regAddr] get socregister
reg set [regAddr] [value] set register value
@koreapyj
koreapyj / .config
Last active September 16, 2022 12:40
OpenWrt with Asterisk 18 for Quectel RM500Q-GL
CONFIG_ALL_KMODS=y
CONFIG_ALL_NONSHARED=y
CONFIG_DEVEL=y
CONFIG_BUSYBOX_CUSTOM=y
CONFIG_AUTOREMOVE=y
CONFIG_BPF_TOOLCHAIN_BUILD_LLVM=y
# CONFIG_BPF_TOOLCHAIN_NONE is not set
CONFIG_BUILDBOT=y
CONFIG_BUILD_LOG=y
# CONFIG_BUSYBOX_CONFIG_VI is not set

AT+EGMR

Write command

AT+EGMR=<mode>,<format>[,<data>]

+EGMR: (0,1),(5,7,8,9,10)

Parameter

@koreapyj
koreapyj / autocharge.md
Last active April 6, 2024 08:38
상품권 자동입력

각종 상품권 자동입력