Floats, absolutely positioned elements, block containers (such as inline-blocks, table-cells, and table-captions) that are not block boxes, and block boxes with 'overflow' other than 'visible' (except when that value has been propagated to the viewport) establish new block formatting contexts for their contents.继续阅读 »
xmake provides a convenient and flexible cross-compiling support, in most cases, we need not to configure complex toolchains prefix, for example: arm-linux-
As long as this toolchains meet the following directory structure:
/home/toolchains_sdkdir
- bin
- arm-linux-gcc
- arm-linux-ld
- ...
继续阅读 »
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 继续阅读 »
问题
升级Mac后,Jekyll 无法启动了。
用GEM更新Jekyll居然出错了。
$ gem install jekyll
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /usr/bin directory.继续阅读 »
Push 推送技术说明
[TOC]
Java NIO 使用说明
参考资料
Java NIO Tutorial
简介
Java NIO (New IO) is an alternative IO API for Java (from Java 1.4), meaning alternative to the standard Java IO and Java Networking API's. Java NIO offers a different way of working with IO than the standard IO API's.继续阅读 »
Selenium a powerful suite of tools for web testing, but it’s dependent on browser (Firefox, IE, Chrome); and those browser need a displayer. As a console/command geek, it’s intolerable. After several days investigation, I’d like to introduce PyVirtualDisplay to run Selenium in a console with Python.继续阅读 »