摘要: json是一种数据格式, 阅读全文
posted @ 2019-07-12 08:17 liwuming 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 1、过滤内容中的emoji字符 2、更改mysql的字符集设置 (1):修改mysql数据库的编码为uft8mb4 (2):修改数据表的编码为utf8mb4 (3):修改连接数据库的连接代码 阅读全文
posted @ 2019-07-04 14:01 liwuming 阅读(344) 评论(0) 推荐(0) 编辑
摘要: 1 public function uploads(){ 2 $logo_data = $this->request->post('logo_base64',''); 3 //$logo_data = $_POST['logo_base64']; 4 5 if(!empty($logo_data)){ 6 ... 阅读全文
posted @ 2019-07-04 08:18 liwuming 阅读(4851) 评论(0) 推荐(0) 编辑
摘要: 报错: UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte 【解决之道】没有进行解压缩处理 阅读全文
posted @ 2019-05-12 07:37 liwuming 阅读(217) 评论(0) 推荐(0) 编辑
摘要: 编写python 将python的安装路径写入系统环境变量path中 cmd /k python.exe "$(FULL_CURRENT_PATH)" & PAUSE & EXIT 编写c语言 快捷键 阅读全文
posted @ 2019-03-17 13:04 liwuming 阅读(904) 评论(0) 推荐(0) 编辑
摘要: 1、通过phpinfo(),确定机器上所安装的php的compiler和是否是线程安全版本 【注】如果是enabled,则说明是Thread safety版本 2、下载地址 http://pecl.php.net/package/mongodb 3、在系统环境变量中加入libsasl.dll的所在路 阅读全文
posted @ 2019-03-09 10:52 liwuming 阅读(3330) 评论(0) 推荐(0) 编辑
摘要: 【注】使用 angular JS 的时候,把 angularJS 放到文件底部,在渲染页面的时候,会出现闪一下的情况,或许是因为angularjs文件过大,加载时需要耗费一定的时间,若将angular.js的引入放到head中加载便不会出现此现象; 阅读全文
posted @ 2019-03-07 08:18 liwuming 阅读(112) 评论(0) 推荐(0) 编辑
摘要: wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.6.6.tgz 关闭防火墙并禁止开机启动 systemctl stop firewalld.service systemctl disable firewalld 关闭selinux 阅读全文
posted @ 2019-03-05 10:02 liwuming 阅读(101) 评论(0) 推荐(0) 编辑
摘要: #include #include struct int_e{ int *p; int length; }; int is_prime(int *primes,int length,int num){ int i; for(i=0;i<length;i++){ if(*(primes+i)){ if(num%(*(primes+i))==0){ return ... 阅读全文
posted @ 2019-03-04 11:03 liwuming 阅读(955) 评论(0) 推荐(0) 编辑
摘要: 环境搭建 wget https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-rhel70-4.0.6.tgz 阅读全文
posted @ 2019-03-03 10:15 liwuming 阅读(126) 评论(0) 推荐(0) 编辑