Skip to content

Instantly share code, notes, and snippets.

@deancyl
deancyl / youtube-vanced-alternatives.md
Created March 16, 2022 23:18 — forked from SkyyySi/youtube-vanced-alternatives.md
A list of alternatives after the shutdown of Vanced

NONE OF THESE CLIENTS ARE VERIFIED BY ME FOR SECURITY OR ANYTHING ELSE! USE AT YOUR OWN RISK!

These are the current alternatives (with links when possible):

@deancyl
deancyl / Office2010_Retail2VOL_Activate.cmd
Created February 20, 2020 12:57 — forked from mogeko/Office2010_Retail2VOL_Activate.cmd
Convert Microsoft Office VOL License to a Retail License.
@echo off
:ADMIN
openfiles >nul 2>nul ||(
echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
echo UAC.ShellExecute "%~s0", "", "", "runas", 1 >> "%temp%\getadmin.vbs"
"%temp%\getadmin.vbs" >nul 2>&1
goto:eof
)
del /f /q "%temp%\getadmin.vbs" >nul 2>nul
@deancyl
deancyl / 软件备忘.md
Created June 21, 2019 05:45
个人对于(开源)软件的评价列表

软件备忘

Linux桌面发行版

根据多年(也不多)的折腾经验,考虑发行版

  • 首先考虑对软件包管理的喜好,与健壮的软件仓库
  • 其次考虑默认的桌面环境(默认的桌面环境往往优化、整合得更好)
  • 作为桌面系统,尽可能地不折腾

在此基础上,个人喜好为:

@deancyl
deancyl / AMD-Ryzen-Balanced-Power-Plan-for-Win10_1709.ps1
Created June 21, 2019 05:45 — forked from NominaceTacitus/AMD-Ryzen-Balanced-Power-Plan-for-Win10_1709.ps1
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%.
@deancyl
deancyl / unhide-all-processor-power-plan-settings.ps1
Created June 21, 2019 05:45 — forked from NominaceTacitus/unhide-all-processor-power-plan-settings.ps1
显示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 类处理器电源效率的处理器性能核心放置最小核心数量
@deancyl
deancyl / enable-all-advanced-power-settings.ps1
Created June 21, 2019 05:44 — forked from raspi/enable-all-advanced-power-settings.ps1
Enable all advanced power settings in Windows.
# List all possible power config GUIDs in Windows
# Run: this-script.ps1 | Out-File powercfg.ps1
# Then edit and run powercfg.ps1
# (c) Pekka "raspi" Järvinen 2017
$powerSettingTable = Get-WmiObject -Namespace root\cimv2\power -Class Win32_PowerSetting
$powerSettingInSubgroubTable = Get-WmiObject -Namespace root\cimv2\power -Class Win32_PowerSettingInSubgroup
Get-WmiObject -Namespace root\cimv2\power -Class Win32_PowerSettingCapabilities | ForEach-Object {
$tmp = $_.ManagedElement
@deancyl
deancyl / powercfg-win10-more-settings.cmd
Created June 21, 2019 05:43 — forked from NominaceTacitus/powercfg-win10-more-settings.cmd
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%