This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Fuck you MCBBS ADs | |
// @namespace https://example.com/nomcbbsads | |
// @version 1.0 | |
// @description remove top bar ads on mcbbs.net | |
// @author Dianliang233 | |
// @updateURL https://gist.github.com/Dianliang233/6ef2be3fa1846d66ee31e27b10d94289/raw/09146ec2d8d74aca660d4571f0350beddf8ead0e/fuk_you_mcbbs_ad.user.js | |
// @match https://www.mcbbs.net/* | |
// @grant none | |
// ==/UserScript== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Location for wiki's entry points | |
location ~ ^/(index|load|api|thumb|opensearch_desc|rest|img_auth)\.php$ { | |
include enable-php-81.conf; | |
} | |
# Cache for load.php | |
location ~ ^load\.php$ { | |
add_header Cache-Control "public"; | |
expires 7d; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name F**K YOU TENECNT | |
// @description Directly redirect to the destination of links opened in QQ instead of Ctrl-C/V it to location bar | |
// @namespace https://example.com/Dianliang233/tencent/ | |
// @version 0.2 | |
// @author Not Dianliang233 | |
// @match https://c.pc.qq.com/middlem.html* | |
// @updateURL https://gist.github.com/Dianliang233/15efd4175dca3a412811a4a60e115815/raw/a5b126b9689503aa7c07911930db24bf3b47e7b9/fuk-you-tenecnt.user.js | |
// @grant none | |
// @run-at document-start |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name:en A Pair of Glasses for Fandom | |
// @name:zh η»FandomηδΈεηΌι | |
// @description:en Kill Fandom's crappy lossy compression | |
// @description:zh WikiηηζΈ ζ°δΊεεεεεεεεεεεεεεεεεεεεεεεεεεεε | |
// @namespace https://example.com/Dianliang233/clearwiki/ | |
// @version 0.1 | |
// @author Dianliang233 | |
// @match https://*.fandom.com/* | |
// @updateURL https://gist.github.com/Dianliang233/1a29fb06fd2ce1b98456e64644cf6537/raw/679da9bad339ecfa5e5e256299682a702e8afa57/fandom-glasses.user.js |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name: I WANNA SCROLL ON MINECRAFT.NET | |
// @namespace https://example.com/minecraftnetscroll | |
// @version 1.0.1 | |
// @description:en fix WEB-1933 | |
// @author Dianliang233 | |
// @updateURL https://gist.github.com/Dianliang233/635394e5c97392f75fc109e55acf8bd0/raw/62a95098f92559d241b74a78f663df72f5cb08be/minecraft_net_scroll.user.js | |
// @match https://www.minecraft.net/* | |
// @grant none | |
// ==/UserScript== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Script Info] | |
; δΈζ Minecraft Wiki εεΉζ ·εΌ - v1.1 | |
; https://gist.github.com/Dianliang233/f1e1749ca888d7d7ac90fa056ab323b5 | |
; ι¨εεθοΌhttps://github.com/Kilo19/NixieVideoKit/blob/master/%E8%BE%89%E5%85%89%E6%A0%B7%E5%BC%8F.ass | |
Title: Minecraft Wiki Style | |
ScriptType: v4.00+ | |
WrapStyle: 0 | |
ScaledBorderAndShadow: yes | |
YCbCr Matrix: TV.601 | |
PlayResX: 1280 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"app": "com.tencent.miniapp_01", | |
"config": { | |
"autoSize": 0, | |
"ctime": 1606548327, | |
"forward": 1, | |
"height": 0, | |
"token": "5249d02fda3f71f76fcd2bd3012b182c", | |
"type": "normal", | |
"width": 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# by _LittleC_ | |
const fs = require('fs') | |
const _ = require('lodash') | |
let list = _.chunk(fs.readFileSync("1.txt").toString().split("\r\n"), 2) | |
let result = list.map(v => { | |
return { | |
id: ~~(v[0].match(/MC-(\d*)/)[1]), | |
data: v | |
} |