非下表中的所有实体都能在所有的浏览器中正确地显示。
目前,IE 11 是唯一一个能正确显示所有 HTML5 实体的浏览器。
字符 | 实体名称 | 十六进制 |
---|---|---|
⇚ | lAarr | 021DA |
Ĺ | Lacute | 00139 |
ĺ | lacute | 0013A |
⦴ | laemptyv | 029B4 |
ℒ | lagran | 02112 |
Λ | Lambda | 0039B |
λ | lambda | 003BB |
⟪ | Lang | 027EA |
〈 | lang | 027E8 |
⦑ | langd | 02991 |
⟨ | langle | 027E8 |
⪅ | lap | 02A85 |
ℒ | Laplacetrf | 02112 |
« | laquo | 000AB |
↞ | Larr | 0219E |
⇐ | lArr | 021D0 |
← | larr | 02190 |
⇤ | larrb | 021E4 |
⤟ | larrbfs | 0291F |
⤝ | larrfs | 0291D |
↩ | larrhk | 021A9 |
↫ | larrlp | 021AB |
⤹ | larrpl | 02939 |
⥳ | larrsim | 02973 |
↢ | larrtl | 021A2 |
⪫ | lat | 02AAB |
⤛ | lAtail | 0291B |
⤙ | latail | 02919 |
⪭ | late | 02AAD |
⪭︀ | lates | 02AAD + 0FE00 |
⤎ | lBarr | 0290E |
⤌ | lbarr | 0290C |
❲ | lbbrk | 02772 |
{ | lbrace | 0007B |
[ | lbrack | 0005B |
⦋ | lbrke | 0298B |
⦏ | lbrksld | 0298F |
⦍ | lbrkslu | 0298D |
Ľ | Lcaron | 0013D |
ľ | lcaron | 0013E |
Ļ | Lcedil | 0013B |
ļ | lcedil | 0013C |
⌈ | lceil | 02308 |
{ | lcub | 0007B |
Л | Lcy | 0041B |
л | lcy | 0043B |
⤶ | ldca | 02936 |
“ | ldquo | 0201C |
„ | ldquor | 0201E |
⥧ | ldrdhar | 02967 |
⥋ | ldrushar | 0294B |
↲ | ldsh | 021B2 |
≦ | lE | 02266 |
≤ | le | 02264 |
⟨ | LeftAngleBracket | 027E8 |
← | LeftArrow | 02190 |
⇐ | Leftarrow | 021D0 |
← | leftarrow | 02190 |
⇤ | LeftArrowBar | 021E4 |
⇆ | LeftArrowRightArrow | 021C6 |
↢ | leftarrowtail | 021A2 |
⌈ | LeftCeiling | 02308 |
⟦ | LeftDoubleBracket | 027E6 |
⥡ | LeftDownTeeVector | 02961 |
⇃ | LeftDownVector | 021C3 |
⥙ | LeftDownVectorBar | 02959 |
⌊ | LeftFloor | 0230A |
↽ | leftharpoondown | 021BD |
↼ | leftharpoonup | 021BC |
⇇ | leftleftarrows | 021C7 |
↔ | LeftRightArrow | 02194 |
⇔ | Leftrightarrow | 021D4 |
↔ | leftrightarrow | 02194 |
⇆ | leftrightarrows | 021C6 |
⇋ | leftrightharpoons | 021CB |
↭ | leftrightsquigarrow | 021AD |
⥎ | LeftRightVector | 0294E |
⊣ | LeftTee | 022A3 |
↤ | LeftTeeArrow | 021A4 |
⥚ | LeftTeeVector | 0295A |
⋋ | leftthreetimes | 022CB |
⊲ | LeftTriangle | 022B2 |
⧏ | LeftTriangleBar | 029CF |
⊴ | LeftTriangleEqual | 022B4 |
⥑ | LeftUpDownVector | 02951 |
⥠ | LeftUpTeeVector | 02960 |
↿ | LeftUpVector | 021BF |
⥘ | LeftUpVectorBar | 02958 |
↼ | LeftVector | 021BC |
⥒ | LeftVectorBar | 02952 |
⪋ | lEg | 02A8B |
⋚ | leg | 022DA |
≤ | leq | 02264 |
≦ | leqq | 02266 |
⩽ | leqslant | 02A7D |
⩽ | les | 02A7D |
⪨ | lescc | 02AA8 |
⩿ | lesdot | 02A7F |
⪁ | lesdoto | 02A81 |
⪃ | lesdotor | 02A83 |
⋚︀ | lesg | 022DA + 0FE00 |
⪓ | lesges | 02A93 |
⪅ | lessapprox | 02A85 |
⋖ | lessdot | 022D6 |
⋚ | lesseqgtr | 022DA |
⪋ | lesseqqgtr | 02A8B |
⋚ | LessEqualGreater | 022DA |
≦ | LessFullEqual | 02266 |
≶ | LessGreater | 02276 |
≶ | lessgtr | 02276 |
⪡ | LessLess | 02AA1 |
≲ | lesssim | 02272 |
⩽ | LessSlantEqual | 02A7D |
≲ | LessTilde | 02272 |
⥼ | lfisht | 0297C |
⌊ | lfloor | 0230A |
𝔏 | Lfr | 1D50F |
𝔩 | lfr | 1D529 |
≶ | lg | 02276 |
⪑ | lgE | 02A91 |
⥢ | lHar | 02962 |
↽ | lhard | 021BD |
↼ | lharu | 021BC |
⥪ | lharul | 0296A |
▄ | lhblk | 02584 |
Љ | LJcy | 00409 |
љ | ljcy | 00459 |
⋘ | Ll | 022D8 |
≪ | ll | 0226A |
⇇ | llarr | 021C7 |
⌞ | llcorner | 0231E |
⇚ | Lleftarrow | 021DA |
⥫ | llhard | 0296B |
◺ | lltri | 025FA |
Ŀ | Lmidot | 0013F |
ŀ | lmidot | 00140 |
⎰ | lmoust | 023B0 |
⎰ | lmoustache | 023B0 |
⪉ | lnap | 02A89 |
⪉ | lnapprox | 02A89 |
≨ | lnE | 02268 |
⪇ | lne | 02A87 |
⪇ | lneq | 02A87 |
≨ | lneqq | 02268 |
⋦ | lnsim | 022E6 |
⟬ | loang | 027EC |
⇽ | loarr | 021FD |
⟦ | lobrk | 027E6 |
⟵ | LongLeftArrow | 027F5 |
⟸ | Longleftarrow | 027F8 |
⟵ | longleftarrow | 027F5 |
⟷ | LongLeftRightArrow | 027F7 |
⟺ | Longleftrightarrow | 027FA |
⟷ | longleftrightarrow | 027F7 |
⟼ | longmapsto | 027FC |
⟶ | LongRightArrow | 027F6 |
⟹ | Longrightarrow | 027F9 |
⟶ | longrightarrow | 027F6 |
↫ | looparrowleft | 021AB |
↬ | looparrowright | 021AC |
⦅ | lopar | 02985 |
𝕃 | Lopf | 1D543 |
𝕝 | lopf | 1D55D |
⨭ | loplus | 02A2D |
⨴ | lotimes | 02A34 |
∗ | lowast | 02217 |
_ | lowbar | 0005F |
↙ | LowerLeftArrow | 02199 |
↘ | LowerRightArrow | 02198 |
◊ | loz | 025CA |
◊ | lozenge | 025CA |
⧫ | lozf | 029EB |
( | lpar | 00028 |
⦓ | lparlt | 02993 |
⇆ | lrarr | 021C6 |
⌟ | lrcorner | 0231F |
⇋ | lrhar | 021CB |
⥭ | lrhard | 0296D |
| lrm | 0200E |
⊿ | lrtri | 022BF |
‹ | lsaquo | 02039 |
ℒ | Lscr | 02112 |
𝓁 | lscr | 1D4C1 |
↰ | Lsh | 021B0 |
↰ | lsh | 021B0 |
≲ | lsim | 02272 |
⪍ | lsime | 02A8D |
⪏ | lsimg | 02A8F |
[ | lsqb | 0005B |
‘ | lsquo | 02018 |
‚ | lsquor | 0201A |
Ł | Lstrok | 00141 |
ł | lstrok | 00142 |
≪ | Lt | 0226A |
< | lt | 0003C |
<cc; | ltcc | 02AA6 |
<cir; | ltcir | 02A79 |
<dot; | ltdot | 022D6 |
<hree; | lthree | 022CB |
<imes; | ltimes | 022C9 |
<larr; | ltlarr | 02976 |
<quest; | ltquest | 02A7B |
<ri; | ltri | 025C3 |
<rie; | ltrie | 022B4 |
<rif; | ltrif | 025C2 |
<rPar; | ltrPar | 02996 |
⥊ | lurdshar | 0294A |
⥦ | luruhar | 02966 |
≨︀ | lvertneqq | 02268 + 0FE00 |
≨︀ | lvnE | 02268 + 0FE00 |
如您还有不明白的可以在下面与我留言或是与我探讨QQ群308855039,我们一起飞!
小伙伴们,感觉我的分享很不错的别忘记“赞赏”我一下哟!
动科技平台Usablenet的最新数据显示:在网站中加入互动元素可极大提高网站流量。如果零售商在平台中采用具有HTML 5特性,比如互动画册,地理位置服务,可浮动可扩展的模块,其网站浏览量可提高11%,跳出率下降15%。总体来说,使用HTML 5特性的品牌网站整体流量增加了近28%。
根据皮尤研究中心数据显示,美国大部分新闻网站的移动端流量已超越PC端。
分享代码作为社会化进程的产物,本身就担负着给网站增加流量的使命。在移动网站,其作用仍不可被忽视,近期,国内最早的分享代码提供商JiaThis也推出了针对移动端的分享代码http://jiathis.com/getcode/mobile,使用方法非常简单,和pc端一样,直接复制代码,放入移动端的页面源文件中,Jiathis专门针对手机的小屏幕做了一些优化和适配。能适合绝大部分机型和移动端浏览器界面。
同时,Jiathis移动端的分享代码,还对手机浏览下不同情况做了不同的适配,比如:如果是在微信浏览器中,Jiathis分享代码能够自动识别,并且分享的界面是让用户主动朋友圈或好友。总之,针对移动端的用户分享习惯,这个移动端版本会不断优化和提升,做作为一个独立的版本一直开发下去。
1.代码准备 : spring-framework 5.0.x版本
下载地址:https://github.com/spring-projects/spring-framework
2.jdk版本: jdk 1.8.0_181(环境变量自行配置,建议用rapidee配置方便)
下载地址:https://www.oracle.com/java/technologies/javase/8u-relnotes.html
3.gradle版本:gradle-4.4.1-bin.zip
(此版本的gradle在D:\mavenproject\mySpring\spring-framework\gradle\wrapper下的gradle-wrapper.properties 查看) ,配置中是distributionUrl=https://services.gradle.org/distributions/gradle-4.4.1-bin.zip
此处我们用 gradle-4.4.1-all.zip ,方便出问题,用源码进行调试
下载地址 https://gradle.org/releases/
4.idea版本:2020.2
https://github.com/spring-projects/spring-framework
之后从自己的github下载即可,这样做的目的是为了自己学习提交代码到自己的远程仓库,因为直接github的spring-framework提交的代码会被审批之后才能提交,没有金刚钻,就不要往上提了,不利于个人学习
D:\mavenproject\gradle-4.4.1-all.zip目录下 ,修改D:\mavenproject\mySpring\spring-framework\gradle\wrapper下的
gradle-wrapper.properties ,修改后的配置如下:
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
#distributionUrl=https\://services.gradle.org/distributions/gradle-4.4.1-bin.zip
distributionUrl=file:///D:\env\gradle-4.4.1-bin.zip
这样每次打开项目就不会从官网下载了,直接读取本地gradle
buildscript {
repositories {
maven { url "http://maven.aliyun.com/nexus/content/groups/public/"}
maven{ url "http://maven.aliyun.com/nexus/content/repositories/jcenter"}
maven { url "https://repo.spring.io/plugins-release" }
}
dependencies {
classpath("io.spring.gradle:propdeps-plugin:0.0.9.RELEASE")
classpath("io.spring.gradle:docbook-reference-plugin:0.3.1")
classpath("org.asciidoctor:asciidoctorj-pdf:1.5.0-alpha.16")
classpath("org.asciidoctor:asciidoctorj-epub3:1.5.0-alpha.7")
}
}
此文件的中间位置下面还一处仓库配置,搜索repositories即可
repositories {
maven { url "http://maven.aliyun.com/nexus/content/groups/public/"}
maven{ url "http://maven.aliyun.com/nexus/content/repositories/jcenter"}
maven { url "https://repo.spring.io/libs-release" }
}
||| 解压gradle-4.4.1-all.zip 并配置环境变量
修改idea的新项目配置 ctrl+alt+s 的gradle配置
注意:此处需指定正确的路径,要不然会报错:
Could not create parent directory for lock file C:\Program Files\Android\Android Studio\gradle\gradle-3.2\bin\wrapper\dists\gradle-3.3-allgk2rcmfc6p2dg9u9ohc3hw9\gradle-3.3-all.zip.lck
https://stackoverflow.com/questions/45527316/could-not-create-parent-directory-for-lock-file/48979955
ctrl+alt+shift+s
需指定模块的依赖jdk8
以上配置完成后,即可刷新依赖,下载项目依赖
下载完成即可
到此处为止,依赖下载完成!
找到ApplicatonContext ctrl+alt+shift+u
出现类图,则成功
前置动作
找到gradle目录下的docs.gradle 文件,修改以下几点:
1. 注释掉 dokka
//dokka {
// dependsOn {
// tasks.getByName("api")
// }
// doFirst {
// classpath = subprojects.collect { project -> project.jar.outputs.files.getFiles() }.flatten()
// classpath += files(subprojects.collect { it.sourceSets.main.compileClasspath })
//
// }
// moduleName = "spring-framework"
// outputFormat = "html"
// outputDirectory = "$buildDir/docs/kdoc"
//
// sourceDirs = files(subprojects.collect { project ->
// def kotlinDirs = project.sourceSets.main.kotlin.srcDirs.collect()
// kotlinDirs -= project.sourceSets.main.java.srcDirs
// })
// externalDocumentationLink {
// url = new URL("https://docs.spring.io/spring-framework/docs/$version/javadoc-api/")
// packageListUrl = new File(buildDir, "api/package-list").toURI().toURL()
// }
// externalDocumentationLink {
// url = new URL("https://projectreactor.io/docs/core/release/api/")
// }
// externalDocumentationLink {
// url = new URL("https://www.reactive-streams.org/reactive-streams-
1.0.1-javadoc/")
// }
//}
2.注释掉 asciidoctor
//asciidoctor {
// sources {
// include '*.adoc'
// }
// resources {
// from(sourceDir) {
// include 'images/*', 'stylesheets/*', 'tocbot-3.0.2/*'
// }
// }
// logDocuments = true
// backends = ["html5"]
// // only ouput PDF documentation for non-SNAPSHOT builds
// if(!project.getVersion().toString().contains("BUILD-SNAPSHOT")) {
// backends += "pdf"
// }
// options doctype: 'book', eruby: 'erubis'
// attributes 'icons': 'font',
// 'idprefix': '',
// 'idseparator': '-',
// docinfo: '',
// revnumber: project.version,
// sectanchors: '',
// sectnums: '',
// 'source-highlighter': 'coderay@', // TODO switch to 'rouge' once supported by the html5 backend
// stylesdir: 'stylesheets/',
// stylesheet: 'main.css',
// 'spring-version': project.version
//
//}
3. 修改task schemaZip
windows操作系统,需要把正斜杠替换成反斜杠,修改后的配置如下:
task schemaZip(type: Zip) {
group = "Distribution"
baseName = "spring-framework"
classifier = "schema"
description = "Builds -${classifier} archive containing all " +
"XSDs for deployment at http://springframework.org/schema."
duplicatesStrategy 'exclude'
//当前系统是否是windows的标志
def isWindows = System.properties['os.name'].toUpperCase().contains('WINDOWS')
//不同的操作系统,表示子目录的符号是不同的
def schemaPath = isWindows ? "META-INF\\spring.schemas" : "META-INF/spring.schemas"
moduleProjects.each { subproject ->
def Properties schemas = new Properties();
subproject.sourceSets.main.resources.find {
it.path.endsWith(schemaPath)
}?.withInputStream { schemas.load(it) }
for (def key : schemas.keySet()) {
def shortName = key.replaceAll(/http.*schema.(.*).spring-.*/, '$1')
assert shortName != key
File xsdFile = subproject.sourceSets.main.resources.find {
//如果是windows环境,就要对路径中的分隔符做替换
isWindows ? it.path.endsWith(schemas.get(key).replaceAll('\\/','\\\\')) : it.path.endsWith(schemas.get(key))
}
assert xsdFile != null
into (shortName) {
from xsdFile.path
}
}
}
}
找到import-into-idea.md 按照步骤进行操作
I.Precompile spring-oxm
执行编译的过程中,可能会出现如下问题,可能会出现多次,此处应该是网络问题,到指定资源抢占问题,不用关心,重新执行即可
构建了多次,终于成功了!
II 去掉spring-sapects 模块
III 编译下spring-core
成功!就恭喜你啦!
IV.执行整个项目的编译
若不跳过单元测试,可能会有问题,我试过,不跳过单元测试确实存在问题,这里我就直接跳过单元测试执行了
在代码的目录,打开cmd执行如下命令
如果网络够好的话,而且你又比较幸运的话,一次就成功了,否则,你得尝试多次,但是肯定会成功!
新建module
spring-mytest
在spring-mytest的build.gradle中添加如下依赖
dependencies {
compile(project(":spring-context"))
compile(project(":spring-core"))
compile(project(":spring-beans"))
compile(project(":spring-aop"))
testCompile group: 'junit', name: 'junit', version: '4.12'
}
刷新依赖即可
I.新建User.java
package com.study;
public class User {
private String name;
private Integer age;
public User() {
}
public User(String name, Integer age) {
this.name = name;
this.age = age;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Integer getAge() {
return age;
}
public void setAge(Integer age) {
this.age = age;
}
}
II 新建SysConfig
package com.study;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
@Configuration
@ComponentScan
public class SysConfig {
@Bean
public User user(){
return new User("lq",12);
}
}
III 新建测试类TestMy
package com.study;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
public class TestMy {
public static void main(String[] args) {
ApplicationContext applicationContext = new AnnotationConfigApplicationContext(SysConfig.class);
User user = (User)applicationContext.getBean("user");
System.out.println(user.toString());
}
}
运行输出
至此 spring源码编译测试成功,可以学习啦!
*请认真填写需求信息,我们会在24小时内与您取得联系。