上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 14 下一页
摘要: * 不用系统比较大小的函数 test: 阅读全文
posted @ 2018-07-22 15:41 zhanghui_ming 阅读(1956) 评论(0) 推荐(0)
摘要: * 数据表 -- MySQL dump 10.16 Distrib 10.1.31-MariaDB, for osx10.6 (i386) -- -- Host: localhost Database: laravel -- -- Server version 10.1.31-MariaDB /*! 阅读全文
posted @ 2018-07-22 12:08 zhanghui_ming 阅读(489) 评论(0) 推荐(0)
摘要: String.prototype.charCodeAt String.fromCharCode() test: * UTF-8 变长 字符 UTF-8编码 Byte 1 Byte 2 Byte 3 A 01000001 Ö 11000011 10010110 中 11100100 10111000 阅读全文
posted @ 2018-07-22 08:45 zhanghui_ming 阅读(209) 评论(0) 推荐(0)
摘要: * 字符编码 ** 一定要知道数据的字符编码 ** 使用utf-8字符编码存储数据 ** 使用utf-8字符编码输出数据 * Crypto.js 支持中文 Base64编码要求把3个8位字节(3*8=24)转化为4个6位的字节(4*6=24),之后在6位的前面补两个0,形成8位一个字节的形式。 如果 阅读全文
posted @ 2018-07-21 23:10 zhanghui_ming 阅读(1158) 评论(0) 推荐(0)
摘要: * 配置好redis 参照这里 https://www.cnblogs.com/mingzhanghui/p/9338385.html * 修改.env 指定redis作为队列的驱动 * 改队列的配置文件 config/queue.php 下面的这块保持默认 清除缓存 * 创建Controller 阅读全文
posted @ 2018-07-21 11:52 zhanghui_ming 阅读(281) 评论(0) 推荐(0)
摘要: 参照这篇博客: http://www.geekpage.jp/programming/linux-network/book/04/4-21.php * 查看主机当前网卡,哪块在使用. lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 o 阅读全文
posted @ 2018-07-20 14:54 zhanghui_ming 阅读(640) 评论(0) 推荐(0)
摘要: > node char.jsABCD321abcd654 阅读全文
posted @ 2018-07-19 11:40 zhanghui_ming 阅读(1712) 评论(0) 推荐(0)
摘要: 为Python安装Redis库,登陆https://github.com/andymccurdy/redis-py 后点击Download ZIP下载安装包。 解压并安装: git clone https://github.com/andymccurdy/redis-py cd redis-py s 阅读全文
posted @ 2018-07-18 22:47 zhanghui_ming 阅读(838) 评论(0) 推荐(0)
摘要: * DateInterval output: 2018-08-01 21:30:002018-09-01 21:30:002018-07-18 21:30:00 2018-07-182018-07-172018-07-162018-07-15 * DateTimeZone * DatePeriod 阅读全文
posted @ 2018-07-18 21:50 zhanghui_ming 阅读(358) 评论(0) 推荐(0)
摘要: 不要相信外部源 $_GET $_POST $_REQUEST $_COOKIE $argv php://stdin php://input file_get_contents() 远程数据库 远程api 来自客户端的数据 htmlentities 1 <?php 2 $input = '<p><sc 阅读全文
posted @ 2018-07-17 22:17 zhanghui_ming 阅读(275) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 14 下一页