Nova flavor
The flavor will be used for creating octavia service vm. We can create a new flavor or reuse an existing one.
Commands:
nova flavor-create --is-public False m1.amphora ${OCTAVIA_AMP_FLAVOR_ID} 1024 2 1
Option:
[controller_worker]
amp_flavor_id = ${OCTAVIA_AMP_FLAVOR_ID}
Nova keypair
If we want to log 继续阅读 »
Category Theory
A category has three components:
A collection of objects.
A collection of morphisms, each of which map one object to another.
A notion of composition of these morphisms, i.e. morphisms can be composed. If f: A -> B and g: B -> C are morphisms, f.g generates a new morphism A -> C.
Note that a morphism 继续阅读 »
基本上常用的项目有两种,一种是Java Project,另一种是Web Project,下面就以这两种项目为例,来阐释如何在项目中加载dll文件。
Java中调用dll的方式
System.load()
java
/**
*Loads the native library specified by the filename argument. The filename argument must be an absolute path name.
*/
public static void load(String filename)
//等价于
Runtime.getRuntime().load(name)
由JDK的说明文继续阅读 »
For those who don't know, Barbican is an OpenStack service which provides a REST API designed for the secure storage, provisioning and management of secrets such as passwords, encryption keys and X.509 certificates. Barbican can be used together with other OpenStack services to provide security features, e.g. Octavia u继续阅读 »
最近要写技术文档,里面包含大量的数学公式,本来想用markdown,但是
markdown不适合提交到公司,于是想着还是用自己学过的Latex吧。
于是在网上去搜使用Latex写技术文档/技术书籍的模板,还真找到了一篇,即《用 LaTeX 排版技术书籍》。本来他提示使用tex studio编译,但我使用tex studio编译后可以运行,却不能导出pdf,总是提示:
```tex
** WARNING ** Obsolete four arguments of "endchar" will be used for Type 1 "seac" operator.
** ERROR ** This font using the "s继续阅读 »
今天突然想用markdown写博文,这样应该会方便不少。
开工
1.下载插件。
这里我选择了Markdown QuickTags
在官网看到
!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
有点被惊呆
2.启用插件
下载完该插件之后,放入WordPress的plugins文件夹下,上传代码,然后再后台启用即继续阅读 »
R rocks in both academia and industry nowadays. A rapidly increasing number of researchers choose R to be one of their productive tools for data analysis and data visualization. It is partially because the software is totally free and open-source but also because the community behind the stage who contributes to nearly继续阅读 »