前段时间,我偶然进行查看linux DNS配置,通过查看 /etc/resolv.conf 文件,得到如下结果: ? devices ll /etc/resolv.conf lrwxrwxrwx 1 root root 39 12月 28 18:55 /etc/resolv.conf -> ../r ...
分类:
系统相关 时间:
2021-01-06 12:29:13
阅读次数:
0
#include<iostream> #include<cstdio> #include<cstdlib> #include<cstring> #include<algorithm> #include<stack> #include<queue> #define ll long long using ...
分类:
其他好文 时间:
2021-01-04 10:30:49
阅读次数:
0
题目链接 #解题思路 由于题目中的数都是互不相同的,所以每交换一对数字,序列的逆序数的奇偶性就会改变一次(可以证明序列的奇偶性变化只与交换的这对数的大小关系有关)。 #代码 int arr[maxn], tmp[maxn], n, m; ll cnt; void merge(int l, int r ...
分类:
其他好文 时间:
2020-12-29 11:09:53
阅读次数:
0
Ceph日志分析#node1日志信息[root@node1~]#ll/var/log/ceph/总用量6264-rw-------1cephceph012月2211:13ceph.audit.log-rw-------1cephceph453212月2108:34ceph.audit.log-20201221.gz-rw-------1cephceph287112月2210:01ceph.audi
分类:
其他好文 时间:
2020-12-28 11:57:21
阅读次数:
0
/*Hatsune Miku 4ever!*/ #include <bits/stdc++.h> using namespace std; typedef long long ll; #define _for(i,a,b) for(int i = (a);i < b;i ++) #define _r ...
分类:
其他好文 时间:
2020-12-23 11:47:45
阅读次数:
0
/*Hatsune Miku 4ever!*/ #include <bits/stdc++.h> using namespace std; typedef long long ll; #define _for(i,a,b) for(int i = (a);i < b;i ++) #define _r ...
分类:
编程语言 时间:
2020-12-23 11:45:22
阅读次数:
0
/*Hatsune Miku 4ever!*/ #include <bits/stdc++.h> using namespace std; typedef long long ll; #define _for(i,a,b) for(int i = (a);i < b;i ++) #define _r ...
分类:
其他好文 时间:
2020-12-23 11:43:21
阅读次数:
0
ps -aux |grep dbsync ll 查看当前文件 ps -aux |grep dbsync 查看日志 [root@yanbianxian dbsync_danxiang]# ./DbSync_danx_cmd.jar config.ini -bash: ./DbSync_danx_cmd ...
分类:
系统相关 时间:
2020-12-19 13:31:50
阅读次数:
5
使用HAL库时无法完成串口同时接收与发送,经过查找资料,发现还有一个LL库可以使用 1.在CubeMX上修改为LL库 2.定义变量与显示 unsigned char UART1_Rx_Buf[MAX_REC_LENGTH] = {0}; //USART1存储接收数据 unsigned char UA ...
分类:
其他好文 时间:
2020-12-19 12:33:21
阅读次数:
1
1 type testName = 'lx' | 'bj' | 'cd' | 1; 2 3 function testFun(arg1: testName){ 4 5 } 6 testFun('lx'); //正确 7 testFun(1); //正确 8 testFun('ll'); //错误 ...
分类:
其他好文 时间:
2020-12-18 12:35:08
阅读次数:
2