工作区: 就是git仓库的目录就属于工作区 [root@node4 git]# pwd/git[root@node4 git]# lsreadme.txt[root@node4 git]# ls -a. .. .git readme.txt[root@node4 git]# cd .git/[roo ...
分类:
其他好文 时间:
2021-02-16 12:34:56
阅读次数:
0
使用namedtuple方法可以代替手动生成一个类 # Why Python is Great: Namedtuples # Using namedtuple is way shorter than # defining a class manually: >>> from collections ...
分类:
编程语言 时间:
2021-02-16 12:02:48
阅读次数:
0
基础 axios.get('/user?ID=12345') .then(function (response) { // 成功 console.log(response); }) .catch(function (error) { // 失败 console.log(error); }) .the ...
分类:
移动开发 时间:
2021-02-15 12:39:12
阅读次数:
0
Hive 运行过程异常信息有时不能完全显示在终端上,此时可以用 Hive Debug 模 式进行调试 hive --hiveconf hive.root.logger=INFO,console 1、表不存在 FAILED: SemanticException [Error 10001]: Line ...
分类:
其他好文 时间:
2021-02-10 13:39:36
阅读次数:
0
安装好Tomcat9之后,执行./start.sh启动时没有报错,但是在浏览器中打不开Tomcat的页面。而且在执行./shutdown.sh关闭服务器时报告了这样一个错误:
Tomcat9 Error: Could not find or load main class org.apache.ca... ...
分类:
Web程序 时间:
2021-02-10 13:16:40
阅读次数:
0
An error occurred while installing rjb (1.6.4), and Bundler cannot continue. Make sure that `gem install rjb -v '1.6.4' --source 'https://gems.ruby-ch ...
分类:
其他好文 时间:
2021-02-10 13:00:46
阅读次数:
0
原因:自定义的****变量与库中重名; 解决:修改一下变量名 ...
分类:
其他好文 时间:
2021-02-09 12:31:11
阅读次数:
0
1.新增 test2/user2/1/_create PUT操作{"name":"qiqi","age":17} 2.查询 test2/user2/_search GET{"query":{"match":{"name":"qiqi"}}} 或:test2/user2/1 GET { - "_ind ...
分类:
其他好文 时间:
2021-02-09 12:29:59
阅读次数:
0
前言:一般Java项目后端发送请求都使用http,最近项目里面大佬建议把http都改成okhttp3(OkHttpClient)。故今日记录部分常用发送方式。 代码:为了便于以后使用,这里封装一个OkHttpUtil的工具类 1、先导入jar包: <dependency> <groupId>com. ...
分类:
编程语言 时间:
2021-02-09 12:20:38
阅读次数:
0
客户端,client.js const net = require('net') const socket = new net.Socket({}) const TestArr = [1,2, 3, 4] socket.connect({ host: '127.0.0.1', port: 4000 ...
分类:
其他好文 时间:
2021-02-09 12:13:22
阅读次数:
0