Ncurses(三)- 使用颜色 检查颜色可用 在使用颜色之前,你需要知道你的终端是否支持颜色显示,你可以通过以下if检测: if (has_colors() == FALSE) { endwin(); printf("Your terminal does not support color\n") ...
分类:
其他好文 时间:
2021-06-06 19:23:46
阅读次数:
0
#vscode插件 #vscode代码片段 { // Place your 全局 snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and // description. ...
分类:
其他好文 时间:
2021-06-06 19:18:17
阅读次数:
0
docker删除镜像报错处理,Error response from daemon: conflict: unable to delete a945e7fd5401 (cannot be forced) - image has dependent child images ,删除为none的镜像 ...
分类:
其他好文 时间:
2021-06-05 18:28:16
阅读次数:
0
总纲:循序渐进、不急不躁、找到根因 1、Attributerror: Session object has no attribute 'watchers' 出现场景:在Jenkins用例编写时,出现以上问题提示。 程序之前都是正常的,周五升级了uiautomator2、weditor、pytest的 ...
分类:
其他好文 时间:
2021-06-04 19:23:03
阅读次数:
0
// 基于对象封装一个集合 function Set() { // 属性 this.items = {}; // 方法 // add 往集合中添加元素 Set.prototype.add = function (value) { // 先判断是否有这个元素 if (this.has(value)) ...
分类:
Web程序 时间:
2021-06-02 20:02:42
阅读次数:
0
from keras.utils import to_categorical module 'tensorflow.compat.v2' has no attribute '__internal__ from keras.utils import to_categorical $ python te ...
分类:
其他好文 时间:
2021-06-02 19:29:42
阅读次数:
0
1.主节点线程状态(Replication Master Thread States): Finished reading one binlog; switching to next binlog 线程 已经完成读取 binlog 文件,并切换到下一个 binlog 文件 Master has se ...
分类:
数据库 时间:
2021-06-02 19:03:34
阅读次数:
0
set 判重 利用节点的内存地址来进行判重 var hasCycle = function (head) { let set = new Set(); let p = head; while (p) { //存在重复 if (set.has(p)) { return true; } set.add( ...
分类:
Web程序 时间:
2021-06-02 17:29:00
阅读次数:
0
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>返回顶部</title> <script src="jqsourse.js"></script> <style> * { margin: 0; padding: ...
分类:
Web程序 时间:
2021-06-02 14:07:57
阅读次数:
0
I am in a bit of a bind (pun intended). I have a ubuntu server running kafka & zookeeper. This server has both ipv4 and ipv6 protocols installed. In t ...
分类:
其他好文 时间:
2021-06-02 12:29:05
阅读次数:
0