Slave_SQL_Running: No mysql同步故障解决如果数据不同步可以尝试该资料mysql> show slave status\GSlave_IO_Running: YesSlave_SQL_Running: NoLast_Errno: 1062....Seconds_Behind_ ...
分类:
数据库 时间:
2019-06-13 00:45:36
阅读次数:
176
参考:http://bbs.chinaunix.net/forum.php?mod=viewthread&tid=3637782 linux平台中有硬件时钟与系统时钟两种时钟,一个是由主板电池驱动的“Real Time Clock”也叫做RTC或者叫CMOS时钟,硬件时钟。当操作系统关机的时候,用这 ...
分类:
系统相关 时间:
2019-06-11 17:35:01
阅读次数:
148
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Net; using System.Dia... ...
分类:
其他好文 时间:
2019-06-11 12:57:43
阅读次数:
102
``` include include include include include include std::mutex iomutex; void f(int num) { std::this_thread::sleep_for(std::chrono::seconds(1)); sched_ ...
分类:
编程语言 时间:
2019-06-11 10:54:36
阅读次数:
122
一、Scheduled定时任务 Scheduled定时任务器,是Spring3.0后自带的一个定时任务器。 maven中添加相关库 编写定时任务类 在启动类中开启scheduled 二、cron表达式 Cron 表达式是一个字符串,分为6 或7 个域,每一个域代表一个含义 Cron 有如下两种语法格 ...
分类:
编程语言 时间:
2019-06-04 11:18:04
阅读次数:
125
线程池的种类,区别和使用场景 newCachedThreadPool: 底层:返回ThreadPoolExecutor实例,corePoolSize为0;maximumPoolSize为Integer.MAX_VALUE;keepAliveTime为60L;unit为TimeUnit.SECONDS ...
分类:
编程语言 时间:
2019-06-02 17:49:49
阅读次数:
165
//全局过滤器,进行时间的格式化 //所谓的全局过滤器即使所有的vue实例都共享的 Vue.filter('dateFormat' ,function(dateStr, pattern=""){ //根据给定的时间字符串,得到特定的时间 var dt = new Date(dateStr) //yy ...
分类:
其他好文 时间:
2019-06-02 16:19:35
阅读次数:
403
一、引入JavaScript的引入方式 Script标签内写代码 引入额外的JS文件 二、JavaScript语言规范 注释 结束符 JavaScript中的语句要以分号(;)为结束符。 三、JavaScript语言基础 变量声明 注意: 变量名是区分大小写的。 推荐使用驼峰式命名规则。 保留字不能 ...
分类:
编程语言 时间:
2019-05-31 19:59:44
阅读次数:
129
文章首发于公众号《程序员果果》 地址 : https://mp.weixin.qq.com/s/PB0Mw4bzjDML7nto2M8x2w 一、简介 Java局部变量类型推断(LVTI),简称var类型(标识符var不是一个关键字,是一个预留类型名),Java10中新添加的功能。作为100%编译特 ...
分类:
其他好文 时间:
2019-05-30 10:32:58
阅读次数:
126
B. Pairs time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Toad Ivan has mm pairs of integ ...
分类:
其他好文 时间:
2019-05-27 19:00:49
阅读次数:
118