会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
mingzhanghui
😎🤑😍😀
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
3
4
5
6
7
8
9
10
11
···
13
下一页
2018年7月23日
javascript traverse object attributes 遍历对象属性
摘要: * for in * Object keys
阅读全文
posted @ 2018-07-23 17:08 zhanghui_ming
阅读(570)
评论(0)
推荐(0)
编辑
redis 设置密码 laravel框架配置redis
摘要: * 参考资料 redis文档 http://www.redis.cn/documentation.html, http://redisdoc.com/index.html redis桌面客户端 https://redisdesktop.com/download * 修改redis.conf 添加一行
阅读全文
posted @ 2018-07-23 10:25 zhanghui_ming
阅读(1137)
评论(0)
推荐(0)
编辑
2018年7月22日
php stream 流封装协议
摘要: http://php.net/manual/wrappers.php 过程: 1. 开始通信 2. 读取数据 3. 写入数据 4. 结束通信 usage: * 读写文件系统 ## # Host Database # # localhost is used to configure the loopb
阅读全文
posted @ 2018-07-22 21:01 zhanghui_ming
阅读(195)
评论(0)
推荐(0)
编辑
javascript 比较版本号大小 字符串
摘要: * 不用系统比较大小的函数 test:
阅读全文
posted @ 2018-07-22 15:41 zhanghui_ming
阅读(1920)
评论(0)
推荐(0)
编辑
php pdo 参数绑定
摘要: * 数据表 -- 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
阅读(444)
评论(0)
推荐(0)
编辑
javascript wchar_t 宽字符 转化为 ascii字符码数组
摘要: 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
阅读(178)
评论(0)
推荐(0)
编辑
2018年7月21日
javascript base64 encode decode 支持中文
摘要: * 字符编码 ** 一定要知道数据的字符编码 ** 使用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
阅读(1001)
评论(0)
推荐(0)
编辑
php laravel v5.1 消息队列
摘要: * 配置好redis 参照这里 https://www.cnblogs.com/mingzhanghui/p/9338385.html * 修改.env 指定redis作为队列的驱动 * 改队列的配置文件 config/queue.php 下面的这块保持默认 清除缓存 * 创建Controller
阅读全文
posted @ 2018-07-21 11:52 zhanghui_ming
阅读(216)
评论(0)
推荐(0)
编辑
2018年7月20日
Linux C语言 取得MTU (最大传输单元)
摘要: 参照这篇博客: 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
阅读(568)
评论(0)
推荐(0)
编辑
2018年7月19日
javascript 字符串 数字反转 字母大小写互换
摘要: > node char.jsABCD321abcd654
阅读全文
posted @ 2018-07-19 11:40 zhanghui_ming
阅读(1673)
评论(0)
推荐(0)
编辑
上一页
1
···
3
4
5
6
7
8
9
10
11
···
13
下一页
公告