Skip to content

Instantly share code, notes, and snippets.

View nmnmcc's full-sized avatar
😄

Yinhao Huang nmnmcc

😄
  • Zhuhai College of Science and Technology
View GitHub Profile
@nmnmcc
nmnmcc / easynet.go
Created September 26, 2025 10:17
For ZCST Internal Use
package main
import (
"bytes"
"encoding/json"
"errors"
"fmt"
"io"
"log/slog"
"math/rand"
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@nmnmcc
nmnmcc / gqlgen.schema.json
Created November 3, 2025 08:59
gqlgen Configuration Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://github.com/99designs/gqlgen/gqlgen.schema.json",
"title": "gqlgen Configuration Schema",
"description": "JSON Schema for gqlgen.yml configuration files",
"type": "object",
"properties": {
"$schema": {
"type": "string",
"description": "JSON Schema URI reference",
@nmnmcc
nmnmcc / alacritty.toml
Last active April 16, 2026 15:39
Alacritty config
[general]
import = ["~/.config/alacritty/themes/nmnmcc.toml"]
[font]
normal = { family = "IBM Plex Mono", style = "Regular" }
[window]
padding = { x = 4, y = 4 }
opacity = 0.8
@nmnmcc
nmnmcc / setup.sh
Last active June 20, 2026 06:20
Claude Code Cloud | Nix + Devenv
#!/usr/bin/env bash
set -euo pipefail
export USER=root
export PATH="/nix/var/nix/profiles/default/bin:$HOME/.nix-profile/bin:$PATH"
# Nix
curl -fsSL -L https://install.determinate.systems/nix -o /tmp/nix-install.sh
sh /tmp/nix-install.sh install linux --no-confirm --init none
echo "source ~/.nix-profile/etc/profile.d/nix.sh" >> ~/.bashrc
@nmnmcc
nmnmcc / AGENTS.md
Created July 4, 2026 06:06
AGENTS.md

AGENTS.md

This file is the operating guide for AI coding agents and human maintainers working in this repository.

Its purpose is not to make the agent obedient to arbitrary style preferences. Its purpose is to preserve project quality as the codebase grows by making local truth, architecture boundaries, verification, and feedback loops explicit.

Core Principle

Do not rely on model memory, taste, or one-shot intuition.

@nmnmcc
nmnmcc / README.md
Last active July 10, 2026 16:29
eSIM Access Postman 文档转换为 OpenAPI 3.0.3 JSON

eSIM Access Postman 文档转 OpenAPI JSON

源文档:https://docs.esimaccess.com/

运行环境:Node.js 18+

npm install postman-to-openapi js-yaml
node convert.cjs esimaccess.openapi.json