redis无法启动,aop文件损坏 运行: /usr/local/bin/redis-check-aof --fix appendonly.aof 不知道存放路径的可以查找find / -name redis-check-aof 参考来源:https://blog.csdn.net/wang0112 ...
分类:
移动开发 时间:
2019-12-31 10:35:21
阅读次数:
211
用跑python 写了一个链接mysql数据库的类,发现过了一天链接就断掉了,原来mysql有一个超时时间的设置 查看超时设置: show global variables like '%timeout%'; 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 + + + | V ...
分类:
数据库 时间:
2019-12-30 21:40:01
阅读次数:
81
打开VS,工具》NuGet包管理器》管理解决方案的NuGet程序包,搜索MySql.Data并安装 测试连接MySQL的代码: using System;using System.Collections.Generic;using System.Data;using System.Linq;usin ...
分类:
数据库 时间:
2019-12-29 20:07:48
阅读次数:
160
质量、效率、成本、安全,是运维工作核心四要素。 AIOps 技术会涉及到数据收集方面的基础监控,服务监控和业务监控,甚至会涉及到与持续交付流水线的数据和状态整合(比如在软件发布的阶段会自动关闭某些监控项。异常判断时会参考流水线目前的状态)。数据存储与人工智能技术,其中人工智能包括机器学习算法与深度学 ...
分类:
其他好文 时间:
2019-12-29 13:00:06
阅读次数:
175
1.多线程并发 from threading import Thread import time def func(n): time.sleep(1) print(n) for i in range(10): t = Thread(target=func,args=(i,)) #将函数注册进子线程, ...
分类:
编程语言 时间:
2019-12-27 21:51:45
阅读次数:
75
``` ~$ sudo apt --fix-broken install Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies.... ...
分类:
其他好文 时间:
2019-12-26 11:23:25
阅读次数:
92
python 提供两种方式来创建线程: 直接调用 threading.Thread 类的构造器函数 继承 threading.Thread 类,重写父类的 run() 方法 1. 直接调用函数 __init__(self,group=None,target=None,name=None,args=( ...
分类:
编程语言 时间:
2019-12-26 11:22:54
阅读次数:
99
/dev/null --Linux will disccard the any data written to /dev/null --reading data from /dev/null results in an end-of-file /dev/zero it will genreate a ...
分类:
系统相关 时间:
2019-12-24 14:11:29
阅读次数:
110
该博客首发于www.litreily.top Pug – robust, elegant, feature rich template engine for Node.js pug原名jade,因版权问题更名为pug,即哈巴狗。与hexo默认模块ejs一样,pug也是一个模板引擎,可用于快速的网站开 ...
分类:
Web程序 时间:
2019-12-24 09:36:09
阅读次数:
116
Editor Editor The open-source Ghost editor is robust and extensible. Overview More than just a formatting toolbar, the rich editing experience within ...
分类:
其他好文 时间:
2019-12-23 00:49:29
阅读次数:
469