Skip to content

Instantly share code, notes, and snippets.

View Misaka13514's full-sized avatar
Ciallo~(∠・ω< )⌒★!

Rine Amakawa Misaka13514

Ciallo~(∠・ω< )⌒★!
View GitHub Profile
@Misaka13514
Misaka13514 / upnp_keeper.sh
Last active July 29, 2026 21:40
upnp_keeper
#!/bin/sh
# ==========================================
# Configuration Section
# ==========================================
# Local LAN IP (Used as the port forwarding target)
LOCAL_IP="192.168.0.250"
# Interface connected to the upstream router (used for SSDP discovery)
// ==UserScript==
// @name Campusmate Message Downloader
// @namespace http://tampermonkey.net/
// @version 1.0
// @description Add buttons to download messages as Markdown files on Campusmate portal.
// @author Misaka13514
// @match *://portal.isi-camj.com/campusweb/*
// @grant none
// ==/UserScript==
@Misaka13514
Misaka13514 / tailscale-machines-sort.user.js
Last active April 17, 2026 05:38
Add sorting functionality to the Tailscale machines list
// ==UserScript==
// @name Tailscale Machines Sort
// @namespace https://gist.github.com/Misaka13514/e249a1e1e4b0a75d8df59f67d43bb239
// @version 1.0
// @description Add sorting functionality to the Tailscale machines list
// @author Misaka13514
// @match https://login.tailscale.com/admin/machines
// @icon https://tailscale.com/favicon.png
// @downloadURL https://gist.github.com/Misaka13514/e249a1e1e4b0a75d8df59f67d43bb239/raw/589658740d460dfc15a7168b2d4f90f6daa7307e/tailscale-machines-sort.user.js
// @grant none
@Misaka13514
Misaka13514 / hike-living.zhihuishu.user.js
Last active May 13, 2026 10:37
智慧树直播课自动签到
// ==UserScript==
// @name 智慧树直播课全自动挂机助手
// @namespace https://gist.github.com/Misaka13514/4ddeb179c2ff6c218aa56f3fc7cc1a96
// @version 2.0
// @description 从学生主页自动发现直播课并进入,自动关闭引导及设备检测弹窗,自动签到,自动点击防溜号弹窗
// @author Misaka13514
// @match *://hike-living.zhihuishu.com/*
// @match *://onlineweb.zhihuishu.com/onlinestuh5*
// @icon https://assets.zhihuishu.com/icon/favicon.ico?v=20210605
// @downloadURL https://gist.github.com/Misaka13514/4ddeb179c2ff6c218aa56f3fc7cc1a96/raw/hike-living.zhihuishu.user.js
@Misaka13514
Misaka13514 / worker.js
Created June 16, 2021 14:38 — forked from moesoha/worker.js
Auto kick added member from Telegram group (deployed on CloudFlare Worker)
addEventListener('fetch', event => event.respondWith(handleRequest(event.request)));
// Add environment variable `TGBOT_TOKEN` via Worker-Settings
async function requestTelegramBotAPI(method, payload) {
return fetch(`https://api.telegram.org/bot${TGBOT_TOKEN}/${method}`, {
method: "POST",
headers: {
"Content-Type": "application/json; charset=utf-8"
},
body: !payload ? undefined : JSON.stringify(payload)
@Misaka13514
Misaka13514 / MisakaTweetSyncBot-data.json
Last active April 27, 2023 02:39
NeverBehave/Tweet2Telegram
{
"since_id": [
"1462379926682693632",
"1462369243735883779",
"1462357691741786113",
"1462343691754872833",
"1462298785686511616",
"1462284638857007107",
"1462255847615045636",
"1462245188558995457",