Skip to content

Instantly share code, notes, and snippets.

View RigoLigoRLC's full-sized avatar
πŸ˜‰
I work on stuff never been done before

Wu Haotian RigoLigoRLC

πŸ˜‰
I work on stuff never been done before
View GitHub Profile
β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’ΔΏ
β–’ Boot Menu List β–’
β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’Δ΄
β–’ -> 1 'LoongOS (2k300)' β–’
β–’ β–’
β–’ β–’
β–’ β–’
β–’ β–’
β–’ β–’
β–’ β–’
@RigoLigoRLC
RigoLigoRLC / gist:a8bbb01d6254c739a18a5cd898af5e05
Created January 18, 2025 15:49
New programming language idea: REvamped SHell, resh. Enjoy the best of both shell script and high level programming languages.
#!/bin/resh
# This is a Unix shell, what's fun about it?
HELLO='Hello,'
CURRENT_VERSION=4
# But here's a twist
# I know you hate C++ style lambda capture
resh [&] {
// But now you code in a high level scripting language
@RigoLigoRLC
RigoLigoRLC / 光棱坦克OpenCV提取法.cpp
Created August 2, 2025 15:31
光棱坦克OpenCV提取法
// SPDX-License-Identifier: MIT
#include <algorithm>
#include <opencv2/opencv.hpp>
int main(int argc, char **argv) {
cv::Mat img = cv::imread(argv[1]);
cv::Mat img_out(img.rows, img.cols, img.type());
const auto maxrow = img.rows, maxcol = img.cols;