一. 形变# 1.形变参考点:三轴交界点# transfrom-origin:x轴 y轴坐标# 2.旋转 rotate deg# transfrom:rotate(720deg);# 3.偏移 translate px# translateX(200px) translateY(200px)# 4. ...
分类:
其他好文 时间:
2018-12-16 10:58:15
阅读次数:
117
1、安装 logrotate是Linux系统自带,无需安装 2、配置 进入【/etc/logrotate.d/nginx】文件修改配置 需要备份的日志路劲,一个或多个都可以 /data/logs/nginx1/ .log /data/logs/nginx2/ .log { daily rotate ...
分类:
其他好文 时间:
2018-12-15 19:50:45
阅读次数:
206
Given an array, rotate the array to the right by k steps, where k is non-negative. Example 1: Input: [1,2,3,4,5,6,7] and k = 3 Output: [5,6,7,1,2,3,4] ...
分类:
其他好文 时间:
2018-12-09 10:43:22
阅读次数:
140
动画分为几种:Translate(平移),Scale(放大缩小),Rotate(旋转),Flip(沿着X轴或者Y轴翻转),Fade(淡入淡出),Layout(重新指定长款距离) 只要是继承自VirtualElement这些父类就可以使用这些控件 1。Translate使用control.Transl ...
分类:
其他好文 时间:
2018-12-01 11:12:38
阅读次数:
400
终于yy过去了 撒花 调了一天半,出了无数锅 以下是出锅列表 rotate的时候要判断父亲节点的父亲节点是否存在 rotate的时候记得修改节点的父亲信息 pushdown的时候注意特判有无左右子树 本题最大子段和要求至少要有一个数字 splay的每个节点中都存有一个点的权值,和线段树不同 lx和r ...
分类:
其他好文 时间:
2018-11-29 17:59:21
阅读次数:
157
Given an array, rotate the array to the right by k steps, where k is non-negative. Example 1: Example 2: 代码: ...
分类:
其他好文 时间:
2018-11-28 12:10:39
阅读次数:
160
Canvas的几何变换是倒序的,Matrix是正序。 比如先平移在旋转: canvas.rotate(); canvas.translate(); //translate先执行,rotate后执行 Matrix里面就好比维护者一个双端队列,当调用preXxx方法时,将该方法放入队列的顶端,(即每来一 ...
分类:
其他好文 时间:
2018-11-27 17:06:17
阅读次数:
259
ICP算法主要用于点云精配准,精度很高,但是相应的缺点就是迭代过程中容易陷入局部极值。具体的ICP算法推导过程很多书上都有,就不再详述了,此次仿真用的是SVD分解的方法。 直接贴代码: rotate.m 仿真结果(配准前和配准后): 旋转矩阵(真值和配准结果) 误差:err=0.00019434 注 ...
分类:
编程语言 时间:
2018-11-25 23:57:51
阅读次数:
425
We are given two strings, A and B. A shift on A consists of taking string A and moving the leftmost character to the rightmost position. For example, ...
分类:
编程语言 时间:
2018-11-25 18:01:32
阅读次数:
185
ZC:主要 记录的是 网华的图 的转换的过程 1、<text/>的旋转 (文字是横版的)(20181123) PS:到目前为止(20181123)网华过来的图 文字都是横版,竖着显示的都是 横版的文字显示 经过transform旋转之后的结果(非单个文字的rotate旋转) 1.1、搞不清楚 到底 ...
分类:
其他好文 时间:
2018-11-25 16:09:29
阅读次数:
164