This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Android Studio: failed: Connection refused: connect 的解决办法 | |
删除gradle文件夹下的.gradle.protperties,然后重新build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Mysql8.0 项目使用报错 | |
错误提示: | |
MySQL 8.0 - Client does not support authentication protocol requested by server; consider upgrading MySQL client | |
解决办法: | |
登陆mysql,执行: | |
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
删除App Store更新日志 | |
清理办法:/Users/bluecan/Library/Application Support/App Store 删除 updatejournal.plist 即可。 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Git clone EOF early | |
解决办法: | |
1、First, turn off compression: | |
git config --global core.compression 0 | |
2、Next, let's do a partial clone to truncate the amount of info coming down: | |
git clone --depth 1 <repo_URI> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
安装Jenkins | |
1、安装jdk | |
sudo apt-get install openjdk-8-jdk | |
2、配置源 | |
wget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | apt-key add - | |
echo deb http://pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list.d/jenkins.list |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
electon安装慢的问题 | |
使用命令: | |
DEBUG=* ELECTRON_MIRROR="https://npm.taobao.org/mirrors/electron/" npm install electron | |
先下载,然后再使用npm install安装 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Mac下终端命令不可用 | |
使用命令: | |
exec /usr/bin/zsh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ubuntu安装nodejs | |
sudo apt-get update | |
sudo apt-get install -y software-properties-common | |
sudo add-apt-repository ppa:chris-lea/node.js | |
sudo apt-get update | |
apt-get install nodejs-legacy | |
安装nvm: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chromedriver安装失败问题解决 | |
执行: | |
npm install chromedriver --chromedriver_cdnurl=http://cdn.npm.taobao.org/dist/chromedriver | |
再进行安装即可 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Nginx安装与配置 | |
安装nginx:sudo apt-get install nginx | |
启动: | |
sudo service nginx {start|stop|restart|reload|force-reload|status|configtest|rotate|upgrade} | |
nginx配置: | |
* 所有的配置文件都在/etc/nginx下,并且每个虚拟主机已经安排在了/etc/nginx/sites-available下 |
OlderNewer