Vscode
Open Powershell core in Terminal # settings.json "terminal.integrated.shell.windows": "{path to pwsh.exe}",
Open Powershell core in Terminal # settings.json "terminal.integrated.shell.windows": "{path to pwsh.exe}",
win10 powershell code $profile # Microsoft.PowerShell_profile.ps1 function proxy { $env:HTTP_PROXY="http://127.0.0.1:7890" $env:HTTPS_PROXY="http://127.0.0.1:7890" } function unproxy { $env:HTTP_PROXY="" $env:HTTPS_PROXY="" }
generate ssh-keygen -t ed25519 -C "comment" # win10 cat ~/.ssh/id_ed25519.pub | clip
office 登录 0x80190001错误 管理员运行powershell netsh int ip reset windows store打不开 管理员运行powershell netsh winsock reset
Install Docker Compose V2 in CentOS7.4 Docker Engine Installed cmd mkdir -p ~/.docker/cli-plugins/ curl -SL https://github.com/docker/compose/releases/download/v2.0.1/docker-compose-linux-x86_64 -o ~/.docker/cli-plugins/docker-compose chmod +x ~/.docker/cli-plugins/docker-compose To install Docker Compose for all users on your system, replace ~/.docker/cli-plugins with /usr/local/lib/docker/cli-plugins docker compose version 新版本Docker自带Docker Compose V2
Install # use aliyun mirror curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun mirrors { "registry-mirrors": [ "https://dockerproxy.com", "https://registry.docker-cn.com" ] } # registry sudo docker run -d -p 5000:5000 --restart always --name registry -v docker-registry:/var/lib/registry registry:2 # nexus oss3 sudo docker volume create nexus-data sudo docker run -d --restart always -p 8081:8081 --name nexus -v nexus-data:/nexus-data sonatype/nexus3 issue 在docker容器内部执行 jmap命令报错 Operation not permitted # Docker 自1.10版本开始加入的安全特性。类似于 jmap 这些 JDK 工具依赖于 Linux 的 PTRACE_ATTACH,而是Docker自1....
Introduce Tell you how to install Gitlab CE(Community Edition) in CentOS 7.4 step by step. Doc https://about.gitlab.com/install/?version=ce#centos-7 Install # Prerequisite sudo yum install -y curl policycoreutils-python openssh-server openssh-clients perl sudo systemctl enable sshd sudo systemctl start sshd # Firewall setting sudo firewall-cmd --permanent --add-service=http sudo firewall-cmd --permanent --add-service=https sudo systemctl reload firewalld # Install Gitlab ce repo curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash # Install Gitlab CE and set EXTERNAL_URL(your ip or host,http or https) sudo EXTERNAL_URL="http://192....
Install Hugo # macos brew install hugo # windows using scoop scoop install hugo Deploy to Middleware hugo --minify Then, upload files in the public folder to middleware folder(eg. html folder in nginx) Deploy to Github Pages Coming soon…