Cory Snyder

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

qt安装

.\qt-online-installer-windows-x64-4.8.0.exe --mirror https://mirrors.ustc.edu.cn/qtproject/

npm环境搭建

nvm install 16.14.0
nvm use 16.14.0

npm install -g nrm --registry=https://registry.npmmirror.com
nrm use taobao
npm i -g anywhere pnpm@8 less
nvm -v

win10右键cmd.reg

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\cmd_here]
@="在此处打开命令行"
"Icon"="cmd.exe"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\cmd_here\command]
@="\"C:\\Windows\\System32\\cmd.exe\""
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\cmdPrompt]
@="在此处打开命令行"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\cmdPrompt\command]
@="\"C:\\Windows\\System32\\cmd.exe\" \"cd %1\""
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\cmd_here]
@="在此处打开命令行"
"Icon"="cmd.exe"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\cmd_here\command]
@="\"C:\\Windows\\System32\\cmd.exe\""

win10显示秒.reg

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"ShowSecondsInSystemClock"=dword:00000001

[HKEY_CURRENT_USER\Control Panel\International]
"sShortDate"="yyyy-MM-dd ddd"
"sTimeFormat"="HH:mm:ss"
"sShortTime"="HH:mm:ss"
"sDate"="-"
"sTime"=":"
"iFirstDayOfWeek"="0"

windows网络时间同步工具.bat

@echo off
chcp 65001
@rem cn.pool.ntp.org
@rem time.windows.com
@rem time.nist.gov
net stop w32time
net start w32time

w32tm /config /manualpeerlist:"cn.pool.ntp.org" /syncfromflags:manual /reliable:yes /update
w32tm /resync
w32tm /resync

@rem w32tm /config /manualpeerlist:"time.nist.gov" /syncfromflags:manual /reliable:yes /update
@rem w32tm /resync
@rem w32tm /resync

@rem w32tm /config /manualpeerlist:"time.windows.com" /syncfromflags:manual /reliable:yes /update
@rem w32tm /resync
@rem w32tm /resync

echo 同步结束!
pause
posted on 2024-07-06 10:46  CorySnyder  阅读(45)  评论(0)    收藏  举报