上一页 1 ··· 79 80 81 82 83 84 85 86 87 ··· 98 下一页
摘要: <pre>php 5.5使用 array_column的方法</pre> <pre> public function array_column($input, $columnKey, $indexKey = null) { $columnKeyIsNumber = (is_numeric($colu 阅读全文
posted @ 2019-11-14 12:22 newmiracle宇宙 阅读(284) 评论(0) 推荐(0)
摘要: mysql并发量过大造成 update语句更新错误 在同一字段的时候更新的时候 如果并发量太大 就会更新错误 这个时候只能用 swoole 消息队列更新 阅读全文
posted @ 2019-11-14 12:21 newmiracle宇宙 阅读(1341) 评论(0) 推荐(0)
摘要: html5 微信真机调试方法 vConsolehttps://blog.csdn.net/weixin_36934930/article/details/79870240 阅读全文
posted @ 2019-11-14 12:05 newmiracle宇宙 阅读(640) 评论(0) 推荐(0)
摘要: jquery设置html5音量的方法<pre> setTimeout(function() { alert(1); $('#music1')[0].volume = 0; setTimeout(function() { alert(2); $('#music1')[0].volume = 1; }, 阅读全文
posted @ 2019-11-14 12:04 newmiracle宇宙 阅读(1011) 评论(0) 推荐(0)
摘要: PHP防止客户端多次点击 第一种用ip判断 第二种就是用 用户名第三种就是cookie仅限 H5第四种 用swoole 用swoole id 阅读全文
posted @ 2019-11-14 12:04 newmiracle宇宙 阅读(814) 评论(0) 推荐(0)
摘要: jQuery 触发事件 移动端和pc端的区别 <pre>mousedown event.pageXmousemove event.pageXmouseup event.pageXtouchstart event.originalEvent.touches[0].pageX & event.origi 阅读全文
posted @ 2019-11-14 12:02 newmiracle宇宙 阅读(451) 评论(0) 推荐(0)
摘要: linux No module named yum错误的解决办法 肯定是yum的版本与当前python的版本不一致造成的 <pre>所以修改yum的配置,修改文件: vim /usr/bin/yum 修改头#!/usr/bin/python => #!/usr/bin/python2.6</pre> 阅读全文
posted @ 2019-11-13 21:34 newmiracle宇宙 阅读(936) 评论(0) 推荐(0)
摘要: egret编译速度慢解决方法 直接用增量更新egret run -a 每次改完代码 保存都会自动编译 阅读全文
posted @ 2019-11-13 21:34 newmiracle宇宙 阅读(930) 评论(0) 推荐(0)
摘要: jquery写$ document.getElementById效果<pre>document.getElementById('video-canvas')和$('#video-canvas')[0]是相等的</pre> 阅读全文
posted @ 2019-11-13 21:33 newmiracle宇宙 阅读(274) 评论(0) 推荐(0)
摘要: egret缺点1 编译速度非常慢 2 就是强类型转换非常的麻烦 3 只能用ts 所以只能用他们的IDE 不能用sublime layaair唯一不足的就是 insepct太垃圾 占用游戏界面 所以建议用egret 不过开发3D还是用layaair吧 阅读全文
posted @ 2019-11-13 21:33 newmiracle宇宙 阅读(1022) 评论(0) 推荐(0)
上一页 1 ··· 79 80 81 82 83 84 85 86 87 ··· 98 下一页