<style type="text/css"> .demo{ animation-name: demoAnimation; 定义关键帧动画的名称 名称为我们使用@keyframes定义的动画 animation-duration: 2s;动画持续时间 animation-delay: 2s;设置动画 ...
分类:
其他好文 时间:
2017-02-15 13:46:58
阅读次数:
135
#import <UIKit/UIKit.h> @interface ProgressHUD : UIView + (void)show; + (void)dismiss; + (void)dismissWithDelay:(NSTimeInterval)delay; @end #import "P ...
分类:
其他好文 时间:
2017-02-10 23:36:04
阅读次数:
353
在提到Handler的时候就不得不提到Looper、MessageQueue这两个对象,到底这些对象和所谓的线程是什么关系呢?它们之间是如何联系在一起的呢?又是如何做到发送消息的呢?这里就是要说明这三...
分类:
其他好文 时间:
2017-02-10 18:27:17
阅读次数:
131
1 //write by:cyt 2 //Project Name:Led on/off 3 //Time:2017-2-10 4 #include<reg51.h> 5 void delay(int c) 6 { 7 int a=38; 8 int b=130; 9 for(;c>0;c--) 1 ...
分类:
其他好文 时间:
2017-02-10 17:41:40
阅读次数:
167
1.transition 语法:transition: property duration timing-function delay; transition-property 设置过渡效果的css 属性名称 语法: transition-property: none | all | propert ...
分类:
Web程序 时间:
2017-02-08 17:05:02
阅读次数:
197
1、animation-name :动画名 2、animation-duration:时间 3、animation-delay:延时 4、animation-iteration-count:次数 5、 animation-direction:方向 6、 animation-play-state:控制 ...
分类:
Web程序 时间:
2017-02-02 16:31:08
阅读次数:
200
https://segmentfault.com/a/1190000006733978 优化TCP socket参数,包括:是否关闭快速回收、初始RTO、初始拥塞窗口、socket缓存大小、Delay-ACK、Selective-ACK、TCP_CORK、拥塞算法(westwood/TLP/cubi ...
分类:
移动开发 时间:
2017-01-24 14:49:29
阅读次数:
217
一、简介 Samba是一个能让Linux系统应用Microsoft网络通讯协议的软件,而SMB是Server Message Block的缩写,即为服务器消息块 ,SMB主要是作为Microsoft的网络通讯协议,后来Samba将SMB通信协议应用到了Linux系统上,就形成了现在的Samba软件。 ...
分类:
其他好文 时间:
2017-01-24 12:09:35
阅读次数:
243
grunt-nodemon参数配置 nodemon0.2.0版本后参数名称做了较大改动,调整了下nodemon的参数配置,有需要的同学可以参考下: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 nodemon: { dev: { script: 'app.js' ...
分类:
其他好文 时间:
2017-01-22 20:30:07
阅读次数:
198
应用场景:向服务器提交数据时(发表动态,上传个人信息....) 优点:防止发表同一样帖子,并且减少服务器的负担. 代码很简单,一看就明白,不再绕弯子了: ...
分类:
其他好文 时间:
2017-01-21 17:27:48
阅读次数:
155