Skip to content

Instantly share code, notes, and snippets.

View NominaceTacitus's full-sized avatar

DoNTurnBackInAnger NominaceTacitus

View GitHub Profile
@NominaceTacitus
NominaceTacitus / OmegaOptions.bak
Created November 23, 2021 07:01
Proxy SwitchyOmega 黑白复合名单配置,使用“还原设置”导入
This file has been truncated, but you can view the full file.
{"+PAC脚本(白名单,本地1080)":{"color":"#ffee99","lastUpdate":"2021-11-23T06:40:17.759Z","name":"PAC脚本(白名单,本地1080)","pacScript":"//\n// Update: 2021-11-23 02:16:39\n//\n\nconst proxy = \"SOCKS5 127.0.0.1:1080;\";\nconst direct = \"DIRECT;\";\n\nconst hasOwnProperty = Object.hasOwnProperty;\n\nconst china_domains = {\n \"tmall.com\": 1,\n \"qq.com\": 1,\n \"baidu.com\": 1,\n \"sohu.com\": 1,\n \"taobao.com\": 1,\n \"jd.com\": 1,\n \"weibo.com\": 1,\n \"xinhuanet.com\": 1,\n \"alipay.com\": 1,\n \"zhanqi.tv\": 1,\n \"panda.tv\": 1,\n \"csdn.net\": 1,\n \"yy.com\": 1,\n \"aliexpress.com\": 1,\n \"huanqiu.com\": 1,\n \"17ok.com\": 1,\n \"so.com\": 1,\n \"1688.com\": 1,\n \"haosou.com\": 1,\n \"babytree.com\": 1,\n \"cnblogs.com\": 1,\n \"alibaba.com\": 1,\n \"hao123.com\": 1,\n \"163.com\": 1,\n \"bilibili.com\": 1,\n \"cnzz.com\": 1,\n \"51.la\": 1,\n \"jiameng.com\": 1,\n \"aliyun.com\": 1,\n \"tudou.com\": 1,\n \"sogou.com\": 1,\n \"360.com\": 1,\n \"51yes.com\": 1,\n \"aliexpress.ru\
@NominaceTacitus
NominaceTacitus / unhide-all-processor-power-plan-settings.ps1
Created November 24, 2017 13:40
显示Windows10(1709)电源设置中所有处理器高级选项
# 处理器性能提高阈值
powercfg -attributes 54533251-82be-4824-96c1-47b60b740d00 06cadf0e-64ed-448a-8927-ce7bf90eb35d -ATTRIB_HIDE
# 针对第 1 类处理器电源效率的处理器性能提升阈值
powercfg -attributes 54533251-82be-4824-96c1-47b60b740d00 06cadf0e-64ed-448a-8927-ce7bf90eb35e -ATTRIB_HIDE
# 处理器性能核心放置最小核心数量
powercfg -attributes 54533251-82be-4824-96c1-47b60b740d00 0cc5b647-c1df-4637-891a-dec35c318583 -ATTRIB_HIDE
# 针对第 1 类处理器电源效率的处理器性能核心放置最小核心数量
@NominaceTacitus
NominaceTacitus / AMD-Ryzen-Balanced-Power-Plan-for-Win10_1709.ps1
Last active July 29, 2024 16:19
AMD Ryzen Balanced Power Plan, in powercfg command-line, without installing anything.
# !!!You need to set your current Power Plan to Balanced to make it work properly!!!
# Works for Windows 10 1709 (Fall Creators Update).
#
# Win10 1709 already solved CPU core parking issues. Here's just 4 differences I found.
# You may want to duplicate your current power plan first, if you are not sure whether you need this.
# powercfg /duplicatescheme scheme_current
# Processor performance increase threshold.
# Specify the upper busy threshold that must be met before increasing the processor's performance state (in percentage).
# The Default Value is 60%, AMD's Value is 25%.
@NominaceTacitus
NominaceTacitus / powercfg-win10-more-settings.cmd
Last active August 3, 2024 19:07 — forked from theultramage/powercfg-win7-all-settings.bat
Show/hide hidden settings in Win10 Power Options
@echo on
REM checked for Windows 10
REM fork from https://gist.github.com/theultramage/cbdfdbb733d4a5b7d2669a6255b4b94b
REM you may want full list https://gist.github.com/raspi/203aef3694e34fefebf772c78c37ec2c
REM SET attrib=+ATTRIB_HIDE
SET attrib=-ATTRIB_HIDE
REM Hard disk burst ignore time
powercfg -attributes 0012ee47-9041-4b5d-9b77-535fba8b1442 80e3c60e-bb94-4ad8-bbe0-0d3195efc663 %attrib%