会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
wangxusummer
博客园
首页
新随笔
联系
订阅
管理
2018年12月24日
linux 之 jq
摘要: 1、安装 2、使用 cat test.json https://stedolan.github.io/jq/manual/#Invokingjq https://github.com/stedolan/jq/wiki/Cookbook
阅读全文
posted @ 2018-12-24 14:53 wangxusummer
阅读(2783)
评论(0)
推荐(0)
2018年7月17日
PHP Rabbitmq 报错Broken pipe
摘要: fwrite(): send of 13 bytes failed with errno=32 Broken pipe fwrite(): send of 21 bytes failed with errno=104 Connection reset by peer 用 rabbitmq 做消息队列
阅读全文
posted @ 2018-07-17 17:06 wangxusummer
阅读(1437)
评论(0)
推荐(0)
2018年6月26日
Laravel 跨框架队列交互
摘要: 公司大部分项目是laravel框架,但有些是yii框架,这两个框架之间有消息需要通信,比如在yii框架发布消息,laravel框架中的队列去处理,用redis作为消息连接纽带 laravel 队列原理是将类实例化后再序列化存到redis中(序列化的类只存储属性值)。消费的时候直接反序列化得到类和属性
阅读全文
posted @ 2018-06-26 20:25 wangxusummer
阅读(698)
评论(0)
推荐(0)
2018年4月13日
解决Linux下编译.sh文件报错 unexpected operator Syntax error: word unexpected
摘要: 执行一个脚本 发现报语法错误,但是在其他机器上运行都没有问题 唯一的区别就是 一个是centos机器 报错的是ubuntu 网上搜索了一下 因为Ubuntu默认的sh是连接到dash的,又因为dash跟bash的不兼容所以出错了.执行时可以把sh换成bash文件名.sh来执行 解决方案: 直接 $b
阅读全文
posted @ 2018-04-13 11:40 wangxusummer
阅读(831)
评论(0)
推荐(0)
安装QConf 报错及解决方案
摘要: 1:提示找不到gdbm.h头文件 解决方法: 2 invalid conversion from ‘const char*’ to ‘char*’ 解决方法: 3 提示找不到libgdbm.a文件 解决方法:
阅读全文
posted @ 2018-04-13 11:30 wangxusummer
阅读(779)
评论(0)
推荐(0)
2018年4月10日
安装 vagrant homestead步骤
摘要: 重新构建 可用 vagrant destroy 删除box vagrant box remove boxname mysql默认用户账号 用户名:homestead 密码:secret 备注:尽量使用最新版本的 vagrant 和 virtualbox 不要用 vagrant init 新生成的Va
阅读全文
posted @ 2018-04-10 21:08 wangxusummer
阅读(1019)
评论(0)
推荐(0)
2017年11月24日
How to get PrivateKey, PublicKey, Cert ID:
摘要: 0. Prepare cert.pfx and its password, verify_sign_acp.cer 1. Get Private Key $ openssl pkcs12 -in cert.pfx -nocerts -nodes | openssl rsa -out private_
阅读全文
posted @ 2017-11-24 16:00 wangxusummer
阅读(262)
评论(0)
推荐(0)
2017年8月2日
js 删除url指定参数
摘要: /** * 删除当前url中指定参数 * @param names 数组或字符串 * @returns {string} */ function funcUrlDel(names) { if(typeof(names)=='string'){ names = [names]; } ...
阅读全文
posted @ 2017-08-02 16:58 wangxusummer
阅读(8990)
评论(0)
推荐(0)
2017年4月20日
laravel CURD
摘要: like null 从一张表中获取一行/一列 DB:raw
阅读全文
posted @ 2017-04-20 19:46 wangxusummer
阅读(378)
评论(0)
推荐(0)
2017年3月14日
setjmp/longjmp 处理异常
摘要: #include #include #include jmp_buf jb; void f1() { printf("进入f1()\n"); if(0/*正确执行*/){ } else { longjmp(jb,1); } printf("退出f1()\n"); } void f2() { printf("进入f2()\n...
阅读全文
posted @ 2017-03-14 15:19 wangxusummer
阅读(218)
评论(0)
推荐(0)
下一页
公告