摘要: public string GetPassWord() { string text = string.Empty; var number = "0123456789"; var chars = "ABCDEFGHJKLMNOPQRSTUVWXYZabcefghijkmnopqrstuvwxyz"; 阅读全文
posted @ 2021-07-30 10:51 雨殇丶 阅读(239) 评论(0) 推荐(0) 编辑
摘要: 一、引用 <script src="https://pv.sohu.com/cityjson?ie=utf-8"></script> <script src="https://ip.ws.126.net/ipquery"></script> 二、 <script src="https://code. 阅读全文
posted @ 2020-05-19 14:44 雨殇丶 阅读(3416) 评论(0) 推荐(1) 编辑
摘要: function IsMobile(){ let info = navigator.userAgent; let agents = ["Android", "iPhone", "SymbianOS", "Windows Phone", "iPod", "iPad"]; for(let i = 0; 阅读全文
posted @ 2020-04-22 09:44 雨殇丶 阅读(1799) 评论(0) 推荐(1) 编辑
摘要: html结构: <div class="share-list"> <ul class="share-container"> <li> <a title="分享到微信" href="javascript:void(0)" class="bds_weixin"> <img src="http://ima 阅读全文
posted @ 2020-03-12 21:32 雨殇丶 阅读(642) 评论(0) 推荐(0) 编辑
摘要: <button onclick="ShareToLinkedin()" style="cursor:pointer">分享领英</button> function ShareToLinkedin() { var _href = "https://www.linkedin.com/shareArtic 阅读全文
posted @ 2020-03-12 21:26 雨殇丶 阅读(850) 评论(0) 推荐(0) 编辑
摘要: <button id="btn1">通过ID获取Class</button> <div id="div1"> <div class="aa"></div> </div> $("#btn1").click(function () { var cname = $("#div1 div").attr("c 阅读全文
posted @ 2020-03-12 21:14 雨殇丶 阅读(4978) 评论(0) 推荐(0) 编辑
摘要: 链接:https://v.urlgot.cn/ 阅读全文
posted @ 2020-03-01 22:58 雨殇丶 阅读(1043) 评论(0) 推荐(0) 编辑
摘要: sql server默认不区分大小写查询,但是有的时候部分查询语句却需要区分大小写查询,这个时候就需要进行一些特殊处理。区分大小写主要分两种方法。 转二进制判断 select * from table where cast(name as varbinary)=cast('LiYuanBa' as 阅读全文
posted @ 2020-03-01 22:50 雨殇丶 阅读(1718) 评论(0) 推荐(1) 编辑
摘要: 一、Excel根据手机号获取手机号归属地信息 可批量操作,用起来很方便 操作教程:https://jingyan.baidu.com/article/b7001fe1f74d160e7282dde7.html 插件下载:http://www.ffcell.com/home/ffcell.aspx 可 阅读全文
posted @ 2020-03-01 22:47 雨殇丶 阅读(3045) 评论(0) 推荐(0) 编辑
摘要: 一、js方式的页面跳转1.window.location.href方式 <script language="JavaScript" type="text/javascript"> window.location.href="http://www.dayanmei.com/"; </script> 2 阅读全文
posted @ 2020-03-01 22:05 雨殇丶 阅读(5044) 评论(0) 推荐(1) 编辑