win10自动修复系统

有关于您“win10自动修复系统”的问题,现为您提供以下解决方案:

您指的是否是:

右击开始按钮>点击"命令提示符"(以管理员身份运行 ),输入:

Dism /Online /Cleanup-Image /ScanHealth

这条命令将扫描全部系统文件并和官方系统文件对比,扫描计算机中的不一致情况。

Dism /Online /Cleanup-Image /CheckHealth

这条命令必须在前一条命令执行完以后,发现系统文件有损坏时使用。

DISM /Online /Cleanup-image /RestoreHealth

这条命令是把那些不同的系统文件还原成官方系统源文件。

完成后重启,无论以上是否成功,键入以下命令:sfc /SCANNOW

win10自动修复系统 - Microsoft Community

macOS M1 brew install svn 安装 SVN 报错

==> Installing dependencies for subversion: apr-util, gettext, lz4, readline, sqlite and utf8proc
==> Installing subversion dependency: apr-util
==> Pouring apr-util-1.6.1_3.arm64_big_sur.bottle.tar.gz
tar: Error opening archive: Failed to open '/Users/guofeng/Library/Caches/Homebrew/downloads/32475be88a1f2ec80e91cb251e0e895cba9d12493af2983d20c92bf9968050de--apr-util-1.6.1_3.arm64_big_sur.bottle.tar.gz'
Error: Failure while executing; `tar --extract --no-same-owner --file /Users/guofeng/Library/Caches/Homebrew/downloads/32475be88a1f2ec80e91cb251e0e895cba9d12493af2983d20c92bf9968050de--apr-util-1.6.1_3.arm64_big_sur.bottle.tar.gz --directory /private/tmp/d20210425-29897-5rhmks` exited with 1. Here's the output:
tar: Error opening archive: Failed to open '/Users/guofeng/Library/Caches/Homebrew/downloads/32475be88a1f2ec80e91cb251e0e895cba9d12493af2983d20c92bf9968050de--apr-util-1.6.1_3.arm64_big_sur.bottle.tar.gz'
Continue reading macOS M1 brew install svn 安装 SVN 报错

macOS 同时使用多个微信方法

终端里输入

nohup /Applications/WeChat.app/Contents/MacOS/WeChat > /dev/null 2>&1 &

或者新建 wx.sh,输入下面然后保存

#! /bin/bash
nohup /Applications/微信.app/Contents/MacOS/WeChat > /dev/null 2>&1 &  

右键-显示简介-打开方式选择终端

~/.bash_profile

仅做记录

export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.aliyun.com/homebrew/homebrew-bottles
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_281.jdk/Contents/Home
export PATH=$JAVA_HOME/bin:$PATH
export CLASS_PATH=$JAVA_HOME/lib
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'

brew 修改国内源

guofeng@50ed3c1dd5f6 ~ % git -C "$(brew --repo)" remote -v
origin	https://github.com/Homebrew/brew (fetch)
origin	https://github.com/Homebrew/brew (push)
guofeng@50ed3c1dd5f6 ~ % git -C "$(brew --repo homebrew/core)" remote -v
origin	https://github.com/Homebrew/homebrew-core (fetch)
origin	https://github.com/Homebrew/homebrew-core (push)
guofeng@50ed3c1dd5f6 ~ % git -C "$(brew --repo)" remote set-url origin https://mirrors.ustc.edu.cn/brew.git
guofeng@50ed3c1dd5f6 ~ % git -C "$(brew --repo homebrew/core)" remote set-url origin https://mirrors.ustc.edu.cn/homebrew-core.git
guofeng@50ed3c1dd5f6 ~ % git -C "$(brew --repo homebrew/cask)" remote set-url origin https://mirrors.ustc.edu.cn/homebrew-cask.git
guofeng@50ed3c1dd5f6 ~ % 

https://blog.csdn.net/WizardtoH/article/details/104744008

安装 brew 记录

guofeng@50ed3c1dd5f6 ~ % /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
==> Checking for `sudo` access (which may request your password).
Password:
==> This script will install:
/opt/homebrew/bin/brew
/opt/homebrew/share/doc/homebrew
/opt/homebrew/share/man/man1/brew.1
/opt/homebrew/share/zsh/site-functions/_brew
/opt/homebrew/etc/bash_completion.d/brew
/opt/homebrew

Press RETURN to continue or any other key to abort
==> /usr/bin/sudo /usr/sbin/chown -R guofeng:admin /opt/homebrew
==> Downloading and installing Homebrew...
HEAD is now at bc370748c Merge pull request #10805 from Homebrew/spdx-update
fatal: Could not resolve HEAD to a revision
Warning: /opt/homebrew/bin is not in your PATH.
==> Installation successful!

==> Homebrew has enabled anonymous aggregate formulae and cask analytics.
Read the analytics documentation (and how to opt-out) here:
  https://docs.brew.sh/Analytics
No analytics data has been sent yet (or will be during this `install` run).

==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
  https://github.com/Homebrew/brew#donations

==> Next steps:
- Add Homebrew to your PATH in /Users/guofeng/.zprofile:
    echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/guofeng/.zprofile
    eval "$(/opt/homebrew/bin/brew shellenv)"
- Run `brew help` to get started
- Further documentation: 
    https://docs.brew.sh
guofeng@50ed3c1dd5f6 ~ % echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/guofeng/.zprofile
    eval "$(/opt/homebrew/bin/brew shellenv)"
guofeng@50ed3c1dd5f6 ~ % vim /Users/guofeng/.zprofile 
guofeng@50ed3c1dd5f6 ~ % brew help
Example usage:
  brew search [TEXT|/REGEX/]
  brew info [FORMULA...]
  brew install FORMULA...
  brew update
  brew upgrade [FORMULA...]
  brew uninstall FORMULA...
  brew list [FORMULA...]

Troubleshooting:
  brew config
  brew doctor
  brew install --verbose --debug FORMULA

Contributing:
  brew create [URL [--no-fetch]]
  brew edit [FORMULA...]

Further help:
  brew commands
  brew help [COMMAND]
  man brew
  https://docs.brew.sh
guofeng@50ed3c1dd5f6 ~ %