Skip to content

Instantly share code, notes, and snippets.

@knowlet
knowlet / settour-cruise.user.script
Created April 2, 2025 01:07
東南旅行社郵輪快速篩選小工具
// ==UserScript==
// @name 東南旅行社郵輪查詢小工具
// @namespace https://knowlet.me
// @version 2025-04-01
// @description try to take over the world!
// @author knowlet
// @match https://tour.settour.com.tw/cruise.html
// @icon https://www.google.com/s2/favicons?sz=64&domain=settour.com.tw
// @grant GM_registerMenuCommand
// @grant GM_getValue
@knowlet
knowlet / arc-runner-set.helmchart.yaml
Created March 20, 2025 08:29
Deploy GitHub Actions Controller with K3s helm-controller
apiVersion: helm.cattle.io/v1
kind: HelmChart
metadata:
name: arc-runner-set
namespace: kube-system
spec:
chart: oci://ghcr.io/actions/actions-runner-controller-charts/gha-runner-scale-set
set:
githubConfigUrl: "https://github.com/<your_enterprise/org/repo>"
githubConfigSecret.github_token: "<PAT>"
@knowlet
knowlet / crossover.sh
Created March 11, 2025 06:51
Unlimited CrossOver Trial (macOS)
echo "🧹 Resetting CrossOver bottles..."
pkill CrossOver && echo "✅ CrossOver processes killed."
echo "🕒 Modifying trial timestamps..."
DATETIME=$(date -u -v -3H '+%Y-%m-%dT%TZ')
echo "✅ New trial date set to: ${DATETIME}"
defaults write com.codeweavers.CrossOver FirstRunDate -date "${DATETIME}"
defaults write com.codeweavers.CrossOver SULastCheckTime -date "${DATETIME}"
echo "✅ Updated trial timestamps in preferences."
echo "🧹 Resetting CrossOver bottles..."
find ~/Library/Application\ Support/CrossOver/Bottles/ -type f \( -name ".eval" -o -name ".update-timestamp" \) -exec rm -f "{}" +
@knowlet
knowlet / fans17.user.js
Created May 12, 2023 20:08
爆漿公社...
// ==UserScript==
// @name 無限爆漿
// @namespace https://knowlet.me
// @version 0.1
// @description try to take over the world!
// @author knowlet
// @match https://www.fans17.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=www.fans17.com
// @grant none
// ==/UserScript==
@knowlet
knowlet / freegp.user.js
Created May 25, 2022 14:57
Garage Play 無限試看
// ==UserScript==
// @name Free GP+
// @namespace knowlet.me
// @version 0.1
// @description unlimited gp+ video preview.
// @author You
// @match https://garageplay.tw/vod/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=garageplay.tw
// @grant unsafeWindow
// @run-at document-end
@knowlet
knowlet / c4story.user.js
Created June 12, 2019 07:23
就是不想看 VAST.
// ==UserScript==
// @name 研伝說動漫看看
// @namespace https://knowlet.me
// @version 0.1
// @description try to take over the world!
// @author knowlet
// @match https://www.c4story.com/*
// @run-at document-end
// @grant none
// ==/UserScript==
@knowlet
knowlet / apmib.c
Created June 11, 2019 06:29
Fake Realtek apmib library.
// mips-linux-gnu-gcc -Wall -fPIC -shared apmib.c -o apmib-ld.so
#include<stdio.h>
#include<stdlib.h>
#define MIB_IP_ADDR 170
#define MIB_HW_VER 0x250
#define MIB_CAPTCHA 0x2C1
int apmib_init(void) {
// Fake it!
return 1;
@knowlet
knowlet / dmeden.user.js
Created June 11, 2019 06:28
動漫伊甸看看
// ==UserScript==
// @name 動漫伊甸看看
// @namespace https://knwolet.me
// @version 0.1
// @description try to take over the world!
// @author knowlet
// @match http://dmeden.net/comichtml/*/1.html*
// @grant none
// ==/UserScript==
// ==UserScript==
// @name AD News
// @namespace https://knowlet.me
// @version 0.1
// @description try to eat some apple!
// @author knowlet
// @match https://*.appledaily.com/*
// @grant none
// @run-at document-start
// ==/UserScript==
@knowlet
knowlet / KissComic.user.js
Last active May 18, 2018 20:06
Expand 930mh comic pic.
// ==UserScript==
// @name KissComic
// @namespace https://knowlet.me/
// @version 0.2
// @description try to take over the world!
// @author knowlet
// @match http://www.930mh.com/manhua/*
// @grant none
// ==/UserScript==