#-*-coding:utf-8-*-#AuthorDavid"""功能简介:编写登陆接口输入用户名和密码认证成功后显示欢迎信息输错三次后锁定"""#用户信息表user="david"passwd="123456"unlock=1error_count=0"""定义函数主体功能说明:1)当用户输入用户名时首先判断是否存在,如果存在则进入下一个判..
分类:
编程语言 时间:
2016-08-10 14:31:53
阅读次数:
436
Given an Android 3x3 key lock screen and two integers m and n, where 1 ≤ m ≤ n ≤ 9, count the total number of unlock patterns of the Android lock scre ...
分类:
移动开发 时间:
2016-08-09 13:27:49
阅读次数:
250
滚动标签 支持的属性: 1.align 2.behavior: alternate: 表示在两端之间来回滚动。scroll: 表示由一端滚动到另一端,会重复。slide: 表示由一端滚动到另一端,不会重复。 3.direction 滚动方向↑↓←→ 4.loop 循环次数 5.scrolldelay ...
分类:
Web程序 时间:
2016-08-06 18:50:57
阅读次数:
184
marquee标签实现文本的滚动 属性: 1.滚动方向direction(包括4个值:up、 down、 left和 right) 语法:<marquee direction="滚动方向">...</marquee> 2.滚动方式behavior(scroll:循环滚动,默认效果; slide:只滚 ...
分类:
其他好文 时间:
2016-08-05 17:43:42
阅读次数:
143
主要参数: behavior 移动方式 scroll 循环移动 slide 只移动一个回合 alternate 来回移动 scroll 循环移动 slide 只移动一个回合 alternate 来回移动 direction 移动方向 left right up down left right up ...
分类:
Web程序 时间:
2016-08-01 11:55:39
阅读次数:
1549
先大概描述一下要做的界面: 从网络请求json数据,获取网络图征数据,然后轮播图片。我遇到的问题是:图片不显示,代码如下 <ion-slide-box does-continue="true" show-pager="true" auto-play="true" slide-interval="10 ...
分类:
Web程序 时间:
2016-07-23 22:42:39
阅读次数:
159
At the beginning of every day, the first person who signs in the computer room will unlock the door, 在每天的开始,第一个签到进入计算机房间的人将会解锁这门 and the last one who ...
分类:
其他好文 时间:
2016-07-17 11:05:59
阅读次数:
132
mysql 5.6 binlog组提交实现原理 Redo组提交 Redo提交流程大致如下 lock log->mutex write redo log buffer to disk unlock log->mutex fsync Fsync写磁盘耗时较长且不占用log->mutex,也就是其执行期间 ...
分类:
数据库 时间:
2016-07-15 17:07:18
阅读次数:
202
一、DML、函数、高级查询 --为scott用户解锁SQL> alter user scott account unlock;用户已更改。 --为scott设置密码SQL> alter user scott identified by tiger;用户已更改。 --切换用户连接SQL> conn s ...
分类:
其他好文 时间:
2016-07-14 02:05:48
阅读次数:
244