Redis配置不当致使Root被提权漏洞
Docker Swarm的介绍与使用
Docker Swarm的介绍与使用
What
Docker(容器) Swarm(集群)——简单来说,Docker swarm就是容器集群(包含了集群管理和编排功能),由Docker公司研发并且在Dokcer v1.12版本后自带此服务(早期作为一项独立服务叫做swarmkit,需要单独安装)。
集群管理:创建新集群、升级集群的主节点和工作节点、执行节点维护(例如内核升级)和升级运行集群的版本等。
容器编排:应用一般由单独容器化的组件(通常称为微服务)组成,这些组件必须按特定顺序在网络中进行组织并照计划运行,这种对多个容器进行组织的流程即称为容器编排(使用Docker Compose实际就是容器编排)。
For Example:
standalone-mysql-5.7.yaml
1 | version: "2" |
Key Concepts
Python项目容器化打包规范
Markowitz's Mean-Variance Model Derivation in Python
Markowitz’s Mean-Variance Model Derivation in Python
Written by Jiang Rongrong(2019E8010663001)
Interested by “Lecture 3.Quadratic Programing and Portfolio Selection Theory”,I’ve consulted a number of books about Markowitz’s Mean-Variance Model.Therefore,I want to make some discussion about what I’ve learnt and the expeirments when I tried to figure out this model.
Theory Summary
Markowitz made the following assumptions while developing the Mean-Variance Model:
码农正确装逼姿势——书法篇
一个小工具的开发日记
Python and Selenium
What’s Selenium
Selenium automates browsers. That’s it! What you do with that power is entirely up to you. Primarily, it is for automating web applications for testing purposes, but is certainly not limited to just that. Boring web-based administration tasks can (and should!) be automated as well.
Selenium has the support of some of the largest browser vendors who have taken (or are taking) steps to make Selenium a native part of their browser. It is also the core technology in countless other browser automation tools, APIs and frameworks.
一句话概括:Selenium可以自动控制浏览器,一般用于自动化测试,但是你想用它做其他的事情(比如爬虫、比如代替做一些无聊重复的基于网站的工作)当然也是OK的,总之根据你的需要自己鼓捣去吧。

