Compare commits
39 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 157aee8bbe | |||
| 7a5d86e7a7 | |||
| 9c91365269 | |||
| ee2843f8b5 | |||
| 5864e80a88 | |||
| 54f90502f8 | |||
| edfae51c37 | |||
| 30c62f7fb6 | |||
| 95f85a7d14 | |||
| 8f8b98f399 | |||
| d365ffffdf | |||
| bdfdb4f47d | |||
| 9a2e64f23b | |||
| 3709e6198b | |||
| 71f714265f | |||
| 330092a2b8 | |||
| e5813773e7 | |||
| 6bc143688f | |||
| 1e6f0f0e60 | |||
| 1b2d663e1d | |||
| 006a577dfd | |||
| ccac3eb750 | |||
| e831fb94ff | |||
| 70fbc0c339 | |||
| 66efeee9f6 | |||
| b6ebcece1a | |||
| f2fc1dd1dc | |||
| b6e1399111 | |||
| 123e78bc31 | |||
| f336001348 | |||
| 4bda901638 | |||
| 00e7b13691 | |||
|
|
535c0a3dd0 | ||
|
|
8f4f1699f1 | ||
|
|
1c643b9ad9 | ||
| 5826032057 | |||
|
|
f66658f5cd | ||
| 0ef8fe1157 | |||
| 415386dc17 |
@ -1,89 +0,0 @@
|
|||||||
name: Deploy Pages
|
|
||||||
run-name: ${{ gitea.event.head_commit.message }}
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
tags:
|
|
||||||
- v*
|
|
||||||
- milestone*
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
Generate-Pages:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Send mail
|
|
||||||
uses: https://github.com/dawidd6/action-send-mail@v3
|
|
||||||
with:
|
|
||||||
server_address: smtp.qq.com
|
|
||||||
server_port: 465
|
|
||||||
secure: true
|
|
||||||
username: "${{ secrets.QQ_SMTP_USERNAME }}"
|
|
||||||
password: "${{ secrets.QQ_SMTP_TOKEN }}"
|
|
||||||
subject: 博客部署启动
|
|
||||||
to: 3145078758@qq.com
|
|
||||||
from: Gitea Actions
|
|
||||||
body: 博客自动化部署开始执行, 前往 ${{ gitea.server_url }}/Linloir/blog/actions/runs/${{ gitea.run_number }} 查看执行日志
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
- name: Setup Node.js
|
|
||||||
uses: actions/setup-node@v4
|
|
||||||
with:
|
|
||||||
node-version: '16'
|
|
||||||
- name: Install dependencies
|
|
||||||
run: npm install
|
|
||||||
- name: Install hexo-cli
|
|
||||||
run: npm install -g hexo-cli
|
|
||||||
- name: Generate pages
|
|
||||||
run: hexo generate
|
|
||||||
- name: Copy pages
|
|
||||||
run: cp -r public ../pages
|
|
||||||
- name: Checkout to `publish` branch
|
|
||||||
run: |
|
|
||||||
git fetch
|
|
||||||
git checkout publish
|
|
||||||
- name: Remove old files
|
|
||||||
run: rm -rf `ls | grep -v .git`
|
|
||||||
- name: Copy new files
|
|
||||||
run: cp -r ../pages/* .
|
|
||||||
- name: Commit and Push back Changes
|
|
||||||
uses: https://github.com/stefanzweifel/git-auto-commit-action@v5
|
|
||||||
with:
|
|
||||||
commit_message: "Auto deploy pages"
|
|
||||||
commit_user_name: "Linloir"
|
|
||||||
commit_user_email: "3145078758@qq.com"
|
|
||||||
commit_author: "Linloir <3145078758@qq.com>"
|
|
||||||
branch: publish
|
|
||||||
commit_options: "--no-verify"
|
|
||||||
token: "${{ secrets.TOKEN }}"
|
|
||||||
- name: Call API to Update Caddy
|
|
||||||
run: curl https://upd.linloir.cn/update/blog.linloir.cn
|
|
||||||
- name: Send mail On Success
|
|
||||||
if: success()
|
|
||||||
uses: https://github.com/dawidd6/action-send-mail@v3
|
|
||||||
with:
|
|
||||||
server_address: smtp.qq.com
|
|
||||||
server_port: 465
|
|
||||||
secure: true
|
|
||||||
username: "${{ secrets.QQ_SMTP_USERNAME }}"
|
|
||||||
password: "${{ secrets.QQ_SMTP_TOKEN }}"
|
|
||||||
subject: 博客部署成功
|
|
||||||
to: 3145078758@qq.com
|
|
||||||
from: Gitea Actions
|
|
||||||
body: 博客自动化部署执行成功, 前往 https://blog.linloir.cn 查看
|
|
||||||
- name: Send mail On Fail
|
|
||||||
if: failure()
|
|
||||||
uses: https://github.com/dawidd6/action-send-mail@v3
|
|
||||||
with:
|
|
||||||
server_address: smtp.qq.com
|
|
||||||
server_port: 465
|
|
||||||
secure: true
|
|
||||||
username: "${{ secrets.QQ_SMTP_USERNAME }}"
|
|
||||||
password: "${{ secrets.QQ_SMTP_TOKEN }}"
|
|
||||||
subject: 博客部署失败
|
|
||||||
to: 3145078758@qq.com
|
|
||||||
from: Gitea Actions
|
|
||||||
body: 博客自动化部署执行失败, 前往 ${{ gitea.server_url }}/Linloir/blog/actions/runs/${{ gitea.run_number }} 查看执行日志
|
|
||||||
8
.gitignore
vendored
@ -1,8 +0,0 @@
|
|||||||
.DS_Store
|
|
||||||
Thumbs.db
|
|
||||||
db.json
|
|
||||||
*.log
|
|
||||||
node_modules/
|
|
||||||
public/
|
|
||||||
.deploy*/
|
|
||||||
_multiconfig.yml
|
|
||||||
309
2019/12/30/summary-2019/index.html
Normal file
313
2021/01/11/summary-2020/index.html
Normal file
318
2021/12/31/summary-2021/index.html
Normal file
318
2022/12/31/summary-2022/index.html
Normal file
315
2024/10/11/reborn/index.html
Normal file
320
2024/10/12/blog-from-scratch/index.html
Normal file
325
2024/10/13/blog-mig/index.html
Normal file
381
2024/10/13/host-git-at-home/index.html
Normal file
314
2024/10/13/micro-posts/index.html
Normal file
312
2024/10/15/tencent-new-start/index.html
Normal file
405
2024/10/20/jar-via-adb/index.html
Normal file
311
2024/11/08/linux-commands/index.html
Normal file
331
2024/11/19/listary-quick-clone-command/index.html
Normal file
413
2024/11/22/debug-windows-socket-drain/index.html
Normal file
327
2024/12/31/summary-2023-2024/index.html
Normal file
818
2025/03/17/coroutine-llm-qa/index.html
Normal file
426
2025/05/12/swift-state-binding/index.html
Normal file
335
2025/05/15/swift-develop-flutter-with-vscode/index.html
Normal file
408
LICENSE
@ -1,21 +1,395 @@
|
|||||||
MIT License
|
Attribution 4.0 International
|
||||||
|
|
||||||
Copyright (c) 2024 [fullname]
|
=======================================================================
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Creative Commons Corporation ("Creative Commons") is not a law firm and
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
does not provide legal services or legal advice. Distribution of
|
||||||
in the Software without restriction, including without limitation the rights
|
Creative Commons public licenses does not create a lawyer-client or
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
other relationship. Creative Commons makes its licenses and related
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
information available on an "as-is" basis. Creative Commons gives no
|
||||||
furnished to do so, subject to the following conditions:
|
warranties regarding its licenses, any material licensed under their
|
||||||
|
terms and conditions, or any related information. Creative Commons
|
||||||
|
disclaims all liability for damages resulting from their use to the
|
||||||
|
fullest extent possible.
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in all
|
Using Creative Commons Public Licenses
|
||||||
copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
Creative Commons public licenses provide a standard set of terms and
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
conditions that creators and other rights holders may use to share
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
original works of authorship and other material subject to copyright
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
and certain other rights specified in the public license below. The
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
following considerations are for informational purposes only, are not
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
exhaustive, and do not form part of our licenses.
|
||||||
SOFTWARE.
|
|
||||||
|
Considerations for licensors: Our public licenses are
|
||||||
|
intended for use by those authorized to give the public
|
||||||
|
permission to use material in ways otherwise restricted by
|
||||||
|
copyright and certain other rights. Our licenses are
|
||||||
|
irrevocable. Licensors should read and understand the terms
|
||||||
|
and conditions of the license they choose before applying it.
|
||||||
|
Licensors should also secure all rights necessary before
|
||||||
|
applying our licenses so that the public can reuse the
|
||||||
|
material as expected. Licensors should clearly mark any
|
||||||
|
material not subject to the license. This includes other CC-
|
||||||
|
licensed material, or material used under an exception or
|
||||||
|
limitation to copyright. More considerations for licensors:
|
||||||
|
wiki.creativecommons.org/Considerations_for_licensors
|
||||||
|
|
||||||
|
Considerations for the public: By using one of our public
|
||||||
|
licenses, a licensor grants the public permission to use the
|
||||||
|
licensed material under specified terms and conditions. If
|
||||||
|
the licensor's permission is not necessary for any reason--for
|
||||||
|
example, because of any applicable exception or limitation to
|
||||||
|
copyright--then that use is not regulated by the license. Our
|
||||||
|
licenses grant only permissions under copyright and certain
|
||||||
|
other rights that a licensor has authority to grant. Use of
|
||||||
|
the licensed material may still be restricted for other
|
||||||
|
reasons, including because others have copyright or other
|
||||||
|
rights in the material. A licensor may make special requests,
|
||||||
|
such as asking that all changes be marked or described.
|
||||||
|
Although not required by our licenses, you are encouraged to
|
||||||
|
respect those requests where reasonable. More considerations
|
||||||
|
for the public:
|
||||||
|
wiki.creativecommons.org/Considerations_for_licensees
|
||||||
|
|
||||||
|
=======================================================================
|
||||||
|
|
||||||
|
Creative Commons Attribution 4.0 International Public License
|
||||||
|
|
||||||
|
By exercising the Licensed Rights (defined below), You accept and agree
|
||||||
|
to be bound by the terms and conditions of this Creative Commons
|
||||||
|
Attribution 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. 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.
|
||||||
|
|
||||||
|
d. 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.
|
||||||
|
|
||||||
|
e. 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.
|
||||||
|
|
||||||
|
f. Licensed Material means the artistic or literary work, database,
|
||||||
|
or other material to which the Licensor applied this Public
|
||||||
|
License.
|
||||||
|
|
||||||
|
g. 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.
|
||||||
|
|
||||||
|
h. Licensor means the individual(s) or entity(ies) granting rights
|
||||||
|
under this Public License.
|
||||||
|
|
||||||
|
i. 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.
|
||||||
|
|
||||||
|
j. 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.
|
||||||
|
|
||||||
|
k. 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; and
|
||||||
|
|
||||||
|
b. produce, reproduce, and Share Adapted Material.
|
||||||
|
|
||||||
|
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. 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.
|
||||||
|
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
4. If You Share Adapted Material You produce, the Adapter's
|
||||||
|
License You apply must not prevent recipients of the Adapted
|
||||||
|
Material from complying with this Public License.
|
||||||
|
|
||||||
|
|
||||||
|
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;
|
||||||
|
|
||||||
|
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; 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.
|
||||||
|
|
||||||
|
|
||||||
|
=======================================================================
|
||||||
|
|
||||||
|
Creative Commons is not a party to its public licenses.
|
||||||
|
Notwithstanding, Creative Commons may elect to apply one of its public
|
||||||
|
licenses to material it publishes and in those instances will be
|
||||||
|
considered the “Licensor.” The text of the Creative Commons public
|
||||||
|
licenses is dedicated to the public domain under the CC0 Public Domain
|
||||||
|
Dedication. Except for the limited purpose of indicating that material
|
||||||
|
is shared under a Creative Commons public license or as otherwise
|
||||||
|
permitted by the Creative Commons policies published at
|
||||||
|
creativecommons.org/policies, Creative Commons does not authorize the
|
||||||
|
use of the trademark "Creative Commons" or any other trademark or logo
|
||||||
|
of Creative Commons without its prior written consent including,
|
||||||
|
without limitation, in connection with any unauthorized modifications
|
||||||
|
to any of its public licenses or any other arrangements,
|
||||||
|
understandings, or agreements concerning use of licensed material. For
|
||||||
|
the avoidance of doubt, this paragraph does not form part of the public
|
||||||
|
licenses.
|
||||||
|
|
||||||
|
Creative Commons may be contacted at creativecommons.org.
|
||||||
|
|||||||
@ -1,253 +0,0 @@
|
|||||||
favicon: /img/avatar.png
|
|
||||||
|
|
||||||
nav:
|
|
||||||
display_title: true
|
|
||||||
fixed: false
|
|
||||||
|
|
||||||
menu:
|
|
||||||
主页: / || fas fa-home
|
|
||||||
标签: /tags/ || fas fa-tags
|
|
||||||
分类: /categories/ || fas fa-th
|
|
||||||
归档: /archives/ || fas fa-archive
|
|
||||||
# 链接||fas fa-list:
|
|
||||||
# 友链: /links/ || fas fa-link
|
|
||||||
# 关于: /about/ || fas fa-heart
|
|
||||||
|
|
||||||
hide_sidebar_menu_child: true
|
|
||||||
|
|
||||||
highlight_theme: darker
|
|
||||||
highlight_shrink: false
|
|
||||||
highlight_height_limit: 240
|
|
||||||
|
|
||||||
avatar:
|
|
||||||
img: /img/avatar.png
|
|
||||||
|
|
||||||
social:
|
|
||||||
fab fa-github: https://github.com/Linloir || GitHub
|
|
||||||
fas fa-envelope: mailto:jonathanzhang.st@gmail.com || Email
|
|
||||||
|
|
||||||
index_img: /img/index.jpg
|
|
||||||
default_top_img: /img/top.jpg
|
|
||||||
archive_img: /img/top.jpg
|
|
||||||
footer_img: transparent
|
|
||||||
|
|
||||||
mask:
|
|
||||||
footer: false
|
|
||||||
|
|
||||||
subtitle:
|
|
||||||
enable: true
|
|
||||||
effect: true
|
|
||||||
loop: true
|
|
||||||
sub:
|
|
||||||
- "我, 技术, 生活与值得分享的一切"
|
|
||||||
- "Run fast, Laugh hard, and Be kind"
|
|
||||||
- "从这里, 瞥见时间流过的痕迹"
|
|
||||||
|
|
||||||
cover:
|
|
||||||
index_enable: false
|
|
||||||
aside_enable: false
|
|
||||||
archives_enable: false
|
|
||||||
default_cover: /img/cover.jpg
|
|
||||||
|
|
||||||
index_post_content:
|
|
||||||
method: 2
|
|
||||||
length: 500
|
|
||||||
|
|
||||||
toc:
|
|
||||||
post: true
|
|
||||||
page: false
|
|
||||||
number: true
|
|
||||||
expand: false
|
|
||||||
scroll_percent: false
|
|
||||||
|
|
||||||
post_copyright:
|
|
||||||
enable: true
|
|
||||||
decode: true
|
|
||||||
author_href: https://blog.linloir.cn
|
|
||||||
license: CC BY-NC-SA 4.0
|
|
||||||
license_url: https://creativecommons.org/licenses/by-nc-sa/4.0/
|
|
||||||
|
|
||||||
post_edit:
|
|
||||||
enable: false
|
|
||||||
|
|
||||||
noticeOutdate:
|
|
||||||
enable: false
|
|
||||||
# Style: simple / flat
|
|
||||||
style: flat
|
|
||||||
# When will it be shown
|
|
||||||
limit_day: 365
|
|
||||||
# Position: top / bottom
|
|
||||||
position: top
|
|
||||||
message_prev: It has been
|
|
||||||
message_next: days since the last update, the content of the article may be outdated.
|
|
||||||
|
|
||||||
footer:
|
|
||||||
owner:
|
|
||||||
enable: true
|
|
||||||
since: 2022
|
|
||||||
custom_text: Wirtten with Love ❤
|
|
||||||
copyright: true
|
|
||||||
|
|
||||||
aside:
|
|
||||||
enable: true
|
|
||||||
hide: false
|
|
||||||
button: true
|
|
||||||
mobile: true
|
|
||||||
position: right
|
|
||||||
display:
|
|
||||||
archive: true
|
|
||||||
tag: true
|
|
||||||
category: true
|
|
||||||
card_author:
|
|
||||||
enable: true
|
|
||||||
description:
|
|
||||||
card_announcement:
|
|
||||||
enable: false
|
|
||||||
card_recent_post:
|
|
||||||
enable: true
|
|
||||||
limit: 5
|
|
||||||
sort: date
|
|
||||||
sort_order:
|
|
||||||
card_newest_comments:
|
|
||||||
enable: false
|
|
||||||
card_categories:
|
|
||||||
enable: true
|
|
||||||
limit: 0
|
|
||||||
expand: none
|
|
||||||
sort_order:
|
|
||||||
card_tags:
|
|
||||||
# 是否顯示標籤卡片
|
|
||||||
enable: false
|
|
||||||
# 顯示標籤數量,0 表示顯示所有
|
|
||||||
limit: 40
|
|
||||||
# 是否啟用顏色
|
|
||||||
color: false
|
|
||||||
# 標籤排序方式:random/name/length
|
|
||||||
orderby: random
|
|
||||||
# 排序順序:1 表示升序,-1 表示降序
|
|
||||||
order: 1
|
|
||||||
sort_order:
|
|
||||||
card_archives:
|
|
||||||
enable: true
|
|
||||||
# 歸檔類型:monthly / yearly
|
|
||||||
type: yearly
|
|
||||||
# 日期格式,例如:YYYY年MM月
|
|
||||||
format: YYYY
|
|
||||||
# 排序順序:1 表示升序,-1 表示降序
|
|
||||||
order: -1
|
|
||||||
# 顯示歸檔數量,0 表示顯示所有
|
|
||||||
limit: 0
|
|
||||||
sort_order:
|
|
||||||
card_post_series:
|
|
||||||
# 是否顯示系列文章卡片
|
|
||||||
enable: true
|
|
||||||
# 標題顯示系列名稱
|
|
||||||
series_title: false
|
|
||||||
# 排序方式:title 或 date
|
|
||||||
orderBy: 'date'
|
|
||||||
# 排序順序:1 表示升序,-1 表示降序
|
|
||||||
order: -1
|
|
||||||
card_webinfo:
|
|
||||||
# 是否顯示網站信息卡片
|
|
||||||
enable: true
|
|
||||||
# 是否顯示文章數量
|
|
||||||
post_count: true
|
|
||||||
# 是否顯示最後推送日期
|
|
||||||
last_push_date: true
|
|
||||||
sort_order:
|
|
||||||
# 發佈日期與當前日期的時間差
|
|
||||||
# 格式:Month/Day/Year Time 或 Year/Month/Day Time
|
|
||||||
# 如果不啟用此功能,請留空
|
|
||||||
runtime_date:
|
|
||||||
|
|
||||||
translate:
|
|
||||||
enable: true
|
|
||||||
# 按鈕文本
|
|
||||||
default: 简
|
|
||||||
# 網站語言(1 - 繁體中文 / 2 - 簡體中文)
|
|
||||||
defaultEncoding: 2
|
|
||||||
# 轉換延遲
|
|
||||||
translateDelay: 0
|
|
||||||
# 按鈕在簡體中文時的文本
|
|
||||||
msgToTraditionalChinese: '繁'
|
|
||||||
# 按鈕在繁體中文時的文本
|
|
||||||
msgToSimplifiedChinese: '简'
|
|
||||||
|
|
||||||
readmode: true
|
|
||||||
|
|
||||||
darkmode:
|
|
||||||
enable: true
|
|
||||||
button: true
|
|
||||||
autoChangeMode: 1
|
|
||||||
start: 0
|
|
||||||
end: 0
|
|
||||||
display_mode: dark
|
|
||||||
|
|
||||||
rightside_scroll_percent: false
|
|
||||||
|
|
||||||
anchor:
|
|
||||||
auto_update: true
|
|
||||||
click_to_scroll: true
|
|
||||||
|
|
||||||
wordcount:
|
|
||||||
enable: true
|
|
||||||
post_wordcount: true
|
|
||||||
min2read: true
|
|
||||||
total_wordcount: true
|
|
||||||
|
|
||||||
math:
|
|
||||||
use: katex
|
|
||||||
per_page: true
|
|
||||||
hide_scrollbar: false
|
|
||||||
|
|
||||||
markdown:
|
|
||||||
plugins:
|
|
||||||
- '@renbaoshuo/markdown-it-katex'
|
|
||||||
|
|
||||||
share:
|
|
||||||
use: sharejs
|
|
||||||
|
|
||||||
sharejs:
|
|
||||||
sites: facebook,twitter,wechat,weibo,qq
|
|
||||||
|
|
||||||
comments:
|
|
||||||
use:
|
|
||||||
|
|
||||||
preloader:
|
|
||||||
enable: true
|
|
||||||
source: 2
|
|
||||||
pace_css_url: /css/minimal.css
|
|
||||||
|
|
||||||
pjax:
|
|
||||||
enable: true
|
|
||||||
|
|
||||||
theme_color:
|
|
||||||
enable: true
|
|
||||||
scrollbar_color: "rgba(0, 0, 0, 0.5)"
|
|
||||||
|
|
||||||
canvas_nest:
|
|
||||||
enable: true
|
|
||||||
color: "165,165,165"
|
|
||||||
opacity: 0.8
|
|
||||||
zIndex: -1
|
|
||||||
count: 99
|
|
||||||
mobile: false
|
|
||||||
|
|
||||||
lightbox: fancybox
|
|
||||||
|
|
||||||
mermaid:
|
|
||||||
enable: true
|
|
||||||
code_write: true
|
|
||||||
theme:
|
|
||||||
light: default
|
|
||||||
dark: dark
|
|
||||||
|
|
||||||
snackbar:
|
|
||||||
enable: true
|
|
||||||
position: top-center
|
|
||||||
|
|
||||||
instantpage: true
|
|
||||||
|
|
||||||
pangu:
|
|
||||||
enable: true
|
|
||||||
field: post
|
|
||||||
113
_config.yml
@ -1,113 +0,0 @@
|
|||||||
# Hexo Configuration
|
|
||||||
## Docs: https://hexo.io/docs/configuration.html
|
|
||||||
## Source: https://github.com/hexojs/hexo/
|
|
||||||
|
|
||||||
# Site
|
|
||||||
title: 時痕
|
|
||||||
subtitle: "Linloir's Blog"
|
|
||||||
description: "我、技术、生活与值得分享的一切"
|
|
||||||
keywords: "Linloir, blog, technology, life, share, Linloir's Blog, 時痕, 霖落, 博客, 技术, 生活, 分享"
|
|
||||||
author: Linloir
|
|
||||||
language: zh-CN
|
|
||||||
timezone: Asia/Shanghai
|
|
||||||
|
|
||||||
# URL
|
|
||||||
## Set your site url here. For example, if you use GitHub Page, set url as 'https://username.github.io/project'
|
|
||||||
url: https://blog.linloir.cn
|
|
||||||
permalink: :year/:month/:day/:title/
|
|
||||||
permalink_defaults:
|
|
||||||
pretty_urls:
|
|
||||||
trailing_index: false # Set to false to remove trailing 'index.html' from permalinks
|
|
||||||
trailing_html: false # Set to false to remove trailing '.html' from permalinks
|
|
||||||
|
|
||||||
# Directory
|
|
||||||
source_dir: source
|
|
||||||
public_dir: public
|
|
||||||
tag_dir: tags
|
|
||||||
archive_dir: archives
|
|
||||||
category_dir: categories
|
|
||||||
code_dir: downloads/code
|
|
||||||
i18n_dir: :lang
|
|
||||||
skip_render:
|
|
||||||
|
|
||||||
# Writing
|
|
||||||
new_post_name: :title.md # File name of new posts
|
|
||||||
default_layout: post
|
|
||||||
titlecase: false # Transform title into titlecase
|
|
||||||
external_link:
|
|
||||||
enable: true # Open external links in new tab
|
|
||||||
field: site # Apply to the whole site
|
|
||||||
exclude: ""
|
|
||||||
filename_case: 0
|
|
||||||
render_drafts: false
|
|
||||||
post_asset_folder: false
|
|
||||||
relative_link: false
|
|
||||||
future: true
|
|
||||||
syntax_highlighter: highlight.js
|
|
||||||
highlight:
|
|
||||||
line_number: true
|
|
||||||
auto_detect: false
|
|
||||||
tab_replace: " "
|
|
||||||
wrap: true
|
|
||||||
hljs: false
|
|
||||||
exclude_languages: ["mermaid"]
|
|
||||||
prismjs:
|
|
||||||
preprocess: true
|
|
||||||
line_number: true
|
|
||||||
tab_replace: " "
|
|
||||||
exclude_languages: ["mermaid"]
|
|
||||||
marked:
|
|
||||||
prependRoot: true
|
|
||||||
postAsset: false
|
|
||||||
|
|
||||||
# Home page setting
|
|
||||||
# path: Root path for your blogs index page. (default = '')
|
|
||||||
# per_page: Posts displayed per page. (0 = disable pagination)
|
|
||||||
# order_by: Posts order. (Order by date descending by default)
|
|
||||||
index_generator:
|
|
||||||
path: ""
|
|
||||||
per_page: 10
|
|
||||||
order_by: -date
|
|
||||||
|
|
||||||
# Category & Tag
|
|
||||||
default_category: uncategorized
|
|
||||||
category_map:
|
|
||||||
tag_map:
|
|
||||||
|
|
||||||
# Metadata elements
|
|
||||||
## https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta
|
|
||||||
meta_generator: true
|
|
||||||
|
|
||||||
# Date / Time format
|
|
||||||
## Hexo uses Moment.js to parse and display date
|
|
||||||
## You can customize the date format as defined in
|
|
||||||
## http://momentjs.com/docs/#/displaying/format/
|
|
||||||
date_format: YYYY-MM-DD
|
|
||||||
time_format: HH:mm:ss
|
|
||||||
## updated_option supports 'mtime', 'date', 'empty'
|
|
||||||
updated_option: 'mtime'
|
|
||||||
|
|
||||||
# Pagination
|
|
||||||
## Set per_page to 0 to disable pagination
|
|
||||||
per_page: 10
|
|
||||||
pagination_dir: page
|
|
||||||
|
|
||||||
# Include / Exclude file(s)
|
|
||||||
## include:/exclude: options only apply to the 'source/' folder
|
|
||||||
include:
|
|
||||||
exclude:
|
|
||||||
- _local/**/*
|
|
||||||
ignore:
|
|
||||||
|
|
||||||
# Extensions
|
|
||||||
## Plugins: https://hexo.io/plugins/
|
|
||||||
## Themes: https://hexo.io/themes/
|
|
||||||
theme: butterfly
|
|
||||||
|
|
||||||
# Deployment
|
|
||||||
## Docs: https://hexo.io/docs/one-command-deployment
|
|
||||||
deploy:
|
|
||||||
type: ""
|
|
||||||
|
|
||||||
Open_Graph_meta:
|
|
||||||
enable: true
|
|
||||||
369
archived/first-grading.html
Normal file
@ -0,0 +1,369 @@
|
|||||||
|
<!DOCTYPE html><html lang="zh-CN" data-theme="dark"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0,viewport-fit=cover"><title>短文 - 面对首次绩效考核的一些随笔 | 時痕</title><meta name="author" content="Linloir"><meta name="copyright" content="Linloir"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#0d0d0d"><meta name="description" content="快要到年底绩效考核的时间了,回想过去半年好像一直忙忙碌碌但好像又没有什么很亮眼的成果。期间还有一大部分精力都投在了一个设计难度远大于实现难度的需求。 回过头想想,其实在工作上开始做一件长期的事情之前,还是要去评估可行性、投入以及收效,到底这件事情有多大的优先级,是不是就值得现在立马开始投入人力去做这个。到底做些什么可以被业务感知到,从而去判断,到底哪些需求才是重要的,而不是一味的承接需求,最后反倒">
|
||||||
|
<meta property="og:type" content="website">
|
||||||
|
<meta property="og:title" content="短文 - 面对首次绩效考核的一些随笔">
|
||||||
|
<meta property="og:url" content="https://blog.linloir.cn/archived/first-grading">
|
||||||
|
<meta property="og:site_name" content="時痕">
|
||||||
|
<meta property="og:description" content="快要到年底绩效考核的时间了,回想过去半年好像一直忙忙碌碌但好像又没有什么很亮眼的成果。期间还有一大部分精力都投在了一个设计难度远大于实现难度的需求。 回过头想想,其实在工作上开始做一件长期的事情之前,还是要去评估可行性、投入以及收效,到底这件事情有多大的优先级,是不是就值得现在立马开始投入人力去做这个。到底做些什么可以被业务感知到,从而去判断,到底哪些需求才是重要的,而不是一味的承接需求,最后反倒">
|
||||||
|
<meta property="og:locale" content="zh_CN">
|
||||||
|
<meta property="og:image" content="https://blog.linloir.cn/img/cover.jpg">
|
||||||
|
<meta property="article:published_time" content="2024-11-08T05:09:19.000Z">
|
||||||
|
<meta property="article:modified_time" content="2025-05-16T05:33:36.408Z">
|
||||||
|
<meta property="article:author" content="Linloir">
|
||||||
|
<meta property="article:tag" content="短文">
|
||||||
|
<meta property="article:tag" content="自言自语">
|
||||||
|
<meta property="article:tag" content="工作">
|
||||||
|
<meta name="twitter:card" content="summary">
|
||||||
|
<meta name="twitter:image" content="https://blog.linloir.cn/img/cover.jpg"><link rel="shortcut icon" href="/img/avatar.png"><link rel="canonical" href="https://blog.linloir.cn/archived/first-grading"><link rel="preconnect" href="//cdn.jsdelivr.net"/><link rel="preconnect" href="//busuanzi.ibruce.info"/><link rel="stylesheet" href="/css/index.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free/css/all.min.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/node-snackbar/dist/snackbar.min.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox/fancybox.min.css" media="print" onload="this.media='all'"><script>
|
||||||
|
(() => {
|
||||||
|
|
||||||
|
const saveToLocal = {
|
||||||
|
set: (key, value, ttl) => {
|
||||||
|
if (!ttl) return
|
||||||
|
const expiry = Date.now() + ttl * 86400000
|
||||||
|
localStorage.setItem(key, JSON.stringify({ value, expiry }))
|
||||||
|
},
|
||||||
|
get: key => {
|
||||||
|
const itemStr = localStorage.getItem(key)
|
||||||
|
if (!itemStr) return undefined
|
||||||
|
const { value, expiry } = JSON.parse(itemStr)
|
||||||
|
if (Date.now() > expiry) {
|
||||||
|
localStorage.removeItem(key)
|
||||||
|
return undefined
|
||||||
|
}
|
||||||
|
return value
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
window.btf = {
|
||||||
|
saveToLocal,
|
||||||
|
getScript: (url, attr = {}) => new Promise((resolve, reject) => {
|
||||||
|
const script = document.createElement('script')
|
||||||
|
script.src = url
|
||||||
|
script.async = true
|
||||||
|
Object.entries(attr).forEach(([key, val]) => script.setAttribute(key, val))
|
||||||
|
script.onload = script.onreadystatechange = () => {
|
||||||
|
if (!script.readyState || /loaded|complete/.test(script.readyState)) resolve()
|
||||||
|
}
|
||||||
|
script.onerror = reject
|
||||||
|
document.head.appendChild(script)
|
||||||
|
}),
|
||||||
|
getCSS: (url, id) => new Promise((resolve, reject) => {
|
||||||
|
const link = document.createElement('link')
|
||||||
|
link.rel = 'stylesheet'
|
||||||
|
link.href = url
|
||||||
|
if (id) link.id = id
|
||||||
|
link.onload = link.onreadystatechange = () => {
|
||||||
|
if (!link.readyState || /loaded|complete/.test(link.readyState)) resolve()
|
||||||
|
}
|
||||||
|
link.onerror = reject
|
||||||
|
document.head.appendChild(link)
|
||||||
|
}),
|
||||||
|
addGlobalFn: (key, fn, name = false, parent = window) => {
|
||||||
|
if (!true && key.startsWith('pjax')) return
|
||||||
|
const globalFn = parent.globalFn || {}
|
||||||
|
globalFn[key] = globalFn[key] || {}
|
||||||
|
if (name && globalFn[key][name]) return
|
||||||
|
globalFn[key][name || Object.keys(globalFn[key]).length] = fn
|
||||||
|
parent.globalFn = globalFn
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
const activateDarkMode = () => {
|
||||||
|
document.documentElement.setAttribute('data-theme', 'dark')
|
||||||
|
if (document.querySelector('meta[name="theme-color"]') !== null) {
|
||||||
|
document.querySelector('meta[name="theme-color"]').setAttribute('content', 'undefined')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
const activateLightMode = () => {
|
||||||
|
document.documentElement.setAttribute('data-theme', 'light')
|
||||||
|
if (document.querySelector('meta[name="theme-color"]') !== null) {
|
||||||
|
document.querySelector('meta[name="theme-color"]').setAttribute('content', 'undefined')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
btf.activateDarkMode = activateDarkMode
|
||||||
|
btf.activateLightMode = activateLightMode
|
||||||
|
|
||||||
|
const theme = saveToLocal.get('theme')
|
||||||
|
|
||||||
|
const mediaQueryDark = window.matchMedia('(prefers-color-scheme: dark)')
|
||||||
|
const mediaQueryLight = window.matchMedia('(prefers-color-scheme: light)')
|
||||||
|
|
||||||
|
if (theme === undefined) {
|
||||||
|
if (mediaQueryLight.matches) activateLightMode()
|
||||||
|
else if (mediaQueryDark.matches) activateDarkMode()
|
||||||
|
else {
|
||||||
|
const hour = new Date().getHours()
|
||||||
|
const isNight = hour <= 6 || hour >= 18
|
||||||
|
isNight ? activateDarkMode() : activateLightMode()
|
||||||
|
}
|
||||||
|
mediaQueryDark.addEventListener('change', () => {
|
||||||
|
if (saveToLocal.get('theme') === undefined) {
|
||||||
|
e.matches ? activateDarkMode() : activateLightMode()
|
||||||
|
}
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
theme === 'light' ? activateLightMode() : activateDarkMode()
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
const asideStatus = saveToLocal.get('aside-status')
|
||||||
|
if (asideStatus !== undefined) {
|
||||||
|
document.documentElement.classList.toggle('hide-aside', asideStatus === 'hide')
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
const detectApple = () => {
|
||||||
|
if (/iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)) {
|
||||||
|
document.documentElement.classList.add('apple')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
detectApple()
|
||||||
|
|
||||||
|
})()
|
||||||
|
</script><script>const GLOBAL_CONFIG = {
|
||||||
|
root: '/',
|
||||||
|
algolia: undefined,
|
||||||
|
localSearch: undefined,
|
||||||
|
translate: {"defaultEncoding":2,"translateDelay":0,"msgToTraditionalChinese":"繁","msgToSimplifiedChinese":"简"},
|
||||||
|
noticeOutdate: undefined,
|
||||||
|
highlight: {"plugin":"highlight.js","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":false,"highlightFullpage":false,"highlightMacStyle":false},
|
||||||
|
copy: {
|
||||||
|
success: '复制成功',
|
||||||
|
error: '复制失败',
|
||||||
|
noSupport: '浏览器不支持'
|
||||||
|
},
|
||||||
|
relativeDate: {
|
||||||
|
homepage: false,
|
||||||
|
post: false
|
||||||
|
},
|
||||||
|
runtime: '',
|
||||||
|
dateSuffix: {
|
||||||
|
just: '刚刚',
|
||||||
|
min: '分钟前',
|
||||||
|
hour: '小时前',
|
||||||
|
day: '天前',
|
||||||
|
month: '个月前'
|
||||||
|
},
|
||||||
|
copyright: undefined,
|
||||||
|
lightbox: 'fancybox',
|
||||||
|
Snackbar: {"chs_to_cht":"已切换为繁体中文","cht_to_chs":"已切换为简体中文","day_to_night":"已切换为深色模式","night_to_day":"已切换为浅色模式","bgLight":"#49b1f5","bgDark":"#1f1f1f","position":"top-center"},
|
||||||
|
infinitegrid: {
|
||||||
|
js: 'https://cdn.jsdelivr.net/npm/@egjs/infinitegrid/dist/infinitegrid.min.js',
|
||||||
|
buttonText: '加载更多'
|
||||||
|
},
|
||||||
|
isPhotoFigcaption: false,
|
||||||
|
islazyload: false,
|
||||||
|
isAnchor: true,
|
||||||
|
percent: {
|
||||||
|
toc: false,
|
||||||
|
rightside: false,
|
||||||
|
},
|
||||||
|
autoDarkmode: true
|
||||||
|
}</script><script id="config-diff">var GLOBAL_CONFIG_SITE = {
|
||||||
|
title: '短文 - 面对首次绩效考核的一些随笔',
|
||||||
|
isPost: false,
|
||||||
|
isHome: false,
|
||||||
|
isHighlightShrink: false,
|
||||||
|
isToc: false,
|
||||||
|
postUpdate: '2025-05-16 13:33:36'
|
||||||
|
}</script><meta name="generator" content="Hexo 7.3.0"></head><body><script>window.paceOptions = {
|
||||||
|
restartOnPushState: false
|
||||||
|
}
|
||||||
|
|
||||||
|
btf.addGlobalFn('pjaxSend', () => {
|
||||||
|
Pace.restart()
|
||||||
|
}, 'pace_restart')
|
||||||
|
|
||||||
|
</script><link rel="stylesheet" href="/css/minimal.css"/><script src="https://cdn.jsdelivr.net/npm/pace-js/pace.min.js"></script><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="avatar-img is-center"><img src="/img/avatar.png" onerror="onerror=null;src='/img/friend_404.gif'" alt="avatar"/></div><div class="site-data is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">22</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">21</div></a><a href="/categories/"><div class="headline">分类</div><div class="length-num">2</div></a></div><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 主页</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="/categories/"><i class="fa-fw fas fa-th"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 归档</span></a></div></div></div></div><div class="page" id="body-wrap"><header class="not-home-page" id="page-header" style="background-image: url(/img/top.jpg);"><nav id="nav"><span id="blog-info"><a class="nav-site-title" href="/"><span class="site-name">時痕</span></a></span><div id="menus"><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 主页</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="/categories/"><i class="fa-fw fas fa-th"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 归档</span></a></div></div><div id="toggle-menu"><span class="site-page"><i class="fas fa-bars fa-fw"></i></span></div></div></nav><div id="page-site-info"><h1 id="site-title">短文 - 面对首次绩效考核的一些随笔</h1></div></header><main class="layout" id="content-inner"><div id="page"><div id="article-container"><p>快要到年底绩效考核的时间了,回想过去半年好像一直忙忙碌碌但好像又没有什么很亮眼的成果。期间还有一大部分精力都投在了一个设计难度远大于实现难度的需求。</p>
|
||||||
|
<p>回过头想想,其实在工作上开始做一件长期的事情之前,还是要去评估可行性、投入以及收效,到底这件事情有多大的优先级,是不是就值得现在立马开始投入人力去做这个。到底做些什么可以被业务感知到,从而去判断,到底哪些需求才是重要的,而不是一味的承接需求,最后反倒抓不到重点了。</p>
|
||||||
|
<p>当然,除此之外,更重要的一点是,在知道了公司存在强制的 Underperform 比例时,不免会想,也许有一天我也要成为背这个绩效的人?在这种场景下,是否不要把鸡蛋放在一个篮子里更为安全?诚然,上班本质还是一种利益交换,我给公司提供我能够产出的内容,帮助公司节省人力开支或是做原本人力做不了的事情,公司给我反馈大厂背景、经验、人脉和钱,当然,这里面必然伴随着剩余价值的剥削云云,但总的来看,也算是目前相对公平且不错的买卖,在这样的背景下,我还是会在工作的时候专注于需求本身,坚守住技术人应有的底线,但在工作时间之外,确实应该更加关注自身的投资,也许是身体的健康,也许是产品思维,也许真的去做一些能代表自己实力的东西吧。</p>
|
||||||
|
<p>前几天有看到一个帖子,个人认为说的其实很有道理,大致意思就是,人总要有一些能证明自己能力的东西,在校招的时候,学历就是最大的背书;在工作的时候,便是绩效和公司、项目经历。但是,如果能有足够的其他履历,比如大的开源项目、成功的产品,这些就会替代前者变成能力的证明,毕竟,选择前者只是没有后者的无奈之举。所以,我想,做自己感兴趣的事,并且在这方面出彩,大概才是最有价值的投资吧。</p>
|
||||||
|
</div></div><div class="aside-content" id="aside-content"><div class="card-widget card-info is-center"><div class="avatar-img"><img src="/img/avatar.png" onerror="this.onerror=null;this.src='/img/friend_404.gif'" alt="avatar"/></div><div class="author-info-name">Linloir</div><div class="author-info-description">我、技术、生活与值得分享的一切</div><div class="site-data"><a href="/archives/"><div class="headline">文章</div><div class="length-num">22</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">21</div></a><a href="/categories/"><div class="headline">分类</div><div class="length-num">2</div></a></div><a id="card-info-btn" target="_blank" rel="noopener" href="https://github.com/Linloir"><i class="fab fa-github"></i><span>Follow Me</span></a><div class="card-info-social-icons"><a class="social-icon" href="https://github.com/Linloir" target="_blank" title="GitHub"><i class="fab fa-github"></i></a><a class="social-icon" href="mailto:jonathanzhang.st@gmail.com" target="_blank" title="Email"><i class="fas fa-envelope"></i></a></div></div><div class="sticky_layout"><div class="card-widget card-recent-post"><div class="item-headline"><i class="fas fa-history"></i><span>最新文章</span></div><div class="aside-list"><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/2025/05/15/swift-develop-flutter-with-vscode/" title="Swift 学习笔记 - 配置 VS Code 开发 Flutter iOS Native 代码">Swift 学习笔记 - 配置 VS Code 开发 Flutter iOS Native 代码</a><time datetime="2025-05-15T01:53:53.000Z" title="发表于 2025-05-15 09:53:53">2025-05-15</time></div></div><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/2025/05/12/swift-state-binding/" title="Swift 学习笔记 - 从 Property Wrapper 视角探索 State 与 Binding 如何工作">Swift 学习笔记 - 从 Property Wrapper 视角探索 State 与 Binding 如何工作</a><time datetime="2025-05-12T15:30:52.000Z" title="发表于 2025-05-12 23:30:52">2025-05-12</time></div></div><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/2025/03/17/coroutine-llm-qa/" title="Coroutine 相关疑惑大模型问答记录">Coroutine 相关疑惑大模型问答记录</a><time datetime="2025-03-17T13:09:21.000Z" title="发表于 2025-03-17 21:09:21">2025-03-17</time></div></div><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/2024/12/31/summary-2023-2024/" title="年终总结 - 2023 至 2024">年终总结 - 2023 至 2024</a><time datetime="2024-12-31T17:15:49.000Z" title="发表于 2025-01-01 01:15:49">2025-01-01</time></div></div><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/2024/11/22/debug-windows-socket-drain/" title="问题定位回顾 - Windows 上发起 tcp 连接时提示 Only one usage of each socket address (protocol/network address/port) is normally permitted">问题定位回顾 - Windows 上发起 tcp 连接时提示 Only one usage of each socket address (protocol/network address/port) is normally permitted</a><time datetime="2024-11-22T03:52:37.000Z" title="发表于 2024-11-22 11:52:37">2024-11-22</time></div></div></div></div><div class="card-widget card-categories"><div class="item-headline">
|
||||||
|
<i class="fas fa-folder-open"></i>
|
||||||
|
<span>分类</span>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<ul class="card-category-list" id="aside-cat-list">
|
||||||
|
<li class="card-category-list-item "><a class="card-category-list-link" href="/categories/%E6%8A%80%E6%9C%AF/"><span class="card-category-list-name">技术</span><span class="card-category-list-count">14</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/%E6%9D%82%E6%80%9D/"><span class="card-category-list-name">杂思</span><span class="card-category-list-count">8</span></a></li>
|
||||||
|
</ul></div><div class="card-widget card-archives">
|
||||||
|
<div class="item-headline">
|
||||||
|
<i class="fas fa-archive"></i>
|
||||||
|
<span>归档</span>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<ul class="card-archive-list">
|
||||||
|
|
||||||
|
<li class="card-archive-list-item">
|
||||||
|
<a class="card-archive-list-link" href="/archives/2025/">
|
||||||
|
<span class="card-archive-list-date">2025</span>
|
||||||
|
<span class="card-archive-list-count">4</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="card-archive-list-item">
|
||||||
|
<a class="card-archive-list-link" href="/archives/2024/">
|
||||||
|
<span class="card-archive-list-date">2024</span>
|
||||||
|
<span class="card-archive-list-count">10</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="card-archive-list-item">
|
||||||
|
<a class="card-archive-list-link" href="/archives/2023/">
|
||||||
|
<span class="card-archive-list-date">2023</span>
|
||||||
|
<span class="card-archive-list-count">1</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="card-archive-list-item">
|
||||||
|
<a class="card-archive-list-link" href="/archives/2022/">
|
||||||
|
<span class="card-archive-list-date">2022</span>
|
||||||
|
<span class="card-archive-list-count">5</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="card-archive-list-item">
|
||||||
|
<a class="card-archive-list-link" href="/archives/2021/">
|
||||||
|
<span class="card-archive-list-date">2021</span>
|
||||||
|
<span class="card-archive-list-count">1</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="card-archive-list-item">
|
||||||
|
<a class="card-archive-list-link" href="/archives/2019/">
|
||||||
|
<span class="card-archive-list-date">2019</span>
|
||||||
|
<span class="card-archive-list-count">1</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul></div><div class="card-widget card-webinfo"><div class="item-headline"><i class="fas fa-chart-line"></i><span>网站信息</span></div><div class="webinfo"><div class="webinfo-item"><div class="item-name">文章数目 :</div><div class="item-count">22</div></div><div class="webinfo-item"><div class="item-name">本站总字数 :</div><div class="item-count">92.1k</div></div><div class="webinfo-item"><div class="item-name">本站访客数 :</div><div class="item-count" id="busuanzi_value_site_uv"><i class="fa-solid fa-spinner fa-spin"></i></div></div><div class="webinfo-item"><div class="item-name">本站总浏览量 :</div><div class="item-count" id="busuanzi_value_site_pv"><i class="fa-solid fa-spinner fa-spin"></i></div></div><div class="webinfo-item"><div class="item-name">最后更新时间 :</div><div class="item-count" id="last-push-date" data-lastPushDate="2025-05-16T05:33:53.506Z"><i class="fa-solid fa-spinner fa-spin"></i></div></div></div></div></div></div></main><footer id="footer" style="background: transparent;"><div id="footer-wrap"><div class="copyright">©2022 - 2025 By Linloir</div><div class="framework-info"><span>框架 </span><a target="_blank" rel="noopener" href="https://hexo.io">Hexo</a><span class="footer-separator">|</span><span>主题 </span><a target="_blank" rel="noopener" href="https://github.com/jerryc127/hexo-theme-butterfly">Butterfly</a></div><div class="footer_custom_text">Wirtten with Love ❤</div></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="translateLink" type="button" title="简繁转换">简</button><button id="darkmode" type="button" title="日间和夜间模式切换"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button" title="单栏和双栏切换"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><button id="rightside-config" type="button" title="设置"><i class="fas fa-cog fa-spin"></i></button><button id="go-up" type="button" title="回到顶部"><span class="scroll-percent"></span><i class="fas fa-arrow-up"></i></button></div></div><div><script src="/js/utils.js"></script><script src="/js/main.js"></script><script src="/js/tw_cn.js"></script><script src="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox/fancybox.umd.min.js"></script><script src="https://cdn.jsdelivr.net/npm/instant.page/instantpage.min.js" type="module"></script><script src="https://cdn.jsdelivr.net/npm/node-snackbar/dist/snackbar.min.js"></script><script>(() => {
|
||||||
|
const panguFn = () => {
|
||||||
|
if (typeof pangu === 'object') pangu.autoSpacingPage()
|
||||||
|
else {
|
||||||
|
btf.getScript('https://cdn.jsdelivr.net/npm/pangu/dist/browser/pangu.min.js')
|
||||||
|
.then(() => {
|
||||||
|
pangu.autoSpacingPage()
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
const panguInit = () => {
|
||||||
|
if (true){
|
||||||
|
GLOBAL_CONFIG_SITE.isPost && panguFn()
|
||||||
|
} else {
|
||||||
|
panguFn()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
btf.addGlobalFn('pjaxComplete', panguInit, 'pangu')
|
||||||
|
document.addEventListener('DOMContentLoaded', panguInit)
|
||||||
|
})()</script><div class="js-pjax"><script>(async () => {
|
||||||
|
const showKatex = () => {
|
||||||
|
document.querySelectorAll('#article-container .katex').forEach(el => el.classList.add('katex-show'))
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!window.katex_js_css) {
|
||||||
|
window.katex_js_css = true
|
||||||
|
await btf.getCSS('https://cdn.jsdelivr.net/npm/katex/dist/katex.min.css')
|
||||||
|
if (false) {
|
||||||
|
await btf.getScript('https://cdn.jsdelivr.net/npm/katex/dist/contrib/copy-tex.min.js')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
showKatex()
|
||||||
|
})()</script><script>(() => {
|
||||||
|
const runMermaid = ele => {
|
||||||
|
window.loadMermaid = true
|
||||||
|
const theme = document.documentElement.getAttribute('data-theme') === 'dark' ? 'dark' : 'default'
|
||||||
|
|
||||||
|
ele.forEach((item, index) => {
|
||||||
|
const mermaidSrc = item.firstElementChild
|
||||||
|
const mermaidThemeConfig = `%%{init:{ 'theme':'${theme}'}}%%\n`
|
||||||
|
const mermaidID = `mermaid-${index}`
|
||||||
|
const mermaidDefinition = mermaidThemeConfig + mermaidSrc.textContent
|
||||||
|
|
||||||
|
const renderFn = mermaid.render(mermaidID, mermaidDefinition)
|
||||||
|
const renderMermaid = svg => {
|
||||||
|
mermaidSrc.insertAdjacentHTML('afterend', svg)
|
||||||
|
}
|
||||||
|
|
||||||
|
// mermaid v9 and v10 compatibility
|
||||||
|
typeof renderFn === 'string' ? renderMermaid(renderFn) : renderFn.then(({ svg }) => renderMermaid(svg))
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
const codeToMermaid = () => {
|
||||||
|
const codeMermaidEle = document.querySelectorAll('pre > code.mermaid')
|
||||||
|
if (codeMermaidEle.length === 0) return
|
||||||
|
|
||||||
|
codeMermaidEle.forEach(ele => {
|
||||||
|
const preEle = document.createElement('pre')
|
||||||
|
preEle.className = 'mermaid-src'
|
||||||
|
preEle.hidden = true
|
||||||
|
preEle.textContent = ele.textContent
|
||||||
|
const newEle = document.createElement('div')
|
||||||
|
newEle.className = 'mermaid-wrap'
|
||||||
|
newEle.appendChild(preEle)
|
||||||
|
ele.parentNode.replaceWith(newEle)
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
const loadMermaid = () => {
|
||||||
|
if (true) codeToMermaid()
|
||||||
|
const $mermaid = document.querySelectorAll('#article-container .mermaid-wrap')
|
||||||
|
if ($mermaid.length === 0) return
|
||||||
|
|
||||||
|
const runMermaidFn = () => runMermaid($mermaid)
|
||||||
|
btf.addGlobalFn('themeChange', runMermaidFn, 'mermaid')
|
||||||
|
window.loadMermaid ? runMermaidFn() : btf.getScript('https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js').then(runMermaidFn)
|
||||||
|
}
|
||||||
|
|
||||||
|
btf.addGlobalFn('encrypt', loadMermaid, 'mermaid')
|
||||||
|
window.pjax ? loadMermaid() : document.addEventListener('DOMContentLoaded', loadMermaid)
|
||||||
|
})()</script></div><script id="canvas_nest" defer="defer" color="165,165,165" opacity="0.8" zIndex="-1" count="99" mobile="false" src="https://cdn.jsdelivr.net/npm/butterfly-extsrc/dist/canvas-nest.min.js"></script><script src="https://cdn.jsdelivr.net/npm/pjax/pjax.min.js"></script><script>(() => {
|
||||||
|
const pjaxSelectors = ["head > title","#config-diff","#body-wrap","#rightside-config-hide","#rightside-config-show",".js-pjax"]
|
||||||
|
|
||||||
|
window.pjax = new Pjax({
|
||||||
|
elements: 'a:not([target="_blank"])',
|
||||||
|
selectors: pjaxSelectors,
|
||||||
|
cacheBust: false,
|
||||||
|
analytics: false,
|
||||||
|
scrollRestoration: false
|
||||||
|
})
|
||||||
|
|
||||||
|
const triggerPjaxFn = (val) => {
|
||||||
|
if (!val) return
|
||||||
|
Object.values(val).forEach(fn => fn())
|
||||||
|
}
|
||||||
|
|
||||||
|
document.addEventListener('pjax:send', () => {
|
||||||
|
// removeEventListener
|
||||||
|
btf.removeGlobalFnEvent('pjaxSendOnce')
|
||||||
|
btf.removeGlobalFnEvent('themeChange')
|
||||||
|
|
||||||
|
// reset readmode
|
||||||
|
const $bodyClassList = document.body.classList
|
||||||
|
if ($bodyClassList.contains('read-mode')) $bodyClassList.remove('read-mode')
|
||||||
|
|
||||||
|
triggerPjaxFn(window.globalFn.pjaxSend)
|
||||||
|
})
|
||||||
|
|
||||||
|
document.addEventListener('pjax:complete', () => {
|
||||||
|
btf.removeGlobalFnEvent('pjaxCompleteOnce')
|
||||||
|
document.querySelectorAll('script[data-pjax]').forEach(item => {
|
||||||
|
const newScript = document.createElement('script')
|
||||||
|
const content = item.text || item.textContent || item.innerHTML || ""
|
||||||
|
Array.from(item.attributes).forEach(attr => newScript.setAttribute(attr.name, attr.value))
|
||||||
|
newScript.appendChild(document.createTextNode(content))
|
||||||
|
item.parentNode.replaceChild(newScript, item)
|
||||||
|
})
|
||||||
|
|
||||||
|
triggerPjaxFn(window.globalFn.pjaxComplete)
|
||||||
|
})
|
||||||
|
|
||||||
|
document.addEventListener('pjax:error', e => {
|
||||||
|
if (e.request.status === 404) {
|
||||||
|
pjax.loadUrl('/404')
|
||||||
|
}
|
||||||
|
})
|
||||||
|
})()</script><script async data-pjax src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script></div></body></html>
|
||||||
347
archives/2019/12/index.html
Normal file
347
archives/2019/index.html
Normal file
347
archives/2021/01/index.html
Normal file
347
archives/2021/12/index.html
Normal file
347
archives/2021/index.html
Normal file
347
archives/2022/07/index.html
Normal file
347
archives/2022/08/index.html
Normal file
347
archives/2022/12/index.html
Normal file
347
archives/2022/index.html
Normal file
347
archives/2024/10/index.html
Normal file
347
archives/2024/11/index.html
Normal file
347
archives/2024/12/index.html
Normal file
347
archives/2024/index.html
Normal file
347
archives/2024/page/2/index.html
Normal file
347
archives/2025/03/index.html
Normal file
347
archives/2025/05/index.html
Normal file
347
archives/2025/index.html
Normal file
347
archives/index.html
Normal file
347
archives/page/2/index.html
Normal file
347
archives/page/3/index.html
Normal file
363
categories/index.html
Normal file
347
categories/技术/index.html
Normal file
347
categories/技术/page/2/index.html
Normal file
347
categories/杂思/index.html
Normal file
6181
css/index.css
Normal file
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 90 KiB After Width: | Height: | Size: 90 KiB |
|
Before Width: | Height: | Size: 156 KiB After Width: | Height: | Size: 156 KiB |
|
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 269 KiB After Width: | Height: | Size: 269 KiB |
|
Before Width: | Height: | Size: 190 KiB After Width: | Height: | Size: 190 KiB |
|
Before Width: | Height: | Size: 196 KiB After Width: | Height: | Size: 196 KiB |
|
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 35 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 64 KiB After Width: | Height: | Size: 64 KiB |
|
Before Width: | Height: | Size: 83 KiB After Width: | Height: | Size: 83 KiB |
|
Before Width: | Height: | Size: 89 KiB After Width: | Height: | Size: 89 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 159 KiB After Width: | Height: | Size: 159 KiB |
|
Before Width: | Height: | Size: 102 KiB After Width: | Height: | Size: 102 KiB |
|
Before Width: | Height: | Size: 78 KiB After Width: | Height: | Size: 78 KiB |
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 39 KiB |
|
Before Width: | Height: | Size: 189 KiB After Width: | Height: | Size: 189 KiB |
|
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 190 KiB After Width: | Height: | Size: 190 KiB |
|
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 51 KiB After Width: | Height: | Size: 51 KiB |
|
Before Width: | Height: | Size: 86 KiB After Width: | Height: | Size: 86 KiB |
|
Before Width: | Height: | Size: 183 KiB After Width: | Height: | Size: 183 KiB |
|
Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 56 KiB |
|
Before Width: | Height: | Size: 86 KiB After Width: | Height: | Size: 86 KiB |
|
Before Width: | Height: | Size: 152 KiB After Width: | Height: | Size: 152 KiB |
|
Before Width: | Height: | Size: 81 KiB After Width: | Height: | Size: 81 KiB |
|
Before Width: | Height: | Size: 191 KiB After Width: | Height: | Size: 191 KiB |
|
Before Width: | Height: | Size: 5.4 MiB After Width: | Height: | Size: 5.4 MiB |
|
Before Width: | Height: | Size: 190 KiB After Width: | Height: | Size: 190 KiB |
377
index.html
Normal file
381
links/index.html
Normal file
@ -0,0 +1,381 @@
|
|||||||
|
<!DOCTYPE html><html lang="zh-CN" data-theme="dark"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0,viewport-fit=cover"><title>友链 | 時痕</title><meta name="author" content="Linloir"><meta name="copyright" content="Linloir"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#0d0d0d"><meta name="description" content="我、技术、生活与值得分享的一切">
|
||||||
|
<meta property="og:type" content="website">
|
||||||
|
<meta property="og:title" content="友链">
|
||||||
|
<meta property="og:url" content="https://blog.linloir.cn/links/">
|
||||||
|
<meta property="og:site_name" content="時痕">
|
||||||
|
<meta property="og:description" content="我、技术、生活与值得分享的一切">
|
||||||
|
<meta property="og:locale" content="zh_CN">
|
||||||
|
<meta property="og:image" content="https://blog.linloir.cn/img/cover.jpg">
|
||||||
|
<meta property="article:published_time" content="2024-10-10T15:30:51.000Z">
|
||||||
|
<meta property="article:modified_time" content="2025-05-16T05:33:36.461Z">
|
||||||
|
<meta property="article:author" content="Linloir">
|
||||||
|
<meta property="article:tag" content="Linloir, blog, technology, life, share, Linloir's Blog, 時痕, 霖落, 博客, 技术, 生活, 分享">
|
||||||
|
<meta name="twitter:card" content="summary">
|
||||||
|
<meta name="twitter:image" content="https://blog.linloir.cn/img/cover.jpg"><link rel="shortcut icon" href="/img/avatar.png"><link rel="canonical" href="https://blog.linloir.cn/links/"><link rel="preconnect" href="//cdn.jsdelivr.net"/><link rel="preconnect" href="//busuanzi.ibruce.info"/><link rel="stylesheet" href="/css/index.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free/css/all.min.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/node-snackbar/dist/snackbar.min.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox/fancybox.min.css" media="print" onload="this.media='all'"><script>
|
||||||
|
(() => {
|
||||||
|
|
||||||
|
const saveToLocal = {
|
||||||
|
set: (key, value, ttl) => {
|
||||||
|
if (!ttl) return
|
||||||
|
const expiry = Date.now() + ttl * 86400000
|
||||||
|
localStorage.setItem(key, JSON.stringify({ value, expiry }))
|
||||||
|
},
|
||||||
|
get: key => {
|
||||||
|
const itemStr = localStorage.getItem(key)
|
||||||
|
if (!itemStr) return undefined
|
||||||
|
const { value, expiry } = JSON.parse(itemStr)
|
||||||
|
if (Date.now() > expiry) {
|
||||||
|
localStorage.removeItem(key)
|
||||||
|
return undefined
|
||||||
|
}
|
||||||
|
return value
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
window.btf = {
|
||||||
|
saveToLocal,
|
||||||
|
getScript: (url, attr = {}) => new Promise((resolve, reject) => {
|
||||||
|
const script = document.createElement('script')
|
||||||
|
script.src = url
|
||||||
|
script.async = true
|
||||||
|
Object.entries(attr).forEach(([key, val]) => script.setAttribute(key, val))
|
||||||
|
script.onload = script.onreadystatechange = () => {
|
||||||
|
if (!script.readyState || /loaded|complete/.test(script.readyState)) resolve()
|
||||||
|
}
|
||||||
|
script.onerror = reject
|
||||||
|
document.head.appendChild(script)
|
||||||
|
}),
|
||||||
|
getCSS: (url, id) => new Promise((resolve, reject) => {
|
||||||
|
const link = document.createElement('link')
|
||||||
|
link.rel = 'stylesheet'
|
||||||
|
link.href = url
|
||||||
|
if (id) link.id = id
|
||||||
|
link.onload = link.onreadystatechange = () => {
|
||||||
|
if (!link.readyState || /loaded|complete/.test(link.readyState)) resolve()
|
||||||
|
}
|
||||||
|
link.onerror = reject
|
||||||
|
document.head.appendChild(link)
|
||||||
|
}),
|
||||||
|
addGlobalFn: (key, fn, name = false, parent = window) => {
|
||||||
|
if (!true && key.startsWith('pjax')) return
|
||||||
|
const globalFn = parent.globalFn || {}
|
||||||
|
globalFn[key] = globalFn[key] || {}
|
||||||
|
if (name && globalFn[key][name]) return
|
||||||
|
globalFn[key][name || Object.keys(globalFn[key]).length] = fn
|
||||||
|
parent.globalFn = globalFn
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
const activateDarkMode = () => {
|
||||||
|
document.documentElement.setAttribute('data-theme', 'dark')
|
||||||
|
if (document.querySelector('meta[name="theme-color"]') !== null) {
|
||||||
|
document.querySelector('meta[name="theme-color"]').setAttribute('content', 'undefined')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
const activateLightMode = () => {
|
||||||
|
document.documentElement.setAttribute('data-theme', 'light')
|
||||||
|
if (document.querySelector('meta[name="theme-color"]') !== null) {
|
||||||
|
document.querySelector('meta[name="theme-color"]').setAttribute('content', 'undefined')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
btf.activateDarkMode = activateDarkMode
|
||||||
|
btf.activateLightMode = activateLightMode
|
||||||
|
|
||||||
|
const theme = saveToLocal.get('theme')
|
||||||
|
|
||||||
|
const mediaQueryDark = window.matchMedia('(prefers-color-scheme: dark)')
|
||||||
|
const mediaQueryLight = window.matchMedia('(prefers-color-scheme: light)')
|
||||||
|
|
||||||
|
if (theme === undefined) {
|
||||||
|
if (mediaQueryLight.matches) activateLightMode()
|
||||||
|
else if (mediaQueryDark.matches) activateDarkMode()
|
||||||
|
else {
|
||||||
|
const hour = new Date().getHours()
|
||||||
|
const isNight = hour <= 6 || hour >= 18
|
||||||
|
isNight ? activateDarkMode() : activateLightMode()
|
||||||
|
}
|
||||||
|
mediaQueryDark.addEventListener('change', () => {
|
||||||
|
if (saveToLocal.get('theme') === undefined) {
|
||||||
|
e.matches ? activateDarkMode() : activateLightMode()
|
||||||
|
}
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
theme === 'light' ? activateLightMode() : activateDarkMode()
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
const asideStatus = saveToLocal.get('aside-status')
|
||||||
|
if (asideStatus !== undefined) {
|
||||||
|
document.documentElement.classList.toggle('hide-aside', asideStatus === 'hide')
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
const detectApple = () => {
|
||||||
|
if (/iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)) {
|
||||||
|
document.documentElement.classList.add('apple')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
detectApple()
|
||||||
|
|
||||||
|
})()
|
||||||
|
</script><script>const GLOBAL_CONFIG = {
|
||||||
|
root: '/',
|
||||||
|
algolia: undefined,
|
||||||
|
localSearch: undefined,
|
||||||
|
translate: {"defaultEncoding":2,"translateDelay":0,"msgToTraditionalChinese":"繁","msgToSimplifiedChinese":"简"},
|
||||||
|
noticeOutdate: undefined,
|
||||||
|
highlight: {"plugin":"highlight.js","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":false,"highlightFullpage":false,"highlightMacStyle":false},
|
||||||
|
copy: {
|
||||||
|
success: '复制成功',
|
||||||
|
error: '复制失败',
|
||||||
|
noSupport: '浏览器不支持'
|
||||||
|
},
|
||||||
|
relativeDate: {
|
||||||
|
homepage: false,
|
||||||
|
post: false
|
||||||
|
},
|
||||||
|
runtime: '',
|
||||||
|
dateSuffix: {
|
||||||
|
just: '刚刚',
|
||||||
|
min: '分钟前',
|
||||||
|
hour: '小时前',
|
||||||
|
day: '天前',
|
||||||
|
month: '个月前'
|
||||||
|
},
|
||||||
|
copyright: undefined,
|
||||||
|
lightbox: 'fancybox',
|
||||||
|
Snackbar: {"chs_to_cht":"已切换为繁体中文","cht_to_chs":"已切换为简体中文","day_to_night":"已切换为深色模式","night_to_day":"已切换为浅色模式","bgLight":"#49b1f5","bgDark":"#1f1f1f","position":"top-center"},
|
||||||
|
infinitegrid: {
|
||||||
|
js: 'https://cdn.jsdelivr.net/npm/@egjs/infinitegrid/dist/infinitegrid.min.js',
|
||||||
|
buttonText: '加载更多'
|
||||||
|
},
|
||||||
|
isPhotoFigcaption: false,
|
||||||
|
islazyload: false,
|
||||||
|
isAnchor: true,
|
||||||
|
percent: {
|
||||||
|
toc: false,
|
||||||
|
rightside: false,
|
||||||
|
},
|
||||||
|
autoDarkmode: true
|
||||||
|
}</script><script id="config-diff">var GLOBAL_CONFIG_SITE = {
|
||||||
|
title: '友链',
|
||||||
|
isPost: false,
|
||||||
|
isHome: false,
|
||||||
|
isHighlightShrink: false,
|
||||||
|
isToc: false,
|
||||||
|
postUpdate: '2025-05-16 13:33:36'
|
||||||
|
}</script><meta name="generator" content="Hexo 7.3.0"></head><body><script>window.paceOptions = {
|
||||||
|
restartOnPushState: false
|
||||||
|
}
|
||||||
|
|
||||||
|
btf.addGlobalFn('pjaxSend', () => {
|
||||||
|
Pace.restart()
|
||||||
|
}, 'pace_restart')
|
||||||
|
|
||||||
|
</script><link rel="stylesheet" href="/css/minimal.css"/><script src="https://cdn.jsdelivr.net/npm/pace-js/pace.min.js"></script><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="avatar-img is-center"><img src="/img/avatar.png" onerror="onerror=null;src='/img/friend_404.gif'" alt="avatar"/></div><div class="site-data is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">22</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">21</div></a><a href="/categories/"><div class="headline">分类</div><div class="length-num">2</div></a></div><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 主页</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="/categories/"><i class="fa-fw fas fa-th"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 归档</span></a></div></div></div></div><div class="page type-link" id="body-wrap"><header class="not-home-page" id="page-header" style="background-image: url(/img/top.jpg);"><nav id="nav"><span id="blog-info"><a class="nav-site-title" href="/"><span class="site-name">時痕</span></a></span><div id="menus"><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 主页</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="/categories/"><i class="fa-fw fas fa-th"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 归档</span></a></div></div><div id="toggle-menu"><span class="site-page"><i class="fas fa-bars fa-fw"></i></span></div></div></nav><div id="page-site-info"><h1 id="site-title">友链</h1></div></header><main class="layout" id="content-inner"><div id="page"><div id="article-container"><div class="flink"><h2 id="关于我"><a href="#关于我" class="headerlink" title="关于我"></a>关于我</h2> <div class="flink-list">
|
||||||
|
<div class="flink-list-item">
|
||||||
|
<a href="https://github.com/Linloir" title="GitHub" target="_blank">
|
||||||
|
<div class="flink-item-icon">
|
||||||
|
<img class="no-lightbox" src="undefined" onerror='this.onerror=null;this.src="/img/friend_404.gif"' alt="GitHub" />
|
||||||
|
</div>
|
||||||
|
<div class="flink-item-name">GitHub</div>
|
||||||
|
<div class="flink-item-desc" title="undefined">undefined</div>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="flink-list-item">
|
||||||
|
<a href="https://space.bilibili.com/57762388" title="BiliBili" target="_blank">
|
||||||
|
<div class="flink-item-icon">
|
||||||
|
<img class="no-lightbox" src="undefined" onerror='this.onerror=null;this.src="/img/friend_404.gif"' alt="BiliBili" />
|
||||||
|
</div>
|
||||||
|
<div class="flink-item-name">BiliBili</div>
|
||||||
|
<div class="flink-item-desc" title="undefined">undefined</div>
|
||||||
|
</a>
|
||||||
|
</div></div></div></div></div><div class="aside-content" id="aside-content"><div class="card-widget card-info is-center"><div class="avatar-img"><img src="/img/avatar.png" onerror="this.onerror=null;this.src='/img/friend_404.gif'" alt="avatar"/></div><div class="author-info-name">Linloir</div><div class="author-info-description">我、技术、生活与值得分享的一切</div><div class="site-data"><a href="/archives/"><div class="headline">文章</div><div class="length-num">22</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">21</div></a><a href="/categories/"><div class="headline">分类</div><div class="length-num">2</div></a></div><a id="card-info-btn" target="_blank" rel="noopener" href="https://github.com/Linloir"><i class="fab fa-github"></i><span>Follow Me</span></a><div class="card-info-social-icons"><a class="social-icon" href="https://github.com/Linloir" target="_blank" title="GitHub"><i class="fab fa-github"></i></a><a class="social-icon" href="mailto:jonathanzhang.st@gmail.com" target="_blank" title="Email"><i class="fas fa-envelope"></i></a></div></div><div class="sticky_layout"><div class="card-widget card-recent-post"><div class="item-headline"><i class="fas fa-history"></i><span>最新文章</span></div><div class="aside-list"><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/2025/05/15/swift-develop-flutter-with-vscode/" title="Swift 学习笔记 - 配置 VS Code 开发 Flutter iOS Native 代码">Swift 学习笔记 - 配置 VS Code 开发 Flutter iOS Native 代码</a><time datetime="2025-05-15T01:53:53.000Z" title="发表于 2025-05-15 09:53:53">2025-05-15</time></div></div><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/2025/05/12/swift-state-binding/" title="Swift 学习笔记 - 从 Property Wrapper 视角探索 State 与 Binding 如何工作">Swift 学习笔记 - 从 Property Wrapper 视角探索 State 与 Binding 如何工作</a><time datetime="2025-05-12T15:30:52.000Z" title="发表于 2025-05-12 23:30:52">2025-05-12</time></div></div><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/2025/03/17/coroutine-llm-qa/" title="Coroutine 相关疑惑大模型问答记录">Coroutine 相关疑惑大模型问答记录</a><time datetime="2025-03-17T13:09:21.000Z" title="发表于 2025-03-17 21:09:21">2025-03-17</time></div></div><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/2024/12/31/summary-2023-2024/" title="年终总结 - 2023 至 2024">年终总结 - 2023 至 2024</a><time datetime="2024-12-31T17:15:49.000Z" title="发表于 2025-01-01 01:15:49">2025-01-01</time></div></div><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/2024/11/22/debug-windows-socket-drain/" title="问题定位回顾 - Windows 上发起 tcp 连接时提示 Only one usage of each socket address (protocol/network address/port) is normally permitted">问题定位回顾 - Windows 上发起 tcp 连接时提示 Only one usage of each socket address (protocol/network address/port) is normally permitted</a><time datetime="2024-11-22T03:52:37.000Z" title="发表于 2024-11-22 11:52:37">2024-11-22</time></div></div></div></div><div class="card-widget card-categories"><div class="item-headline">
|
||||||
|
<i class="fas fa-folder-open"></i>
|
||||||
|
<span>分类</span>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<ul class="card-category-list" id="aside-cat-list">
|
||||||
|
<li class="card-category-list-item "><a class="card-category-list-link" href="/categories/%E6%8A%80%E6%9C%AF/"><span class="card-category-list-name">技术</span><span class="card-category-list-count">14</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/%E6%9D%82%E6%80%9D/"><span class="card-category-list-name">杂思</span><span class="card-category-list-count">8</span></a></li>
|
||||||
|
</ul></div><div class="card-widget card-archives">
|
||||||
|
<div class="item-headline">
|
||||||
|
<i class="fas fa-archive"></i>
|
||||||
|
<span>归档</span>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<ul class="card-archive-list">
|
||||||
|
|
||||||
|
<li class="card-archive-list-item">
|
||||||
|
<a class="card-archive-list-link" href="/archives/2025/">
|
||||||
|
<span class="card-archive-list-date">2025</span>
|
||||||
|
<span class="card-archive-list-count">4</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="card-archive-list-item">
|
||||||
|
<a class="card-archive-list-link" href="/archives/2024/">
|
||||||
|
<span class="card-archive-list-date">2024</span>
|
||||||
|
<span class="card-archive-list-count">10</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="card-archive-list-item">
|
||||||
|
<a class="card-archive-list-link" href="/archives/2023/">
|
||||||
|
<span class="card-archive-list-date">2023</span>
|
||||||
|
<span class="card-archive-list-count">1</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="card-archive-list-item">
|
||||||
|
<a class="card-archive-list-link" href="/archives/2022/">
|
||||||
|
<span class="card-archive-list-date">2022</span>
|
||||||
|
<span class="card-archive-list-count">5</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="card-archive-list-item">
|
||||||
|
<a class="card-archive-list-link" href="/archives/2021/">
|
||||||
|
<span class="card-archive-list-date">2021</span>
|
||||||
|
<span class="card-archive-list-count">1</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="card-archive-list-item">
|
||||||
|
<a class="card-archive-list-link" href="/archives/2019/">
|
||||||
|
<span class="card-archive-list-date">2019</span>
|
||||||
|
<span class="card-archive-list-count">1</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul></div><div class="card-widget card-webinfo"><div class="item-headline"><i class="fas fa-chart-line"></i><span>网站信息</span></div><div class="webinfo"><div class="webinfo-item"><div class="item-name">文章数目 :</div><div class="item-count">22</div></div><div class="webinfo-item"><div class="item-name">本站总字数 :</div><div class="item-count">92.1k</div></div><div class="webinfo-item"><div class="item-name">本站访客数 :</div><div class="item-count" id="busuanzi_value_site_uv"><i class="fa-solid fa-spinner fa-spin"></i></div></div><div class="webinfo-item"><div class="item-name">本站总浏览量 :</div><div class="item-count" id="busuanzi_value_site_pv"><i class="fa-solid fa-spinner fa-spin"></i></div></div><div class="webinfo-item"><div class="item-name">最后更新时间 :</div><div class="item-count" id="last-push-date" data-lastPushDate="2025-05-16T05:33:53.506Z"><i class="fa-solid fa-spinner fa-spin"></i></div></div></div></div></div></div></main><footer id="footer" style="background: transparent;"><div id="footer-wrap"><div class="copyright">©2022 - 2025 By Linloir</div><div class="framework-info"><span>框架 </span><a target="_blank" rel="noopener" href="https://hexo.io">Hexo</a><span class="footer-separator">|</span><span>主题 </span><a target="_blank" rel="noopener" href="https://github.com/jerryc127/hexo-theme-butterfly">Butterfly</a></div><div class="footer_custom_text">Wirtten with Love ❤</div></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="translateLink" type="button" title="简繁转换">简</button><button id="darkmode" type="button" title="日间和夜间模式切换"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button" title="单栏和双栏切换"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><button id="rightside-config" type="button" title="设置"><i class="fas fa-cog fa-spin"></i></button><button id="go-up" type="button" title="回到顶部"><span class="scroll-percent"></span><i class="fas fa-arrow-up"></i></button></div></div><div><script src="/js/utils.js"></script><script src="/js/main.js"></script><script src="/js/tw_cn.js"></script><script src="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox/fancybox.umd.min.js"></script><script src="https://cdn.jsdelivr.net/npm/instant.page/instantpage.min.js" type="module"></script><script src="https://cdn.jsdelivr.net/npm/node-snackbar/dist/snackbar.min.js"></script><script>(() => {
|
||||||
|
const panguFn = () => {
|
||||||
|
if (typeof pangu === 'object') pangu.autoSpacingPage()
|
||||||
|
else {
|
||||||
|
btf.getScript('https://cdn.jsdelivr.net/npm/pangu/dist/browser/pangu.min.js')
|
||||||
|
.then(() => {
|
||||||
|
pangu.autoSpacingPage()
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
const panguInit = () => {
|
||||||
|
if (true){
|
||||||
|
GLOBAL_CONFIG_SITE.isPost && panguFn()
|
||||||
|
} else {
|
||||||
|
panguFn()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
btf.addGlobalFn('pjaxComplete', panguInit, 'pangu')
|
||||||
|
document.addEventListener('DOMContentLoaded', panguInit)
|
||||||
|
})()</script><div class="js-pjax"><script>(async () => {
|
||||||
|
const showKatex = () => {
|
||||||
|
document.querySelectorAll('#article-container .katex').forEach(el => el.classList.add('katex-show'))
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!window.katex_js_css) {
|
||||||
|
window.katex_js_css = true
|
||||||
|
await btf.getCSS('https://cdn.jsdelivr.net/npm/katex/dist/katex.min.css')
|
||||||
|
if (false) {
|
||||||
|
await btf.getScript('https://cdn.jsdelivr.net/npm/katex/dist/contrib/copy-tex.min.js')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
showKatex()
|
||||||
|
})()</script><script>(() => {
|
||||||
|
const runMermaid = ele => {
|
||||||
|
window.loadMermaid = true
|
||||||
|
const theme = document.documentElement.getAttribute('data-theme') === 'dark' ? 'dark' : 'default'
|
||||||
|
|
||||||
|
ele.forEach((item, index) => {
|
||||||
|
const mermaidSrc = item.firstElementChild
|
||||||
|
const mermaidThemeConfig = `%%{init:{ 'theme':'${theme}'}}%%\n`
|
||||||
|
const mermaidID = `mermaid-${index}`
|
||||||
|
const mermaidDefinition = mermaidThemeConfig + mermaidSrc.textContent
|
||||||
|
|
||||||
|
const renderFn = mermaid.render(mermaidID, mermaidDefinition)
|
||||||
|
const renderMermaid = svg => {
|
||||||
|
mermaidSrc.insertAdjacentHTML('afterend', svg)
|
||||||
|
}
|
||||||
|
|
||||||
|
// mermaid v9 and v10 compatibility
|
||||||
|
typeof renderFn === 'string' ? renderMermaid(renderFn) : renderFn.then(({ svg }) => renderMermaid(svg))
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
const codeToMermaid = () => {
|
||||||
|
const codeMermaidEle = document.querySelectorAll('pre > code.mermaid')
|
||||||
|
if (codeMermaidEle.length === 0) return
|
||||||
|
|
||||||
|
codeMermaidEle.forEach(ele => {
|
||||||
|
const preEle = document.createElement('pre')
|
||||||
|
preEle.className = 'mermaid-src'
|
||||||
|
preEle.hidden = true
|
||||||
|
preEle.textContent = ele.textContent
|
||||||
|
const newEle = document.createElement('div')
|
||||||
|
newEle.className = 'mermaid-wrap'
|
||||||
|
newEle.appendChild(preEle)
|
||||||
|
ele.parentNode.replaceWith(newEle)
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
const loadMermaid = () => {
|
||||||
|
if (true) codeToMermaid()
|
||||||
|
const $mermaid = document.querySelectorAll('#article-container .mermaid-wrap')
|
||||||
|
if ($mermaid.length === 0) return
|
||||||
|
|
||||||
|
const runMermaidFn = () => runMermaid($mermaid)
|
||||||
|
btf.addGlobalFn('themeChange', runMermaidFn, 'mermaid')
|
||||||
|
window.loadMermaid ? runMermaidFn() : btf.getScript('https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js').then(runMermaidFn)
|
||||||
|
}
|
||||||
|
|
||||||
|
btf.addGlobalFn('encrypt', loadMermaid, 'mermaid')
|
||||||
|
window.pjax ? loadMermaid() : document.addEventListener('DOMContentLoaded', loadMermaid)
|
||||||
|
})()</script></div><script id="canvas_nest" defer="defer" color="165,165,165" opacity="0.8" zIndex="-1" count="99" mobile="false" src="https://cdn.jsdelivr.net/npm/butterfly-extsrc/dist/canvas-nest.min.js"></script><script src="https://cdn.jsdelivr.net/npm/pjax/pjax.min.js"></script><script>(() => {
|
||||||
|
const pjaxSelectors = ["head > title","#config-diff","#body-wrap","#rightside-config-hide","#rightside-config-show",".js-pjax"]
|
||||||
|
|
||||||
|
window.pjax = new Pjax({
|
||||||
|
elements: 'a:not([target="_blank"])',
|
||||||
|
selectors: pjaxSelectors,
|
||||||
|
cacheBust: false,
|
||||||
|
analytics: false,
|
||||||
|
scrollRestoration: false
|
||||||
|
})
|
||||||
|
|
||||||
|
const triggerPjaxFn = (val) => {
|
||||||
|
if (!val) return
|
||||||
|
Object.values(val).forEach(fn => fn())
|
||||||
|
}
|
||||||
|
|
||||||
|
document.addEventListener('pjax:send', () => {
|
||||||
|
// removeEventListener
|
||||||
|
btf.removeGlobalFnEvent('pjaxSendOnce')
|
||||||
|
btf.removeGlobalFnEvent('themeChange')
|
||||||
|
|
||||||
|
// reset readmode
|
||||||
|
const $bodyClassList = document.body.classList
|
||||||
|
if ($bodyClassList.contains('read-mode')) $bodyClassList.remove('read-mode')
|
||||||
|
|
||||||
|
triggerPjaxFn(window.globalFn.pjaxSend)
|
||||||
|
})
|
||||||
|
|
||||||
|
document.addEventListener('pjax:complete', () => {
|
||||||
|
btf.removeGlobalFnEvent('pjaxCompleteOnce')
|
||||||
|
document.querySelectorAll('script[data-pjax]').forEach(item => {
|
||||||
|
const newScript = document.createElement('script')
|
||||||
|
const content = item.text || item.textContent || item.innerHTML || ""
|
||||||
|
Array.from(item.attributes).forEach(attr => newScript.setAttribute(attr.name, attr.value))
|
||||||
|
newScript.appendChild(document.createTextNode(content))
|
||||||
|
item.parentNode.replaceChild(newScript, item)
|
||||||
|
})
|
||||||
|
|
||||||
|
triggerPjaxFn(window.globalFn.pjaxComplete)
|
||||||
|
})
|
||||||
|
|
||||||
|
document.addEventListener('pjax:error', e => {
|
||||||
|
if (e.request.status === 404) {
|
||||||
|
pjax.loadUrl('/404')
|
||||||
|
}
|
||||||
|
})
|
||||||
|
})()</script><script async data-pjax src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script></div></body></html>
|
||||||