js 惰性载入函数( 能力检测 )
今天在做项目时,需要对地址栏参数做处理,于是便作了如下处理javascriptgetUrlParam(){letparams{};consturlwindow.location.href.replace(/\//g,'').replace(/\?/g,'&');url.replace(/?&(^&)
Easter79 Easter79
4年前
svg filter 相关的几个问题
在用Leaflet(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Fleafletjs.com%2F)处理GeoJSON(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Fgeojson.org%2F)格式的地理信
Stella981 Stella981
4年前
Spring Boot系列(八) Spring Boot中使用MongoDB数据库
MongoDB是一个开源的NoSQL文档数据库,它使用一个JSON格式的模式(schema)替换了传统的基于表的关系数据。SpringBoot为使用MongoDB提供了很多便利,包括springbootstarterdatamongodb'StarterPOM'。引入springbootstarterdatamongodb包,在po
Wesley13 Wesley13
4年前
2018年5月18日——用户与组管理
1、/etc/passwd文件此文件内容格式如下:root:x:0:0:root:/root:/bin/bashbin:x:1:1:bin:/bin:/sbin/nologindaemon:x:2:2:daemon:/sbin:/sbin/nologin此文件内容由7个字段组成,字段之间用:分隔。第1段
Wesley13 Wesley13
4年前
URL拼接中文在IE浏览器下造成的 Error parsing HTTP request header The valid characters are defined in RFC 7230 ...
1varisDelay$("fieldCodeYes_IS_DELAY_BID").val();2$("saveFrm").attr('action','/ebidding/bulletin/ChangeBulletin/submitModifyBulletin.htm?no_sitemesh'3'&v(isDe
Wesley13 Wesley13
4年前
TCP报文结构和长短连接
参考博文:https://www.cnblogs.com/onlysun/p/4520553.htmlhttps://blog.csdn.net/zxy987872674/article/details/52653101一、报文结构介绍  在开始讲TCP连接过程时,还是先看看TCP报文的格式如图1所示。IP数据
Wesley13 Wesley13
4年前
IDEA快捷键
Alt回车导入包,自动修正CtrlN查找类CtrlShiftN查找文件CtrlAltL格式化代码CtrlAltO优化导入的类和包AltInsert生成代码(如get,set方法,构造函数等)CtrlE或者AltShiftC最近更改的代码CtrlR替换文本CtrlF查找文
Stella981 Stella981
4年前
Python数据可视化 之 使用API
使用requests模块来请求网站数据1importrequests234执行API调用并存储响应5url'https://api.github.com/search/repositories?qlanguage:python&sortstars'6r
Stella981 Stella981
4年前
Golang 时间
  golang中涉及到时间的包就是time,包括时间戳、程序休眠、定时器、重复执行的定时器等获取当前时间now:time.Now()//格式化的时间fmt.Printf("%v\n",now)//2018062122:33:57.3519770800CSTm0.000504156
Stella981 Stella981
4年前
Android应用签名详解(INSTALL_PARSE_FAILED_NO_CERTIFICATES问题解决)
Android应用签名详解(INSTALL\_PARSE\_FAILED\_NO\_CERTIFICATES问题解决)参考文章:(1)Android应用签名详解(INSTALL\_PARSE\_FAILED\_NO\_CERTIFICATES问题解决)(https://www.oschina.net/action/GoToLink?url