Typora 软件的基本使用 1. 标题 一级标题: # 二级标题:## .. 2. 列表 1.1 无序列表(-) 1.2 有序列表(1.) 3. 引用(>) command+option+Q 引用效果 4. 代码块 (```+代码编程语言) command+option+C print("hell ...
分类:
其他好文 时间:
2021-04-27 14:15:28
阅读次数:
0
let option = { //图形网格边距 grid: [ { top: "0%", left: "40", right: "40", height: "30%", }, { top: "30%", left: "40", right: "40", height: "30%", }, { top ...
分类:
其他好文 时间:
2021-04-26 14:00:32
阅读次数:
0
头文件 #include <signal.h> #include <time.h> 创建定时器 int timer_create(clockid_t clockid, struct sigevent *evp, timer_t *timerid); ...
分类:
其他好文 时间:
2021-04-26 13:55:59
阅读次数:
0
下面例子将展示SequenceNode和ReactiveSequence的不同 一个异步行为有它自己的线程;允许用户使用阻塞函数,但是要将执行流返回给到树; //Custom type struct Pose2D { double x, y, theta; }; class MoveBaseActi ...
分类:
其他好文 时间:
2021-04-26 13:51:03
阅读次数:
0
思路: 模拟。 实现: 1 /** 2 * Definition for singly-linked list. 3 * struct ListNode { 4 * int val; 5 * ListNode *next; 6 * ListNode() : val(0), next(nullptr) ...
分类:
其他好文 时间:
2021-04-26 13:49:52
阅读次数:
0
粘贴历史:shift+command+h 分窗口操作:shift+command+d(横向)command+d(竖向) 查找和粘贴:command+f 呼出查找功能 tab 键选中找到的文本 option+enter 粘贴 ...
分类:
其他好文 时间:
2021-04-26 13:14:27
阅读次数:
0
c++11 中的 shared_from_this() 来源于 boost 中的 enable_shared_form_this 类和 shared_from_this() 函数,功能为返回一个当前类的 std::share_ptr,使用方法如下: #include<memory> class Te ...
分类:
编程语言 时间:
2021-04-26 13:06:17
阅读次数:
0
seccomp沙盒逃逸基础——沙盒的规则编写 引入: 安全计算模式 seccomp(Secure Computing Mode)是自 Linux 2.6.10 之后引入到 kernel 的特性。一切都在内核中完成,不需要额外的上下文切换,所以不会造成性能问题。目前 在 Docker 和 Chrome ...
分类:
其他好文 时间:
2021-04-26 13:03:09
阅读次数:
0
select #include<sys/select.h> int select(int nfds, fd_set* readfds, fd_set* writefds, fd_set* exceptfds, struct timeval* timeout); // 被监听的文件描述符的总数,可读、 ...
分类:
其他好文 时间:
2021-04-24 13:30:52
阅读次数:
0
不多BB,直接开干!!! 第一步:进入hive安装目录下面的conf目录,修改hive-site.xml文件 cd /opt/module/hive/conf vim hive-site.xml 第二步:修改如下内容 <property> <name>javax.jdo.option.Connect ...
分类:
其他好文 时间:
2021-04-24 11:50:36
阅读次数:
0