Operating System Maintainance and Cleaning

Win 10

Clean log files

C:\Windows\System32\winevt\Logs
按Ctrl+A全选后使用 Shift + Delete 删除,一些正被services使用的文件无法被删除。

Open Administrator Powershell:

1
2
Get-EventLog -List
Remove-EventLog -LogName "some Log from list"

ps-eventlog.png

禁用休眠

休眠会将系统内存保存到磁盘文件hiberfil.sys中。可以通过

1
powercfg /hibernate off

关闭休眠功能

Linux

Refer to https://billystudio.github.io/2018/05/16/Command-of-the-day-May-sixteenth-2018/

git 操作中的一些小技巧 Design patterns --- Dynamic proxy

Comments

You forgot to set the shortname for Disqus. Please set it in _config.yml.
Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×