animation动画(1)@keyframes定义关键帧动画(2)animation-name动画名称(3)animation-duration动画时间(4)animation-timing-function动画曲线linear(匀速)|ease(缓冲)|step(步数)(5)animation-delay动画延迟(6)animation-iteration-count动画播放次数n|infin
分类:
Web程序 时间:
2018-12-29 11:59:34
阅读次数:
1437
title: 指定子设备号创建字符设备 tags: linux date: 2018/12/28 19:57:24 toc: true 指定子设备号字符设备 [TOC] 流程 内核中设备号分为主设备号和次设备号,以前注册字符设备驱动的时候,直接占用了主设备号包含了255个子设备号,也就是内核最多支持 ...
分类:
其他好文 时间:
2018-12-28 20:35:32
阅读次数:
246
```js /** * 节流函数 * @param {Funtion} method 回调函数 * @param {Object} context 上下文地址 * @param {number} delay 延迟时间ms */
function throttle(method, context, d... ...
分类:
其他好文 时间:
2018-12-27 21:22:36
阅读次数:
185
一、Delay 在右上角都有一个表盘的图标,表示不是在当帧内执行,而是需要一定时间才能完成的。 鼠标移上去,会有一段文字注释。根据指定的延迟时间执行一个延后的动作。当计时还没有结束的时候,如果再次被调用的话,这个调用会被忽略。 如果在2秒内连续多次按下A键,屏幕上只会打印一次“A is Presse ...
分类:
其他好文 时间:
2018-12-27 11:59:41
阅读次数:
385
时序问题 有依赖关系的两段代码,执行时间不确定,所引起的问题。 举例 1、Shooter引用了Weapon,Weapon引用了Shooter。射击者需要持有枪,枪需要判断是否有主人(枪的持有者)。在枪要引用持有者的时候,可以使用Delay一段时间(1秒,甚至更短)在引用持有者就没问题了。 2、UI引 ...
分类:
其他好文 时间:
2018-12-26 20:19:18
阅读次数:
123
http { limit_req_zone $binary_remote_addr zone=perip:30m rate=60r/s; } rate=60r/s 表示处理请求的平均速度(每个请求之间至少要间隔(1000/60≈16.7ms),超出的请求将会进入令牌桶中,例如在10ms内发出5个请求 ...
分类:
其他好文 时间:
2018-12-26 19:58:40
阅读次数:
122
case when wfo.StatusSchema in ('draft','rm.approved') then 'draft' when wfo.StatusSchema in ('biz.approved','delay.approved','delay.approved.supplemen... ...
分类:
其他好文 时间:
2018-12-22 18:37:39
阅读次数:
145
实验十七 线程同步控制 实验时间 2018-12-10 1、实验目的与要求 (1) 掌握线程同步的概念及实现技术; (2) 线程综合编程练习 2、实验内容和步骤 实验1:测试程序并进行代码注释。 测试程序1: l 在Elipse环境下调试教材651页程序14-7,结合程序运行结果理解程序; l 掌握 ...
分类:
其他好文 时间:
2018-12-22 14:57:24
阅读次数:
136
There are N network nodes, labelled 1 to N. Given times, a list of travel times as directed edges times[i] = (u, v, w), where u is the source node, v ...
分类:
Web程序 时间:
2018-12-22 12:41:59
阅读次数:
197
let last = 0, timer = null; // 把上次触发事件和定时器存在全局 /** * 防抖 * @param fn * @param delay * @returns {Function} */debounce=(fn, delay)=>{ // let timer = null ...
分类:
其他好文 时间:
2018-12-20 11:47:14
阅读次数:
240