- 博客(11)
- 收藏
- 关注
原创 js 日常
1、数组去重function setArr(array){ var arrs = []; for(var i = 0; i < array.length; i++){ if (arrs.indexOf(array[i]) == -1){ arrs.push(array[i]) }; } return...
2019-08-13 14:50:28
119
翻译 Linux系统出现hung_task_timeout_secs和blocked for more than 120 seconds的解决方法
Linux系统出现系统没有响应。 在/var/log/message日志中出现大量的“echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.”和“blocked for more than 120 seconds”错误。问题原因:默认情况下, Linux会最多使用40%的可用内存作为文件系统...
2019-05-18 13:30:01
8046
翻译 iOS ATS HTTP 不能正常使用的解决办法
ios hls 出现 The media could not be loaded, either because the server or network failed or because the format is not supported.网上看了很多文章,基本都是说网络异常(网络差、网络限制视频播放)和视频格式错误,结果最后是因为iOS9引入的ATS新特性要求App内访问的网络...
2019-01-03 18:08:54
3527
转载 注意事项
bootstrapValidator https://blog.csdn.net/fanguoddd/article/details/55503979
2018-07-25 14:52:45
146
转载 Spring Boot项目在Intellij IDEA 中实现热部署
https://blog.csdn.net/tmaskboy/article/details/78996794
2018-07-10 21:39:01
123
原创 前端日常
1、 readonly属性 对于radio、select、checkbox来说,readonly属性对这三个标签不起什么作用。设置仅读:$("#id").attr("disabled","disabled")//将input元素设置为disabled$("#id").attr("disabled",true)//将input元素设置为disabled去除仅读:$("#id").r
2018-06-20 16:03:42
218
翻译 使用Select2搜索框无法输入
1.检查下modal的div中是否有tabindex=”-1”;2.js代码中加入:$.fn.modal.Constructor.prototype.enforceFocus = function () {};
2018-06-20 10:43:15
3116
翻译 对git commit内容进行撤销(未push)
1、git log 找到要撤销的id1 commit之前的id22、git reset –hard id13、git reset id2
2018-06-14 15:24:33
2911
转载 mysql: error while loading shared libraries: libncursesw.so.5: cannot open shared object file: No su
1、出现这个问题,就是系统缺少一个库2、解决方法:sudo apt_get install lib32ncurses5 lib32ncursesw5
2017-12-10 10:16:10
2343
转载 1130 host is not allowed to connect to this MySql server,MySQL
1、改表法。可能是你的帐号不允许从远程登陆,只能在localhost。这个时候只要在localhost的那台电脑,登入mysql后,更改 "mysql" 数据库里的 "user" 表里的 "host" 项,从"localhost"改称"%"mysql -u root -pvmwaremysql>use mysql;mysql>update user set host = '
2017-11-20 15:57:32
199
转载 http://blog.csdn.net/murcielagoan/article/details/52313684
Java7/8遇到java.security.cert.CertificateException: Certificates does not conform to algorithm constraints我的开发环境是Java7+Eclipse,由于老大写的一套外接程序需要用到Java8+Tomcat8来部署,所以装了个虚拟机,安装了Java8,一切准备就绪以后,发现J
2017-11-16 19:20:06
210
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人