Skip to content

Instantly share code, notes, and snippets.

View SakuraKoi's full-sized avatar
✔️
Verified by Github

SakuraKooi SakuraKoi

✔️
Verified by Github
View GitHub Profile
@SakuraKoi
SakuraKoi / Clash RCE test.yml
Created January 31, 2023 05:42
Clash RCE test.yml
port: 7890
socks-port: 7891
redir-port: 7892
allow-lan: false
mode: rule
log-level: silent
external-controller: '0.0.0.0:9090'
secret: ''
proxies:
-
@SakuraKoi
SakuraKoi / bilibili_anti_censor.userscript.js
Last active May 27, 2022 16:08
Bilibili直播 弹幕反和谐
// ==UserScript==
// @name BiliLive-AntiCensor
// @namespace https://www.sakurakooi.cyou/
// @version 0.1
// @description try to take over the world!
// @author SakuraKooi
// @match https://live.bilibili.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=bilibili.com
// @grant none
// ==/UserScript==
@SakuraKoi
SakuraKoi / customToken.userscript.js
Last active October 27, 2021 02:08
Debank Approval - Custom token name Userscript
// ==UserScript==
// @name Debank Approve Custom Token Name
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://debank.com/profile/*/approve?*
// @icon https://www.google.com/s2/favicons?domain=debank.com
// @grant none
// ==/UserScript==
@SakuraKoi
SakuraKoi / gist:9b965e8c48f65a5f08ce3bc93a9dc98b
Created September 24, 2021 14:33
Minecraft中Rime无法输入中文的缓解方案
把lwjgl的输出重定向到AWTGLCanvas
AWTGLCanvas canvas = new AWTGLCanvas();
Display.setParent(canvas);
然后套个JFrame在外面
大部分情况下这时候输入法就正常了
偶发仍然禁用
ImmAssociateContextEx(gameWindow, NULL, IACE_DEFAULT);
@SakuraKoi
SakuraKoi / github-export-labels.js
Last active January 3, 2021 14:10 — forked from douglascayers/github-export-labels.js
Export and import GitHub labels between projects by running JavaScript in the browser console to automate clicks.
/**
* Inspired by @MoOx original script: https://gist.github.com/MoOx/93c2853fee760f42d97f
* Adds file download per @micalevisk https://gist.github.com/MoOx/93c2853fee760f42d97f#gistcomment-2660220
* Fixed color parsing @SakuraKooi
*
* Changes include:
* - Get the description from the `title` attribute instead of `aria-label` (doesn't exist anymore)
* - Use style.backgroundColor and parse the rgb(...) to hex (rather than regex parsing of 'style' string)
* - Downloads labels to a JSON file named after the webpage to know which GitHub repo they came from.
*