Skip to content

Instantly share code, notes, and snippets.

Avatar
🔰
新手上路

怀瑾 symant233

🔰
新手上路
  • WUST
  • Wuhan, China
View GitHub Profile
@symant233
symant233 / profiles.json
Last active Jun 6, 2020
Windows Terminal Settings <v0.10.781.0> 2020-04-03
View profiles.json
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"alwaysShowTabs": true,
"defaultProfile": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
"initialCols": 100,
"initialRows": 30,
"requestedTheme": "dark",
"showTabsInTitlebar": true,
"showTerminalTitleInTitlebar": true,
"tabWidthMode": "equal",
View ublock-static-filters.txt
! 2019/2/2 https://start.duckduckgo.com
start.duckduckgo.com##.header__label.showcase.header--aside__item
start.duckduckgo.com##.tag-home__item
! 2019/2/2 https://www.bilibili.com
www.bilibili.com###fixed_app_download
! 2019/2/4 http://ask.zol.com.cn
ask.zol.com.cn###\#J_recommend_cover
ask.zol.com.cn###\#J_recommend_cover
@symant233
symant233 / jiexi.js
Last active Sep 19, 2021
【全网视频VIP解析】改
View jiexi.js
// ==UserScript==
// @name 【全网视频VIP解析】改
// @version 1.0.0
// @description 更改自脚本(ID:424086)v2.5,作者小艾特,遵循原作者GPL协议,仅用于学习.
// @author 小艾特, modified by symant233
// @icon https://cdn.jsdelivr.net/gh/symant233/PublicTools/Beautify/Bkela.png
// @namespace https://greasyfork.org/zh-CN/scripts/424086
// @require https://cdn.staticfile.org/jquery/3.4.1/jquery.min.js
// @match *://v.qq.com/x/cover/*
// @match *://v.qq.com/x/page/*
@symant233
symant233 / vue-nginx.conf
Created Jul 18, 2021 — forked from namdau/vue-nginx.conf
Nginx config for Vuejs project with an API upstream
View vue-nginx.conf
server {
server_name default_server;
# This is for Let's Encrypt certification renewal
include /etc/nginx/snippets/letsencrypt.conf;
# Redirect to https
location / {
return 301 https://$server_name$request_uri;
}
}
@symant233
symant233 / worker.js
Created Aug 22, 2021
Raw content http proxy for cloudflare workers (GET only). try `https://${ID}.${yourName}.workers.dev/?https://${uri}`
View worker.js
addEventListener("fetch", (event) => {
const res = handleRequest(event.request)
.catch((err) => new Response(err.stack, { status: 500 }))
event.respondWith(res);
});
/**
* @param {FetchEvent} request
*/
async function handleRequest(request) {
const path = request.url;
View wust_class_select.js
// ==UserScript==
// @name 武汉科技大学选课系统去除其他校区
// @namespace https://github.com/symant233
// @version 0.0.1
// @description 武汉科技大学选课系统 去除其他校区
// @author symant233
// @icon https://cdn.jsdelivr.net/gh/symant233/PublicTools/Beautify/Bkela.png
// @require https://cdn.staticfile.org/jquery/3.4.1/jquery.min.js
// @match http://59.68.177.189/pyxx/pygl/pyjhxk.aspx
// @grant GM_addStyle