Skip to content

Instantly share code, notes, and snippets.

View luoling8192's full-sized avatar
🏠
Working from home

RainbowBird luoling8192

🏠
Working from home
View GitHub Profile
@luoling8192
luoling8192 / mouse.ps1
Last active August 17, 2024 23:35
Windows Nature Mouse Scrolling
# 检查当前用户是否具有管理员权限
if (-not ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)) {
Write-Host "请以管理员身份运行此脚本。"
exit
}
# 注册表路径
$regPath = "HKLM:\SYSTEM\CurrentControlSet\Enum\HID"
# 获取所有以 VID_ 开头的设备
@saeziae
saeziae / custom.css
Created April 19, 2024 15:23
Visuwual Stuwudio Cowode
.editor-group-watermark > .letterpress{
background-image: url(https://raw.githubusercontent.com/Aikoyori/ProgrammingVTuberLogos/main/VSCode/VSCode-Thick.png) !important;
opacity: .75;
}
@WillianTomaz
WillianTomaz / wsl2-with-1password-info.md
Last active November 9, 2024 16:22
Instructions for using 1Password SSH Agent with WSL2 (on Windows 11)

LinkedIn

Saturday, April 22, 2023

How to Use 1Password SSH Agent with WSL2 (on Windows 11)

  • Note:

    • Always look for the official documentation, this tutorial may not suit you as there are new updates to the installation process.
    • References are at the end of the document.
  • Was used:

@lewangdev
lewangdev / default.custom.yaml
Last active November 13, 2024 07:47
雾凇拼音自定义配置,MacOS-like & Wechat-like Dark/Light Color Scheme For Rime
patch:
# 菜单
menu:
page_size: 8 # 候选词个数
# alternative_select_labels: [ ①, ②, ③, ④, ⑤, ⑥, ⑦, ⑧, ⑨, ⑩ ] # 修改候选项标签
# alternative_select_keys: ASDFGHJKL # 如编码字符占用数字键,则需另设选字键
# ascii_mode、inline、no_inline、vim_mode 等等设定,可参考 /Library/Input Methods/Squirrel.app/Contents/SharedSupport/squirrel.yaml
# 中西文切换
#
# 【good_old_caps_lock】 CapsLock 切换到大写或切换中英。
@abc1763613206
abc1763613206 / bvtest.py
Last active August 31, 2024 01:43
BVID Validate
import requests
import json
import random
Back_URL = 'https://api.bilibili.com/x/web-interface/archive/stat?aid='
headers = {
'Cookie': "Replace Me With REAL COOKIE" ,
'Pragma': 'no-cache',
@davidwu111
davidwu111 / docker_openwrt_config.md
Last active September 11, 2024 07:17
Clash Docker & Openwrt 配置与踩坑记录

Clash Docker & Openwrt 配置与踩坑记录


使用Openwrt作为主路由,另一台Ubuntu 18.04主机上使用Docker运行Clash来作为网关进行转发,以达到按规则智能翻墙的目的。也是很多人提到的“旁路由”方法。

注:Openwrt可以直接编译OpenClash,我这次只是纯粹为了折腾而折腾。