html5的八大特性
藏器待时
1.classsemanticsGivingmeaningtostructure,semanticsarefrontandcenterwithHTML5.Arichersetoftags,alongwithRDFa,microdata,andmicroformats,areenablingamoreuseful,datadrivenwebforbothprogramsandyourusers.注解
标签里面的时间有什么实际意义?
飞翔的熊blabla
转载于https://www.zhihu.com/question/49214333/answer/115135432表达时间直接几个数字就可以表达了,专门弄个标签会不会有点多余例如这段话写于今天晚上2016-08-03这段话写于今天晚上2016-08-03有什么区别吗,确实不懂,虚心请教!我就说一个很多人基本不会提到的点吧,普及一个知识点。这叫『HTML5微数据Microdata』,用于搜索引擎
最菜前端学习笔记(一):HTML小结
_我走路带风
最菜前端前来报到
目录前言HTML是什么?为什么要学HTML?HTML常用元素总结head部分常用元素body内常用元素HTML元素包含关系HTML的版本发展过程(HTML5前世今生)HTML5解决的问题HTML5与XHTML的一些不同HTML5新的部分特性HTML和DOM的那点事简述基于HTML的SEO(搜索引擎优化)(HTML文档化)简述HTML5Microdata微数据前言不想当前端的后台不是好后台(当我在瞎
如何使用HTML5创建在线精美简历
iteye_10992
译自:http://net.tutsplus.com/tutorials/html-css-techniques/how-to-create-an-html5-microdata-powered-resume/译者:蒋宇捷(转载请标明出处http://blog.csdn.net/hfahe)JanetWagner于2011年9月27日教程细节•概要:HTML5的微数据API•难度:初级/中级•估计
知识图谱入门——知识表示与知识建模
super.PentaKill
Knowledge Graph
文章首发于博客du_ok’sNotes,本文链接为知识图谱入门——知识表示与知识建模本文首先介绍了早期的知识表示方法,接着介绍了知识图谱的基石——RDF及其扩展RDFS,在它们的基础上又介绍了表达能力以及推理能力更强的OWL与OWL2,最后介绍了一些新的只是知识表示方式,如Json-LD、RDFa、HTML5Microdata等。早期知识表示一阶谓词逻辑(First-OrderLogic)Horn
第二课:知识表示与知识建模
无知书童
# 知识图谱
第二课:知识表示与知识建模基于语义网的知识表示框架RDF和RDFSOWL和OWL2SPARQL参考基于语义网的知识表示框架RDF和RDFSOWL和OWLSFragmentsSPARQL查询语言Json-LD、RDFa、HTML5MicroData等新型知识表示RDF和RDFSResourcesDescriptionFramework(资源描述框架)Resources:页面、图片、视频等任何具有UR
知识图谱表示
远洋之帆
知识图谱
目录早期知识图谱表示知识分类一阶谓词逻辑(First-OrderLogic)Horn逻辑:一阶谓词逻辑的子集描述逻辑:一阶谓词逻辑的可判定子集产生式规则(ProductionRule)框架(Framework)语义网络(SemanticNetwork)基于语义网的知识表示框架RDF和RDFSOWL和OWL2FragmentsSPARQL查询语言Json-LD、RDFa、HTML5MicroData
知识表示
贾辛洪
知识图谱 知识图谱
早期知识表示简介基于语义网的知识表示框架RDF和RDFSOWL和OWL2FragmentsSPARQL查询语言Json-LD,RDFa,HTML5MicroData等新型知识表示典型知识库项目的知识表示基于本体工具(Protege)的知识建模实践1早期知识表示简介知识表示的重要性知识是智慧的基础机器可以获得知识机器可以应用知识符合计算机要求的知识模式
seo专题深入--前端SEO优化-Microdata应用实践
love2013
心得:注重移动端,包括app和移动web页面,各种手机的兼容性问题,页面的性能优化,如何加快页面的打开速度,什么是microdata?一种语义化的数据规范约定,html5语义化标准之一搜索引擎优化(SEO),应用microdata后可在搜索结果中为用户展示更突出更丰富的信息,增强用户体验。目前支持microdata的搜索引擎有:谷歌(google)、微软(Bing),雅虎(yahoo)StageI
如何使用HTML5创建在线精美简历
html5
译自:http://net.tutsplus.com/tutorials/html-css-techniques/how-to-create-an-html5-microdata-powered-resume/
译者:蒋宇捷(转载请标明出处http://blog.csdn.net/hfahe)
Janet Wagner于2011 年9月27日
教程细节• 概要:HTML5的微数据API• 难
W3C 接连推出 7 个 HTML 草案
html
最近 W3C 一口气推出 7 个 HTML 工作草案,涵盖了 HTML5,HTML RDF,HTML Microdata,HTML Canvas, HTML Bidi 等标准。这些草案多数与 HTML5 有关,虽然 HTML5 标准的真正发布与实现还有很远的路,但这个未来最有前途的 HTML 标准正引起业界广泛的关注。
W3C 发布的 7 个 HTML 工作草案是:
HTML5: HTM
如何使用HTML5创建在线精美简历
html5
译自:http://net.tutsplus.com/tutorials/html-css-techniques/how-to-create-an-html5-microdata-powered-resume/
译者:蒋宇捷(转载请标明出处http://blog.csdn.net/hfahe)
Janet Wagner于2011 年9月27日
教程细节• 概要:HTML5的微数据API• 难
Python爬虫框架Scrapy教程(1)—入门
蛀虫
最近实验室的项目中有一个需求是这样的,需要爬取若干个(数目不小)网站发布的文章元数据(标题、时间、正文等)。问题是这些网站都很老旧和小众,当然也不可能遵守 Microdata 这类标准。这时候所有网页共用一套默认规则无法保证正确抓取到信息,而每个网页写一份spider代码也不切实际。这时候,我迫切地希望能有一个框架可以通过只写一份spider代码和维护多个网站的爬取规则,就能自动抓取这些网站的信息
深度剖析HTML的语意和与其相关的前端框架
Nicolas Gallagher
关于语义语义研究的是标志与符号之间的关系,以及它们所代表的意义。在语言学中,它主要是研究这些标志(如单词,短语,或者声音)在语言中的意义。而在前端开发领域,语义主要涉及的是HTML元素、属性和属性值(包括像Microdata这样的扩展)所约定的意义。这些在规范中常用的正式约定语义,可以帮助程序(以及后来参与开发的人)更好地理解一个网站各方面的信息。然而,即使这些元素、属性和属性值的语义是正式化的,
如何借助HTML5微数据优化网页?
christina_12345
html5 microdata 微格式
人们提到HTML5都会顺带一句支持RDFa,微数据,微格式,使得搜索引擎能更好地了解网页内容和结构。在谷歌、百度上找了下,国内介绍微数据(Microdata)的文章屈指可数,大型网站案例只发现了大众点评。于是自己修改了1本书的网页代码,使之符合微数据标准,验证了下效果如图所示网址下面的1行就是微数据在谷歌搜索结果中的富摘要信息。虽然效果是达到了,但是网页代码被改得较为冗余。现在的网页结构是这样的h
HTML 5 语义(二)
kyirsheng
html 5
HTML5引入了新的HTML元素,通过使用这些元素,开发者可以更细致的描述文档结构,让文档更加易读,搜索引擎也能更好的理解页面中各部分间的关系,我们也可以搜索到更快,更准确的信息。按字母顺序排列的标签列表微数据(Microdata)HTML5微数据规范是一种标记内容以描述特定类型的信息,例如评论、人物信息或事件。每种信息都描述特定类型的项,例如人物、事件或评论。例如,事件可以包含venue、sta
(转)HTML5规范中微数据MicroData浅析
jackyrongvip
这个对SEO等网站的优化是个好事呀,GOOGLE已经支持了http://www.mxria.com/html5/h20120214873.htm最近学习了一下WHATWG网站中关于微数据的内容,microdata对于普通用户而言,可能不显得如何重要,但对于搜索引擎,它的应用将带来机器语言分析的极大便利。这将意味着,搜索引擎将能更智能、准确地识别网站内容,在语义层面上给出用户最期望看到的结果。对于
三种Web语义化框架的比较
woxueliuyun
将要描述的三种We语义化技术分别是RDFa、Microformat和Microdata,除了RDFa比较繁锁,而且主要是为XML文档服务,Microformat和Microdata都更适合HTML。Microformat和Microdata各有优缺点。Microformat在于重用现在的属性和元素,而microdata则是通过在元素上添加4个属性来完成了。资源描述框架-in-attributesR
Microdata Wordpress,WORDPRESS使用微数据
gmszone
编程 django 语言
关于微数据可以参考之前的文章,那么这篇是关于wp使用微数据的。比较简单,使用的是wordpress中的插件(转载请标注:Phodal's博客 )打开仪表盘:搜索microdata安装MicrodataforSEO并启用插件,之后我们可以看到在Body中出现itemtype标签,也就是微数据的索引。
Microdata,structured-data,谷歌微数据指南
gmszone
django openwrt microdata structured-data microformat
SO,这就是完成后的最后结果也就是:LAMPPhodal-Geek'sLifewww.phodal.com/blog/lamp/ - 网页快照 1票LAMP是一个缩写,它指一组通常一起使用来运行动态网站或者服务器的自由软件:Linux,操作系统;Apache,网页服务器;MySQL,数据库管理系统(或者数据库 ...移动开发之我见Phodal-Geek'sLifewww.phodal.com/bl
Google MicroData,谷歌微数据为博客添加评级
gmszone
Web django Google microdata Phodal
最后效果:raspberrypi+lighttpd+mysql+apache+phpPhodal-Geek'sLifewww.phodal.com/blog/lamp%20raspberrypi/ 3票网页摘录会显示在这里。我们无法显示您网页的文字,因为文字必须符合用户输入的查询才会显示。提取的结构化数据Item type:http://schema.org/webpageproperty: br
丰富网页摘要——HTML5中的“微数据”(MicroData)
txf2004
html5
什么是“微数据”
大多数网络管理员都熟悉网页上的HTML标签,通常情况下,HTML标记告诉浏览器如何显示在标签中包含的信息。 例如, <h1>阿凡达</h1>告诉浏览器显示的文本字符串“阿凡达”在标题1格式。然而,HTML标记不提供任何有关文本字符串意味着什么,“阿凡达”可能是指取得巨大成功的3D电影的信息,或者它可以指一张纸娃娃系统的图片,这使得搜索引擎难以智能地理解网
丰富网页摘要——HTML5中的“微数据”(MicroData)
蓝飞
html5 网页 摘要
什么是“微数据”大多数网络管理员都熟悉网页上的HTML标签,通常情况下,HTML标记告诉浏览器如何显示在标签中包含的信息。例如,
阿凡达 告诉浏览器显示的文本字符串“阿凡达”在标题1格式。然而,HTML标记不提供任何有关文本字符串意味着什么,“阿凡达”可能是指取得巨大成功的3D电影的信息,或者它可以指一张纸娃娃系统的图片,这使得搜索引擎难以智能地理解网页中的具体内容。微数据的作用微数
HTML5规范中微数据MicroData浅析
jackyrong
html5
这个对SEO等网站的优化是个好事呀,GOOGLE已经支持了
http://www.mxria.com/html5/h20120214873.htm
最近学习了一下WHATWG网站中关于微数据的内容,microdata对于普通用户而言,可能不显得如何重要,但对于搜索引擎,它的应用将带来机器语言分析的极大便利。这将意味着,搜索引擎将能更智能、准确地识别网站内容,在语义层面上给
HTML5规范中微数据MicroData浅析
jackyrong
html5
这个对SEO等网站的优化是个好事呀,GOOGLE已经支持了
http://www.mxria.com/html5/h20120214873.htm
最近学习了一下WHATWG网站中关于微数据的内容,microdata对于普通用户而言,可能不显得如何重要,但对于搜索引擎,它的应用将带来机器语言分析的极大便利。这将意味着,搜索引擎将能更智能、准确地识别网站内容,在语义层面上给
HTML5规范中微数据MicroData浅析
jackyrong
html5
这个对SEO等网站的优化是个好事呀,GOOGLE已经支持了
http://www.mxria.com/html5/h20120214873.htm
最近学习了一下WHATWG网站中关于微数据的内容,microdata对于普通用户而言,可能不显得如何重要,但对于搜索引擎,它的应用将带来机器语言分析的极大便利。这将意味着,搜索引擎将能更智能、准确地识别网站内容,在语义层面上给
HTML5规范中微数据MicroData浅析
jackyrong
html5
这个对SEO等网站的优化是个好事呀,GOOGLE已经支持了
http://www.mxria.com/html5/h20120214873.htm
最近学习了一下WHATWG网站中关于微数据的内容,microdata对于普通用户而言,可能不显得如何重要,但对于搜索引擎,它的应用将带来机器语言分析的极大便利。这将意味着,搜索引擎将能更智能、准确地识别网站内容,在语义层面上给
HTML5规范中微数据MicroData浅析
jackyrong
html5
这个对SEO等网站的优化是个好事呀,GOOGLE已经支持了
http://www.mxria.com/html5/h20120214873.htm
最近学习了一下WHATWG网站中关于微数据的内容,microdata对于普通用户而言,可能不显得如何重要,但对于搜索引擎,它的应用将带来机器语言分析的极大便利。这将意味着,搜索引擎将能更智能、准确地识别网站内容,在语义层面上给
HTML5规范中微数据MicroData浅析
jackyrong
html5
这个对SEO等网站的优化是个好事呀,GOOGLE已经支持了
http://www.mxria.com/html5/h20120214873.htm
最近学习了一下WHATWG网站中关于微数据的内容,microdata对于普通用户而言,可能不显得如何重要,但对于搜索引擎,它的应用将带来机器语言分析的极大便利。这将意味着,搜索引擎将能更智能、准确地识别网站内容,在语义层面上给
HTML5规范中微数据MicroData浅析
jackyrong
html5
这个对SEO等网站的优化是个好事呀,GOOGLE已经支持了
http://www.mxria.com/html5/h20120214873.htm
最近学习了一下WHATWG网站中关于微数据的内容,microdata对于普通用户而言,可能不显得如何重要,但对于搜索引擎,它的应用将带来机器语言分析的极大便利。这将意味着,搜索引擎将能更智能、准确地识别网站内容,在语义层面上给
统一思想认识
永夜-极光
思想
1.统一思想认识的基础,才能有的放矢
原因:
总有一种描述事物的方式最贴近本质,最容易让人理解.
如何让教育更轻松,在于找到最适合学生的方式.
难点在于,如何模拟对方的思维基础选择合适的方式. &
Joda Time使用笔记
bylijinnan
java joda time
Joda Time的介绍可以参考这篇文章:
http://www.ibm.com/developerworks/cn/java/j-jodatime.html
工作中也常常用到Joda Time,为了避免每次使用都查API,记录一下常用的用法:
/**
* DateTime变化(增减)
*/
@Tes
FileUtils API
eksliang
FileUtils FileUtils API
转载请出自出处:http://eksliang.iteye.com/blog/2217374 一、概述
这是一个Java操作文件的常用库,是Apache对java的IO包的封装,这里面有两个非常核心的类FilenameUtils跟FileUtils,其中FilenameUtils是对文件名操作的封装;FileUtils是文件封装,开发中对文件的操作,几乎都可以在这个框架里面找到。 非常的好用。
各种新兴技术
不懂事的小屁孩
技术
1:gradle Gradle 是以 Groovy 语言为基础,面向Java应用为主。基于DSL(领域特定语言)语法的自动化构建工具。
现在构建系统常用到maven工具,现在有更容易上手的gradle,
搭建java环境:
http://www.ibm.com/developerworks/cn/opensource/os-cn-gradle/
搭建android环境:
http://m
tomcat6的https双向认证
酷的飞上天空
tomcat6
1.生成服务器端证书
keytool -genkey -keyalg RSA -dname "cn=localhost,ou=sango,o=none,l=china,st=beijing,c=cn" -alias server -keypass password -keystore server.jks -storepass password -validity 36
托管虚拟桌面市场势不可挡
蓝儿唯美
用户还需要冗余的数据中心,dinCloud的高级副总裁兼首席营销官Ali Din指出。该公司转售一个MSP可以让用户登录并管理和提供服务的用于DaaS的云自动化控制台,提供服务或者MSP也可以自己来控制。
在某些情况下,MSP会在dinCloud的云服务上进行服务分层,如监控和补丁管理。
MSP的利润空间将根据其参与的程度而有所不同,Din说。
“我们有一些合作伙伴负责将我们推荐给客户作为个
spring学习——xml文件的配置
a-john
spring
在Spring的学习中,对于其xml文件的配置是必不可少的。在Spring的多种装配Bean的方式中,采用XML配置也是最常见的。以下是一个简单的XML配置文件:
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.or
HDU 4342 History repeat itself 模拟
aijuans
模拟
来源:http://acm.hdu.edu.cn/showproblem.php?pid=4342
题意:首先让求第几个非平方数,然后求从1到该数之间的每个sqrt(i)的下取整的和。
思路:一个简单的模拟题目,但是由于数据范围大,需要用__int64。我们可以首先把平方数筛选出来,假如让求第n个非平方数的话,看n前面有多少个平方数,假设有x个,则第n个非平方数就是n+x。注意两种特殊情况,即
java中最常用jar包的用途
asia007
java
java中最常用jar包的用途
jar包用途axis.jarSOAP引擎包commons-discovery-0.2.jar用来发现、查找和实现可插入式接口,提供一些一般类实例化、单件的生命周期管理的常用方法.jaxrpc.jarAxis运行所需要的组件包saaj.jar创建到端点的点到点连接的方法、创建并处理SOAP消息和附件的方法,以及接收和处理SOAP错误的方法. w
ajax获取Struts框架中的json编码异常和Struts中的主控制器异常的解决办法
百合不是茶
js json编码返回异常
一:ajax获取自定义Struts框架中的json编码 出现以下 问题:
1,强制flush输出 json编码打印在首页
2, 不强制flush js会解析json 打印出来的是错误的jsp页面 却没有跳转到错误页面
3, ajax中的dataType的json 改为text 会
JUnit使用的设计模式
bijian1013
java 设计模式 JUnit
JUnit源代码涉及使用了大量设计模式
1、模板方法模式(Template Method)
定义一个操作中的算法骨架,而将一些步骤延伸到子类中去,使得子类可以不改变一个算法的结构,即可重新定义该算法的某些特定步骤。这里需要复用的是算法的结构,也就是步骤,而步骤的实现可以在子类中完成。
 
Linux常用命令(摘录)
sunjing
crond chkconfig
chkconfig --list 查看linux所有服务
chkconfig --add servicename 添加linux服务
netstat -apn | grep 8080 查看端口占用
env 查看所有环境变量
echo $JAVA_HOME 查看JAVA_HOME环境变量
安装编译器
yum install -y gcc
【Hadoop一】Hadoop伪集群环境搭建
bit1129
hadoop
结合网上多份文档,不断反复的修正hadoop启动和运行过程中出现的问题,终于把Hadoop2.5.2伪分布式安装起来,跑通了wordcount例子。Hadoop的安装复杂性的体现之一是,Hadoop的安装文档非常多,但是能一个文档走下来的少之又少,尤其是Hadoop不同版本的配置差异非常的大。Hadoop2.5.2于前两天发布,但是它的配置跟2.5.0,2.5.1没有分别。 &nb
Anychart图表系列五之事件监听
白糖_
chart
创建图表事件监听非常简单:首先是通过addEventListener('监听类型',js监听方法)添加事件监听,然后在js监听方法中定义具体监听逻辑。
以钻取操作为例,当用户点击图表某一个point的时候弹出point的name和value,代码如下:
<script>
//创建AnyChart
var chart = new AnyChart();
//添加钻取操作&quo
Web前端相关段子
braveCS
web前端
Web标准:结构、样式和行为分离
使用语义化标签
0)标签的语义:使用有良好语义的标签,能够很好地实现自我解释,方便搜索引擎理解网页结构,抓取重要内容。去样式后也会根据浏览器的默认样式很好的组织网页内容,具有很好的可读性,从而实现对特殊终端的兼容。
1)div和span是没有语义的:只是分别用作块级元素和行内元素的区域分隔符。当页面内标签无法满足设计需求时,才会适当添加div
编程之美-24点游戏
bylijinnan
编程之美
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashSet;
import java.util.List;
import java.util.Random;
import java.util.Set;
public class PointGame {
/**编程之美
主页面子页面传值总结
chengxuyuancsdn
总结
1、showModalDialog
returnValue是javascript中html的window对象的属性,目的是返回窗口值,当用window.showModalDialog函数打开一个IE的模式窗口时,用于返回窗口的值
主界面
var sonValue=window.showModalDialog("son.jsp");
子界面
window.retu
[网络与经济]互联网+的含义
comsci
互联网+
互联网+后面是一个人的名字 = 网络控制系统
互联网+你的名字 = 网络个人数据库
每日提示:如果人觉得不舒服,千万不要外出到处走动,就呆在床上,玩玩手游,更不能够去开车,现在交通状况不
oracle 创建视图 with check option
daizj
视图 view oralce
我们来看下面的例子:
create or replace view testview
as
select empno,ename from emp where ename like ‘M%’
with check option;
这里我们创建了一个视图,并使用了with check option来限制了视图。 然后我们来看一下视图包含的结果:
select * from testv
ToastPlugin插件在cordova3.3下使用
dibov
Cordova
自己开发的Todos应用,想实现“
再按一次返回键退出程序 ”的功能,采用网上的ToastPlugins插件,发现代码或文章基本都是老版本,运行问题比较多。折腾了好久才弄好。下面吧基于cordova3.3下的ToastPlugins相关代码共享。
ToastPlugin.java
package&nbs
C语言22个系统函数
dcj3sjt126com
c function
C语言系统函数一、数学函数下列函数存放在math.h头文件中Double floor(double num) 求出不大于num的最大数。Double fmod(x, y) 求整数x/y的余数。Double frexp(num, exp); double num; int *exp; 将num分为数字部分(尾数)x和 以2位的指数部分n,即num=x*2n,指数n存放在exp指向的变量中,返回x。D
开发一个类的流程
dcj3sjt126com
开发
本人近日根据自己的开发经验总结了一个类的开发流程。这个流程适用于单独开发的构件,并不适用于对一个项目中的系统对象开发。开发出的类可以存入私人类库,供以后复用。
以下是开发流程:
1. 明确类的功能,抽象出类的大概结构
2. 初步设想类的接口
3. 类名设计(驼峰式命名)
4. 属性设置(权限设置)
判断某些变量是否有必要作为成员属
java 并发
shuizhaosi888
java 并发
能够写出高伸缩性的并发是一门艺术
在JAVA SE5中新增了3个包
java.util.concurrent
java.util.concurrent.atomic
java.util.concurrent.locks
在java的内存模型中,类的实例字段、静态字段和构成数组的对象元素都会被多个线程所共享,局部变量与方法参数都是线程私有的,不会被共享。
Spring Security(11)——匿名认证
234390216
Spring Security ROLE_ANNOYMOUS 匿名
匿名认证
目录
1.1 配置
1.2 AuthenticationTrustResolver
对于匿名访问的用户,Spring Security支持为其建立一个匿名的AnonymousAuthenticat
NODEJS项目实践0.2[ express,ajax通信...]
逐行分析JS源代码
Ajax nodejs express
一、前言
通过上节学习,我们已经 ubuntu系统搭建了一个可以访问的nodejs系统,并做了nginx转发。本节原要做web端服务 及 mongodb的存取,但写着写着,web端就
在Struts2 的Action中怎样获取表单提交上来的多个checkbox的值
lhbthanks
java html struts checkbox
第一种方法:获取结果String类型
在 Action 中获得的是一个 String 型数据,每一个被选中的 checkbox 的 value 被拼接在一起,每个值之间以逗号隔开(,)。
所以在 Action 中定义一个跟 checkbox 的 name 同名的属性来接收这些被选中的 checkbox 的 value 即可。
以下是实现的代码:
前台 HTML 代码:
003.Kafka基本概念
nweiren
hadoop kafka
Kafka基本概念:Topic、Partition、Message、Producer、Broker、Consumer。 Topic: 消息源(Message)的分类。 Partition: Topic物理上的分组,一
Linux环境下安装JDK
roadrunners
jdk linux
1、准备工作
创建JDK的安装目录:
mkdir -p /usr/java/
下载JDK,找到适合自己系统的JDK版本进行下载:
http://www.oracle.com/technetwork/java/javase/downloads/index.html
把JDK安装包下载到/usr/java/目录,然后进行解压:
tar -zxvf jre-7
Linux忘记root密码的解决思路
tomcat_oracle
linux
1:使用同版本的linux启动系统,chroot到忘记密码的根分区passwd改密码 2:grub启动菜单中加入init=/bin/bash进入系统,不过这时挂载的是只读分区。根据系统的分区情况进一步判断. 3: grub启动菜单中加入 single以单用户进入系统. 4:用以上方法mount到根分区把/etc/passwd中的root密码去除 例如: ro
跨浏览器 HTML5 postMessage 方法以及 message 事件模拟实现
xueyou
jsonp jquery 框架 UI html5
postMessage 是 HTML5 新方法,它可以实现跨域窗口之间通讯。到目前为止,只有 IE8+, Firefox 3, Opera 9, Chrome 3和 Safari 4 支持,而本篇文章主要讲述 postMessage 方法与 message 事件跨浏览器实现。postMessage 方法 JSONP 技术不一样,前者是前端擅长跨域文档数据即时通讯,后者擅长针对跨域服务端数据通讯,p