上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 18 下一页
摘要: 附: 五种开源协议的比较(BSD,Apache,GPL,LGPL,MIT) 阅读全文
posted @ 2020-05-22 09:53 我的五年 阅读(23) 评论(0) 推荐(0)
摘要: vue报错:Property or method "attendanceDetaill" is not defined on the instance but referenced during render. Make sure that this property is reactive, ei 阅读全文
posted @ 2020-05-14 12:02 我的五年 阅读(22) 评论(0) 推荐(0)
摘要: nodejs检查端口是否被占用,先看个运行效果: E:\wamp64\www\tmpPro\tryuseport>node t.js 端口:8022被占用 端口:8023被占用 端口:8024可用 没错,它会一直递归检测端口是否可用,直到可用。 代码: const net = require('ne 阅读全文
posted @ 2020-04-05 14:00 我的五年 阅读(265) 评论(0) 推荐(0)
摘要: layui动态渲染,初始化默认值 var html = ''; html += '<select name="" lay-search lay-verify="required" lay-filter="iconTypeSelecter" >'; data.forEach(function(elem 阅读全文
posted @ 2020-03-18 10:27 我的五年 阅读(228) 评论(0) 推荐(0)
摘要: php -S ip:port 命令可以开启一个纯php的web服务,如: php -S 127.0.0.1:8080 # ip指定为localhost也是可以的 tips:端口号必填,服务的根目录即为当前目录。 # 另外: php -r 'code···' 可以直接在命令行里运行你的php代码 比如 阅读全文
posted @ 2020-03-14 23:13 我的五年 阅读(57) 评论(0) 推荐(0)
摘要: 报错: Catchable Fatal Error: Object of class App\Entity\ProjectType could not be converted to string 版本:symfony5.0 解决办法: 在对应的Entity里添加public __toString方 阅读全文
posted @ 2020-03-10 16:32 我的五年 阅读(15) 评论(0) 推荐(0)
摘要: 之前用symfony3.4,最近上手symfony5发现加入了很多新特性,搭配easyadminBundle、api-platform这些用起来感觉简直如有神助,瞬间爱了。 不过api-platform还没太弄明白,有用这个的可以给分享下文档,官网文档好多地方说的太简略了。||| 面记一些使用时遇到 阅读全文
posted @ 2020-03-08 19:58 我的五年 阅读(26) 评论(0) 推荐(0)
摘要: 原文: 关于用nw(node-webkit)开发windows桌面软件遇到的问题,包括nw项目打包、win10 C盘读写文件没权限等问题的解决方法 - 搜栈网 (seekstack.cn)https://www.seekstack.cn/post/783 阅读全文
posted @ 2020-02-26 17:54 我的五年 阅读(10) 评论(0) 推荐(0)
摘要: 关于ffmpeg参数里的pcm_s16le,查了很多资料,找到下面这句话: S16LE:S(signed)代表有符号,LE(little endian)为小端存储(先存低字节,再存高字节) 附: PCM音频编码PCM小知识 阅读全文
posted @ 2020-02-20 21:46 我的五年 阅读(446) 评论(0) 推荐(0)
摘要: 原文:38条技巧优化PHP代码 1、如果一个方法能被静态,那就声明他为静态的,速度可提高1/4; 2、echo的效率高于print,因为echo没有返回值,print返回一个整型; 3、在循环之前设置循环的最大次数,而非在在循环中; 4、销毁变量去释放内存,特别是大的数组; 5、避免使用像__get 阅读全文
posted @ 2020-02-09 17:53 我的五年 阅读(8) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 18 下一页