GuzzleHttp示例

摘要: 一般请求 $httpClient = new Client([ 'timeout' => 5 ]); $request = $httpClient->post("http://localhost:6000", [ //body内容 //'body' => json_encode(['name' => 阅读全文
posted @ 2022-07-26 18:15 dream_bccb 阅读(206) 评论(0) 推荐(0) 编辑

将freeswitch加入CentOS7的systemctl

摘要: cd /usr/local/src/freeswitch/build cp freeswitch.service /usr/lib/systemd/system/ cp freeswitch.sysconfig /etc/sysconfig/freeswitch #在freeswitch.servi 阅读全文
posted @ 2020-04-14 22:30 dream_bccb 阅读(335) 评论(0) 推荐(0) 编辑

Python笔记

摘要: #包的安装和卸载 pip3 install olefile pip3 uninstall olefile #从源码安装 python3 setup.py install #如果代码中包含中文注释等在首行或第二行添加如果下代码 -*- coding: utf-8 -*- #源修改 pip config 阅读全文
posted @ 2020-03-20 13:51 dream_bccb 阅读(196) 评论(0) 推荐(0) 编辑

Maven使用相关

摘要: #Maven使用 [1] [2] mvn archetype:generate -DgroupId=com.companyname.bank -DartifactId=consumerBanking -DarchetypeArtifactId=maven-archetype-quickstart - 阅读全文
posted @ 2020-02-22 16:29 dream_bccb 阅读(82) 评论(0) 推荐(0) 编辑

Go笔记

摘要: #Go在win下安装 1. https://golang.google.cn/dl/下载 amd64 版本的zip包 2. 解压后将bin目录添加入path 3. go version可显示版本信息 #配置文件,默认位置: C:\Users\%UserName%\AppData\Roaming\go 阅读全文
posted @ 2018-08-24 22:19 dream_bccb 阅读(129) 评论(0) 推荐(0) 编辑

从github上下载一个项目的子目录

摘要: https://github.com/pbojinov/developer.chrome.com/tree/master/extensions/examples/extensions/proxy_configuration https://github.com/pbojinov/developer. 阅读全文
posted @ 2018-07-21 12:59 dream_bccb 阅读(1200) 评论(0) 推荐(0) 编辑

redis相关操作

摘要: #连接主机 redis-cli -h 192.168.2.109 -p 6379 #通过密码登录 auth "yourpassword" #存取值 set hello world get hello #发布/订阅模式 [1] [2] PUBLISH test_channel "hello" SUBS 阅读全文
posted @ 2018-03-21 17:10 dream_bccb 阅读(170) 评论(0) 推荐(0) 编辑

composer相关使用

摘要: #composer安装 curl -sS https://getcomposer.org/installer | php #如果该命令执行不了,通过其他方式下载install文件后再执行“php install(通过php执行install这个文件)”有可能就能安装了 mv composer.pha 阅读全文
posted @ 2018-03-17 21:48 dream_bccb 阅读(158) 评论(0) 推荐(0) 编辑

备忘摘要

摘要: cebe/markdown PHP解析makedown的库 XHProf PHP性能分析扩展 [1] marked@0.3.6 JS解析markdown的库 [1] [2] [3] https://unpkg.com/marked@0.3.6/ 可直接在浏览器上使用npm中的库 下拉面板式省市区三级 阅读全文
posted @ 2018-03-17 19:20 dream_bccb 阅读(165) 评论(2) 推荐(0) 编辑

Source Insight相关设置

摘要: #Source Insight中按快捷键在其他编辑器中打开当前文件 "D:\Program Files\Zend\ZendStudio-5.5.0\bin\ZDE.exe" %f #Alt+F12可以将字体换成等宽的(Fixedsys)[1] #选中一个变量后,按 Shift + F8 可以使变量高 阅读全文
posted @ 2018-03-09 17:07 dream_bccb 阅读(162) 评论(0) 推荐(0) 编辑