2014-05-10 Lingxian Kong
(2017.09.11) 截止 Pike 版本,最新的 devstack 默认已经使用 systemd 管理各个服务,而不再使用 linux screen,而且大部分服务也都使用 uwsgi 的启动。关于 Systemd 的详细介绍,可以参加这里。所以要启动一个 openstack 进程,要经过systemd-->uwsgi-->wsgi application(in codebase)-->codebase 安装vmware workstation 创建ubuntu虚拟机 下载ubuntu iso,网络模式nat(前提是本机能联网),安装过程不需要人工干预。 预配置虚拟机 用创建虚拟机时指定的用户登录,修改root登录密 继续阅读 »
2015-11-20 Klaus Ma
Named namespaces in Google Code Style Namespaces wrap the entire source file after includes, gflags definitions/declarations and forward declarations of classes from other namespaces. 继续阅读 »
2015-02-08 KasperDeng
== Java == What The constant pool contains the constants associated with the class or interface defined by the file. Constants are stored in the constant pool. literal strings final variable values fully qualified names of classes and interfaces field names and descriptors method names and descriptors Symbolic refer 继续阅读 »
2014-04-08 Kun Ren
In data-driven statistical computing and data analysis, applying a chain of commands step by step is a common situation. However, it is neither straightforward nor flexible to write a group of deeply nested functions. It is because the function that comes later must be written first. 继续阅读 »
2017-10-17 ruki
xmake-vscode plugin is a xmake integration in Visual Studio Code. It is deeply integrated with xmake and vscode to provide a convenient and fast cross-platform c/c++ development and building. Features Colorization Completion Lists StatusBar Commands Configuration Build Run and Debug Record and Playback Problem Color 继续阅读 »
2015-12-06 Jason Liao
总结了几篇文章,先给外链 A Look at Length Units in CSS CSS Font-Sizing: a Definitive Guide 从网易与淘宝的font-size思考前端设计稿与工作流 继续阅读 »
2015-12-14 Klaus Ma
Volumes in Docker The following command mounts volumes from host with uid/gid: docker run -i -t -v $HOME/test:/opt/test -u=10:10 ubuntu 继续阅读 »
2015-01-15 KasperDeng
Data structure stores a sequence of items in a list |List | Java | Python | Go | |:------------|:---------------------------------|:----------|:--------------------| |type | List, Arraylist, LinkedList | list | List | |package | im 继续阅读 »
2014-06-26 Kun Ren
In recent years, non-relational data have attracted more and more attentions. Roughly speaking, all datasets that are hard to put into a rectangular table with rows and columns are non-relational datasets. 继续阅读 »
2013-06-02 Klaus Ma
For the performance tuning, the simplest way is to record how many time is elapsed in a function. The only difficulty we’re facing is that: there maybe many exit for a function. Thanks to C++’s constructor/deconstructor feature, it’s easy for developer to record the elsaped time. 继续阅读 »