Skip to content

Instantly share code, notes, and snippets.

@rlueder
rlueder / claude-code-pr-workflow.md
Created March 9, 2026 20:06
Automated PR Reviews with Claude Opus on AWS Bedrock — GitHub Actions workflow

Automated PR Reviews with Claude Opus on AWS Bedrock

A GitHub Actions workflow that uses Claude Opus (via AWS Bedrock) to automatically review pull requests with inline comments.

Features

  • Two-round review system — Round 1 reviews the full diff, Round 2 only reviews changes made after Round 1 (to address feedback). No further reviews after Round 2.
  • Inline PR comments — Feedback is posted as review comments on specific file/line, not just a wall of text.
  • Cost tracking — Each review comment includes token usage and estimated cost.
  • Smart skipping — Docs/config-only PRs are skipped automatically.
@interpiduser5
interpiduser5 / news.md
Created February 20, 2026 01:28
MuMu Player Pro (NetEase) silently runs 17 system reconnaissance commands every 30 minutes on macOS

Summary

MuMu Player Pro for macOS (by NetEase) executes a comprehensive system data collection routine every 30 minutes while the emulator is running. This includes enumerating all devices on your local network, capturing every running process with full command-line arguments, inventorying all installed applications, reading your hosts file, and dumping kernel parameters -- all tied to your Mac's serial number via SensorsData analytics.

None of this is disclosed in MuMu's privacy policy. None of it is necessary for an Android emulator to function.

Environment

  • App: MuMu Player Pro for macOS (v1.8.5)
  • Bundle ID: com.netease.mumu.nemux-global
@srcreigh
srcreigh / diagnostics.zig
Last active February 18, 2026 18:43
Zig union(enum)-based diagnostics
// =============================================================================
// diagnostics.zig: Generic union(enum) Diagnostics error
// payloads library
//
// MIT LICENSE (C) 2026 Shane Creighton-Young
//
// Project Link: https://gist.github.com/srcreigh/1d05f1e74150e9c50938c1b6e7bcdff6
//
// HOW TO USE
// - Read the article https://srcreigh.ca/posts/error-payloads-in-zig/
"""
The most atomic way to train and run inference for a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp
@jake-stewart
jake-stewart / color256.md
Last active March 9, 2026 20:31
Terminals should generate the 256-color palette

Terminals should generate the 256-color palette from the user's base16 theme.

If you've spent much time in the terminal, you've probably set a custom base16 theme. They work well. You define a handful of colors in one place and all your programs use them.

The drawback is that 16 colors is limiting. Complex and color-heavy programs struggle with such a small palette.

@parttimenerd
parttimenerd / java-version.cpp
Created January 9, 2026 09:42
Java version detector
#include <filesystem>
#include <fstream>
#include <iostream>
#include <string>
namespace fs = std::filesystem;
int main(int argc, char* argv[]) {
if (argc != 2) {
std::cerr << "Usage: " << argv[0] << " <path-to-bin-java>\n";
@emschwartz
emschwartz / README.md
Last active March 11, 2026 09:36
The Most Popular Blogs of Hacker News in 2025

This is an OPML version of the HN Popularity Contest results for 2025, for importing into RSS feed readers.

Plug: if you want to find content related to your interests from thousands of obscure blogs and noisy sources like HN Newest, check out Scour. It's a free, personalized content feed I work on where you define your interests in your own words and it ranks content based on how closely related it is to those topics.

#include <stdio.h>
#include <stdint.h>
#include <string.h>
#include <stdbool.h>
typedef int8_t i8;
typedef int16_t i16;
typedef int32_t i32;
typedef int64_t i64;
typedef uint8_t u8;
@rcalixte
rcalixte / libqt6-docs.md
Created November 30, 2025 21:19
Online Documentation for Qt 6, KDE Frameworks, etc. for C & Zig

Online Documentation for Qt 6, KDE Frameworks, etc. for C & Zig

Hi all,

As a brief follow-up to the initial announcement of Qt 6 for C & Zig, the online documentation for the libraries is now available. Browsing the documentation may be sluggish in parts due to the sheer volume of generated content, but this should not deter usage. Both libraries also support offline and local execution of the generation of the documentation. Feel free to dive in!

Regarding the initial post, much of the core guidance remains: these libraries are ready for exploration and use, but not yet prepared for community contributions. Feedback from the vantage of consumption is always welcome. As @dayvster showed in the write-up of his experience, there are some amazing possibilities to be had for the truly curious. I'm deeply grateful for his time a

@diegopacheco
diegopacheco / c3-lang-tiny-essay.md
Last active August 11, 2025 19:59
C3 Lang Tiny Essay

C3 Lang Tiny Essay

created: 16.MAR.2025

I love to learn new programing languages, it help to open the mind to new possibilities and compare different approaches. For instance, I learned Ruby and Scala in 2010, Clojure and Haskell in 2011, Go in 2015, Kotlin 2016, Rust in 2018 and Idris, TypeScript in 2019, 2020 Pandemic strike did a bunch of pocs but not with new langs(crazy year), Zig in 2021, 2022(coding in lots of langs but nothing new) - in 2023 I'm learning Nim and V. Learn at least one lang per year. This post is not complain, it's just to share some toughts, notes and impressions.

Why C3

  • Created in 2021 by Christoffer Lernö
  • Evolution not Revolution