if($no%2 != 0) { $lstemp='<li> <div class="case-l fl fadeInDown wow"> <img src="'.$r[titlepic].'"> </div> <div class="case-r fr fadeInUp wow" data-wow ...
分类:
其他好文 时间:
2020-04-10 11:51:23
阅读次数:
162
最近项目需求需要做一个抽屉滑动的效果,也就是从屏幕的右边滑进来页面,就像这样: 很简单,系统自带的DrawerLayout就能完成这样基本的需求。但是我们的需求要稍微复杂一点,在关闭侧边栏之前啊,我们想去做一下数据保存。这时候怎么办呢?相信大家都会想,这东西肯定有滑动监听啊,去监听一下滑动事件不就好 ...
分类:
其他好文 时间:
2020-04-10 09:18:02
阅读次数:
136
Problem Description Give you a number on base ten,you should output it on base two.(0 < n < 1000) Input For each case there is a postive number n on b ...
分类:
其他好文 时间:
2020-04-10 00:29:53
阅读次数:
80
移动APP的测试与传统的软件测试稍微有些区别。 阅读目录 1、移动App比PC上的程序测试要复杂 2、移动App测试中如何设计Test Case 3、让自己成为真实的用户 4、关注用户体验测试 5、少做UI自动化,多做后台接口的自动化 6、测试你最终要发布给用户的APP版本 7、HTTP,HTTPS ...
分类:
移动开发 时间:
2020-04-08 16:12:55
阅读次数:
94
返回1-10平方的列表 [i ** 2 for i in range(1,11)] [1, 4, 9, 16, 25, 36, 49, 64, 81, 100] 有一个列表[1,4,9,16,2,5,10,15]生成一个新的列表,要求新的列表是lst相邻2个元素之和 lst = [1,4,9,16, ...
分类:
其他好文 时间:
2020-04-07 22:35:11
阅读次数:
87
#流程控制结构/*顺序、分支、循环 */ #一、分支结构#1.if函数/*语法:if(条件,值1,值2)功能:实现双分支应用在begin end中或外面 */ #2.case结构/*语法:情况1:类似于switchcase 变量或表达式when 值1 then 语句1;when 值2 then 语句 ...
分类:
数据库 时间:
2020-04-07 20:17:58
阅读次数:
73
swith swith单运用 package com.struct;?public class SwitchDomn01 { public static void main(String[] args) { char grade = 'A'; //case穿透 //swith 匹配一个具体的值? s ...
分类:
其他好文 时间:
2020-04-07 18:25:06
阅读次数:
92
读入一个正整数 n,计算其各位数字之和,用汉语拼音写出和的每一位数字。 1 #include<stdio.h> 2 int main(){ 3 char c; 4 int sumt=0,t[10],count,i; 5 scanf("%c",&c); 6 while(c!='\0'&&c!='\n' ...
分类:
其他好文 时间:
2020-04-07 11:07:46
阅读次数:
64
Given an array of strings, group anagrams together. Example: Note: All inputs will be in lowercase. The order of your output does not matter. 这道题就是用每个 ...
分类:
其他好文 时间:
2020-04-07 10:00:31
阅读次数:
94
import unittest from assertpy import assert_that """ Testcase: 一个TestCase的实例就是一个测试用例。什么是测试用例呢?就是一个完整的测试流程,包括测试前准备环境的搭建(setUp), 执行测试代码 (run),以及测试后环境的还原 ...
分类:
其他好文 时间:
2020-04-07 09:35:03
阅读次数:
75