Skip to content

Instantly share code, notes, and snippets.

@tghpereira
tghpereira / Readme.md
Last active April 25, 2024 14:53
Create native api websocket in nodejs (Experimental)

Create native websocket api in node js (Experimental)

Goal

Allow greater control of websockets in the api without relying on libs with socket.io and ws. Looking for the basic implementation of reading and writing data and connection handshake for projects where socket.io and ws do not support the required functionalities in the project.

Issues encountered

It is not possible to receive or send text messages longer than 65522 characters.

03:38 < ZenZenFTW> did someone just sneeze?
04:10 < Ascendrio> I just hear a sneeze
04:15 < Bruschetta> I entered a map and heard a sneeze from the game
04:23 < Bruschetta> my osu just sneezed again rEE
04:23 < FurryTrash> my osu! doesn't sneeze?
06:12 < Narukiko> did i just hear a sneeze?
06:12 < Narukiko> sneeze in-game?
06:47 < Cielo_Day> did i just a hear someone sneeze or..?
07:37 < -4ourth-> someone sneezed in the game
07:58 < XeRoHD> does anyone get this sneeze sound effect when someone starts a beatmap?
@alfredkrohmer
alfredkrohmer / xbox-one-wireless-protocol.md
Created November 23, 2016 21:52
XBox One Wireless Controller Protocol

Physical layer

The dongle itself is sending out data using 802.11a (5 GHz WiFi) with OFDM and 6 Mbit/s data rate:

Radiotap Header v0, Length 38
    Header revision: 0
    Header pad: 0
    Header length: 38
    Present flags