Skip to content

Instantly share code, notes, and snippets.

@KuRRe8
KuRRe8 / GIST.MD
Last active March 11, 2026 03:19
I love GitHub Gist

⚡ I LOVE GIST ⚡

🎯 One file. One idea. One universe.

🚀 Why Gist is the Best Thing Ever

  • Zero setup, zero commitment.
    ✅ Code now, organize... maybe never.

  • Public? Private?

@KuRRe8
KuRRe8 / PythonSnippets.md
Last active June 10, 2026 06:39
small repo for personal use, welcome to contribute
@KuRRe8
KuRRe8 / _cxx_snippets.md
Last active May 8, 2025 23:39
useful cpp snippets

C++ Snippets

For personal use

@KuRRe8
KuRRe8 / _autoplayconnect4.md
Last active May 3, 2025 23:12
autoplay connect4 in gameboardarena

Autoplay Connect 4

connect 4 is a well-known game which receives a lot of attention in the AI community. The game is played on a 7x6 board, where two players take turns dropping colored discs into columns. The objective is to connect four discs in a row, either horizontally, vertically, or diagonally.

How to compile and use

in wsl g++ -std=c++17 -O3 main.cc then in windows `

@KuRRe8
KuRRe8 / 00_Intro.md
Last active May 16, 2025 15:15
现代C++的一些新特性,以17、20、23版本为例

现代C++

C++ 11/14作为一个奠基版本,构造了近年来编写C++的新范式。

本人熟悉的主要语言技术栈有C/C++, Python, Matlab, C#, 相比之下,C++的变化是最频繁的,也是最有趣的

多数人已然熟悉C++11/14的用法,本Gist仓库旨在总结一些17及以后版本的特性。

欢迎在讨论区发表相应见解。

@KuRRe8
KuRRe8 / _intro.md
Last active April 8, 2026 08:59
和Python使用有关的一些教程,按类别分为不同文件

Python教程

Python是一个新手友好的语言,并且现在机器学习社区深度依赖于Python,C++, Cuda C, R等语言,使得Python的热度稳居第一。本Gist提供Python相关的一些教程,可以直接在Jupyter Notebook中运行。

  1. 语言级教程,一般不涉及初级主题;
  2. 标准库教程,最常见的标准库基本用法;
  3. 第三方库教程,主要是常见的库如numpy,pytorch诸如此类,只涉及基本用法,不考虑新特性

其他内容就不往这个Gist里放了,注意Gist依旧由git进行版本控制,所以可以git clone 到本地,或者直接Google Colab\ Kaggle打开相应的ipynb文件

@KuRRe8
KuRRe8 / 0_ros2.md
Last active April 20, 2026 05:56
ros2 通识

ROS2 教程

ROS是大家喜闻乐见的机器人操作系统,本Gist介绍一些基本用法

@KuRRe8
KuRRe8 / Flip7CardCounter.md
Last active June 2, 2026 16:19
Flip 7 card counter on BoardGameArena

Flip 7

A simple game that highly relies on luck.

Card counter

This is a script for TamperMonkey on Chrome/Edge. Try to read TamperMonkey docs to know how to run it.

It does only support to Chinese UI of BGA. There are several places related to Chinese, 新的一轮 弃牌堆洗牌 爆牌。Please search for other languages translation for these phrase for the purpose of substitution.

@KuRRe8
KuRRe8 / 00_intro.md
Last active June 2, 2026 02:14
windows related knowledge
@KuRRe8
KuRRe8 / 00_intro.md
Last active June 12, 2026 02:19
common uv project files

UV

UV now is the popular python project manager.

Here I upload some common pyproject.toml files for quick reference/ copy/ init proj.

You need rename them back to pyproject.toml and use uv sync.