Skip to content

Instantly share code, notes, and snippets.

@yamamaya
yamamaya / SortingNetwork.c
Last active December 26, 2025 07:11
Sorting network for 9 elements
#define SWAP(a, b) if (arr[a] > arr[b]) { uint8_t tmp = arr[a]; arr[a] = arr[b]; arr[b] = tmp; }
// Sorting network for 9 elements (25 steps)
void SortingNetwork9(uint8_t *arr) {
SWAP(0, 1);
SWAP(3, 4);
SWAP(6, 7);
SWAP(1, 2);
SWAP(4, 5);
SWAP(7, 8);
@hdais
hdais / dnsfragattack_authserver.md
Last active October 24, 2025 11:01
DNSフラグメント攻撃の権威サーバ側の対策について
@tenpoku1000
tenpoku1000 / AC_2018-12-02_Intel-doc-links.md
Last active November 6, 2025 08:52
インテル関連ドキュメント・リンク集
@kevincennis
kevincennis / v8.md
Last active January 11, 2026 23:59
V8 Installation and d8 shell usage

Installing V8 on a Mac

Prerequisites

  • Install Xcode (Avaliable on the Mac App Store)
  • Install Xcode Command Line Tools (Preferences > Downloads)
  • Install depot_tools
    • $ git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
    • $ nano ~/.zshrc
    • Add path=('/path/to/depot_tools' $path)