Skip to content

Instantly share code, notes, and snippets.

View hldh214's full-sized avatar
🦄
IP属地:武汉

Jim Liu hldh214

🦄
IP属地:武汉
View GitHub Profile
@hldh214
hldh214 / readme.md
Last active February 19, 2021 09:45
Least wasteful use of stamps to achieve a given postage

Problem

we have 2 kinds of stamp with values $A and $B, The

number of stamps is infinite, we have a letter to send out and need $T

postage, question is to find out the lowest cost required to get $T postage? Pls describe your method

and code it with any language you are good at( even we perfer C/C++ :)。

@hldh214
hldh214 / Default (Windows).sublime-keymap
Last active June 21, 2021 08:44
My sublime4 keymap && settings
[
{ "keys": [ "ctrl+alt+j" ], "command": "pretty_json_and_sort" },
{ "keys": [ "ctrl+alt+m" ], "command": "un_pretty_json" }
]
@hldh214
hldh214 / Hotalux_RE0209_NEC_code.md
Created February 7, 2024 12:30
Hotalux_RE0209_NEC_code.md
CH1
ON/OFF: Received NEC: address=0x6D82, command=0x40BF command_repeats=1
Full: Received NEC: address=0x6D82, command=0x59A6 command_repeats=1
明るく: Received NEC: address=0x6D82, command=0x45BA command_repeats=1
暗く: Received NEC: address=0x6D82, command=0x44BB command_repeats=1
白色: Received NEC: address=0x6D82, command=0x58A7 command_repeats=1
暖色: Received NEC: address=0x6D82, command=0x57A8 command_repeats=1

CH2