Skip to content

Instantly share code, notes, and snippets.

View t3tra-dev's full-sized avatar
💫
魔術とは、才能の無い人間がそれでも才能ある人間と対等になる為の技術のこと。

t3tra t3tra-dev

💫
魔術とは、才能の無い人間がそれでも才能ある人間と対等になる為の技術のこと。
View GitHub Profile
@t3tra-dev
t3tra-dev / clockm-nullptr-deref.c
Created June 2, 2026 13:10
Deterministic Kernel Panic (NULL Pointer Dereference) via Race Condition in IOTimeSyncClockManager
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <pthread.h>
#include <stdatomic.h>
#include <IOKit/IOKitLib.h>
#define NCALLERS 6
#define NCLOSERS 4
@t3tra-dev
t3tra-dev / _even_and_odd_judgment.md
Last active June 5, 2026 01:16
ぼくがかんがえたさいきょうの偶奇判定

「有限体 $\mathbb{F}_5$ 上の楕円曲線 $E: y^2 = x^3 + ax + b$ (ここでは $a=0, b=2$)」における点の加法演算やスカラー倍演算(点を何倍するか)を定義し、それを使って「ある点 $G=(2,0)$」の何倍かを計算することで、整数 $n$ が「奇数か偶数か」を判定しています。

# tmux起動時のシェルをzshにする
set-option -g default-shell /bin/zsh
# tmuxを256色表示できるようにする
set-option -g default-terminal screen-256color
set -g terminal-overrides 'xterm:colors=256'
# ステータスバーをトップに配置する
set-option -g status-position top