上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 25 下一页
摘要: /** * 获得屏幕相关的辅助类 */public class ScreenUtils { private ScreenUtils() { throw new UnsupportedOperationException("cannot be instantiated"); } public stat 阅读全文
posted @ 2019-08-09 19:24 李艳艳665 阅读(409) 评论(0) 推荐(0)
摘要: /** * 软键盘相关辅助类 */public class KeyBoardUtils { private KeyBoardUtils() { throw new UnsupportedOperationException("cannot be instantiated"); } /** * 隐藏输 阅读全文
posted @ 2019-08-09 19:24 李艳艳665 阅读(258) 评论(0) 推荐(0)
摘要: public class SDCardUtils { private static final String EXTERNAL_STORAGE_PERMISSION = "android.permission.WRITE_EXTERNAL_STORAGE"; private SDCardUtils( 阅读全文
posted @ 2019-08-09 19:24 李艳艳665 阅读(147) 评论(0) 推荐(0)
摘要: 1. 打日志,最简单的判断api时间消耗在哪一部分方法,一般检查前方法: 端数据的封装//处理分页情况 if (pageSize == null || pageSize <= 0) { pageSize = Constant.DEFAULT_PAGE_SIZE; } if (page == null 阅读全文
posted @ 2019-08-08 18:22 李艳艳665 阅读(475) 评论(0) 推荐(0)
摘要: Python编程从入门到实践 基础入门1、Python中的变量2、Python首字母大写使用title()方法,全部大写upper()方法,全部小写lower()方法3、Python中字符串拼接使用 + 号4、Python中删除字符串的空格 删除末尾空格的rstrip(),删除开头空格的lstrip 阅读全文
posted @ 2019-08-08 18:21 李艳艳665 阅读(1524) 评论(0) 推荐(0)
摘要: 在 C 语言中1、char a[10] = {"China"} 中,这个 a 占用多少字节? 答:占用 10 个字节。 解析:上面代码对 a 做了赋值的操作, a[0]='C' ,a[1]='h' ,a[2]='i' ,a[3]='n' ,a[4]='a' ,a[5]='\0',a[6]='\0', 阅读全文
posted @ 2019-08-08 18:19 李艳艳665 阅读(1345) 评论(0) 推荐(0)
摘要: 0、str这个class,很常用,也经常可以看到两个字符串,进行is或者==的比较 is 和 ==a、is表示对比的是对象标识符(即内存地址),用来检查对象的标识符是否一致,即两个对象在内存中的地址是否一致(对象首字节的内存地址(你经常看到到的地址要么是十六进制展示的,要么就是十进制的)) b、在使 阅读全文
posted @ 2019-08-08 18:18 李艳艳665 阅读(2627) 评论(0) 推荐(0)
摘要: import requestsimport simplejsonimport jsonimport base64 def find_face(imgpath): print("finding") http_url = 'https://api-cn.faceplusplus.com/facepp/v 阅读全文
posted @ 2019-08-08 18:17 李艳艳665 阅读(2352) 评论(1) 推荐(0)
摘要: -- 创建存储过程之前需判断该存储过程是否已存在,若存在则删除DROP PROCEDURE IF EXISTS init_reportUrl; -- 创建存储过程CREATE PROCEDURE init_reportUrl()BEGIN -- 定义变量 DECLARE s int DEFAULT 阅读全文
posted @ 2019-08-06 19:32 李艳艳665 阅读(11272) 评论(4) 推荐(1)
摘要: <dependencies> <!-- springboot --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </depende 阅读全文
posted @ 2019-08-06 19:32 李艳艳665 阅读(185) 评论(0) 推荐(0)
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 25 下一页