摘要: pom文件中只需添加三个maven依赖: 阅读全文
posted @ 2019-08-12 09:59 fightForLife 阅读(512) 评论(0) 推荐(0) 编辑
摘要: 选择排序: 插入排序: 阅读全文
posted @ 2019-07-31 12:09 fightForLife 阅读(146) 评论(0) 推荐(0) 编辑
摘要: /** *饿汉式 */ public class Singleton { private Singleton(){} private static Singleton instance = new Singleton(); public static Singleton getInstance(){ return instance; } } ... 阅读全文
posted @ 2019-07-31 11:11 fightForLife 阅读(68) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/ahou2468/article/details/79015251 阅读全文
posted @ 2019-07-30 18:03 fightForLife 阅读(1516) 评论(0) 推荐(0) 编辑
摘要: "15677778888".replace(/^(\d{3})\d{4}(\d{4})$/,'$1****$2'); 输出: "156****8888" 阅读全文
posted @ 2019-07-26 09:15 fightForLife 阅读(340) 评论(0) 推荐(0) 编辑
摘要: function updatePersonInfo() { var user_name = $("#user_name").val(); var realname = $('#realname').val(); var education = $('#education').val(); var sex = $("input[name='sex']:checked... 阅读全文
posted @ 2019-07-25 18:33 fightForLife 阅读(3938) 评论(0) 推荐(0) 编辑
摘要: /** * 生成8位随机数 * @return */ public String getNonce_str() { String SYMBOLS = "0123456789"; Random RANDOM = new SecureRandom(); char[] nonceChars = new char... 阅读全文
posted @ 2019-07-23 19:09 fightForLife 阅读(3411) 评论(1) 推荐(0) 编辑
摘要: https://www.cnblogs.com/zxin/archive/2013/01/26/2877765.html 阅读全文
posted @ 2019-07-23 18:53 fightForLife 阅读(97) 评论(0) 推荐(0) 编辑
摘要: 固定标签的属性 position:relative;上面标签的属性 position:absolute 阅读全文
posted @ 2019-07-23 15:37 fightForLife 阅读(467) 评论(0) 推荐(0) 编辑