flexbox是CSS3提出的页面布局模块。flexbox可以把列表横向或者纵向排列,并且填满可以延伸到的空间。稍微复杂的布局可以通过嵌套flex container来实现。利用flexbox可以方便的创建弹性布局,这使得在移动设备上,可以让元素在容器内扩展和收缩,更容易的实现常见布局,如三列布局。...
分类:
Web程序 时间:
2015-01-06 21:31:13
阅读次数:
237
jQuery控件所需图片btn_corner.jpgbtn_corner_hover.jpgok.pngreload.pngundo.pngjQuery控件样式.btn_container{ height:25px; font-size:12px; font-family:Arial; color:...
分类:
Web程序 时间:
2015-01-06 11:20:08
阅读次数:
176
贡献一篇:云主机可以选择操作系统镜像快速创建主机,这比虚拟机更便捷了,我们本地也可以这么做了,因为有了Docker这个东西。它依赖于 LXC(Linux Container),能从网络上获得配置好的 Linux 镜像,非常容易在隔离的系统中运行自己的应用。也因为它的底层核心是个 LXC,所以在 Ma...
分类:
系统相关 时间:
2015-01-05 12:56:40
阅读次数:
499
Container With Most WaterGivennnon-negative integersa1,a2, ...,an, where each represents a point at coordinate (i,ai).nvertical lines are drawn such t...
分类:
其他好文 时间:
2015-01-03 15:52:26
阅读次数:
129
1. 在VirtualBox中安装Ubuntu 14.04 2. 在Ubuntu 14.04中安装Docker 3. 安装基于Docker的Hadoop 下载image docker pull sequenceiq/hadoop-docker:2.6.0 运行container docker run...
https://oj.leetcode.com/problems/container-with-most-water/http://fisherlei.blogspot.com/2013/01/leetcode-container-with-most-water.htmlpublicclassSolution{
publicintmaxArea(int[]height){
//SolutionB:
//returnmaxArea_BruteForce(height);
//SolutionA:
retur..
分类:
其他好文 时间:
2015-01-02 16:15:22
阅读次数:
158
Given n non-negative integers a1, a2,
..., an, where each represents a point at coordinate (i, ai). n vertical
lines are drawn such that the two endpoints of line i is at (i, ai) and (i,
0). Fin...
分类:
其他好文 时间:
2014-12-31 20:13:44
阅读次数:
165
Export是一个部件(Part)通过容器(Container)向另一个部件提供一个值(Value)。Export特性可修饰类、字段、属性或方法,而Import特性可修饰字段、属性或构造函数参数。为了使Export和Import能够匹配上,双方需要使用同样的Contract,该Contract包括了...
分类:
其他好文 时间:
2014-12-31 18:00:32
阅读次数:
193
js脚本:
$(function () {
$('#container').highcharts({
chart: {
type: 'column'
},
title: {
text: 'Stacked column chart'
},
xAxis: {...
分类:
其他好文 时间:
2014-12-31 16:18:08
阅读次数:
265
在学习Linux驱动的过程中,遇到一个宏叫做container_of。该宏定义在include/linux/kernel.h中,首先来贴出它的代码:/*** container_of - cast a member of a structure out to the containing struc...
分类:
其他好文 时间:
2014-12-31 12:50:45
阅读次数:
136