Definning the information architecture (commonly known as IA) and structure of the page.Adding design elements to make it responsive and look good acr...
分类:
其他好文 时间:
2014-08-19 12:39:14
阅读次数:
203
The original page sourceContent is the most important aspect of any site. So let's design for the content and not let the design dictate(命令) the conte...
分类:
其他好文 时间:
2014-08-19 12:32:14
阅读次数:
210
Select Help/Install new software... from the menu, select the Juno update site (http://download.eclipse.org/releases/juno), and then look for the Mark...
分类:
系统相关 时间:
2014-08-19 12:32:04
阅读次数:
241
In a galaxy far far awaythere is an ancient game played among the planets. The specialty of the game isthat there is no limitation on the number of players in each team, as long asthere is a captain i...
分类:
其他好文 时间:
2014-08-19 11:03:34
阅读次数:
261
相当于VC6里的.dsw和.dsp.Net解决方案下 .sln文件和.suo文件的解释:When a Web site is created, a solution file (.sln) and a hidden solution user options file (.suo) are crea...
分类:
其他好文 时间:
2014-08-19 09:21:33
阅读次数:
170
你的一个运行于多设备网站(Your First Multi-device Site) 遵循的步骤: 1.定义信息架构(information architecture)和页面结构(structure of the pages)。 2.添加设计元素,并且使它是响应式的,而且在各个设备看起来都不错 指南...
分类:
Web程序 时间:
2014-08-18 23:20:23
阅读次数:
360
在nutch2.2.1中,有两份配置文件:nutch-default.xml与nutch-site.xml。
其中前者是nutch自带的默认属性,一般情况下不要修改。
如果需要修改默认属性,可以在nutch-site.xml中增加一个同名的属性,并修改其值。nutch-site.xml中的属性值会覆盖nutch-default.xml中的值。
1、db.ignore.external...
分类:
其他好文 时间:
2014-08-18 18:45:02
阅读次数:
299
类似高中的盒子取球,关键理解题意
问题转化为,从m个盒子中取n个球,在取了h盒中的一个球的条件下,h盒还取了别的球的概率
可以这样求得
sum表示m个盒子中总共有多少个球
从sum-1中取n-1个球的情况数是总情况数
减去从sum-m[h]取n-1个球的情况数
即是要求的情况数
#include
#include
#include
#include
#includ...
分类:
其他好文 时间:
2014-08-18 16:31:42
阅读次数:
187
Preloading images is a great way to improve the user experience. When images are preloaded in the browser, the visitor can surf around your site and e...
分类:
编程语言 时间:
2014-08-18 15:56:32
阅读次数:
362
Hadoop的各个组件是通过XML配置的。
2.0以后,配置文件的位置发生了小变化,我安装的Hadoop 2.4.1,配置文件的位置在$HADOOP_INSTALL/etc/hadoop/
在初期运行MapReduce DEMO时,我们只需关注三个基本配置就好:
core-site.xml
hdfs-site.xml
yarn-site.xml(2.0后的版本,MapReduce运行在y...
分类:
其他好文 时间:
2014-08-18 14:33:26
阅读次数:
272