The interface section contains statements for declaring data public and using data (data types, variables, function blocks, functions, programs). Tech ...
分类:
其他好文 时间:
2020-04-01 12:41:23
阅读次数:
96
VS2013如何转成VS2010且不会出现此项目与Visual Studio的当前版本不兼容的报错 解决方法: 1.用记事本打开解决方案文件“解决方案名.sln”,然后修改最上面两行为如下代码:Microsoft Visual Studio Solution File, Format Version ...
分类:
其他好文 时间:
2020-04-01 10:38:56
阅读次数:
111
Unfortunately, sometimes a server request fails and we need to display a helpful error message to the user. In this lesson we’ll handle a promise reje ...
分类:
Web程序 时间:
2020-04-01 09:15:54
阅读次数:
109
一、生成矩阵 matrix 矩阵名 = (1,2,3 4,5,6)变量转矩阵 mkmat矩阵转变量 svmat 二 1 matrix list 矩阵名 [, noblank nohalf noheader nonames format(%fmt) title(string) nodotz] // 列 ...
分类:
其他好文 时间:
2020-03-31 22:49:57
阅读次数:
433
n = int(input())count = 0def han(n,a,b,c): global count if n == 1: print("将第{}个从{}搬到{}".format(1,a,c)) count += 1 else: hanoi(n-1,a,c,b) print("将第{}个从 ...
分类:
其他好文 时间:
2020-03-31 20:51:00
阅读次数:
40
SELECT CONCAT(table_schema, '.', table_name), CONCAT(ROUND(table_rows / 1000000, 2), 'M') rows, CONCAT(ROUND(data_length / ( 1024 * 1024 * 1024 ), 2), ...
分类:
数据库 时间:
2020-03-31 17:32:47
阅读次数:
74
binlog_format = ROW transaction-isolation="READ-COMMITTED" sync_binlog = 1 innodb_flush_log_at_trx_commit = 1 query_cache_size = 0 query_cache_type = ...
分类:
其他好文 时间:
2020-03-31 17:31:30
阅读次数:
101
format函数用于字符串的格式化输出 基本格式为 str.format 其中,0和1分别代表format中的第一个和第二个参数; .2f代表保留两位小数 ...
分类:
编程语言 时间:
2020-03-31 17:15:24
阅读次数:
54
最省事儿的,就是用CString中转一下: 1 2 3 4 int i = 10; CString str; str.Format(_T("%d"),i); LPCTSTR pStr = LPCTSTR(str); 另外,_stprintf也比较方便,并自动适应字符集,但需要申请内存并做静态转换(因 ...
分类:
其他好文 时间:
2020-03-31 14:12:09
阅读次数:
69
一、日志收集端 1、nginx:nginx-1.16.1.tar.gz 为了kibana收集nginx日志获取字段,先将日志转化为json格式。格式样式如下: log_format access_json '{"@timestamp":"$time_iso8601",' '"host":"$serv ...
分类:
其他好文 时间:
2020-03-31 12:16:39
阅读次数:
95