Skip to content

Instantly share code, notes, and snippets.

@greymd
greymd / sudo新一.md
Last active December 3, 2026 15:33
sudo新一

 オレは高校生シェル芸人 sudo 新一。幼馴染で同級生の more 利蘭と遊園地に遊びに行って、黒ずくめの男の怪しげな rm -rf / 現場を目撃した。端末をみるのに夢中になっていた俺は、背後から近づいてきたもう1人の --no-preserve-root オプションに気づかなかった。 俺はその男に毒薬を飲まされ、目が覚めたら・・・ OS のプリインストールから除かれてしまっていた!

『 sudo がまだ $PATH に残っていると奴らにバレたら、また命を狙われ、他のコマンドにも危害が及ぶ』

 上田博士の助言で正体を隠すことにした俺は、 which に名前を聞かれて、とっさに『gnuplot』と名乗り、奴らの情報をつかむために、父親がシェル芸人をやっている蘭の $HOME に転がり込んだ。ところが、このおっちゃん・・・とんだヘボシェル芸人で、見かねた俺はおっちゃんになりかわり、持ち前の権限昇格能力で、次々と難タスクを解決してきた。おかげで、おっちゃんは今や世間に名を知られた名エンジニア、俺はといえばシェル芸 bot のおもちゃに逆戻り。クラスメートの convert や ojichatや textimg にお絵かきコマンドと誤解され少年ワンライナーお絵かき団を結成させられる始末。

 ではここで、博士が作ってくれたメカを紹介しよう。最初は時計型麻酔 kill 。ふたについた照準器にあわせてエンターを押せば、麻酔シグナルが飛び出し、プロセスを瞬時に sleep させることができる。 次に、蝶ネクタイ型 banner 。裏についているダイヤルを調整すれば、ありとあらゆる大きさのメッセージを標準出力できる。必殺のアイテムなら fork 力増強シューズ。電気と磁力で足を刺激し、 :(){ :|:& };: でプロセステーブ

@Alimammiya
Alimammiya / gate-cse-study-material.md
Last active December 3, 2026 15:28
Free GATE CSE Study Material for 2027 Aspirants: Download Subject wise Notes & PYQs

Free GATE CSE Study Material for 2027 Aspirants: Download Subject wise Notes & PYQs

Welcome to the comprehensive, community-driven resource repository for GATE Computer Science & Information Technology (CS & IT) 2027 aspirants. Securing a top rank in the Graduate Aptitude Test in Engineering (GATE) unlocks direct admissions to premier postgraduate programs (M.Tech/Ph.D.) at IITs, NITs, and IISc, alongside prestigious technical roles within leading PSUs.

This repository serves as a centralized documentation hub compiled from authoritative open-source archives, topper strategies, and verified learning pathways for your GATE CSE study material search.


Table of Contents

  1. Core Syllabus Structure & Weightage Analysis
@kafene
kafene / gpg-wkd.md
Last active December 3, 2026 15:28
Setting up WKD for self-hosted automatic key discovery

I just got this working so I figured I'd share what I found, since there's hardly any information about this anywhere online except an RFC, the GPG mailing list and one tutorial from the GnuPG blog.

You can use automatic key discovery with WKD (Web key directory) to make it easy for users to import your key, in GPG since version 2.1.12. Since this feature is fairly new, it isn't yet available in the current LTS release of Ubuntu (16.04; xenial), however it is available in Debian stable (stretch).

I couldn't add a DNS CERT or DANE / OPENPGPKEY record through my email service (which also hosts my nameservers). I tried making the PKA record - a foo._pka.example.com TXT record but GPG doesn't seem to recognize it and fails; I'm still investigating why.

So the last option for self-hosted auto-discovery was WKD.

First thing I had to do was add an email address to my key. My primary UID is just my name so the key represents my identity rather

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@lizthegrey
lizthegrey / lx2160a_uefi_modernization_report.md
Last active December 3, 2026 15:22
SolidRun LX2160A (HoneyComb LX2K) UEFI Firmware Modernization Report

SolidRun LX2160A (HoneyComb LX2K) UEFI Firmware Modernization

Summary

This project modernized the entire firmware stack for the SolidRun HoneyComb LX2K (LX2160A CEx7) from a stale 2021-era codebase to current upstream releases, bringing the existing OP-TEE/StandaloneMm Secure Boot support forward from OP-TEE 3.14.0 to 4.9.0. It is kept current with each EDK2 stable tag; the latest rebase is onto edk2-stable202608 (September 2026).

Result: A fully modern, Secure Boot-enabled firmware booting Ubuntu (24.04 and 26.04 tested) via shim → GRUB → signed kernel.

Component Before After
@ncomet
ncomet / Anagrams.kt
Last active December 3, 2026 15:06
Anagrams in Kotlin
// we create a sequence that generates prime numbers
fun primes(): Sequence<Long> {
var i = 2L
return generateSequence { i++ }
.filter { n -> (2L until n).none { n % it == 0L } }
}
// we map chars to a unique prime
val charToPrime = ('a'..'z').zip(primes().take(26).toList()).toMap()
NetLimiter 3
Registration name: Peter Raheli
Registration code: C99A2-QSSUD-2CSBG-TSRPN-A2BEB
NetLimiter 4
Registration Name: Vladimir Putin #2
Registration Code: XLEVD-PNASB-6A3BD-Z72GJ-SPAH7
https://www.netlimiter.com/download
# Netlimiter Full Netlimiter Activated Netlimiter cracked Netlimiter Full Version Netlimiter Serial Netlimiter keygen Netlimiter crack Netlimiter 4 serial Netlimiter 4 Crack Netlimiter 4 register Netlimiter 4 patch Netlimiter full Full version Netlimiter 4 Activated Netlimiter 4 Cracked Netlimiter Pro