Difference between revisions of "小代码大作用:电脑开荒代码"
Jump to navigation
Jump to search
Line 15: | Line 15: | ||
<syntaxhighlight lang="bash" line> |
<syntaxhighlight lang="bash" line> |
||
# 右键创建快捷方式 |
# 右键创建快捷方式 |
||
− | # 直达知乎 |
+ | # 在桌面双击就可以直达知乎 |
"C:\Program Files\Mozilla Firefox\firefox.exe" https://zhihu.com |
"C:\Program Files\Mozilla Firefox\firefox.exe" https://zhihu.com |
||
+ | |||
== Debian 可用 == |
== Debian 可用 == |
Revision as of 11:29, 19 September 2023
Windows 可用
1# set-network-private.ps1
2# 用于把公用网络改为私用网络,实现全屋共享。需以管理员权限运行:创建快捷方式,目标选本文件
3Set-NetConnectionProfile -InterfaceAlias "以太网" -NetworkCategory Private
1# shutdown.bat
2# 用于双击立即关机,省下从开始键点好几下才关机的工夫
3@echo off
4shutdown.exe /s /t 00
<syntaxhighlight lang="bash" line>
- 右键创建快捷方式
- 在桌面双击就可以直达知乎
"C:\Program Files\Mozilla Firefox\firefox.exe" https://zhihu.com