摘要: Python: git(配置不每次输入密码和用户名): git config --global credential.helper store nodejs: nignx: 阅读全文
posted @ 2019-08-05 18:48 ma_fighting 阅读(288) 评论(0) 推荐(0)
摘要: 简介 go module公共代理仓库,代理并缓存go模块。你可以利用该代理来避免DNS污染导致的模块拉取缓慢或失败的问题,加速你的构建 地址 https://mirrors.aliyun.com/goproxy/ 使用帮助 1.使用go1.11以上版本并开启go module机制 2.导出GOPRO 阅读全文
posted @ 2019-08-05 17:59 ma_fighting 阅读(3604) 评论(0) 推荐(0)
摘要: 1. 步骤 安装软件 修改root权限 重启 2. 详情 1. 安装软件 创建脚本文件(例如:desktopSetting.sh),并输入以下内容: #!/bin/bash #更新软件库 apt-get update #升级软件 apt-get upgrade #安装ubuntu桌面系统 apt-g 阅读全文
posted @ 2019-08-05 17:09 ma_fighting 阅读(742) 评论(0) 推荐(0)
摘要: mac使用vnc远程登录ubuntu16.04桌面 1.安装在Ubuntu上安装x11vnc,如下: sudo apt-get install x11vnc 2.配置vnc密码 x11vnc -storepasswd 3.启动vnc服务x11vnc -forever -shared -rfbauth 阅读全文
posted @ 2019-08-05 16:27 ma_fighting 阅读(2756) 评论(0) 推荐(0)
摘要: 1 前言 有时候编译Go项目会出现GO err is shadowed during return的问题,是因为作用域导致变量重名,return时不是你预期的变量导致的。 2 样例 这里先复现问题,然后进行问题说明。 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 阅读全文
posted @ 2019-08-05 10:25 ma_fighting 阅读(397) 评论(0) 推荐(0)
历史天气查