Skip to content

Instantly share code, notes, and snippets.

@sevi418
sevi418 / csdn.txt
Last active April 7, 2025 10:21
UBlock Origin Rules to Block CSDN Domains in DuckDuckGo and Google search results.
! Block CSDN domains in DuckDuckGo search results
duckduckgo.com##article[data-nrn~="result"]:has(a[href*="csdn.net"])
duckduckgo.com##article[data-nrn~="result"]:has(a[href*="csdn.com"])
duckduckgo.com##article[data-nrn~="result"]:has(a[href*="csdnimg.cn"])
duckduckgo.com##article[data-nrn~="result"]:has(a[href*="gitcode.com"])
duckduckgo.com##article[data-nrn~="result"]:has(a[href*="gitcode.net"])
duckduckgo.com##article[data-nrn~="result"]:has(a[href*="gitcode.host"])
! Block CSDN domains in Google search results
google.*##div[class='MjjYud']:has(a[href*="csdn.net"])
@sevi418
sevi418 / nord-light.yaml
Created April 7, 2023 15:14
nord light theme for Rime
nord-light:
name: "Nord Light"
author: Seviche CC <[email protected]>
font_face: "PingFangSC-Regular"
font_point: 15.0
candidate_list_layout: linear
candidate_format: '%c %@ '
text_orientation: horizontal
inline_preedit: true
translucency: true
Vue.js 32 hrs 29 mins ██████████████████▊░░ 89.8%
JavaScript 1 hr 29 mins ▊░░░░░░░░░░░░░░░░░░░░ 4.1%
CSS 1 hr 1 min ▌░░░░░░░░░░░░░░░░░░░░ 2.8%
Go 18 mins ▏░░░░░░░░░░░░░░░░░░░░ 0.8%
JSON 14 mins ▏░░░░░░░░░░░░░░░░░░░░ 0.7%
@sevi418
sevi418 / rss.js
Last active October 17, 2023 19:07
rss+ & miniflux
// ==UserScript==
// @name RSS+ : Show Site All RSS
// @name:zh RSS+ : 显示当前网站所有的 RSS
// @name:zh-CN RSS+ : 显示当前网站所有的 RSS
// @name:zh-TW RSS+ : 顯示當前網站所有的 RSS
// @name:ja RSS+ : 現在のサイトのRSSを表示
// @name:ko RSS+ : 현재 사이트의 RSS 표시
// @description Show All RSS Of The Site (If Any)
// @description:zh 显示当前网站的所有 RSS(如果有的话)
// @description:zh-CN 显示当前网站的所有 RSS(如果有的话)
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Noto+Serif+SC:wght@300;400;500&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Merriweather:wght@700;900&display=swap");
:root {
--width-body: 900px;
--item-title-link-line-height: 1.23;
--entry-content-line-height: 1.5;
--item-title-link-font-size: 28px;
--font-size-smaller: 16px;
// 数组转为对象
// 完全看不懂!这里是抄小黄狗的😭
var menuArr = [
[1, "Area1", -1],
[2, "Area2", -1],
[3, "Area1-1", 1],
[4, "Area1-2", 1],
[5, "Area2-1", 2],
[6, "Area2-2", 2],