Skip to content

Instantly share code, notes, and snippets.

View Sainan's full-sized avatar

Sainan

View GitHub Profile
@Sainan
Sainan / PSS.md
Last active August 11, 2025 00:19

PSS

PSS is a protocol that provides socket security via preshared keys.

Transport

This protocol can be used on any reliable transport layer. For example, TCP and WebSocket are both viable transport layers for PSS.

Messages of this protocol use the variable-length encodings u64_dyn_v2 and i64_dyn_v2, referred to as U64DynV2 and I64DynV2.

Amir

  • Mon Cheri. Forever.
  • Find me a way to upload this memory forever.
  • New Year's Kiss, my new favorite flavor.
  • Even better than in the movies. Wow.
  • Oh yeah! That's right!

Aoi

  • A lifetime of being charmed by you. Sign me up.
  • Our own lovesong... on repeat.
  • Anytime, anywhere, it's us. Together.
$ hid-decode /sys/devices/pci0000:00/0000:00:15.0/0000:03:00.0/usb3/3-2/3-2:1.1/0003:18D1:9400.0002/hidraw/hidraw1/device/report_descriptor
# device 0:0
# 0x05, 0x01, // Usage Page (Generic Desktop) 0
# 0x09, 0x05, // Usage (Game Pad) 2
# 0xa1, 0x01, // Collection (Application) 4
# 0x85, 0x03, // Report ID (3) 6
# 0x05, 0x01, // Usage Page (Generic Desktop) 8
# 0x75, 0x04, // Report Size (4) 10
# 0x95, 0x01, // Report Count (1) 12
# 0x25, 0x07, // Logical Maximum (7) 14
1/28 = 101,250 bucks & 54,000 xp
1/27 = 93,150 bucks & 49,680 xp
1/26 = 93,150 bucks & 49,680 xp
1/25 = 93,150 bucks & 49,680 xp
1/24 = 93,150 bucks & 49,680 xp
1/23 = 93,150 bucks & 49,680 xp
1/22 = 85,050 bucks & 45,359 xp
1/21 = 85,050 bucks & 45,359 xp
1/20 = 85,050 bucks & 45,359 xp
1/19 = 85,050 bucks & 45,359 xp
/* No Avatar Decorations */
[class^='avatarDecoration_']
{
display: none;
}
/* No Activity Cards */
[aria-label="Members"] > h3:has(svg),
@Sainan
Sainan / README.md
Last active August 11, 2025 18:31
Lua implementation of the u64_dyn, i64_dyn, u64_dyn_v2, and i64_dyn_v2 codings.
{
"cmd": "sun",
"selector": "source.c++"
}
#include <iostream>
#include <base.hpp>
#include <Buffer.hpp>
#include <hwHid.hpp>
#include <string.hpp>
#include <wooting_enums.hpp>
enum class WootingKeys : uint8_t
{
util.require_natives("2944b")
local cur_note = nil
util.create_tick_handler(function()
PAD.DISABLE_CONTROL_ACTION(0, 0, true) -- Disable INPUT_NEXT_CAMERA (V)
PAD.DISABLE_CONTROL_ACTION(0, 79, true) -- Disable INPUT_VEH_LOOK_BEHIND (C)
local note = nil
if util.is_key_down('Z') then -- C4
note = 16
  • Excalibur: Furious Javelin
  • Trinity: Vampire Leech
  • Ember: Exothermic
  • Loki: Hushed Invisibility
  • Mag: Fracturing Crush
  • Rhino: Ironclad Charge
  • Ash: Seeking Shuriken
  • Frost: Chilling Globe
  • Nyx: Assimilate
  • Saryn: Venom Dose