常见问题解决方案
a457636876
这个作者很懒,什么都没留下…
展开
-
SourceTree最新GitHub配置教程
解决:Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.解决步骤cd ~/.ssh# 生成密钥ssh-keygen -t rsa -C [email protected]# 复制密钥到 https://github.com/settings/keys 添加密钥cat id_rsa.pub# 验证密钥ssh -T git@gi原创 2021-09-16 13:53:34 · 521 阅读 · 0 评论 -
安装开源Java环境
下载地址https://adoptopenjdk.net/export JAVA_HOME=/Library/Java/JavaVirtualMachines/temurin-11.jdk/Contents/Home原创 2021-08-24 09:51:00 · 379 阅读 · 0 评论 -
Rust Sqlite 编译失败
编译提示:Non-UTF-8 output: LINK : fatal error LNK1181: \xce\xde\xb7\xa8\xb4\xf2\xbf\xaa\xca\xe4\xc8\xeb\xce\xc4\xbc\xfe\xa1\xb0sqlite3.lib\xa1\xb1\r\n解决方案:https://github.com/actix/examples/issues/426Solution:https://vellocetclub.wordpress.com/2021/01/22/r原创 2021-05-04 19:13:22 · 928 阅读 · 0 评论 -
Mac 检测端口是否开放
nc -vz -w 2 192.168.80.5 7878原创 2021-03-04 17:03:55 · 3420 阅读 · 1 评论 -
2021 Cocoapods 的 Specs 国内镜像 解决 清华大学镜像失效的问题
源:https://github.com/CocoaPods/Specs.githttp://t.cn/A6t9IR2H通过更换github镜像,加速访问https://doc.fastgit.org/CocoaPods/Specs.githttps://gitclone.com/CocoaPods/Specs.githttps://gitee.com/mirrors/CocoaPods/Specs.githttps://github.com.cnpmjs.org/CocoaPods/Specs原创 2021-03-03 18:10:29 · 2313 阅读 · 1 评论 -
Mac环境变量设置
首先查看Mac使用是bash,还是zsh?fangnan@fang root % 5zsh: command not found: 5如上面所示,使用的是 zsh2. 修改对应的文件bash: ~/.bash_profilezsh: ~/.zshrc写入文件内容一下export ANDROID_HOME=/Volumes/data/Android/sdkexport PATH=${PATH}:${ANDROID_HOME}/toolsexport PATH=${PATH}:${AN.原创 2020-11-21 22:34:48 · 367 阅读 · 0 评论 -
Gitlab常见问题
Gitlab FAQ无法进入 productionRoot用户输入命令 gitlab-rails console -e production修改指定用户密码user=User.where(name: "fang").first user = User.where(username:"fang").firstuser.password='10231010'user.password_confirmation='10231010'user.save!quit502错误s原创 2020-09-15 10:41:54 · 797 阅读 · 0 评论 -
完美解决,Pycharm 提示 Local variable 'xxxx' might be referenced before assignment 的警告。
一段简单的代码。if method == ToolRequest.GET: result = self.session.get(url)elif method == ToolRequest.POST: result = self.session.post(url, data=data)print(f"请求 URL {url}\n 返回状态 {result.status_cod...原创 2019-09-27 17:09:55 · 28541 阅读 · 2 评论 -
Python3.x + Django2.2.5 + Mysql8.x 常见问题 FAQ
问题一:连接Mysql出现 django.db.utils.OperationalError: (2059, <NULL>)?出现 [OperationalError: (2059, “Authentication plugin 'caching_sha2_password' cannot be loaded: The specified module could not be fo...原创 2019-09-28 20:49:38 · 786 阅读 · 0 评论