Skip to content

Instantly share code, notes, and snippets.

View MrLYC's full-sized avatar
🎯
Focusing

刘奕聪 MrLYC

🎯
Focusing
View GitHub Profile
@MrLYC
MrLYC / index.html
Created September 6, 2025 16:54
kawaiicoloring
<html lang="en" class="light" style="color-scheme: light;"><plasmo-csui id="codebox-csui"></plasmo-csui><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="preload" href="https://kawaiicoloring.org/_next/static/media/e4af272ccee01ff0-s.p.woff2" as="font" crossorigin="" type="font/woff2"><link rel="preload" as="image" href="https://img.turbo0.com/badge-listed-light.svg"><link rel="stylesheet" href="https://kawaiicoloring.org/_next/static/css/931b179cff3131dc.css" data-precedence="next"><link rel="stylesheet" href="https://kawaiicoloring.org/_next/static/css/42cf2b99349c258f.css" data-precedence="next"><link rel="preload" as="script" fetchpriority="low" href="https://kawaiicoloring.org/_next/static/chunks/webpack-de3c6fdde5d975fe.js"><script src="/_next/static/chunks/b89be8bd-57f0cbbd4e2fdcb5.js" async=""></script><script src="/_next/static/chunks/80-6054f12750ea64a7.js" async=""></script><script src="/_next/static/chunks/main-app-7332e44bc0232e21.js" async
@MrLYC
MrLYC / index.html
Created August 11, 2025 15:33
boids 算法
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Boids群体行为优化演示 - 动态参数控制</title>
<style>
* {
margin: 0;
padding: 0;
@MrLYC
MrLYC / importhook.py
Last active May 15, 2024 03:36
将外部目录当做 python 库进行导入
import sys
import os.path
from importlib.abc import SourceLoader, MetaPathFinder
from importlib.util import spec_from_file_location
class MyMetaFinder(MetaPathFinder):
def find_spec(self, fullname, path, target=None):
if path is None:
path = [os.path.join(os.getcwd(), "contrib")]
@MrLYC
MrLYC / m.json
Created September 19, 2023 16:15
tvbox
{"storeHouse":[{"sourceName":"💢自用仓库","sourceUrl":"https://raw.iqiq.io/liu673cn/box/main/dc.txt"},{"sourceName":"🌸自用仓库","sourceUrl":"https://www.agit.ai/ddx/TVBox/raw/branch/master/d.json"},{"sourceName":"🧡多线接口","sourceUrl":"https://jihulab.com/duomv/apps/-/raw/main/duo.json"},{"sourceName":"💚多多优选仓","sourceUrl":"https://jihulab.com/duomv/apps/-/raw/main/a.txt"},{"sourceName":"💛多多公众仓","sourceUrl":"https://jihulab.com/duomv/apps/-/raw/main/b.txt"},{"sourceName":"❤️多多聚合仓","sourceUrl":"https://jihulab.com/duomv/apps/-/raw/main/c.txt"},{"sourceName":"💜多多预备仓","sourceUrl":"https://jihulab.com/duomv/apps/-/raw/main/d.txt"},{"sourceName":"🌸超级仓库","sourceUrl":"https://www.agit.ai/hu/hcr/raw/branch/master/99668.txt"},{"sourceName":"🦆精品仓库","sourceUrl":"https://www.agit.ai/hu/hcr/raw/commit/afdc0352f3267745a2144786a900efcf1e5c6de6/%e6%8e%a5%e5%8f%a3%e4%bb%93%e5%ba%93%e6%a8%a1%e7%89%88.txt"},{"sourceName":"🎀精品仓库102","sourceUrl":"https://pan.css.lc/api/v3/file/get/89920/%E6%98%9F%E6%B2%B3%E8%BD%AF%E4%BB%B6%E5%9B%AD%E7%BB%BF%E
@MrLYC
MrLYC / release.json
Last active May 23, 2023 14:00
cmdr release info
{
}
var isAutoFocus = false
var timer = setInterval(() => {
var paasInfoNode = document.querySelector('.passengerinfo')
if (paasInfoNode) {
document.querySelector('.passengerinfo').querySelector('.up').querySelector('input').value="姓名"
document.querySelector('.passengerinfo').querySelector('.down').querySelector('input').value="身份证号"
var hintNode = document.querySelector('.hint')
if (!hintNode.querySelector('.hint_icon').classList.contains('icon_ok')) {
hintNode.querySelector('.hint_icon').click()
}
@MrLYC
MrLYC / s3.json
Created April 12, 2021 09:15
s3 open api sepc
{
"openapi": "3.0.0",
"info": {
"version": "2006-03-01",
"x-release": "s3",
"title": "Amazon Simple Storage Service",
"description": "<p/>",
"x-logo": {
"url": "https://twitter.com/awscloud/profile_image?size=original",
"backgroundColor": "#FFFFFF"
@MrLYC
MrLYC / caps.ahk
Created April 5, 2020 02:48
Windows 使用 Caps 建切换输入法 #AHK
Process Priority,,High
SetCapsLockState, AlwaysOff
Capslock::
Send ^{Space}
Return
@MrLYC
MrLYC / 浅色
Last active October 22, 2022 01:14
marp 主题样式
---
theme: uncover
paginate: true
_paginate: false
---
@MrLYC
MrLYC / example.go
Last active November 16, 2018 02:30
[golang单元测试样例]
package example
import (
"fmt"
"net"
"time"
)
// BufferSize : buffer size
var BufferSize = 1024