Skip to content

Instantly share code, notes, and snippets.

@HelloKS
HelloKS / Benchmark.md
Last active August 30, 2026 15:17
GLM 5.3 Flash for DGX Spark TP=2
Test c pp t/s tg t/s TTFT (ms) Total (ms) Tokens
pp2048 tg128 @ d0 c1 1,252 28.7 1,936 6,162 2048+128
pp2048 tg128 @ d0 c2 1,157 35.8 2,868 8,903 2048+128
pp2048 tg128 @ d0 c4 1,222 40.4 5,046 14,449 2048+128
pp2048 tg128 @ d4096 c1 1,240 28.3 5,217 9,505 2048+128
pp2048 tg128 @ d4096 c2 1,255 26.1 8,003 15,249 2048+128
pp2048 tg128 @ d4096 c4 1,292 24.5 12,803 24,332 2048+128
pp2048 tg128 @ d8192 c1 1,212 28.0 8,703 13,029 2048+128
pp2048 tg128 @ d8192 c2 1,249 21.8 13,555 21,109 2048+128
@HelloKS
HelloKS / djb2-xor.py
Created November 11, 2021 13:27
Unity engine registry hash generation (windows)
def hash_djb2(s):
hash = 5381
for x in s:
hash = hash * 33 ^ ord(x)
return hash & 0xFFFFFFFF
print(hash_djb2(u'YourPrefKeyHere'))
@HelloKS
HelloKS / 1st.html
Created January 23, 2018 07:12
KT ISP router usage find logic
<meta http-equiv="refresh"content="2;url=http://접속URL/?"/>
<iframe id="f"frameborder="0"style="width:1;height:1"></iframe>
<script>document.getElementById("f").src="http://KT서버/tm/?a=FF&b=WIN&c=고유값&d=고유값&e=고유값&f=고유값&g=고유값&h="+Date.now()+"&y=0&z=0&x=1&w=2018-01-03&in=고유값&id=20180123"</script>
@HelloKS
HelloKS / tg.sh
Created June 26, 2016 02:51
Telegram alert for deluge execute plugin
#!/bin/sh
# Telegram alert for deluge execute plugin
TORRENT_ID=$1
TORRENT_NAME=$2
TORRENT_PATH=$3
TOKEN='Your Telegram token ID here'
URL='https://api.telegram.org/bot'$TOKEN