Initial commit
This commit is contained in:
commit
afaf08eef4
|
|
@ -0,0 +1 @@
|
|||
.git
|
||||
|
|
@ -0,0 +1,115 @@
|
|||
# Byte-compiled / optimized / DLL files
|
||||
__pycache__/
|
||||
*.py[cod]
|
||||
*$py.class
|
||||
|
||||
# C extensions
|
||||
*.so
|
||||
|
||||
# Distribution / packaging
|
||||
.Python
|
||||
env/
|
||||
build/
|
||||
develop-eggs/
|
||||
dist/
|
||||
downloads/
|
||||
eggs/
|
||||
.eggs/
|
||||
lib/
|
||||
lib64/
|
||||
parts/
|
||||
sdist/
|
||||
var/
|
||||
wheels/
|
||||
*.egg-info/
|
||||
.installed.cfg
|
||||
*.egg
|
||||
|
||||
# PyInstaller
|
||||
# Usually these files are written by a python script from a template
|
||||
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
||||
*.manifest
|
||||
*.spec
|
||||
|
||||
# Installer logs
|
||||
pip-log.txt
|
||||
pip-delete-this-directory.txt
|
||||
|
||||
# Unit test / coverage reports
|
||||
htmlcov/
|
||||
.tox/
|
||||
.coverage
|
||||
.coverage.*
|
||||
.cache
|
||||
nosetests.xml
|
||||
coverage.xml
|
||||
*.cover
|
||||
.hypothesis/
|
||||
|
||||
# Translations
|
||||
*.mo
|
||||
*.pot
|
||||
|
||||
# Django stuff:
|
||||
*.log
|
||||
local_settings.py
|
||||
|
||||
# Flask stuff:
|
||||
instance/
|
||||
.webassets-cache
|
||||
|
||||
# Scrapy stuff:
|
||||
.scrapy
|
||||
|
||||
# Sphinx documentation
|
||||
docs/_build/
|
||||
|
||||
# PyBuilder
|
||||
target/
|
||||
|
||||
# Jupyter Notebook
|
||||
.ipynb_checkpoints
|
||||
|
||||
# pyenv
|
||||
.python-version
|
||||
|
||||
# celery beat schedule file
|
||||
celerybeat-schedule
|
||||
|
||||
# SageMath parsed files
|
||||
*.sage.py
|
||||
|
||||
# dotenv
|
||||
.env
|
||||
|
||||
# virtualenv
|
||||
.venv
|
||||
venv/
|
||||
ENV/
|
||||
|
||||
# Spyder project settings
|
||||
.spyderproject
|
||||
.spyproject
|
||||
|
||||
# Rope project settings
|
||||
.ropeproject
|
||||
|
||||
# mkdocs documentation
|
||||
/site
|
||||
|
||||
# mypy
|
||||
.mypy_cache/
|
||||
.DS_Store
|
||||
|
||||
# gitbook
|
||||
_book
|
||||
|
||||
# node.js
|
||||
node_modules
|
||||
|
||||
# windows
|
||||
Thumbs.db
|
||||
|
||||
# word
|
||||
~$*.docx
|
||||
~$*.doc
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
permalink: /404.html
|
||||
---
|
||||
<script>window.location.href = '/';</script>
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
FROM httpd:2.4
|
||||
COPY ./ /usr/local/apache2/htdocs/
|
||||
|
|
@ -0,0 +1,101 @@
|
|||
Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Public License (CC BY-NC-SA 4.0)
|
||||
|
||||
Copyright © 2020 ApacheCN(apachecn@163.com)
|
||||
|
||||
By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions.
|
||||
|
||||
Section 1 – Definitions.
|
||||
|
||||
a. Adapted Material means material subject to Copyright and Similar Rights that is derived from or based upon the Licensed Material and in which the Licensed Material is translated, altered, arranged, transformed, or otherwise modified in a manner requiring permission under the Copyright and Similar Rights held by the Licensor. For purposes of this Public License, where the Licensed Material is a musical work, performance, or sound recording, Adapted Material is always produced where the Licensed Material is synched in timed relation with a moving image.
|
||||
b. Adapter's License means the license You apply to Your Copyright and Similar Rights in Your contributions to Adapted Material in accordance with the terms and conditions of this Public License.
|
||||
c. BY-NC-SA Compatible License means a license listed at creativecommons.org/compatiblelicenses, approved by Creative Commons as essentially the equivalent of this Public License.
|
||||
d. Copyright and Similar Rights means copyright and/or similar rights closely related to copyright including, without limitation, performance, broadcast, sound recording, and Sui Generis Database Rights, without regard to how the rights are labeled or categorized. For purposes of this Public License, the rights specified in Section 2(b)(1)-(2) are not Copyright and Similar Rights.
|
||||
e. Effective Technological Measures means those measures that, in the absence of proper authority, may not be circumvented under laws fulfilling obligations under Article 11 of the WIPO Copyright Treaty adopted on December 20, 1996, and/or similar international agreements.
|
||||
f. Exceptions and Limitations means fair use, fair dealing, and/or any other exception or limitation to Copyright and Similar Rights that applies to Your use of the Licensed Material.
|
||||
g. License Elements means the license attributes listed in the name of a Creative Commons Public License. The License Elements of this Public License are Attribution, NonCommercial, and ShareAlike.
|
||||
h. Licensed Material means the artistic or literary work, database, or other material to which the Licensor applied this Public License.
|
||||
i. Licensed Rights means the rights granted to You subject to the terms and conditions of this Public License, which are limited to all Copyright and Similar Rights that apply to Your use of the Licensed Material and that the Licensor has authority to license.
|
||||
j. Licensor means the individual(s) or entity(ies) granting rights under this Public License.
|
||||
k. NonCommercial means not primarily intended for or directed towards commercial advantage or monetary compensation. For purposes of this Public License, the exchange of the Licensed Material for other material subject to Copyright and Similar Rights by digital file-sharing or similar means is NonCommercial provided there is no payment of monetary compensation in connection with the exchange.
|
||||
l. Share means to provide material to the public by any means or process that requires permission under the Licensed Rights, such as reproduction, public display, public performance, distribution, dissemination, communication, or importation, and to make material available to the public including in ways that members of the public may access the material from a place and at a time individually chosen by them.
|
||||
m. Sui Generis Database Rights means rights other than copyright resulting from Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, as amended and/or succeeded, as well as other essentially equivalent rights anywhere in the world.
|
||||
n. You means the individual or entity exercising the Licensed Rights under this Public License. Your has a corresponding meaning.
|
||||
|
||||
Section 2 – Scope.
|
||||
|
||||
a. License grant.
|
||||
1. Subject to the terms and conditions of this Public License, the Licensor hereby grants You a worldwide, royalty-free, non-sublicensable, non-exclusive, irrevocable license to exercise the Licensed Rights in the Licensed Material to:
|
||||
A. reproduce and Share the Licensed Material, in whole or in part, for NonCommercial purposes only; and
|
||||
B. produce, reproduce, and Share Adapted Material for NonCommercial purposes only.
|
||||
2. Exceptions and Limitations. For the avoidance of doubt, where Exceptions and Limitations apply to Your use, this Public License does not apply, and You do not need to comply with its terms and conditions.
|
||||
3. Term. The term of this Public License is specified in Section 6(a).
|
||||
4. Media and formats; technical modifications allowed. The Licensor authorizes You to exercise the Licensed Rights in all media and formats whether now known or hereafter created, and to make technical modifications necessary to do so. The Licensor waives and/or agrees not to assert any right or authority to forbid You from making technical modifications necessary to exercise the Licensed Rights, including technical modifications necessary to circumvent Effective Technological Measures. For purposes of this Public License, simply making modifications authorized by this Section 2(a)(4) never produces Adapted Material.
|
||||
5. Downstream recipients.
|
||||
A. Offer from the Licensor – Licensed Material. Every recipient of the Licensed Material automatically receives an offer from the Licensor to exercise the Licensed Rights under the terms and conditions of this Public License.
|
||||
B. Additional offer from the Licensor – Adapted Material. Every recipient of Adapted Material from You automatically receives an offer from the Licensor to exercise the Licensed Rights in the Adapted Material under the conditions of the Adapter’s License You apply.
|
||||
C. No downstream restrictions. You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, the Licensed Material if doing so restricts exercise of the Licensed Rights by any recipient of the Licensed Material.
|
||||
6. No endorsement. Nothing in this Public License constitutes or may be construed as permission to assert or imply that You are, or that Your use of the Licensed Material is, connected with, or sponsored, endorsed, or granted official status by, the Licensor or others designated to receive attribution as provided in Section 3(a)(1)(A)(i).
|
||||
b. Other rights.
|
||||
1. Moral rights, such as the right of integrity, are not licensed under this Public License, nor are publicity, privacy, and/or other similar personality rights; however, to the extent possible, the Licensor waives and/or agrees not to assert any such rights held by the Licensor to the limited extent necessary to allow You to exercise the Licensed Rights, but not otherwise.
|
||||
2. Patent and trademark rights are not licensed under this Public License.
|
||||
3. To the extent possible, the Licensor waives any right to collect royalties from You for the exercise of the Licensed Rights, whether directly or through a collecting society under any voluntary or waivable statutory or compulsory licensing scheme. In all other cases the Licensor expressly reserves any right to collect such royalties, including when the Licensed Material is used other than for NonCommercial purposes.
|
||||
|
||||
Section 3 – License Conditions.
|
||||
|
||||
Your exercise of the Licensed Rights is expressly made subject to the following conditions.
|
||||
|
||||
a. Attribution.
|
||||
1. If You Share the Licensed Material (including in modified form), You must:
|
||||
A. retain the following if it is supplied by the Licensor with the Licensed Material:
|
||||
i. identification of the creator(s) of the Licensed Material and any others designated to receive attribution, in any reasonable manner requested by the Licensor (including by pseudonym if designated);
|
||||
ii. a copyright notice;
|
||||
iii. a notice that refers to this Public License;
|
||||
iv. a notice that refers to the disclaimer of warranties;
|
||||
v. a URI or hyperlink to the Licensed Material to the extent reasonably practicable;
|
||||
B. indicate if You modified the Licensed Material and retain an indication of any previous modifications; and
|
||||
C. indicate the Licensed Material is licensed under this Public License, and include the text of, or the URI or hyperlink to, this Public License.
|
||||
2. You may satisfy the conditions in Section 3(a)(1) in any reasonable manner based on the medium, means, and context in which You Share the Licensed Material. For example, it may be reasonable to satisfy the conditions by providing a URI or hyperlink to a resource that includes the required information.
|
||||
3. If requested by the Licensor, You must remove any of the information required by Section 3(a)(1)(A) to the extent reasonably practicable.
|
||||
b. ShareAlike.
|
||||
In addition to the conditions in Section 3(a), if You Share Adapted Material You produce, the following conditions also apply.
|
||||
1. The Adapter’s License You apply must be a Creative Commons license with the same License Elements, this version or later, or a BY-NC-SA Compatible License.
|
||||
2. You must include the text of, or the URI or hyperlink to, the Adapter's License You apply. You may satisfy this condition in any reasonable manner based on the medium, means, and context in which You Share Adapted Material.
|
||||
3. You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, Adapted Material that restrict exercise of the rights granted under the Adapter's License You apply.
|
||||
|
||||
Section 4 – Sui Generis Database Rights.
|
||||
|
||||
Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material:
|
||||
|
||||
a. for the avoidance of doubt, Section 2(a)(1) grants You the right to extract, reuse, reproduce, and Share all or a substantial portion of the contents of the database for NonCommercial purposes only;
|
||||
b. if You include all or a substantial portion of the database contents in a database in which You have Sui Generis Database Rights, then the database in which You have Sui Generis Database Rights (but not its individual contents) is Adapted Material, including for purposes of Section 3(b); and
|
||||
c. You must comply with the conditions in Section 3(a) if You Share all or a substantial portion of the contents of the database.
|
||||
|
||||
For the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public License where the Licensed Rights include other Copyright and Similar Rights.
|
||||
|
||||
Section 5 – Disclaimer of Warranties and Limitation of Liability.
|
||||
|
||||
a. Unless otherwise separately undertaken by the Licensor, to the extent possible, the Licensor offers the Licensed Material as-is and as-available, and makes no representations or warranties of any kind concerning the Licensed Material, whether express, implied, statutory, or other. This includes, without limitation, warranties of title, merchantability, fitness for a particular purpose, non-infringement, absence of latent or other defects, accuracy, or the presence or absence of errors, whether or not known or discoverable. Where disclaimers of warranties are not allowed in full or in part, this disclaimer may not apply to You.
|
||||
b. To the extent possible, in no event will the Licensor be liable to You on any legal theory (including, without limitation, negligence) or otherwise for any direct, special, indirect, incidental, consequential, punitive, exemplary, or other losses, costs, expenses, or damages arising out of this Public License or use of the Licensed Material, even if the Licensor has been advised of the possibility of such losses, costs, expenses, or damages. Where a limitation of liability is not allowed in full or in part, this limitation may not apply to You.
|
||||
c. The disclaimer of warranties and limitation of liability provided above shall be interpreted in a manner that, to the extent possible, most closely approximates an absolute disclaimer and waiver of all liability.
|
||||
|
||||
Section 6 – Term and Termination.
|
||||
|
||||
a. This Public License applies for the term of the Copyright and Similar Rights licensed here. However, if You fail to comply with this Public License, then Your rights under this Public License terminate automatically.
|
||||
b. Where Your right to use the Licensed Material has terminated under Section 6(a), it reinstates:
|
||||
1. automatically as of the date the violation is cured, provided it is cured within 30 days of Your discovery of the violation; or
|
||||
2. upon express reinstatement by the Licensor.
|
||||
For the avoidance of doubt, this Section 6(b) does not affect any right the Licensor may have to seek remedies for Your violations of this Public License.
|
||||
c. For the avoidance of doubt, the Licensor may also offer the Licensed Material under separate terms or conditions or stop distributing the Licensed Material at any time; however, doing so will not terminate this Public License.
|
||||
d. Sections 1, 5, 6, 7, and 8 survive termination of this Public License.
|
||||
|
||||
Section 7 – Other Terms and Conditions.
|
||||
|
||||
a. The Licensor shall not be bound by any additional or different terms or conditions communicated by You unless expressly agreed.
|
||||
b. Any arrangements, understandings, or agreements regarding the Licensed Material not stated herein are separate from and independent of the terms and conditions of this Public License.
|
||||
|
||||
Section 8 – Interpretation.
|
||||
|
||||
a. For the avoidance of doubt, this Public License does not, and shall not be interpreted to, reduce, limit, restrict, or impose conditions on any use of the Licensed Material that could lawfully be made without permission under this Public License.
|
||||
b. To the extent possible, if any provision of this Public License is deemed unenforceable, it shall be automatically reformed to the minimum extent necessary to make it enforceable. If the provision cannot be reformed, it shall be severed from this Public License without affecting the enforceability of the remaining terms and conditions.
|
||||
c. No term or condition of this Public License will be waived and no failure to comply consented to unless expressly agreed to by the Licensor.
|
||||
d. Nothing in this Public License constitutes or may be interpreted as a limitation upon, or waiver of, any privileges and immunities that apply to the Licensor or You, including from the legal processes of any jurisdiction or authority.
|
||||
|
|
@ -0,0 +1,94 @@
|
|||
LxgwWenKai
|
||||
==========
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
This license is copied below, and is also available with a FAQ at:
|
||||
http://scripts.sil.org/OFL
|
||||
|
||||
|
||||
-----------------------------------------------------------
|
||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||
-----------------------------------------------------------
|
||||
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
development of collaborative font projects, to support the font creation
|
||||
efforts of academic and linguistic communities, and to provide a free and
|
||||
open framework in which fonts may be shared and improved in partnership
|
||||
with others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely as long as they are not sold by themselves. The
|
||||
fonts, including any derivative works, can be bundled, embedded,
|
||||
redistributed and/or sold with any software provided that any reserved
|
||||
names are not used by derivative works. The fonts and derivatives,
|
||||
however, cannot be released under any other type of license. The
|
||||
requirement for fonts to remain under this license does not apply
|
||||
to any document created using the fonts or their derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright
|
||||
Holder(s) under this license and clearly marked as such. This may
|
||||
include source files, build scripts and documentation.
|
||||
|
||||
"Reserved Font Name" refers to any names specified as such after the
|
||||
copyright statement(s).
|
||||
|
||||
"Original Version" refers to the collection of Font Software components as
|
||||
distributed by the Copyright Holder(s).
|
||||
|
||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||
or substituting -- in part or in whole -- any of the components of the
|
||||
Original Version, by changing formats or by porting the Font Software to a
|
||||
new environment.
|
||||
|
||||
"Author" refers to any designer, engineer, programmer, technical
|
||||
writer or other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION & CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||
redistribute, and sell modified and unmodified copies of the Font
|
||||
Software, subject to the following conditions:
|
||||
|
||||
1) Neither the Font Software nor any of its individual components,
|
||||
in Original or Modified Versions, may be sold by itself.
|
||||
|
||||
2) Original or Modified Versions of the Font Software may be bundled,
|
||||
redistributed and/or sold with any software, provided that each copy
|
||||
contains the above copyright notice and this license. These can be
|
||||
included either as stand-alone text files, human-readable headers or
|
||||
in the appropriate machine-readable metadata fields within text or
|
||||
binary files as long as those fields can be easily viewed by the user.
|
||||
|
||||
3) No Modified Version of the Font Software may use the Reserved Font
|
||||
Name(s) unless explicit written permission is granted by the corresponding
|
||||
Copyright Holder. This restriction only applies to the primary font name as
|
||||
presented to the users.
|
||||
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||
Software shall not be used to promote, endorse or advertise any
|
||||
Modified Version, except to acknowledge the contribution(s) of the
|
||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||
permission.
|
||||
|
||||
5) The Font Software, modified or unmodified, in part or in whole,
|
||||
must be distributed entirely under this license, and must not be
|
||||
distributed under any other license. The requirement for fonts to
|
||||
remain under this license does not apply to any document created
|
||||
using the Font Software.
|
||||
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are
|
||||
not met.
|
||||
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||
|
|
@ -0,0 +1,196 @@
|
|||
+ 编程
|
||||
+ [JavaTPoint 编程语言中文教程📚](https://opendoccn.github.io/javatpoint-prog-zh)
|
||||
+ [JavaTPoint .NET 中文教程📚](https://opendoccn.github.io/javatpoint-dotnet-zh)
|
||||
+ [JavaTPoint Java 中文教程📚](https://opendoccn.github.io/javatpoint-java-zh)
|
||||
+ [JavaTPoint Python 中文教程📚](https://opendoccn.github.io/javatpoint-python-zh)
|
||||
+ [GeeksForGeeks 编程语言杂项中文教程📚](https://opendoccn.github.io/geeksforgeeks-lang-misc-zh)
|
||||
+ [GeeksForGeeks C# 中文教程📚](https://opendoccn.github.io/geeksforgeeks-csharp-zh)
|
||||
+ [GeeksForGeeks Scala 中文教程📚](https://opendoccn.github.io/geeksforgeeks-scala-zh)
|
||||
+ [GeeksForGeeks Python 中文教程📚](https://opendoccn.github.io/geeksforgeeks-python-zh)
|
||||
+ [GeeksForGeeks C/C++ 中文教程📚](https://opendoccn.github.io/geeksforgeeks-c-cpp-zh)
|
||||
+ [GeeksForGeeks Java 中文教程📚](https://opendoccn.github.io/geeksforgeeks-java-zh)
|
||||
+ [GeeksForGeeks JavaScript 中文教程📚](https://opendoccn.github.io/geeksforgeeks-js-zh)
|
||||
+ [飞龙的 C# 译文集📚](https://opendoccn.github.io/opendoccn-csharp-zh)
|
||||
+ [飞龙的 C# 译文集(二)📚](https://opendoccn.github.io/opendoccn-csharp-zh-pt2)
|
||||
+ [飞龙的 C# 译文集(三)📚](https://opendoccn.github.io/opendoccn-csharp-zh-pt3)
|
||||
+ [飞龙的 C# 译文集(四)📚](https://opendoccn.github.io/opendoccn-csharp-zh-pt4)
|
||||
+ [飞龙的 Golang 译文集📚](https://opendoccn.github.io/opendoccn-golang-zh)
|
||||
+ [飞龙的 Golang 译文集(二)📚](https://opendoccn.github.io/opendoccn-golang-zh-pt2)
|
||||
+ [飞龙的 C/C++ 译文集📚](https://opendoccn.github.io/opendoccn-c-cpp-zh)
|
||||
+ [飞龙的 C/C++ 译文集(二)📚](https://opendoccn.github.io/opendoccn-c-cpp-zh-pt2)
|
||||
+ [飞龙的 C/C++ 译文集(三)📚](https://opendoccn.github.io/opendoccn-c-cpp-zh-pt3)
|
||||
+ [飞龙的 Java 译文集📚](https://opendoccn.github.io/opendoccn-java-zh)
|
||||
+ [飞龙的 Java 译文集(二)📚](https://opendoccn.github.io/opendoccn-java-zh-pt2)
|
||||
+ [飞龙的 Java 译文集(三)📚](https://opendoccn.github.io/opendoccn-java-zh-pt3)
|
||||
+ [飞龙的 JavaScript 译文集📚](https://opendoccn.github.io/opendoccn-js-zh)
|
||||
+ [飞龙的 JavaScript 译文集(二)📚](https://opendoccn.github.io/opendoccn-js-zh-pt2)
|
||||
+ [飞龙的 JavaScript 译文集(三)📚](https://opendoccn.github.io/opendoccn-js-zh-pt3)
|
||||
+ [飞龙的 JavaScript 译文集(四)📚](https://opendoccn.github.io/opendoccn-js-zh-pt4)
|
||||
+ [飞龙的 Python 译文集📚](https://opendoccn.github.io/opendoccn-python-zh)
|
||||
+ [飞龙的 Python 译文集(二)📚](https://opendoccn.github.io/opendoccn-python-zh-pt2)
|
||||
+ [飞龙的 Python 译文集(三)📚](https://opendoccn.github.io/opendoccn-python-zh-pt3)
|
||||
+ [飞龙的 Python 译文集(四)📚](https://opendoccn.github.io/opendoccn-python-zh-pt4)
|
||||
+ [飞龙的 Ruby 译文集📚](https://opendoccn.github.io/opendoccn-ruby-zh)
|
||||
+ [BeginnersBook 中文系列教程📚](https://opendoccn.github.io/beginnersbook-zh)
|
||||
+ [JavaScript 编程精解 中文第三版](https://opendoccn.github.io/eloquent-js-3e-zh)
|
||||
+ [Guru99 中文系列教程📚🚧](https://opendoccn.github.io/guru99-zh)
|
||||
+ [HowToDoInJava 中文系列教程📚](https://opendoccn.github.io/howtodoinjava-zh)
|
||||
+ [OverIQ 中文系列教程📚](https://opendoccn.github.io/overiq-zh)
|
||||
+ [LearnETutroials 中文系列教程📚](https://opendoccn.github.io/learnetutorials-zh)
|
||||
+ [StudyTonight 中文系列教程📚](https://opendoccn.github.io/studytonight-zh)
|
||||
+ [TutorialGateway 中文系列教程📚](https://opendoccn.github.io/tutorialgateway-zh)
|
||||
+ [TutorialGateway BI 中文系列教程📚](https://opendoccn.github.io/tutorialgateway-bi-zh)
|
||||
+ [TutorialsTeacher 中文系列教程📚](https://opendoccn.github.io/tutorialsteacher-zh)
|
||||
+ [通过示例学 Golang 2020 中文版](https://opendoccn.github.io/golang-by-example-2020-zh)
|
||||
+ [写给不耐烦程序员的 JavaScript🚧](https://opendoccn.github.io/impatient-js-zh)
|
||||
+ [JavaBeginnersTutorial 中文系列教程📚](https://opendoccn.github.io/jbt-zh)
|
||||
+ [JavaTutorialNetwork 中文系列教程📚](https://opendoccn.github.io/jtn-zh)
|
||||
+ [笨办法学 C 中文版](https://opendoccn.github.io/lcthw-zh)
|
||||
+ [笨办法学 Python · 续 中文版](https://opendoccn.github.io/lmpythw-zh)
|
||||
+ [Programiz 中文系列教程📚](https://opendoccn.github.io/programiz-zh)
|
||||
+ [PythonBasics 中文系列教程📚](https://opendoccn.github.io/pythonbasics-zh)
|
||||
+ [PythonGuru 中文系列教程📚](https://opendoccn.github.io/pythonguru-zh)
|
||||
+ [PythonSpot 中文系列教程📚](https://opendoccn.github.io/pythonspot-zh)
|
||||
+ [Think Python](https://opendoccn.github.io/think-py-2e-zh)
|
||||
+ [ZetCode 中文系列教程📚](https://opendoccn.github.io/zetcode-zh)
|
||||
+ 前端
|
||||
+ [JavaTPoint 移动开发中文教程📚](https://opendoccn.github.io/javatpoint-mobi-zh)
|
||||
+ [GeeksForGeeks Web 杂项中文教程📚](https://opendoccn.github.io/geeksforgeeks-web-misc-zh)
|
||||
+ [GeeksForGeeks Angular/Vue/React 中文教程📚](https://opendoccn.github.io/geeksforgeeks-ng-vue-react-zh)
|
||||
+ [GeeksForGeeks jQuery 中文教程📚](https://opendoccn.github.io/geeksforgeeks-jquery-zh)
|
||||
+ [GeeksForGeeks CSS 中文教程📚](https://opendoccn.github.io/geeksforgeeks-css-zh)
|
||||
+ [GeeksForGeeks HTML 中文教程📚](https://opendoccn.github.io/geeksforgeeks-html-zh)
|
||||
+ [飞龙的 Vue 译文集📚](https://opendoccn.github.io/opendoccn-vue-zh)
|
||||
+ [飞龙的 Angular 译文集📚](https://opendoccn.github.io/opendoccn-angular-zh)
|
||||
+ [飞龙的 React 译文集📚](https://opendoccn.github.io/opendoccn-react-zh)
|
||||
+ [飞龙的 jQuery 译文集📚](https://opendoccn.github.io/opendoccn-jquery-zh)
|
||||
+ [飞龙的 jQuery 译文集(二)📚](https://opendoccn.github.io/opendoccn-jquery-zh-pt2)
|
||||
+ 后端/大数据
|
||||
+ [JavaTPoint 大数据中文教程📚](https://opendoccn.github.io/javatpoint-bigdata-zh)
|
||||
+ [JavaTPoint Web 开发中文教程📚](https://opendoccn.github.io/javatpoint-web-zh)
|
||||
+ [JavaTPoint 数据库中文教程📚](https://opendoccn.github.io/javatpoint-db-zh)
|
||||
+ [JavaTPoint PHP 中文教程📚](https://opendoccn.github.io/javatpoint-php-zh)
|
||||
+ [GeeksForGeeks ASP 中文教程📚](https://opendoccn.github.io/geeksforgeeks-asp-zh)
|
||||
+ [GeeksForGeeks SQL 中文教程📚](https://opendoccn.github.io/geeksforgeeks-sql-zh)
|
||||
+ [GeeksForGeeks NodeJS 中文教程📚](https://opendoccn.github.io/geeksforgeeks-nodejs-zh)
|
||||
+ [GeeksForGeeks PHP 中文教程📚](https://opendoccn.github.io/geeksforgeeks-php-zh)
|
||||
+ [飞龙的数据库译文集📚](https://opendoccn.github.io/opendoccn-db-zh)
|
||||
+ [飞龙的数据库译文集(二)📚](https://opendoccn.github.io/opendoccn-db-zh-pt2)
|
||||
+ [飞龙的 Python Web 译文集📚](https://opendoccn.github.io/opendoccn-pythonweb-zh)
|
||||
+ [飞龙的 Python Web 译文集(二)📚](https://opendoccn.github.io/opendoccn-pythonweb-zh-pt2)
|
||||
+ [飞龙的 Asp.NET 译文集📚](https://opendoccn.github.io/opendoccn-asp-dotnet-zh)
|
||||
+ [飞龙的 Asp.NET 译文集(二)📚](https://opendoccn.github.io/opendoccn-asp-dotnet-zh-pt2)
|
||||
+ [飞龙的 Asp.NET 译文集(三)📚](https://opendoccn.github.io/opendoccn-asp-dotnet-zh-pt3)
|
||||
+ [飞龙的 Asp.NET 译文集(四)📚](https://opendoccn.github.io/opendoccn-asp-dotnet-zh-pt4)
|
||||
+ [飞龙的 NodeJS 译文集📚](https://opendoccn.github.io/opendoccn-node-zh)
|
||||
+ [飞龙的 NodeJS 译文集(二)📚](https://opendoccn.github.io/opendoccn-node-zh-pt2)
|
||||
+ [飞龙的 PHP 译文集📚](https://opendoccn.github.io/opendoccn-php-zh)
|
||||
+ [飞龙的 PHP 译文集(二)📚](https://opendoccn.github.io/opendoccn-php-zh-pt2)
|
||||
+ [飞龙的大数据译文集(二)📚](https://opendoccn.github.io/opendoccn-bigdata-zh-pt2)
|
||||
+ [飞龙的大数据译文集(三)📚](https://opendoccn.github.io/opendoccn-bigdata-zh-pt3)
|
||||
+ [飞龙的大数据译文集📚](https://opendoccn.github.io/opendoccn-bigdata-zh)
|
||||
+ [飞龙的 Java Web 译文集📚](https://opendoccn.github.io/opendoccn-javaweb-zh)
|
||||
+ [飞龙的 Java Web 译文集(二)📚](https://opendoccn.github.io/opendoccn-javaweb-zh-pt2)
|
||||
+ [Airflow 中文文档](https://opendoccn.github.io/airflow-doc-zh)
|
||||
+ [Elasticsearch 5.4 中文文档](https://opendoccn.github.io/elasticsearch-doc-zh)
|
||||
+ [Flink 中文文档](https://opendoccn.github.io/flink-doc-zh)
|
||||
+ [HBase™ 中文参考指南 3.0🚧](https://opendoccn.github.io/hbase-doc-zh)
|
||||
+ [HighScalability 中文示例📚🚧](https://opendoccn.github.io/highscalability-examples-zh)
|
||||
+ [Kibana 5.2 中文文档](https://opendoccn.github.io/kibana-doc-zh)
|
||||
+ [Kudu 1.4.0 中文文档](https://opendoccn.github.io/kudu-doc-zh)
|
||||
+ [Apache Spark 官方文档中文版](https://opendoccn.github.io/spark-doc-zh)
|
||||
+ [Apache Kafka 官方文档中文版](https://opendoccn.github.io/kafka-site-zh)
|
||||
+ [Spring Boot 1.5.2 中文文档](https://opendoccn.github.io/spring-boot-doc-zh)
|
||||
+ [Storm 1.1.0 中文文档](https://opendoccn.github.io/storm-doc-zh)
|
||||
+ [Zeppelin 0.7.2 中文文档](https://opendoccn.github.io/zeppelin-doc-zh)
|
||||
+ 工具
|
||||
+ [JavaTPoint 实用工具中文教程📚](https://opendoccn.github.io/javatpoint-util-zh)
|
||||
+ [飞龙的 DevOps 译文集📚](https://opendoccn.github.io/opendoccn-devops-zh)
|
||||
+ [飞龙的 DevOps 译文集(二)📚](https://opendoccn.github.io/opendoccn-devops-zh-pt2)
|
||||
+ [飞龙的 DevOps 译文集(三)📚](https://opendoccn.github.io/opendoccn-devops-zh-pt3)
|
||||
+ [飞龙的 DevOps 译文集(四)📚](https://opendoccn.github.io/opendoccn-devops-zh-pt4)
|
||||
+ [飞龙的 DevOps 译文集(五)📚](https://opendoccn.github.io/opendoccn-devops-zh-pt5)
|
||||
+ [飞龙的 Linux 译文集📚](https://opendoccn.github.io/opendoccn-linux-zh)
|
||||
+ [飞龙的 Linux 译文集(二)📚](https://opendoccn.github.io/opendoccn-linux-zh-pt2)
|
||||
+ [飞龙的 Linux 译文集(三)📚](https://opendoccn.github.io/opendoccn-linux-zh-pt3)
|
||||
+ [Cython 3.0 中文文档🚧](https://opendoccn.github.io/cython-doc-zh)
|
||||
+ [Git 中文参考🚧](https://opendoccn.github.io/git-doc-zh)
|
||||
+ [Gitlab 中文文档🚧](https://opendoccn.github.io/gitlab-doc-zh)
|
||||
+ [笨办法学 Linux 中文版](https://opendoccn.github.io/llthw-zh)
|
||||
+ [Numba 0.44 中文文档🚧](https://opendoccn.github.io/numba-doc-zh)
|
||||
+ [PyQt4 中文文档🚧](https://opendoccn.github.io/pyqt4-doc-zh)
|
||||
+ [Scrapy 1.6 中文文档](https://opendoccn.github.io/scrapy-doc-zh)
|
||||
+ 数据科学
|
||||
+ [飞龙的数据科学译文集📚](https://opendoccn.github.io/opendoccn-ds-zh)
|
||||
+ [飞龙的数据科学译文集(二)📚](https://opendoccn.github.io/opendoccn-ds-zh-pt2)
|
||||
+ [飞龙的数据科学译文集(三)📚](https://opendoccn.github.io/opendoccn-ds-zh-pt3)
|
||||
+ [飞龙的数据科学译文集📚](https://opendoccn.github.io/opendoccn-ds-zh)
|
||||
+ [MIT 18.03 面向初学者的微积分🚧](https://opendoccn.github.io/calc4b-zh)
|
||||
+ [UCB Data8 计算与推断思维](https://opendoccn.github.io/data8-textbook-zh)
|
||||
+ [数据可视化的基础知识](https://opendoccn.github.io/dataviz-zh)
|
||||
+ [数据科学和人工智能技术笔记](https://opendoccn.github.io/ds-ai-tech-notes)
|
||||
+ [数据科学 IPython 笔记本📚](https://opendoccn.github.io/ds-ipynb-zh)
|
||||
+ [UCB DS100 数据科学的原理与技巧🚧](https://opendoccn.github.io/ds100-textbook-zh)
|
||||
+ [飞龙的数据科学和人工智能知识库](https://opendoccn.github.io/dsai-wiki)
|
||||
+ [Matplotlib 用户指南](https://opendoccn.github.io/matplotlib-doc-zh)
|
||||
+ [MIT 18.06 线性代数笔记](https://opendoccn.github.io/mit-18.06-linalg-notes)
|
||||
+ [利用 Python 进行数据分析 · 第 2 版](https://opendoccn.github.io/pyda-2e-zh)
|
||||
+ [QuantLearning](https://opendoccn.github.io/quant-learning)
|
||||
+ [seaborn 0.9 中文文档](https://opendoccn.github.io/seaborn-doc-zh)
|
||||
+ [社交媒体挖掘 - 翻译版](https://opendoccn.github.io/socialmediamining-zh)
|
||||
+ [斯坦福 Stats60 21 世纪的统计思维🚧](https://opendoccn.github.io/stats-thinking-21-zh)
|
||||
+ [复杂性思维 中文第二版](https://opendoccn.github.io/think-comp-2e-zh)
|
||||
+ [PyMiner 开发者指南](https://opendoccn.github.io/pyminer-dev-guide)
|
||||
+ 人工智能
|
||||
+ [JavaTPoint 数据科学与人工智能中文教程📚](https://opendoccn.github.io/javatpoint-dsai-zh)
|
||||
+ [GeeksForGeeks 人工智能中文教程📚](https://opendoccn.github.io/geeksforgeeks-ai-zh)
|
||||
+ [AILearning📚](https://opendoccn.github.io/ailearning)
|
||||
+ [飞龙的计算机视觉译文集📚](https://opendoccn.github.io/opendoccn-cv-zh)
|
||||
+ [飞龙的计算机视觉译文集(二)📚](https://opendoccn.github.io/opendoccn-cv-zh-pt2)
|
||||
+ [飞龙的深度学习译文集📚](https://opendoccn.github.io/opendoccn-dl-zh)
|
||||
+ [飞龙的深度学习译文集(二)📚](https://opendoccn.github.io/opendoccn-dl-zh-pt2)
|
||||
+ [飞龙的深度学习译文集(三)📚](https://opendoccn.github.io/opendoccn-dl-zh-pt3)
|
||||
+ [飞龙的机器学习译文集📚](https://opendoccn.github.io/opendoccn-ml-zh)
|
||||
+ [飞龙的机器学习译文集(二)📚](https://opendoccn.github.io/opendoccn-ml-zh-pt2)
|
||||
+ [飞龙的机器学习译文集(三)📚](https://opendoccn.github.io/opendoccn-ml-zh-pt3)
|
||||
+ [FastText 中文文档](https://opendoccn.github.io/fasttext-doc-zh)
|
||||
+ [面向机器学习的特征工程](https://opendoccn.github.io/fe4ml-zh)
|
||||
+ [Gensim 中文文档](https://opendoccn.github.io/gensim-doc-zh)
|
||||
+ [Sklearn 与 TensorFlow 机器学习实用指南第二版](https://opendoccn.github.io/hands-on-ml-2e-zh)
|
||||
+ [LightGBM 中文文档](https://opendoccn.github.io/lightgbm-doc-zh)
|
||||
+ [Machine Learning Mastery 博客文章翻译📚🚧](https://opendoccn.github.io/ml-mastery-zh)
|
||||
+ [Machine Learning Mastery 博客文章翻译(二)📚🚧](https://opendoccn.github.io/ml-mastery-zh-pt2)
|
||||
+ [Python 自然语言处理 第二版](https://opendoccn.github.io/nlp-py-2e-zh)
|
||||
+ [PyTorch 自然语言处理](https://opendoccn.github.io/nlp-pytorch-zh)
|
||||
+ [台湾大学林轩田机器学习笔记](https://opendoccn.github.io/ntu-hsuantienlin-ml)
|
||||
+ [OpenCV 中文文档 4.0.0](https://opendoccn.github.io/opencv-doc-zh)
|
||||
+ [PythonProgramming.net 系列教程📚](https://opendoccn.github.io/python-programming-net-zh)
|
||||
+ [PyTorch 中文教程](https://opendoccn.github.io/pytorch-doc-zh)
|
||||
+ [scikit-learn (sklearn) 官方文档中文版](https://opendoccn.github.io/sklearn-doc-zh)
|
||||
+ [XGBoost 中文文档](https://opendoccn.github.io/xgboost-doc-zh)
|
||||
+ 计算机科学
|
||||
+ [JavaTPoint 计算机科学中文教程📚](https://opendoccn.github.io/javatpoint-cs-zh)
|
||||
+ [飞龙的数据结构与算法译文集📚](https://opendoccn.github.io/opendoccn-algo-zh)
|
||||
+ [飞龙的计算机系统译文集📚](https://opendoccn.github.io/opendoccn-sys-zh)
|
||||
+ [NUS CS1101s SICP JavaScript 描述🚧](https://opendoccn.github.io/sicp-js-zh)
|
||||
+ [UCB CS61a SICP Python 描述](https://opendoccn.github.io/sicp-py-zh)
|
||||
+ [数据结构思维中文版](https://opendoccn.github.io/think-dast-zh)
|
||||
+ [UIUC CS241 系统编程中文讲义🚧](https://opendoccn.github.io/uiuc-cs241-notes-zh)
|
||||
+ 安全
|
||||
+ [飞龙的 Kali Linux 译文集📚](https://opendoccn.github.io/opendoccn-kali-zh)
|
||||
+ [飞龙的网络安全译文集📚](https://opendoccn.github.io/opendoccn-sec-zh)
|
||||
+ [飞龙的网络安全译文集(二)📚](https://opendoccn.github.io/opendoccn-sec-zh-pt2)
|
||||
+ [SecLearning——零组文库备份📚](https://opendoccn.github.io/sec-learning)
|
||||
+ [飞龙的安全知识库📚](https://opendoccn.github.io/sec-wiki)
|
||||
+ [Web Hacking 101 中文版](https://opendoccn.github.io/web-hacking-101-zh)
|
||||
+ 其它
|
||||
+ [生化环材劝退文集](https://opendoccn.github.io/bio-chem-env-mat-discourage)
|
||||
+ [5 分钟商学院精细笔记](https://opendoccn.github.io/business-5min-notes)
|
||||
+ [iBooker 布客](https://opendoccn.github.io/home)
|
||||
+ [iBooker 布客老实人报](https://opendoccn.github.io/ibooker-plain-dealer)
|
||||
+ [使用 Qiskit 学习量子计算 - 翻译版](https://opendoccn.github.io/lqcuq-zh)
|
||||
+ [原则 · 中文版](https://opendoccn.github.io/principles-zh)
|
||||
+ [斯坦福 CS183 & YC 创业课系列中文笔记📚](https://opendoccn.github.io/stanford-cs183-notes)
|
||||
+ [iBooker 团队知识库📚](https://opendoccn.github.io/team-wiki)
|
||||
+ [飞龙的技术评论](https://opendoccn.github.io/tech-review)
|
||||
+ [通往财富自由之路精细笔记](https://opendoccn.github.io/the-way-to-wealth-freedom-notes)
|
||||
|
|
@ -0,0 +1,65 @@
|
|||
<!--
|
||||
需要填充的占位符:
|
||||
|
||||
README.md
|
||||
|
||||
{name}:文档中文名
|
||||
{nameEn}:文档英文名
|
||||
{urlEn}:文档原始链接
|
||||
{domain}:域名前缀
|
||||
{adminName}:负责人名称
|
||||
{adminUn}:负责人 Github 用户名
|
||||
{adminQq}:负责人 QQ
|
||||
{repo}:ApacheCN 的 Github 仓库名称
|
||||
{dockerName}:DockerHub 仓库名称
|
||||
{pypiName}:PYPI 包名称
|
||||
{npmName}:NPM 包名称
|
||||
|
||||
CNAME
|
||||
|
||||
{domain}:域名前缀
|
||||
|
||||
index.html
|
||||
|
||||
{name}:文档中文名
|
||||
{color}:显示颜色
|
||||
{repo}:ApacheCN 的 Github 仓库名称
|
||||
|
||||
asset/docsify-flygon-footer.js
|
||||
|
||||
{repo}:ApacheCN 的 Github 仓库名称
|
||||
-->
|
||||
|
||||
# {name}
|
||||
|
||||
> 原文:[{nameEn}]({urlEn})
|
||||
>
|
||||
> 协议:[CC BY-NC-SA 4.0](http://creativecommons.org/licenses/by-nc-sa/4.0/)
|
||||
>
|
||||
> 阶段:机翻(1)
|
||||
>
|
||||
> 真相一旦入眼,你就再也无法视而不见。——《黑客帝国》
|
||||
|
||||
* [在线阅读](https://{domain}.flygon.net)
|
||||
|
||||
## 下载
|
||||
|
||||
### Docker
|
||||
|
||||
```
|
||||
docker pull apachecn0/{dockerName}
|
||||
docker run -tid -p <port>:80 apachecn0/{dockerName}
|
||||
# 访问 http://localhost:{port} 查看文档
|
||||
```
|
||||
|
||||
### NPM
|
||||
|
||||
```
|
||||
npm install -g {npmName}
|
||||
{npmName} <port>
|
||||
# 访问 http://localhost:{port} 查看文档
|
||||
```
|
||||
|
||||
## 赞助我
|
||||
|
||||

|
||||
Binary file not shown.
|
|
@ -0,0 +1,19 @@
|
|||
#scroll-btn {
|
||||
position: fixed;
|
||||
right: 15px;
|
||||
bottom: 10px;
|
||||
width: 35px;
|
||||
height: 35px;
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
cursor: pointer;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
background-image: url(up.svg);
|
||||
background-position-y: -1px;
|
||||
display: none;
|
||||
border: 2px solid;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
document.addEventListener('DOMContentLoaded', function() {
|
||||
var scrollBtn = document.createElement('div')
|
||||
scrollBtn.id = 'scroll-btn'
|
||||
document.body.append(scrollBtn)
|
||||
|
||||
window.addEventListener('scroll', function() {
|
||||
var offset = window.document.documentElement.scrollTop;
|
||||
scrollBtn.style.display = offset >= 500 ? "block" : "none";
|
||||
})
|
||||
scrollBtn.addEventListener('click', function(e) {
|
||||
e.stopPropagation();
|
||||
var step = window.scrollY / 15;
|
||||
var hdl = setInterval(function() {
|
||||
window.scrollTo(0, window.scrollY - step);
|
||||
if(window.scrollY <= 0) {
|
||||
clearInterval(hdl)
|
||||
}
|
||||
}, 15)
|
||||
})
|
||||
})
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
#dark-mode-btn {
|
||||
position: fixed;
|
||||
right: 15px;
|
||||
top: 100px;
|
||||
width: 35px;
|
||||
height: 35px;
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
cursor: pointer;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
transition: background-image .15s ease-in-out .15s;
|
||||
}
|
||||
|
||||
.dark-logo {
|
||||
background-image: url('sun.svg');
|
||||
}
|
||||
|
||||
.light-logo {
|
||||
background-image: url('moon.svg');
|
||||
}
|
||||
|
|
@ -0,0 +1,42 @@
|
|||
document.addEventListener('DOMContentLoaded', function() {
|
||||
var style = document.querySelector('#invert')
|
||||
if (style == null) {
|
||||
style = document.createElement('style')
|
||||
style.id = 'invert'
|
||||
document.head.append(style)
|
||||
}
|
||||
var btn = document.querySelector('#dark-mode-btn')
|
||||
if (btn == null) {
|
||||
btn = document.createElement('div')
|
||||
btn.id = 'dark-mode-btn'
|
||||
btn.classList.add('light-logo')
|
||||
document.body.append(btn)
|
||||
}
|
||||
|
||||
var enableDarkMode = function() {
|
||||
style.innerText = 'html,img,pre,#dark-mode-btn{filter:invert(100%)}'
|
||||
btn.classList.remove('light-logo')
|
||||
btn.classList.add('dark-logo')
|
||||
localStorage.darkLight = 'dark'
|
||||
|
||||
}
|
||||
var disableDarkMode = function() {
|
||||
style.innerText = ''
|
||||
btn.classList.remove('dark-logo')
|
||||
btn.classList.add('light-logo')
|
||||
localStorage.darkLight = 'light'
|
||||
}
|
||||
|
||||
btn.addEventListener('click', function(){
|
||||
var currMode = localStorage.darkLight || 'light'
|
||||
if (currMode == 'light')
|
||||
enableDarkMode()
|
||||
else
|
||||
disableDarkMode()
|
||||
})
|
||||
|
||||
if (localStorage.darkLight == 'dark')
|
||||
enableDarkMode()
|
||||
|
||||
})
|
||||
|
||||
|
|
@ -0,0 +1,34 @@
|
|||
(function(){
|
||||
var cnzzId = window.$docsify.cnzzId
|
||||
var unRepo = window.$docsify.repo || ''
|
||||
var [un, repo] = unRepo.split('/')
|
||||
var footer = `
|
||||
<hr/>
|
||||
<div align="center">
|
||||
<p><a href="http://www.apachecn.org/" target="_blank"><font face="KaiTi" size="6" color="red">我们一直在努力</font></a><p>
|
||||
<p><a href="https://github.com/${unRepo}" target="_blank">${unRepo}</a></p>
|
||||
<p><iframe align="middle" src="https://ghbtns.com/github-btn.html?user=${un}&repo=${repo}&type=watch&count=true&v=2" frameborder="0" scrolling="0" width="100px" height="25px"></iframe>
|
||||
<iframe align="middle" src="https://ghbtns.com/github-btn.html?user=${un}&repo=${repo}&type=star&count=true" frameborder="0" scrolling="0" width="100px" height="25px"></iframe>
|
||||
<iframe align="middle" src="https://ghbtns.com/github-btn.html?user=${un}&repo=${repo}&type=fork&count=true" frameborder="0" scrolling="0" width="100px" height="25px"></iframe>
|
||||
<a target="_blank" href="https://jq.qq.com/?_wv=1027&k=fgYM7eMw"><img border="0" src="//pub.idqqimg.com/wpa/images/group.png" alt="iBooker 面试求职" title="iBooker 面试求职"></a></p>
|
||||
<p><span id="cnzz_stat_icon_${cnzzId}"></span></p>
|
||||
<div style="text-align:center;margin:0 0 10.5px;">
|
||||
<ins class="adsbygoogle"
|
||||
style="display:inline-block;width:728px;height:90px"
|
||||
data-ad-client="ca-pub-3565452474788507"
|
||||
data-ad-slot="2543897000"></ins>
|
||||
</div>
|
||||
</div>
|
||||
`
|
||||
var plugin = function(hook) {
|
||||
hook.afterEach(function(html) {
|
||||
return html + footer
|
||||
})
|
||||
hook.doneEach(function() {
|
||||
(adsbygoogle = window.adsbygoogle || []).push({})
|
||||
})
|
||||
}
|
||||
var plugins = window.$docsify.plugins || []
|
||||
plugins.push(plugin)
|
||||
window.$docsify.plugins = plugins
|
||||
})()
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
(function(){
|
||||
var plugin = function(hook) {
|
||||
hook.doneEach(function() {
|
||||
new Image().src =
|
||||
'//api.share.baidu.com/s.gif?r=' +
|
||||
encodeURIComponent(document.referrer) +
|
||||
"&l=" + encodeURIComponent(location.href)
|
||||
})
|
||||
}
|
||||
var plugins = window.$docsify.plugins || []
|
||||
plugins.push(plugin)
|
||||
window.$docsify.plugins = plugins
|
||||
})()
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
(function(){
|
||||
var plugin = function(hook) {
|
||||
hook.doneEach(function() {
|
||||
window._hmt = window._hmt || []
|
||||
var hm = document.createElement("script")
|
||||
hm.src = "https://hm.baidu.com/hm.js?" + window.$docsify.bdStatId
|
||||
document.querySelector("article").appendChild(hm)
|
||||
})
|
||||
}
|
||||
var plugins = window.$docsify.plugins || []
|
||||
plugins.push(plugin)
|
||||
window.$docsify.plugins = plugins
|
||||
})()
|
||||
|
|
@ -0,0 +1,197 @@
|
|||
(function() {
|
||||
var ids = [
|
||||
'109577065', '108852955', '102682374', '100520874', '92400861', '90312982',
|
||||
'109963325', '109323014', '109301511', '108898970', '108590722', '108538676',
|
||||
'108503526', '108437109', '108402202', '108292691', '108291153', '108268498',
|
||||
'108030854', '107867070', '107847299', '107827334', '107825454', '107802131',
|
||||
'107775320', '107752974', '107735139', '107702571', '107598864', '107584507',
|
||||
'107568311', '107526159', '107452391', '107437455', '107430050', '107395781',
|
||||
'107325304', '107283210', '107107145', '107085440', '106995421', '106993460',
|
||||
'106972215', '106959775', '106766787', '106749609', '106745967', '106634313',
|
||||
'106451602', '106180097', '106095505', '106077010', '106008089', '106002346',
|
||||
'105653809', '105647855', '105130705', '104837872', '104706815', '104192620',
|
||||
'104074941', '104040537', '103962171', '103793502', '103783460', '103774572',
|
||||
'103547748', '103547703', '103547571', '103490757', '103413481', '103341935',
|
||||
'103330191', '103246597', '103235808', '103204403', '103075981', '103015105',
|
||||
'103014899', '103014785', '103014702', '103014540', '102993780', '102993754',
|
||||
'102993680', '102958443', '102913317', '102903382', '102874766', '102870470',
|
||||
'102864513', '102811179', '102761237', '102711565', '102645443', '102621845',
|
||||
'102596167', '102593333', '102585262', '102558427', '102537547', '102530610',
|
||||
'102527017', '102504698', '102489806', '102372981', '102258897', '102257303',
|
||||
'102056248', '101920097', '101648638', '101516708', '101350577', '101268149',
|
||||
'101128167', '101107328', '101053939', '101038866', '100977414', '100945061',
|
||||
'100932401', '100886407', '100797378', '100634918', '100588305', '100572447',
|
||||
'100192249', '100153559', '100099032', '100061455', '100035392', '100033450',
|
||||
'99671267', '99624846', '99172551', '98992150', '98989508', '98987516', '98938304',
|
||||
'98937682', '98725145', '98521688', '98450861', '98306787', '98203342', '98026348',
|
||||
'97680167', '97492426', '97108940', '96888872', '96568559', '96509100', '96508938',
|
||||
'96508611', '96508374', '96498314', '96476494', '96333593', '96101522', '95989273',
|
||||
'95960507', '95771870', '95770611', '95766810', '95727700', '95588929', '95218707',
|
||||
'95073151', '95054615', '95016540', '94868371', '94839549', '94719281', '94401578',
|
||||
'93931439', '93853494', '93198026', '92397889', '92063437', '91635930', '91433989',
|
||||
'91128193', '90915507', '90752423', '90738421', '90725712', '90725083', '90722238',
|
||||
'90647220', '90604415', '90544478', '90379769', '90288341', '90183695', '90144066',
|
||||
'90108283', '90021771', '89914471', '89876284', '89852050', '89839033', '89812373',
|
||||
'89789699', '89786189', '89752620', '89636380', '89632889', '89525811', '89480625',
|
||||
'89464088', '89464025', '89463984', '89463925', '89445280', '89441793', '89430432',
|
||||
'89429877', '89416176', '89412750', '89409618', '89409485', '89409365', '89409292',
|
||||
'89409222', '89399738', '89399674', '89399526', '89355336', '89330241', '89308077',
|
||||
'89222240', '89140953', '89139942', '89134398', '89069355', '89049266', '89035735',
|
||||
'89004259', '88925790', '88925049', '88915838', '88912706', '88911548', '88899438',
|
||||
'88878890', '88837519', '88832555', '88824257', '88777952', '88752158', '88659061',
|
||||
'88615256', '88551434', '88375675', '88322134', '88322085', '88321996', '88321978',
|
||||
'88321950', '88321931', '88321919', '88321899', '88321830', '88321756', '88321710',
|
||||
'88321661', '88321632', '88321566', '88321550', '88321506', '88321475', '88321440',
|
||||
'88321409', '88321362', '88321321', '88321293', '88321226', '88232699', '88094874',
|
||||
'88090899', '88090784', '88089091', '88048808', '87938224', '87913318', '87905933',
|
||||
'87897358', '87856753', '87856461', '87827666', '87822008', '87821456', '87739137',
|
||||
'87734022', '87643633', '87624617', '87602909', '87548744', '87548689', '87548624',
|
||||
'87548550', '87548461', '87463201', '87385913', '87344048', '87078109', '87074784',
|
||||
'87004367', '86997632', '86997466', '86997303', '86997116', '86996474', '86995899',
|
||||
'86892769', '86892654', '86892569', '86892457', '86892347', '86892239', '86892124',
|
||||
'86798671', '86777307', '86762845', '86760008', '86759962', '86759944', '86759930',
|
||||
'86759922', '86759646', '86759638', '86759633', '86759622', '86759611', '86759602',
|
||||
'86759596', '86759591', '86759580', '86759572', '86759567', '86759558', '86759545',
|
||||
'86759534', '86749811', '86741502', '86741074', '86741059', '86741020', '86740897',
|
||||
'86694754', '86670104', '86651882', '86651875', '86651866', '86651828', '86651790',
|
||||
'86651767', '86651756', '86651735', '86651720', '86651708', '86618534', '86618526',
|
||||
'86594785', '86590937', '86550497', '86550481', '86550472', '86550453', '86550438',
|
||||
'86550429', '86550407', '86550381', '86550359', '86536071', '86536035', '86536014',
|
||||
'86535988', '86535963', '86535953', '86535932', '86535902', '86472491', '86472298',
|
||||
'86472236', '86472191', '86472108', '86471967', '86471899', '86471822', '86439022',
|
||||
'86438972', '86438902', '86438887', '86438867', '86438836', '86438818', '85850119',
|
||||
'85850075', '85850021', '85849945', '85849893', '85849837', '85849790', '85849740',
|
||||
'85849661', '85849620', '85849550', '85606096', '85564441', '85547709', '85471981',
|
||||
'85471317', '85471136', '85471073', '85470629', '85470456', '85470169', '85469996',
|
||||
'85469877', '85469775', '85469651', '85469331', '85469033', '85345768', '85345742',
|
||||
'85337900', '85337879', '85337860', '85337833', '85337797', '85322822', '85322810',
|
||||
'85322791', '85322745', '85317667', '85265742', '85265696', '85265618', '85265350',
|
||||
'85098457', '85057670', '85009890', '84755581', '84637437', '84637431', '84637393',
|
||||
'84637374', '84637355', '84637338', '84637321', '84637305', '84637283', '84637259',
|
||||
'84629399', '84629314', '84629233', '84629124', '84629065', '84628997', '84628933',
|
||||
'84628838', '84628777', '84628690', '84591581', '84591553', '84591511', '84591484',
|
||||
'84591468', '84591416', '84591386', '84591350', '84591308', '84572155', '84572107',
|
||||
'84503228', '84500221', '84403516', '84403496', '84403473', '84403442', '84075703',
|
||||
'84029659', '83933480', '83933459', '83933435', '83903298', '83903274', '83903258',
|
||||
'83752369', '83345186', '83116487', '83116446', '83116402', '83116334', '83116213',
|
||||
'82944248', '82941023', '82938777', '82936611', '82932735', '82918102', '82911085',
|
||||
'82888399', '82884263', '82883507', '82880996', '82875334', '82864060', '82831039',
|
||||
'82823385', '82795277', '82790832', '82775718', '82752022', '82730437', '82718126',
|
||||
'82661646', '82588279', '82588267', '82588261', '82588192', '82347066', '82056138',
|
||||
'81978722', '81211571', '81104145', '81069048', '81006768', '80788365', '80767582',
|
||||
'80759172', '80759144', '80759129', '80736927', '80661288', '80616304', '80602366',
|
||||
'80584625', '80561364', '80549878', '80549875', '80541470', '80539726', '80531328',
|
||||
'80513257', '80469816', '80406810', '80356781', '80334130', '80333252', '80332666',
|
||||
'80332389', '80311244', '80301070', '80295974', '80292252', '80286963', '80279504',
|
||||
'80278369', '80274371', '80249825', '80247284', '80223054', '80219559', '80209778',
|
||||
'80200279', '80164236', '80160900', '80153046', '80149560', '80144670', '80061205',
|
||||
'80046520', '80025644', '80014721', '80005213', '80004664', '80001653', '79990178',
|
||||
'79989283', '79947873', '79946002', '79941517', '79938786', '79932755', '79921178',
|
||||
'79911339', '79897603', '79883931', '79872574', '79846509', '79832150', '79828161',
|
||||
'79828156', '79828149', '79828146', '79828140', '79828139', '79828135', '79828123',
|
||||
'79820772', '79776809', '79776801', '79776788', '79776782', '79776772', '79776767',
|
||||
'79776760', '79776753', '79776736', '79776705', '79676183', '79676171', '79676166',
|
||||
'79676160', '79658242', '79658137', '79658130', '79658123', '79658119', '79658112',
|
||||
'79658100', '79658092', '79658089', '79658069', '79658054', '79633508', '79587857',
|
||||
'79587850', '79587842', '79587831', '79587825', '79587819', '79547908', '79477700',
|
||||
'79477692', '79440956', '79431176', '79428647', '79416896', '79406699', '79350633',
|
||||
'79350545', '79344765', '79339391', '79339383', '79339157', '79307345', '79293944',
|
||||
'79292623', '79274443', '79242798', '79184420', '79184386', '79184355', '79184269',
|
||||
'79183979', '79100314', '79100206', '79100064', '79090813', '79057834', '78967246',
|
||||
'78941571', '78927340', '78911467', '78909741', '78848006', '78628917', '78628908',
|
||||
'78628889', '78571306', '78571273', '78571253', '78508837', '78508791', '78448073',
|
||||
'78430940', '78408150', '78369548', '78323851', '78314301', '78307417', '78300457',
|
||||
'78287108', '78278945', '78259349', '78237192', '78231360', '78141031', '78100357',
|
||||
'78095793', '78084949', '78073873', '78073833', '78067868', '78067811', '78055014',
|
||||
'78041555', '78039240', '77948804', '77879624', '77837792', '77824937', '77816459',
|
||||
'77816208', '77801801', '77801767', '77776636', '77776610', '77505676', '77485156',
|
||||
'77478296', '77460928', '77327521', '77326428', '77278423', '77258908', '77252370',
|
||||
'77248841', '77239042', '77233843', '77230880', '77200256', '77198140', '77196405',
|
||||
'77193456', '77186557', '77185568', '77181823', '77170422', '77164604', '77163389',
|
||||
'77160103', '77159392', '77150721', '77146204', '77141824', '77129604', '77123259',
|
||||
'77113014', '77103247', '77101924', '77100165', '77098190', '77094986', '77088637',
|
||||
'77073399', '77062405', '77044198', '77036923', '77017092', '77007016', '76999924',
|
||||
'76977678', '76944015', '76923087', '76912696', '76890184', '76862282', '76852434',
|
||||
'76829683', '76794256', '76780755', '76762181', '76732277', '76718569', '76696048',
|
||||
'76691568', '76689003', '76674746', '76651230', '76640301', '76615315', '76598528',
|
||||
'76571947', '76551820', '74178127', '74157245', '74090991', '74012309', '74001789',
|
||||
'73910511', '73613471', '73605647', '73605082', '73503704', '73380636', '73277303',
|
||||
'73274683', '73252108', '73252085', '73252070', '73252039', '73252025', '73251974',
|
||||
'73135779', '73087531', '73044025', '73008658', '72998118', '72997953', '72847091',
|
||||
'72833384', '72830909', '72828999', '72823633', '72793092', '72757626', '71157154',
|
||||
'71131579', '71128551', '71122253', '71082760', '71078326', '71075369', '71057216',
|
||||
'70812997', '70384625', '70347260', '70328937', '70313267', '70312950', '70255825',
|
||||
'70238893', '70237566', '70237072', '70230665', '70228737', '70228729', '70175557',
|
||||
'70175401', '70173259', '70172591', '70170835', '70140724', '70139606', '70053923',
|
||||
'69067886', '69063732', '69055974', '69055708', '69031254', '68960022', '68957926',
|
||||
'68957556', '68953383', '68952755', '68946828', '68483371', '68120861', '68065606',
|
||||
'68064545', '68064493', '67646436', '67637525', '67632961', '66984317', '66968934',
|
||||
'66968328', '66491589', '66475786', '66473308', '65946462', '65635220', '65632553',
|
||||
'65443309', '65437683', '63260222', '63253665', '63253636', '63253628', '63253610',
|
||||
'63253572', '63252767', '63252672', '63252636', '63252537', '63252440', '63252329',
|
||||
'63252155', '62888876', '62238064', '62039365', '62038016', '61925813', '60957024',
|
||||
'60146286', '59523598', '59489460', '59480461', '59160354', '59109234', '59089006',
|
||||
'58595549', '57406062', '56678797', '55001342', '55001340', '55001336', '55001330',
|
||||
'55001328', '55001325', '55001311', '55001305', '55001298', '55001290', '55001283',
|
||||
'55001278', '55001272', '55001265', '55001262', '55001253', '55001246', '55001242',
|
||||
'55001236', '54907997', '54798827', '54782693', '54782689', '54782688', '54782676',
|
||||
'54782673', '54782671', '54782662', '54782649', '54782636', '54782630', '54782628',
|
||||
'54782627', '54782624', '54782621', '54782620', '54782615', '54782613', '54782608',
|
||||
'54782604', '54782600', '54767237', '54766779', '54755814', '54755674', '54730253',
|
||||
'54709338', '54667667', '54667657', '54667639', '54646201', '54407212', '54236114',
|
||||
'54234220', '54233181', '54232788', '54232407', '54177960', '53991319', '53932970',
|
||||
'53888106', '53887128', '53885944', '53885094', '53884497', '53819985', '53812640',
|
||||
'53811866', '53790628', '53785053', '53782838', '53768406', '53763191', '53763163',
|
||||
'53763148', '53763104', '53763092', '53576302', '53576157', '53573472', '53560183',
|
||||
'53523648', '53516634', '53514474', '53510917', '53502297', '53492224', '53467240',
|
||||
'53467122', '53437115', '53436579', '53435710', '53415115', '53377875', '53365337',
|
||||
'53350165', '53337979', '53332925', '53321283', '53318758', '53307049', '53301773',
|
||||
'53289364', '53286367', '53259948', '53242892', '53239518', '53230890', '53218625',
|
||||
'53184121', '53148662', '53129280', '53116507', '53116486', '52980893', '52980652',
|
||||
'52971002', '52950276', '52950259', '52944714', '52934397', '52932994', '52924939',
|
||||
'52887083', '52877145', '52858258', '52858046', '52840214', '52829673', '52818774',
|
||||
'52814054', '52805448', '52798019', '52794801', '52786111', '52774750', '52748816',
|
||||
'52745187', '52739313', '52738109', '52734410', '52734406', '52734401', '52515005',
|
||||
'52056818', '52039757', '52034057', '50899381', '50738883', '50726018', '50695984',
|
||||
'50695978', '50695961', '50695931', '50695913', '50695902', '50695898', '50695896',
|
||||
'50695885', '50695852', '50695843', '50695829', '50643222', '50591997', '50561827',
|
||||
'50550829', '50541472', '50527581', '50527317', '50527206', '50527094', '50526976',
|
||||
'50525931', '50525764', '50518363', '50498312', '50493019', '50492927', '50492881',
|
||||
'50492863', '50492772', '50492741', '50492688', '50492454', '50491686', '50491675',
|
||||
'50491602', '50491550', '50491467', '50488409', '50485177', '48683433', '48679853',
|
||||
'48678381', '48626023', '48623059', '48603183', '48599041', '48595555', '48576507',
|
||||
'48574581', '48574425', '48547849', '48542371', '48518705', '48494395', '48493321',
|
||||
'48491545', '48471207', '48471161', '48471085', '48468239', '48416035', '48415577',
|
||||
'48415515', '48297597', '48225865', '48224037', '48223553', '48213383', '48211439',
|
||||
'48206757', '48195685', '48193981', '48154955', '48128811', '48105995', '48105727',
|
||||
'48105441', '48105085', '48101717', '48101691', '48101637', '48101569', '48101543',
|
||||
'48085839', '48085821', '48085797', '48085785', '48085775', '48085765', '48085749',
|
||||
'48085717', '48085687', '48085377', '48085189', '48085119', '48085043', '48084991',
|
||||
'48084747', '48084139', '48084075', '48055511', '48055403', '48054259', '48053917',
|
||||
'47378253', '47359989', '47344793', '47344083', '47336927', '47335827', '47316383',
|
||||
'47315813', '47312213', '47295745', '47294471', '47259467', '47256015', '47255529',
|
||||
'47253649', '47207791', '47206309', '47189383', '47172333', '47170495', '47166223', '47149681', '47146967', '47126915', '47126883', '47108297', '47091823', '47084039',
|
||||
'47080883', '47058549', '47056435', '47054703', '47041395', '47035325', '47035143',
|
||||
'47027547', '47016851', '47006665', '46854213', '46128743', '45035163', '43053503',
|
||||
'41968283', '41958265', '40707993', '40706971', '40685165', '40684953', '40684575',
|
||||
'40683867', '40683021', '39853417', '39806033', '39757139', '38391523', '37595169',
|
||||
'37584503', '35696501', '29593529', '28100441', '27330071', '26950993', '26011757',
|
||||
'26010983', '26010603', '26004793', '26003621', '26003575', '26003405', '26003373',
|
||||
'26003307', '26003225', '26003189', '26002929', '26002863', '26002749', '26001477',
|
||||
'25641541', '25414671', '25410705', '24973063', '20648491', '20621099', '17802317',
|
||||
'17171597', '17141619', '17141381', '17139321', '17121903', '16898605', '16886449',
|
||||
'14523439', '14104635', '14054225', '9317965'
|
||||
]
|
||||
var urlb64 = 'aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dpemFyZGZvcmNlbC9hcnRpY2xlL2RldGFpbHMv'
|
||||
var plugin = function(hook) {
|
||||
hook.doneEach(function() {
|
||||
for (var i = 0; i < 5; i++) {
|
||||
var idx = Math.trunc(Math.random() * ids.length)
|
||||
new Image().src = atob(urlb64) + ids[idx]
|
||||
}
|
||||
})
|
||||
}
|
||||
var plugins = window.$docsify.plugins || []
|
||||
plugins.push(plugin)
|
||||
window.$docsify.plugins = plugins
|
||||
})()
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
(function(){
|
||||
var plugin = function(hook) {
|
||||
hook.doneEach(function() {
|
||||
var sc = document.createElement('script')
|
||||
sc.src = 'https://s5.cnzz.com/z_stat.php?id=' +
|
||||
window.$docsify.cnzzId + '&online=1&show=line'
|
||||
document.querySelector('article').appendChild(sc)
|
||||
})
|
||||
}
|
||||
var plugins = window.$docsify.plugins || []
|
||||
plugins.push(plugin)
|
||||
window.$docsify.plugins = plugins
|
||||
})()
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
/*!
|
||||
* docsify-copy-code
|
||||
* v2.1.0
|
||||
* https://github.com/jperasmus/docsify-copy-code
|
||||
* (c) 2017-2019 JP Erasmus <jperasmus11@gmail.com>
|
||||
* MIT license
|
||||
*/
|
||||
!function(){"use strict";function r(o){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o})(o)}!function(o,e){void 0===e&&(e={});var t=e.insertAt;if(o&&"undefined"!=typeof document){var n=document.head||document.getElementsByTagName("head")[0],c=document.createElement("style");c.type="text/css","top"===t&&n.firstChild?n.insertBefore(c,n.firstChild):n.appendChild(c),c.styleSheet?c.styleSheet.cssText=o:c.appendChild(document.createTextNode(o))}}(".docsify-copy-code-button,.docsify-copy-code-button span{cursor:pointer;transition:all .25s ease}.docsify-copy-code-button{position:absolute;z-index:1;top:0;right:0;overflow:visible;padding:.65em .8em;border:0;border-radius:0;outline:0;font-size:1em;background:grey;background:var(--theme-color,grey);color:#fff;opacity:0}.docsify-copy-code-button span{border-radius:3px;background:inherit;pointer-events:none}.docsify-copy-code-button .error,.docsify-copy-code-button .success{position:absolute;z-index:-100;top:50%;left:0;padding:.5em .65em;font-size:.825em;opacity:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.docsify-copy-code-button.error .error,.docsify-copy-code-button.success .success{opacity:1;-webkit-transform:translate(-115%,-50%);transform:translate(-115%,-50%)}.docsify-copy-code-button:focus,pre:hover .docsify-copy-code-button{opacity:1}"),document.querySelector('link[href*="docsify-copy-code"]')&&console.warn("[Deprecation] Link to external docsify-copy-code stylesheet is no longer necessary."),window.DocsifyCopyCodePlugin={init:function(){return function(o,e){o.ready(function(){console.warn("[Deprecation] Manually initializing docsify-copy-code using window.DocsifyCopyCodePlugin.init() is no longer necessary.")})}}},window.$docsify=window.$docsify||{},window.$docsify.plugins=[function(o,s){o.doneEach(function(){var o=Array.apply(null,document.querySelectorAll("pre[data-lang]")),c={buttonText:"Copy to clipboard",errorText:"Error",successText:"Copied"};s.config.copyCode&&Object.keys(c).forEach(function(t){var n=s.config.copyCode[t];"string"==typeof n?c[t]=n:"object"===r(n)&&Object.keys(n).some(function(o){var e=-1<location.href.indexOf(o);return c[t]=e?n[o]:c[t],e})});var e=['<button class="docsify-copy-code-button">','<span class="label">'.concat(c.buttonText,"</span>"),'<span class="error">'.concat(c.errorText,"</span>"),'<span class="success">'.concat(c.successText,"</span>"),"</button>"].join("");o.forEach(function(o){o.insertAdjacentHTML("beforeend",e)})}),o.mounted(function(){document.querySelector(".content").addEventListener("click",function(o){if(o.target.classList.contains("docsify-copy-code-button")){var e="BUTTON"===o.target.tagName?o.target:o.target.parentNode,t=document.createRange(),n=e.parentNode.querySelector("code"),c=window.getSelection();t.selectNode(n),c.removeAllRanges(),c.addRange(t);try{document.execCommand("copy")&&(e.classList.add("success"),setTimeout(function(){e.classList.remove("success")},1e3))}catch(o){console.error("docsify-copy-code: ".concat(o)),e.classList.add("error"),setTimeout(function(){e.classList.remove("error")},1e3)}"function"==typeof(c=window.getSelection()).removeRange?c.removeRange(t):"function"==typeof c.removeAllRanges&&c.removeAllRanges()}})})}].concat(window.$docsify.plugins||[])}();
|
||||
//# sourceMappingURL=docsify-copy-code.min.js.map
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1,37 @@
|
|||
#prev-page-button {
|
||||
position:fixed;
|
||||
top:140px;
|
||||
width: 35px;
|
||||
height: 35px;
|
||||
right: 15px;
|
||||
background-color: transparent;
|
||||
background-image: url(left.svg);
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
border:0;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
outline:none;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#next-page-button {
|
||||
position:fixed;
|
||||
top:180px;
|
||||
width:35px;
|
||||
height:35px;
|
||||
right:15px;
|
||||
background-color: transparent;
|
||||
background-image: url(right.svg);
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
border:0;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
outline:none;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
|
@ -0,0 +1,42 @@
|
|||
document.addEventListener('DOMContentLoaded', function() {
|
||||
var prevBtn = document.createElement("div")
|
||||
prevBtn.id = "prev-page-button"
|
||||
document.body.appendChild(prevBtn)
|
||||
var nextBtn = document.createElement("div");
|
||||
nextBtn.id = "next-page-button"
|
||||
document.body.appendChild(nextBtn)
|
||||
|
||||
var links = null
|
||||
var linkMap = null
|
||||
var getCurIdx = function() {
|
||||
if (!links) {
|
||||
links = Array
|
||||
.from(document.querySelectorAll(".sidebar-nav a"))
|
||||
.map(x => x.href)
|
||||
linkMap = {}
|
||||
links.forEach((x, i) => linkMap[x] = i)
|
||||
}
|
||||
|
||||
var elem = document.querySelector(".active a")
|
||||
var curIdx = elem? linkMap[elem.href]: -1
|
||||
return curIdx
|
||||
}
|
||||
|
||||
prevBtn.addEventListener('click', function () {
|
||||
if (!document.body.classList.contains('ready'))
|
||||
return
|
||||
var curIdx = getCurIdx()
|
||||
location.href = curIdx == -1?
|
||||
links[0]:
|
||||
links[(curIdx - 1 + links.length) % links.length]
|
||||
document.body.scrollIntoView()
|
||||
}, false)
|
||||
|
||||
nextBtn.addEventListener('click', function () {
|
||||
if (!document.body.classList.contains('ready'))
|
||||
return
|
||||
var curIdx = getCurIdx()
|
||||
location.href = links[(curIdx + 1) % links.length]
|
||||
document.body.scrollIntoView()
|
||||
}, false)
|
||||
})
|
||||
|
|
@ -0,0 +1 @@
|
|||
!function(e){("object"!=typeof exports||"undefined"==typeof module)&&"function"==typeof define&&define.amd?define(e):e()}(function(){"use strict";function e(e,n){var t,a=(n=void 0===n?{}:n).insertAt;e&&"undefined"!=typeof document&&(t=document.head||document.getElementsByTagName("head")[0],(n=document.createElement("style")).type="text/css","top"===a&&t.firstChild?t.insertBefore(n,t.firstChild):t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e)))}var t;function a(e){e&&null!=t&&(e=e.getBoundingClientRect().top,document.querySelector(".sidebar").scrollBy(0,e-t))}function n(){requestAnimationFrame(function(){var e=document.querySelector(".app-sub-sidebar > .active");if(e)for(e.parentNode.parentNode.querySelectorAll(".app-sub-sidebar").forEach(function(e){return e.classList.remove("open")});e.parentNode.classList.contains("app-sub-sidebar")&&!e.parentNode.classList.contains("open");)e.parentNode.classList.add("open"),e=e.parentNode})}function o(e){t=e.target.getBoundingClientRect().top;var n=d(e.target,"LI",2);n&&(n.classList.contains("open")?(n.classList.remove("open"),setTimeout(function(){n.classList.add("collapse")},0)):(function(e){if(e)for(e.classList.remove("open","active");e&&"sidebar-nav"!==e.className&&e.parentNode;)"LI"!==e.parentNode.tagName&&"app-sub-sidebar"!==e.parentNode.className||e.parentNode.classList.remove("open"),e=e.parentNode}(s()),i(n),setTimeout(function(){n.classList.remove("collapse")},0)),a(n))}function s(){var e=document.querySelector(".sidebar-nav .active");return e||(e=d(document.querySelector('.sidebar-nav a[href="'.concat(decodeURIComponent(location.hash).replace(/ /gi,"%20"),'"]')),"LI",2))&&e.classList.add("active"),e}function i(e){if(e)for(e.classList.add("open","active");e&&"sidebar-nav"!==e.className&&e.parentNode;)"LI"!==e.parentNode.tagName&&"app-sub-sidebar"!==e.parentNode.className||e.parentNode.classList.add("open"),e=e.parentNode}function d(e,n,t){if(e&&e.tagName===n)return e;for(var a=0;e;){if(t<++a)return;if(e.parentNode.tagName===n)return e.parentNode;e=e.parentNode}}e(".sidebar-nav > ul > li ul {\n display: none;\n}\n\n.app-sub-sidebar {\n display: none;\n}\n\n.app-sub-sidebar.open {\n display: block;\n}\n\n.sidebar-nav .open > ul:not(.app-sub-sidebar),\n.sidebar-nav .active:not(.collapse) > ul {\n display: block;\n}\n\n/* 抖动 */\n.sidebar-nav li.open:not(.collapse) > ul {\n display: block;\n}\n\n.active + ul.app-sub-sidebar {\n display: block;\n}\n"),document.addEventListener("scroll",n);e("@media screen and (max-width: 768px) {\n /* 移动端适配 */\n .markdown-section {\n max-width: none;\n padding: 16px;\n }\n /* 改变原来按钮热区大小 */\n .sidebar-toggle {\n padding: 0 0 10px 10px;\n }\n /* my pin */\n .sidebar-pin {\n appearance: none;\n outline: none;\n position: fixed;\n bottom: 0;\n border: none;\n width: 40px;\n height: 40px;\n background: transparent;\n }\n}\n");var r,c="DOCSIFY_SIDEBAR_PIN_FLAG";function l(){var e="true"===(e=localStorage.getItem(c));localStorage.setItem(c,!e),e?(document.querySelector(".sidebar").style.transform="translateX(0)",document.querySelector(".content").style.transform="translateX(0)"):(document.querySelector(".sidebar").style.transform="translateX(300px)",document.querySelector(".content").style.transform="translateX(300px)")}768<document.documentElement.clientWidth||(localStorage.setItem(c,!1),(r=document.createElement("button")).classList.add("sidebar-pin"),r.onclick=l,document.body.append(r),window.addEventListener("load",function(){var n=document.querySelector(".content");document.body.onclick=n.onclick=function(e){e.target!==document.body&&e.currentTarget!==n||"true"===localStorage.getItem(c)&&l()}})),function(){if(window.$docsify){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];$docsify.plugins=n.concat($docsify.plugins||[])}else console.error("这是一个docsify插件,请先引用docsify库!")}(function(e,n){e.doneEach(function(e,n){var t=s();i(t),document.querySelectorAll(".sidebar-nav li").forEach(function(e){e.querySelector("ul:not(.app-sub-sidebar)")?e.classList.add("folder"):e.classList.add("file")}),function n(e,t){e&&e.childNodes&&e.childNodes.forEach(function(e){e.classList&&e.classList.contains("folder")&&(e.classList.add("level-".concat(t)),window.$docsify&&window.$docsify.sidebarDisplayLevel&&"number"==typeof window.$docsify.sidebarDisplayLevel&&t<=window.$docsify.sidebarDisplayLevel&&e.classList.add("open"),e&&1<e.childNodes.length&&n(e.childNodes[1],t+1))})}(document.querySelector(".sidebar-nav > ul"),1),a(t),n(e)}),e.ready(function(){document.querySelector(".sidebar-nav").addEventListener("click",o)})})});
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1,15 @@
|
|||
#edit-btn {
|
||||
position: fixed;
|
||||
right: 15px;
|
||||
top: 260px;
|
||||
width: 35px;
|
||||
height: 35px;
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
cursor: pointer;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
background-image: url(edit.svg);
|
||||
}
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
document.addEventListener('DOMContentLoaded', function() {
|
||||
var editBtn = document.createElement('div')
|
||||
editBtn.id = 'edit-btn'
|
||||
document.body.append(editBtn)
|
||||
|
||||
var repo = window.$docsify.repo
|
||||
editBtn.addEventListener('click', function() {
|
||||
if (!repo) return
|
||||
if (!/https?:\/\//.exec(repo))
|
||||
repo = 'https://github.com/' + repo
|
||||
var url = repo + '/tree/master' +
|
||||
location.hash.slice(1) + '.md'
|
||||
window.open(url)
|
||||
})
|
||||
})
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
<!--?xml version="1.0" encoding="UTF-8" standalone="no"?-->
|
||||
<svg viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" class="si-glyph si-glyph-edit">
|
||||
<!-- Generator: Sketch 3.0.3 (7891) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>Edit</title>
|
||||
|
||||
<defs></defs>
|
||||
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g transform="translate(0.000000, 1.000000)" fill="#434343">
|
||||
<path d="M15.682,1.91 L14.147,0.396 C13.737,-0.012 12.929,-0.181 12.54,0.207 L6.485,6.234 C6.485,6.234 5.164,10.147 5.039,10.476 C4.94,10.738 5.27,11.066 5.499,10.951 C5.873,10.765 9.604,9.32 9.604,9.32 L15.675,3.263 C16.065,2.875 16.093,2.317 15.682,1.91 L15.682,1.91 Z M9.021,8.854 L6.454,9.828 L5.993,9.403 L7.218,6.438 L7.959,6.984 L9.017,6.984 L9.021,8.854 L9.021,8.854 Z" class="si-glyph-fill"></path>
|
||||
<path d="M12.042,9.345 L12.042,13.042 L0.958,13.042 L0.958,2 L9.141,1.917 L9.953,1.058 L0,1.058 L0,14 L13,14 L12.943,8.578 L12.042,9.345 Z" class="si-glyph-fill"></path>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 7.3 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1,10 @@
|
|||
<!--?xml version="1.0" encoding="UTF-8" standalone="no"?-->
|
||||
<svg viewBox="0 0 17 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" class="si-glyph si-glyph-arrow-thick-left">
|
||||
<!-- Generator: Sketch 3.0.3 (7891) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>1210</title>
|
||||
|
||||
<defs></defs>
|
||||
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<path d="M0.133,8.367 L6.073,13.713 C6.307,13.924 6.687,13.922 6.922,13.711 L6.927,9.983 L14.951,9.983 C15.504,9.983 15.951,9.544 15.951,9.001 L15.951,7.035 C15.951,6.492 15.504,6.053 14.951,6.053 L6.931,6.053 L6.936,2.243 C6.705,2.034 6.324,2.035 6.088,2.246 L0.134,7.603 C-0.099,7.816 -0.102,8.156 0.133,8.367 L0.133,8.367 Z" fill="#434343" class="si-glyph-fill"></path>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 818 B |
|
|
@ -0,0 +1,10 @@
|
|||
@font-face
|
||||
{
|
||||
font-family: lxgw-wenkai;
|
||||
src: url('LXGWWenKaiScreen.ttf');
|
||||
}
|
||||
|
||||
body
|
||||
{
|
||||
font-family: lxgw-wenkai !important;
|
||||
}
|
||||
|
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="#ffffff" stroke="#34495e" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-moon"><path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path></svg>
|
||||
|
After Width: | Height: | Size: 279 B |
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1 @@
|
|||
Prism.languages.c=Prism.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+/,lookbehind:!0},keyword:/\b(?:__attribute__|_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|asm|typeof|inline|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|union|unsigned|void|volatile|while)\b/,function:/[a-z_]\w*(?=\s*\()/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/,number:/(?:\b0x(?:[\da-f]+\.?[\da-f]*|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+\.?\d*|\B\.\d+)(?:e[+-]?\d+)?)[ful]*/i}),Prism.languages.insertBefore("c","string",{macro:{pattern:/(^\s*)#\s*[a-z]+(?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},Prism.languages.c.string],comment:Prism.languages.c.comment,directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:Prism.languages.c}}},constant:/\b(?:__FILE__|__LINE__|__DATE__|__TIME__|__TIMESTAMP__|__func__|EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|stdin|stdout|stderr)\b/}),delete Prism.languages.c.boolean;
|
||||
|
|
@ -0,0 +1 @@
|
|||
!function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char8_t|char16_t|char32_t|class|compl|concept|const|consteval|constexpr|constinit|const_cast|continue|co_await|co_return|co_yield|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|float|for|friend|goto|if|inline|int|int8_t|int16_t|int32_t|int64_t|uint8_t|uint16_t|uint32_t|uint64_t|long|mutable|namespace|new|noexcept|nullptr|operator|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/;e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp("(\\b(?:class|concept|enum|struct|typename)\\s+)(?!<keyword>)\\w+".replace(/<keyword>/g,function(){return t.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+\.?[\da-f']*|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+\.?[\d']*|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]*/i,greedy:!0},operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:true|false)\b/}),e.languages.insertBefore("cpp","string",{"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)(?:[^;{}"'])+?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","operator",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(Prism);
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1,160 @@
|
|||
/**
|
||||
* Darcula theme
|
||||
*
|
||||
* Adapted from a theme based on:
|
||||
* IntelliJ Darcula Theme (https://github.com/bulenkov/Darcula)
|
||||
*
|
||||
* @author Alexandre Paradis <service.paradis@gmail.com>
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
code[class*="lang-"],
|
||||
pre[data-lang] {
|
||||
color: #a9b7c6 !important;
|
||||
background-color: #2b2b2b !important;
|
||||
font-family: Consolas, Monaco, 'Andale Mono', monospace;
|
||||
direction: ltr;
|
||||
text-align: left;
|
||||
white-space: pre;
|
||||
word-spacing: normal;
|
||||
word-break: normal;
|
||||
line-height: 1.5;
|
||||
|
||||
-moz-tab-size: 4;
|
||||
-o-tab-size: 4;
|
||||
tab-size: 4;
|
||||
|
||||
-webkit-hyphens: none;
|
||||
-moz-hyphens: none;
|
||||
-ms-hyphens: none;
|
||||
hyphens: none;
|
||||
}
|
||||
|
||||
pre[data-lang]::-moz-selection, pre[data-lang] ::-moz-selection,
|
||||
code[class*="lang-"]::-moz-selection, code[class*="lang-"] ::-moz-selection {
|
||||
color: inherit;
|
||||
background: rgba(33, 66, 131, .85);
|
||||
}
|
||||
|
||||
pre[data-lang]::selection, pre[data-lang] ::selection,
|
||||
code[class*="lang-"]::selection, code[class*="lang-"] ::selection {
|
||||
color: inherit;
|
||||
background: rgba(33, 66, 131, .85);
|
||||
}
|
||||
|
||||
/* Code blocks */
|
||||
pre[data-lang] {
|
||||
padding: 1em;
|
||||
margin: .5em 0;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
:not(pre) > code[class*="lang-"],
|
||||
pre[data-lang] {
|
||||
background: #2b2b2b;
|
||||
}
|
||||
|
||||
/* Inline code */
|
||||
:not(pre) > code[class*="lang-"] {
|
||||
padding: .1em;
|
||||
border-radius: .3em;
|
||||
}
|
||||
|
||||
.token.comment,
|
||||
.token.prolog,
|
||||
.token.cdata {
|
||||
color: #808080;
|
||||
}
|
||||
|
||||
.token.delimiter,
|
||||
.token.boolean,
|
||||
.token.keyword,
|
||||
.token.selector,
|
||||
.token.important,
|
||||
.token.atrule {
|
||||
color: #cc7832;
|
||||
}
|
||||
|
||||
.token.operator,
|
||||
.token.punctuation,
|
||||
.token.attr-name {
|
||||
color: #a9b7c6;
|
||||
}
|
||||
|
||||
.token.tag,
|
||||
.token.tag .punctuation,
|
||||
.token.doctype,
|
||||
.token.builtin {
|
||||
color: #e8bf6a;
|
||||
}
|
||||
|
||||
.token.entity,
|
||||
.token.number,
|
||||
.token.symbol {
|
||||
color: #6897bb;
|
||||
}
|
||||
|
||||
.token.property,
|
||||
.token.constant,
|
||||
.token.variable {
|
||||
color: #9876aa;
|
||||
}
|
||||
|
||||
.token.string,
|
||||
.token.char {
|
||||
color: #6a8759;
|
||||
}
|
||||
|
||||
.token.attr-value,
|
||||
.token.attr-value .punctuation {
|
||||
color: #a5c261;
|
||||
}
|
||||
|
||||
.token.attr-value .punctuation:first-child {
|
||||
color: #a9b7c6;
|
||||
}
|
||||
|
||||
.token.url {
|
||||
color: #287bde;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.token.function {
|
||||
color: #ffc66d;
|
||||
}
|
||||
|
||||
.token.regex {
|
||||
background: #364135;
|
||||
}
|
||||
|
||||
.token.bold {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.token.italic {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.token.inserted {
|
||||
background: #294436;
|
||||
}
|
||||
|
||||
.token.deleted {
|
||||
background: #484a4a;
|
||||
}
|
||||
|
||||
code.lang-css .token.property,
|
||||
code.lang-css .token.property + .token.punctuation {
|
||||
color: #a9b7c6;
|
||||
}
|
||||
|
||||
code.lang-css .token.id {
|
||||
color: #ffc66d;
|
||||
}
|
||||
|
||||
code.lang-css .token.selector > .token.class,
|
||||
code.lang-css .token.selector > .token.attribute,
|
||||
code.lang-css .token.selector > .token.pseudo-class,
|
||||
code.lang-css .token.selector > .token.pseudo-element {
|
||||
color: #ffc66d;
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue