Skip to content

Instantly share code, notes, and snippets.

View Hakkadaikon's full-sized avatar
💪
100 times more energetic

Hakkadaikon Hakkadaikon

💪
100 times more energetic
View GitHub Profile
@Hakkadaikon
Hakkadaikon / websocket_flame_parse.c
Created December 30, 2024 10:07
Websocket frame parse (RFC6455)
/**
* @file websocket_frame_parse.c
*
* @brief Parses each parameter of a websocket frame stored in network byte order.
* @see RFC6455 (https://datatracker.ietf.org/doc/html/rfc6455)
*/
#include <alloca.h>
#include <stdio.h>
#include <stdint.h>
#include <string.h>
@Hakkadaikon
Hakkadaikon / memo.md
Last active January 16, 2025 05:35
つよつよサーバーを使ったWebSocket / Nostrリレーのパフォーマンス評価案

設定チューニング

アプリで使うCPUコアの割り込みを禁止

  sudo update-grub
  sudo shutdown -h now
@Hakkadaikon
Hakkadaikon / awesome-mcp-server-link.md
Created January 29, 2025 18:16
MCPサーバーリンク集
@Hakkadaikon
Hakkadaikon / deep_research_websocket_and_webtransport.md
Last active April 23, 2025 13:17
Deep Research テスト: WebTransport / WebSocketの速度向上について扱った論文

概要

Deep ResearchでWebTransport / WebSocketの速度向上について扱った論文一覧を取ってきて、箇条書きで纏めたもの
英語の要約は、Deep Researchで出力された英語を機械翻訳したもの

出力

@Hakkadaikon
Hakkadaikon / main.c
Created February 27, 2025 21:04
OpenRouter Example
#include <curl/curl.h>
#include <stdbool.h>
#include <stdlib.h>
#include <string.h>
typedef char* PCHAR;
typedef void* PVOID;
typedef CURL* PCURL;
typedef struct curl_slist CurlList;
typedef struct curl_slist* PCurlList;