会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
bandbandme
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
14
下一页
2020年4月30日
mysql 慢日志简单格式化
摘要: <?php $str = file_get_contents('/Users/chenbingbing/Downloads/product-slow-report.txt'); $str = preg_replace('#\#\s+(?!Query\s*\d+)[^\n]+#', '', $str)
阅读全文
posted @ 2020-04-30 15:11 bandbandme
阅读(408)
评论(0)
推荐(0)
编辑
2020年4月23日
常用sql 命令
摘要: 导出某个数据库, 并压缩 mysqldump -uroot -p -h127.0.0.1 --triggers --routines --events --hex-blob --single-transaction test_db | gzip > /tmp/20200423-test_db.gz
阅读全文
posted @ 2020-04-23 19:13 bandbandme
阅读(138)
评论(0)
推荐(0)
编辑
2020年3月30日
php icu4c 降级
摘要: 【参考: https://blog.csdn.net/youshaoduo/article/details/89228454】 cd $(brew --prefix)/Homebrew/Library/Taps/homebrew/homebrew-core/Formula git log --fol
阅读全文
posted @ 2020-03-30 18:21 bandbandme
阅读(852)
评论(0)
推荐(0)
编辑
2020年3月27日
swoole 示例
摘要: $str = $_GET['a'];$client = new swoole_client(SWOOLE_SOCK_TCP);if (!$client->connect("127.0.0.1", 9501, -1)){ exit("connect failed. Error: {$client->e
阅读全文
posted @ 2020-03-27 14:29 bandbandme
阅读(285)
评论(0)
推荐(0)
编辑
2020年1月20日
CI项目本地部署
摘要: nginx 配置 项目更改:
阅读全文
posted @ 2020-01-20 19:06 bandbandme
阅读(454)
评论(0)
推荐(0)
编辑
2019年12月23日
从excel中读取数据
摘要: 读取excel中的图片
阅读全文
posted @ 2019-12-23 12:29 bandbandme
阅读(324)
评论(0)
推荐(0)
编辑
2019年12月12日
php smarty
摘要: smarty模板中拼接字符串的方法
阅读全文
posted @ 2019-12-12 19:01 bandbandme
阅读(160)
评论(0)
推荐(0)
编辑
2019年12月9日
php 格式化搜索条件规范
摘要: /** * 获取搜索条件 * @param $request 搜索条件 * @param $condition 已有条件 */ public function getSearchCondStr($request, $condition = array()) { $validRequest = array(); $objMActivity = new MActivity(); $mark_type
阅读全文
posted @ 2019-12-09 17:27 bandbandme
阅读(190)
评论(0)
推荐(0)
编辑
2019年10月31日
读取远程图片
摘要: 读取远程图片直接输出
阅读全文
posted @ 2019-10-31 10:42 bandbandme
阅读(203)
评论(0)
推荐(0)
编辑
2019年10月18日
pcntl_fork 多进程处理
摘要: 多进程 连接数据库时, 需要重置连接 MySQLi
阅读全文
posted @ 2019-10-18 10:45 bandbandme
阅读(341)
评论(0)
推荐(0)
编辑
上一页
1
2
3
4
5
6
···
14
下一页