Centos8.x 下安装mongodb4.2

摘要: 1、切换的src目录,下载包文件解压后,改名并迁移到 /usr/local/mongodb , 创建运行mongodb的用户、组,创建存放数据、日、运行pid的目录,并改成所属用户、组为mongodb cd /usr/local/srcwget wget https://fastdl.mongodb 阅读全文
posted @ 2020-12-29 19:48 QQ10053660 阅读(488) 评论(0) 推荐(0) 编辑

mongo 批量替换字符串

摘要: 需求 文档cdr_20201120 中字段 downloadurl 中的 http://172.16.180.71:8093xxxxxxxxxx 批量替换为 http://113.0.31.66:9093xxxxxxxxxx db.getCollection('cdr_20201120').find 阅读全文
posted @ 2020-11-20 14:51 QQ10053660 阅读(379) 评论(0) 推荐(0) 编辑

Flutter 简单的数据持久化

摘要: Flutter 简单的数据持久化 在Flutter的app开发时,需要临时数据的本地存储就可以使用shared_preferences插件. 此插件需要在iOS 上使用 NSUserDefaults,在 Android 上使用 SharedPreferences。 依赖安装 dependencies 阅读全文
posted @ 2020-10-31 18:46 QQ10053660 阅读(506) 评论(0) 推荐(0) 编辑

Android 自定义LoadingView

摘要: Android 自定义LoadingView 作者:郑州阿斯特网络科技有限公司 https://www.astgo.net 对于安卓程序员来说,无论你是叱咤职场的大牛还是刚入行的菜鸟,自定义view简直不要太重要。不知道有没有遇到过UI一不留神设计的太炫了,但是android原生却没有这样的效果,她 阅读全文
posted @ 2020-10-24 19:02 QQ10053660 阅读(517) 评论(0) 推荐(0) 编辑

APP开发跨端目前国内常见的跨端框架有React Native,Flutter,uni-app

摘要: APP开发跨端目前国内常见的跨端框架有React Native,Flutter,uni-app uni-app是双渲染引擎,webview和weex(原生渲染,性能比webview高,但本身坑较多)可切换。跟小程序的体验类似,但是比小程序流畅,使用uniapp开发小程序比用小程序官方工具开发的舒服, 阅读全文
posted @ 2020-10-17 10:40 QQ10053660 阅读(1996) 评论(0) 推荐(0) 编辑

centos7 编译STUNTMAN 给 freeswitch 提供 stun 穿透服务

摘要: 1、更新库 yum install openssl-devel yum install boost-devel 2、下载 wget http://www.stunprotocol.org/stunserver-1.2.16.tgz 3、解压编译 tar -zxvf stunserver-1.2.16 阅读全文
posted @ 2020-08-13 10:30 QQ10053660 阅读(934) 评论(0) 推荐(0) 编辑

freeswitch 支持播放MP3录音mp3

摘要: 1、安装库 yum install -y libshout-devel lame-devel libmpg123-devel 2、编辑 /usr/local/freeswitch/conf/autoload_configs/modules.conf.xml ,<load module="mod_sh 阅读全文
posted @ 2020-08-12 09:54 QQ10053660 阅读(803) 评论(0) 推荐(0) 编辑

freeswitch监听多个IP-freeswitch多个网卡监听多个IP

摘要: freeswitch 在多个网卡模式下 通过多个IP 都可以注册SIP账号方法 1、在 /usr/local/freeswitch/conf/sip_profiles 目录下 修改 internal.xml 文件中的 <param name="rtp-ip" value="192.168.0.250 阅读全文
posted @ 2020-08-12 08:43 QQ10053660 阅读(1328) 评论(1) 推荐(0) 编辑

Centos7.x 下安装mongodb4.2

摘要: 1、切换的src目录,下载包文件解压后,改名并迁移到 /usr/local/mongodb , 创建运行mongodb的用户、组,创建存放数据、日、运行pid的目录,并改成所属用户、组为mongodb cd /usr/local/srcwget https://fastdl.mongodb.org/ 阅读全文
posted @ 2020-04-22 17:26 QQ10053660 阅读(883) 评论(0) 推荐(0) 编辑

golang.org\x\net\context golang.org/x/text google.golang.org/grpc get 失败 手动下载地址

摘要: 1.golang.org\x\net\context,对应的可访问链接:https://github.com/golang/net,里面包含context,dns,http2等一系列资源 2.golang.org/x/text/secure/bidirule,对应的可访问链接:https://git 阅读全文
posted @ 2019-12-01 19:38 QQ10053660 阅读(353) 评论(0) 推荐(0) 编辑