要构建Go语言的编译环境,首先得安装Go语言的编译工具 官方路径:https://golang.google.cn/dl/,一般是访问不了,使用国内网站:https://studygolang.com/dl然后需要设置环境变量在windows下需要将go编译器的安装路径加到Path,还要设置GORO ...
分类:
编程语言 时间:
2020-05-31 13:15:09
阅读次数:
85
##标识符命名规则 标识符(identifier)用于引用变量,函数,宏,结构以及其他在C程序中定义的对象。标识符包括: (1)基本字符集的字母,a-z与A-Z(标识符区分大小写) (2)下划线_ (3)数字0-9(不能作为标识符的第一个字符) (4)代表其他语言字母和数字的通用字符名 在C语言标准 ...
分类:
其他好文 时间:
2020-05-30 22:19:29
阅读次数:
124
PS D:\MyProject> yarnyarn install v1.17.3[1/4] Resolving packages...[2/4] Fetching packages...error An unexpected error occurred: "https://registry.np ...
分类:
其他好文 时间:
2020-05-29 19:36:21
阅读次数:
115
隐式等待 driver.implicitly_wait(10) 默认参数的单位为秒,本例中设置等待时长为10秒。当脚本执行到某个元素定位时,如果元素可以定位,则继续执行; 如果元素定位不到,则它将以轮询的方式(0.5s)不断地判断元素是否被定位到。假设在第6秒定位到了元素则继续执行,若直到超出设置时 ...
分类:
其他好文 时间:
2020-05-26 18:39:57
阅读次数:
76
Nginx的产生 没有听过Nginx?那么一定听过它的"同行"Apache吧!Nginx同Apache一样都是一种WEB服务器。基于REST架构风格,以统一资源描述符(Uniform Resources Identifier)URI或者统一资源定位符(Uniform Resources Locato ...
分类:
其他好文 时间:
2020-05-26 12:13:07
阅读次数:
51
``` ? ~ diskutil list #确认烧刻的磁盘 /dev/disk0 (internal, physical): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *1.0 TB disk0 1: EFI EFI 314.6 M... ...
分类:
系统相关 时间:
2020-05-25 12:31:02
阅读次数:
71
unexpected indent 实在是无法忍受 Win键(就是windows图标那个键)+R 呼出CMD命令行工具(powershell也行): linux+mac一样呼出终端工具 在Pycharm的tools中添加autopep8 File Settings (快捷键Ctrl + Alt + ...
分类:
编程语言 时间:
2020-05-24 10:10:26
阅读次数:
73
1.更新 同步方式: /** * 三个参数 * the path of the node * the data to set * the expected matching version */ Stat stat = zooKeeper.setData("/set/node1", "NODE1". ...
分类:
编程语言 时间:
2020-05-22 12:53:26
阅读次数:
93
运行shell脚本提示 test.sh: line 6: syntax error near unexpected token `$'do\r'''est.sh: line 6: `do 使用sublime text将文件格式转换为UNIX格式 ...
分类:
系统相关 时间:
2020-05-21 11:59:36
阅读次数:
88
org.hibernate.AnnotationException: No identifier specified for entity: com.along.entity.emp 你是否也像我一样,因为注释的包错误,而找了近两个小时的程序问题呢 原因: 没有给实体类ID 解决方案: 加入@Id注 ...
分类:
Web程序 时间:
2020-05-19 20:47:44
阅读次数:
59