- 博客(19)
- 资源 (7)
- 收藏
- 关注
原创 Error - trustAnchors parameter must be non-empty
多个java版本混淆导致的。比如java 11和java8解决方法:https://stackoverflow.com/questions/6784463/error-trustanchors-parameter-must-be-non-emptyOn Ubuntu 18.04 the root cause is a conflict between openjdk-11-...
2019-10-20 12:09:54 1078
原创 jmeter压力测试数据文件制作方法
split分割文件方法https://kb.iu.edu/d/afarhttps://unix.stackexchange.com/questions/81904/repeat-each-line-multiple-times一行变多行This might work for you (GNU sed):sed 'h;:a;s/[^\n]\+/&/4;t;G;ba' file...
2019-09-16 18:37:04 194
原创 获取自签名证书 SSL Certificates (.pem and .pfx)的方法
Online ServiceCert-Depot- It can create certificates in both unencrypted PEM format, and PFX.OpensslInstall openssl package for your operating system fromhere Generating a private key:...
2019-08-30 11:14:07 1264
原创 Rocket.Chat的StoryBook设计UI
https://rocketchat.github.io/Rocket.Chat.Livechat/?path=/settings/shortcuts
2019-08-21 17:26:59 348
原创 RocketChat 代码目录结构
Rocket.Chat/Dockerfile为服务器构建可部署的 Docker映像。 Rocket.Chat/docker-compose.yml使用Docker Compose运行服务器和 MongoDB 容器。 Rocket.Chat/server包含服务器端代码。 Rocket.Chat/server/methods包含可从客户端调用的 Meteor 远程方法。 Roc...
2019-08-05 19:39:43 2643 2
转载 VoIP Checklist
Here's my notes on building a comprehensive VoIP UX (inherited from ye olde TNG days):P0:Ensure "early hangup" works from both caller & callee side Ensure "late hangup" works from both call...
2019-07-22 14:49:55 134
原创 安装Mongo 3.6.9 版本的方法
由于Rocket.Chat推荐的Mongo版本是3.6.9.下面我介绍一下如何安装。参考链接:https://docs.mongodb.com/v3.6/tutorial/install-mongodb-on-red-hat/安装好之后设置集群的方法:https://docs.mongodb.com/manual/tutorial/deploy-replica-set/http...
2019-07-19 16:14:38 333
原创 Rocket.Chat接收消息流程
Rocket的消息接收分两类:一个是通过Rocket节点之间直连进行消息收发,消息本身不持久化,比如typing事件消息;另一个是通过MongoDB的oplog tailing机制进行触发,这类消息会持久化,比如普通文本消息;下面梳理一下oplog tailing机制触发的基本流程和调用关系:,1,在这个文件中meteor:\\
2019-07-18 17:40:33 3285
原创 Eclipse最常用的10个快捷键
Code Assist (CTRL + Space) Quick Fix (CTRL + 1) Refactoring (ALT + SHIFT + T) Source (ALT + SHIFT + S) Surround With (ALT + SHIFT + Z) Delete Rows (CTRL + D) Call Hierarchy (CTRL + ALT + H) Qui...
2018-08-03 14:06:57 267
转载 [Cordova] 增加 ios platform 時,出現 Failed to fetch platform cordova-ios 的問題
参考:https://ephrain.net/cordova-%E5%A2%9E%E5%8A%A0-ios-platform-%E6%99%82%EF%BC%8C%E5%87%BA%E7%8F%BE-failed-to-fetch-platform-cordova-ios-%E7%9A%84%E5%95%8F%E9%A1%8C/ 今天想用 Cordova 編譯出給 iOS ...
2018-08-02 14:17:26 3178
原创 学习设计模式有什么用?
搞编程的同学都应该听过设计模式,那你真的认识到学习设计模式有什么用吗?在我看来起码有下面两方面的作用: 1,为开发者提供一个统一术语的交流平台 设计模式针对一些特定的场景提供了一些标准的术语, 例如,单例模式表示一个单例对象只能初始化一次,如果大家都理解单例模式的话,大家交流起来就比较方便了,也容易理解对方说的是什么意思。2,提供了一些最佳实践 设计模式从...
2018-07-30 16:44:35 1830
转载 声明式编程比命令式编程更好吗? NO! 你可能陷入了声明式编程的迷幻中!
转载如下:reference:http://tutorials.jenkov.com/the-declarative-delusion.htmlI often read or hear developers saying that declarative programming languages are better than imperative programming languages. ...
2018-07-10 10:09:08 536
转载 Why would one choose DTLS-SRTP versus just RTP over DTLS?
Question:If I understand DTLS-SRTP correctly, DTLS is used to exchange keys and then the endpoints switch to SRTP for encryption. What is the benefit of this setup versus just sending RTP over DTLS? I...
2018-05-24 15:13:12 213
原创 cordova编译crosswalk-webview插件报错的处理办法
一直用得好好的。今天编译cordova失败了。报错如下::processArmv7DebugManifest:processArmv7DebugResourcesERROR: In <declare-styleable> FontFamilyFont, unable to find attribute android:fontVariationSettings FAILED...
2018-03-16 11:01:07 2827
转载 Design Patterns in real life: Abstract Factory
The most important thing when we talk about design patterns is to recognize when it can be useful to apply them to design something we have to develop. In this post we see a possible real case applica
2017-11-10 15:36:42 253
原创 安装Asterisk 12,启动报错:asterisk: error while loading shared libraries: libjansson.so.4: cannot open shar
安装Asterisk的时候,启动时报错asterisk: error while loading shared libraries: libjansson.so.4: cannot open shared object file: No such file or directory的解决方法:先下载
2014-06-23 09:48:20 3255
算法大师:机器学习和人工智能如何改变世界
2017-08-17
A Parallel Programming with Microsoft Visual C++
2011-11-22
计算机软件编码的奥秘
2009-03-14
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人