heidsoft

Results 219 issues of heidsoft

# rocketmq > https://wuchanming.gitbooks.io/rocketmq/content/xiao-xi-fa-song.html

[Python3 PEP8 编码规范](https://cloud.tencent.com/developer/news/111681) [Python面试题汇总(一)](https://cloud.tencent.com/developer/article/1044506) [很全的 Python 面试题](https://cloud.tencent.com/developer/article/1036367) # django > https://docs.python.org/3/tutorial/venv.html > https://docs.djangoproject.com/en/3.1/ref/django-admin/ ``` https://www.fullstackpython.com/django-conf-urls-url-examples.html Tutorial: Django REST with React (and a sprinkle of testing) https://www.valentinog.com/blog/drf/ Django Tips: Recovering Gracefully...

# dd 测试 ``` dd if=/dev/zero of=test bs=64k count=4k oflag=dsync 4096+0 records in 4096+0 records out 268435456 bytes (268 MB) copied, 1.42931 s, 188 MB/s ```

场景 1. 由于kubectl apply -f deployment.yaml时 在相同的镜像,没有做任何变更的情况下,无法触发更新 2. 于是采用kubectl patch -f deployment.yaml 的环境变量中追加时间的方式进行发布 结果 1. 在应用发布的这一个时刻瞬间出现两个pod, 在创建deployment时,同事会创建 replicasets.apps。 2. 发布后观察在同一时刻创建了两次replicasets.apps 3. 后通过 手动触发kubectl patch 的确产生了新的replicasets.apps,并生成一个新的pod [详解 Kubernetes Deployment 的实现原理](https://draveness.me/kubernetes-deployment/)

``` nginx stream 提供了四层代理。可以通过proxy_download_rate和proxy_upload_rate设置下载和上传限速。平时在七层http核心模块ngx_http_limit_conn_module这个模块提供limit_conn限速。 proxy_upload_rate 和proxy_download_rate分别配置从客户端读数据和从上游服务器读数据的速率,单位为每秒字节数,默认为0,不限速。 ``` ``` user www-data; worker_processes auto; pid /run/nginx.pid; events { worker_connections 1; } # 1) # Add a stream # This stream is used...

http://yysfire.github.io/linux/sed-usage-summary.html http://zhengheng.me/2015/11/12/sed-course/ http://coolshell.cn/articles/9104.html http://sed.sourceforge.net/sed1line_zh-CN.html http://man.linuxde.net/sed http://wiki.jikexueyuan.com/project/shell-learning/sed-search-and-replace.html http://coolshell.cn/articles/9104.html

linux

https://machinelearningmastery.com/develop-first-xgboost-model-python-scikit-learn/ https://e.huawei.com/en/publications/global/ict_insights/201810161444/customers-on-digital-transformation/201810161635 https://zhuanlan.zhihu.com/p/90790966 https://www.logicmonitor.com/lm-difference https://xgboost.readthedocs.io/en/latest/python/python_intro.html#python-data-interface https://www.jianshu.com/p/31e20f00c26f?spm=5176.12282029.0.0.36241491UUhnZE https://zhuanlan.zhihu.com/p/67832773 https://github.com/dmlc/xgboost/tree/master/demo/data https://www.cnblogs.com/mantch/p/11164221.html https://blog.csdn.net/u011630575/article/details/79418138 https://www.cnblogs.com/pinard/p/11114748.html XGBoost类库使用小结 https://www.ctolib.com/topics-124853.html https://aihub.cloud.google.com/p/products%2F3e82a569-8cdb-40ea-b7db-4fd5edcc0c2a Python机器学习实战之手撕XGBoost http://www.huaxiaozhuan.com/%E5%B7%A5%E5%85%B7/xgboost/chapters/xgboost_usage.html Xgboost使用 https://www.datacamp.com/community/tutorials/xgboost-in-python 数据格式 https://qastack.cn/stats/61328/libsvm-data-format https://blog.csdn.net/yangshaojun1992/article/details/87861767 https://blog.csdn.net/kobesdu/article/details/8944851 生成libSVM的数据格式及使用方法总结 libsvm文件格式 libsvm数据格式 libsvm使用的训练数据和检验数据文件格式如下: [label] [index1]:[value1] [index2]:[value2] …...

# argo https://raw.githubusercontent.com/argoproj/argo/stable/manifests/install.yaml ``` ➜ ~ kubectl apply -n argo -f ~/Downloads/cloudnative/install.yml customresourcedefinition.apiextensions.k8s.io/clusterworkflowtemplates.argoproj.io created customresourcedefinition.apiextensions.k8s.io/cronworkflows.argoproj.io created customresourcedefinition.apiextensions.k8s.io/workfloweventbindings.argoproj.io created customresourcedefinition.apiextensions.k8s.io/workflows.argoproj.io created customresourcedefinition.apiextensions.k8s.io/workflowtemplates.argoproj.io created serviceaccount/argo created serviceaccount/argo-server created role.rbac.authorization.k8s.io/argo-role created clusterrole.rbac.authorization.k8s.io/argo-aggregate-to-admin created...

# 查看索引 ``` ➜ elasticsearch-7.8.1 curl -XGET 'localhost:9200/_cat/indices' yellow open metricbeat-7.8.1-2020.08.11-000001 Rk__8HYyQWeM0d9xfl6wZA 1 1 49164 0 13.1mb 13.1mb green open .apm-custom-link zyZJQAw0Q0Glxa6OtaRS8g 1 0 0 0 208b 208b green open...

elk

``` package com.mongo.demo; import com.mongodb.BasicDBObject; import com.mongodb.MongoClientSettings; import com.mongodb.ServerAddress; import com.mongodb.client.MongoClient; import com.mongodb.client.MongoClients; import com.mongodb.client.MongoDatabase; import java.util.*; /** * @author jake.liu * @date 2020-12-01 */ public class MonoDemo { public...