Skip to content

Commit 59c12c6

Browse files
committed
[optimize] update Personal Resume & Upstream packages
[fix] several URLs in posts
1 parent da3e777 commit 59c12c6

File tree

8 files changed

+115
-27
lines changed

8 files changed

+115
-27
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@
4848
"devDependencies": {
4949
"husky": "^7.0.4",
5050
"jsonresume-theme-kendall": "^0.2.0",
51-
"lint-staged": "^12.1.5",
52-
"prettier": "^2.5.1",
53-
"resume-cli": "^3.0.5",
51+
"lint-staged": "^12.3.7",
52+
"prettier": "^2.6.0",
53+
"resume-cli": "^3.0.6",
5454
"yamljs": "^0.3.0"
5555
},
5656
"hexo": {

source/_data/resume.yml

Lines changed: 61 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,16 @@ basics:
1515
username: TechQuery
1616
url: https://github.com/TechQuery
1717
work:
18+
- name: idea2app
19+
position: CEO
20+
url: https://ideapp.dev/
21+
startDate: 2020-08-13
22+
summary: Team founder & Web/JavaScript full-stack engineer
23+
highlights:
24+
-
1825
- name: ChengDu 1024 Technology Partnership
1926
position: General Partner
27+
url: https://github.com/Creator-1024
2028
startDate: 2020-10-24
2129
highlights:
2230
- Do many Presentations to promote JavaScript full-stack
@@ -55,6 +63,13 @@ work:
5563
highlights:
5664
- Refactor multiple PC and mobile projects based on personal open-source projects EasyWebApp.js and EasyLibs.php
5765
volunteer:
66+
- organization: Open Source Bazaar
67+
position: Founder & Co-creator
68+
url: https://open-source-bazaar.github.io/
69+
startDate: 2020-10-28
70+
summary: A local Decentralized Open Collaboration Community in Chengdu
71+
highlights:
72+
-
5873
- organization: freeCodeCamp.org
5974
position: Core organizer
6075
url: https://freecodecamp.org/
@@ -75,6 +90,20 @@ volunteer:
7590
highlights:
7691
- Develop new Web-site of KaiYuanShe based on Hexo and Original open-source utilities
7792
- Outfield volunteer leader of COSCon 2018
93+
- organization: JavaScript Chinese Interest Group
94+
position: Member & Web/JavaScript full-stack engineer
95+
url: https://jscig.github.io/
96+
startDate: 2020-09-30
97+
summary: Committed to providing a platform to strengthen the participation of Chinese JavaScript community in the work on the JavaScript language standard (ECMAScript)
98+
highlights:
99+
-
100+
- organization: HanMeng Culture community
101+
position: Core Member & Web/JavaScript full-stack engineer
102+
url: https://github.com/hanmengwenhua
103+
startDate: 2020-09-11
104+
summary: An open community focusing on traditional Chinese culture such as Hanfu and folk music
105+
highlights:
106+
-
78107
- organization: WuHan 2020
79108
position: Core Developer
80109
url: https://community.wuhan2020.org.cn/
@@ -115,6 +144,14 @@ education:
115144
startDate: 2008-09-01
116145
endDate: 2012-06-30
117146
awards:
147+
- title: Top contributor
148+
date: 2021-12-30
149+
awarder: freeCodeCamp.org
150+
summary: Annual Award for Online Volunteers & City Community Organizers
151+
- title: Most Valuable Professional
152+
date: 2021-07-01
153+
awarder: Microsoft
154+
summary: Developer Technologies
118155
- title: Top contributor
119156
date: 2020-12-31
120157
awarder: freeCodeCamp.org
@@ -124,7 +161,7 @@ awards:
124161
awarder: KaiYuanShe.cn
125162
summary: one of 33 honorees
126163
- title: Most Valuable Professional
127-
date: 2020-10
164+
date: 2020-10-01
128165
awarder: Aliyun
129166
summary: Basic Application
130167
- title: Most Valuable Professional
@@ -152,6 +189,26 @@ awards:
152189
awarder: freeCodeCamp.org
153190
summary: Annual Award for Online Volunteers & City Community Organizers
154191
publications:
192+
- name: Web polyfill
193+
publisher: idea2app & KaiYuanShe
194+
releaseDate: 2022-03-16
195+
url: https://polyfill.web-cell.dev/
196+
summary: An automatic CDN service for Web polyfills, which is based on TypeScript, Node.js & JSDelivr.
197+
- name: Event Submitter polyfill
198+
publisher: idea2app
199+
releaseDate: 2021-08-01
200+
url: https://github.com/idea2app/event-submitter-polyfill
201+
summary: A polyfill for submitter property of <form /> Submit Event, which is written in TypeScript.
202+
- name: Edkit
203+
publisher: idea2app
204+
releaseDate: 2021-04-07
205+
url: https://github.com/idea2app/Edkit
206+
summary: Lightweight Rich Text Editor toolkit based on TypeScript
207+
- name: JSCIG official Web-site
208+
publisher: JSCIG
209+
releaseDate: 2020-09-30
210+
url: https://jscig.github.io/
211+
summary: ECMAScript proposal database
155212
- name: Array Unique proposal
156213
publisher: ECMA TC39
157214
releaseDate: 2020-08-01
@@ -250,6 +307,9 @@ interests:
250307
- swimming
251308
- KongFu
252309
- name: HanFu
310+
keywords:
311+
- Ming
312+
- Song
253313
references:
254314
- name: YuZhen Jiang
255315
url: https://github.com/jiangyuzhen

source/_posts/Development/Web-Chrome-update-at-Google-IO-2019.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ slidehtml: true
4141

4242
- `loading` 属性是早期提案 `lazyload` 属性的代替
4343
- 将在 Chrome 76 发布
44-
- [补丁库](https://github.com/noahbuscher/img-lazy-loading-poly)
4544

4645
---
4746

@@ -105,6 +104,7 @@ document.querySelector('button.share').addEventListener('click', async () => {
105104
- 网页由 HTTPS 打开
106105
- Android Chrome 61+
107106
- 分享调用在**用户操作回调栈**中发起
107+
- [polyfill](https://github.com/on2-dev/share-api-polyfill)
108108

109109
---
110110

@@ -236,7 +236,7 @@ Set-Cookie: c=3; SameSite=None
236236
---
237237

238238
<div style="background: white">
239-
![](https://developers.google.com/web/updates/images/2018/11/signed-exchanges.svg)
239+
<img src="https://developers.google.com/web/updates/images/2018/11/signed-exchanges.svg">
240240
</div>
241241

242242
---

source/_posts/Development/Web-progress-2021.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,8 @@ form?.addEventListener('formdata', ({ formData }) => {
289289
});
290290
```
291291
292-
> [标准提案作者博文译文](/programming/more-capable-form-controls/)
292+
> 1. [标准提案作者博文译文](/programming/more-capable-form-controls/)
293+
> 2. [polyfill 开发进展](https://github.com/webcomponents/polyfills/issues/172)
293294
294295
---
295296

source/_posts/Development/Web-text-speech.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,16 @@ tags:
88
- TTS
99
---
1010

11+
## 国难当头
12+
1113
[武汉肺炎][1]在中国大陆肆虐的两个月,在后方的大家都在家闷得难受。一开始还在网上时刻关注各种疫情新闻,久而久之头昏眼花,十分疲惫。
1214

1315
[发哨人艾芬医生][2][采访稿][3]被封杀后,**墙国网民**再次群情激奋地力挺,把原文用各种文字、编码、平台记录下来,妥妥的“留取丹青照汗青”!
1416

1517
其中有个网友用一款 Google Chrome **文本朗读** (TTS) 扩展把原文读出来,并把朗读过程录成视频分享出来,让大家闭目养神中就能了解**疫情真相**~
1618

19+
## 自力更生
20+
1721
作为一个 Google 重度用户,针对一个事情可以搜出太多网页可读,眼睛会非常累,一直想找个方便的文本朗读工具。但作为一个 Web 全栈工程师,**跨平台兼容性**又是深入骨髓的自觉,于是翻出前一阵扫过一眼的 [Web Speech API][4],抄起键盘就是一把梭 ——
1822

1923
<iframe
@@ -32,6 +36,12 @@ tags:
3236

3337
> javascript:!((e)=>{const voice=speechSynthesis.getVoices().find(({lang:e})=>e===navigator.language);function speak(e){const t=new SpeechSynthesisUtterance(e);t.voice=voice,speechSynthesis.speak(t)}function\*walkRange(e){const t=document.createNodeIterator(e.commonAncestorContainer);for(var n;(n=t.nextNode())&&(e.intersectsNode(n)&&(yield n),n!==e.endContainer););}function getSelectedText(e){const t=self.getSelection().getRangeAt(0);if(t&&t+""&&(!e||e.contains(t.commonAncestorContainer)))return[...walkRange(t)].filter(({nodeType:e,parentNode:t})=>{if(3!==e)return;const{width:n,height:o}=t.getBoundingClientRect();return n&&o}).map(({nodeValue:e},n,{length:o})=>e.slice(0===n?t.startOffset:0,n===o-1?t.endOffset:1/0)).filter(e=>e.trim()).join("").trim()}document.addEventListener("selectionchange",()=>{const e=getSelectedText();e&&!speechSynthesis.speaking?speak(e):speechSynthesis.cancel()}),self.alert("Selected Text will be speak out automatically");})();
3438
39+
## 技术背景
40+
41+
若想基于这个新 API 开发应用产品的同学,兼容性大可放心,实在没辙还有 polyfill 顶着:
42+
43+
> https://github.com/compulim/web-speech-cognitive-services
44+
3545
<picture>
3646
<source type="image/webp" srcset="https://caniuse.bitsofco.de/image/speech-synthesis.webp">
3747
<img
@@ -46,6 +56,8 @@ tags:
4656
2. [Selection change 事件](https://developer.mozilla.org/zh-CN/docs/Web/API/Document/selectionchange_event)
4757
3. [NodeIterator](https://developer.mozilla.org/zh-CN/docs/Web/API/NodeIterator)
4858

59+
## 与君共勉
60+
4961
{% asset_img Web-TTS.png 操作图示 %}
5062

5163
最后,以艾芬医生的两句话**与君共勉** ——

source/_posts/Development/headless-CMS-Strapi.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,9 @@ jobs:
136136
steps:
137137
- name: Checkout
138138
uses: actions/checkout@master
139+
- name: Clean
140+
run: |
141+
rm -rf .git/ .gitignore .github/ .editorconfig .eslint*
139142
- name: Transport
140143
uses: garygrossgarten/github-action-scp@release
141144
with:

source/_posts/Development/start-Kotlin-without-IDE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ categories:
66
tags:
77
- Java
88
- Kotlin
9+
img: https://static1.makeuseofimages.com/wordpress/wp-content/uploads/2021/09/Kotlin-Vs-Java-Featured-Image.jpeg?q=50&fit=contain&w=750&h=375&dpr=1.5
910
---
1011

1112
Java、PHP 作为中国软件外包行业的扛把子,自然是码农最多、甲方最爱的后端技术栈,我自主创业以来也有不少甲方要求 Java + Spring 的架构。

yarn.lock

Lines changed: 31 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3349,36 +3349,37 @@ lines-and-columns@^1.1.6:
33493349
resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632"
33503350
integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==
33513351

3352-
lint-staged@^12.1.5:
3353-
version "12.1.5"
3354-
resolved "https://registry.yarnpkg.com/lint-staged/-/lint-staged-12.1.5.tgz#e05582fc39aed5cb13b9dd1dfb8330407246d809"
3355-
integrity sha512-WyKb+0sNKDTd1LwwAfTBPp0XmdaKkAOEbg4oHE4Kq2+oQVchg/VAcjVQtSqZih1izNsTURjc2EkhG/syRQUXdA==
3352+
lint-staged@^12.3.7:
3353+
version "12.3.7"
3354+
resolved "https://registry.yarnpkg.com/lint-staged/-/lint-staged-12.3.7.tgz#ad0e2014302f704f9cf2c0ebdb97ac63d0f17be0"
3355+
integrity sha512-/S4D726e2GIsDVWIk1XGvheCaDm1SJRQp8efamZFWJxQMVEbOwSysp7xb49Oo73KYCdy97mIWinhlxcoNqIfIQ==
33563356
dependencies:
33573357
cli-truncate "^3.1.0"
33583358
colorette "^2.0.16"
33593359
commander "^8.3.0"
33603360
debug "^4.3.3"
33613361
execa "^5.1.1"
33623362
lilconfig "2.0.4"
3363-
listr2 "^3.13.5"
3363+
listr2 "^4.0.1"
33643364
micromatch "^4.0.4"
33653365
normalize-path "^3.0.0"
3366-
object-inspect "^1.11.1"
3366+
object-inspect "^1.12.0"
3367+
pidtree "^0.5.0"
33673368
string-argv "^0.3.1"
33683369
supports-color "^9.2.1"
33693370
yaml "^1.10.2"
33703371

3371-
listr2@^3.13.5:
3372-
version "3.14.0"
3373-
resolved "https://registry.yarnpkg.com/listr2/-/listr2-3.14.0.tgz#23101cc62e1375fd5836b248276d1d2b51fdbe9e"
3374-
integrity sha512-TyWI8G99GX9GjE54cJ+RrNMcIFBfwMPxc3XTFiAYGN4s10hWROGtOg7+O6u6LE3mNkyld7RSLE6nrKBvTfcs3g==
3372+
listr2@^4.0.1:
3373+
version "4.0.5"
3374+
resolved "https://registry.yarnpkg.com/listr2/-/listr2-4.0.5.tgz#9dcc50221583e8b4c71c43f9c7dfd0ef546b75d5"
3375+
integrity sha512-juGHV1doQdpNT3GSTs9IUN43QJb7KHdF9uqg7Vufs/tG9VTzpFphqF4pm/ICdAABGQxsyNn9CiYA3StkI6jpwA==
33753376
dependencies:
33763377
cli-truncate "^2.1.0"
33773378
colorette "^2.0.16"
33783379
log-update "^4.0.0"
33793380
p-map "^4.0.0"
33803381
rfdc "^1.3.0"
3381-
rxjs "^7.5.1"
3382+
rxjs "^7.5.5"
33823383
through "^2.3.8"
33833384
wrap-ansi "^7.0.0"
33843385

@@ -3868,7 +3869,7 @@ object-copy@^0.1.0:
38683869
define-property "^0.2.5"
38693870
kind-of "^3.0.3"
38703871

3871-
object-inspect@^1.11.0, object-inspect@^1.11.1, object-inspect@^1.9.0:
3872+
object-inspect@^1.11.0, object-inspect@^1.12.0, object-inspect@^1.9.0:
38723873
version "1.12.0"
38733874
resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.12.0.tgz#6e2c120e868fd1fd18cb4f18c31741d0d6e776f0"
38743875
integrity sha512-Ho2z80bVIvJloH+YzRmpZVQe87+qASmBUKZDWgx9cu+KDrX2ZDH/3tMy+gXbZETVGs2M8YdxObOh7XAtim9Y0g==
@@ -4169,6 +4170,11 @@ picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.2.3:
41694170
resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42"
41704171
integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==
41714172

4173+
pidtree@^0.5.0:
4174+
version "0.5.0"
4175+
resolved "https://registry.yarnpkg.com/pidtree/-/pidtree-0.5.0.tgz#ad5fbc1de78b8a5f99d6fbdd4f6e4eee21d1aca1"
4176+
integrity sha512-9nxspIM7OpZuhBxPg73Zvyq7j1QMPMPsGKTqRc2XOaFQauDvoNz9fM1Wdkjmeo7l9GXOZiRs97sPkuayl39wjA==
4177+
41724178
pkg-dir@4.2.0, pkg-dir@^4.2.0:
41734179
version "4.2.0"
41744180
resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-4.2.0.tgz#f099133df7ede422e81d1d8448270eeb3e4261f3"
@@ -4204,6 +4210,11 @@ prettier@^2.5.1:
42044210
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.5.1.tgz#fff75fa9d519c54cf0fce328c1017d94546bc56a"
42054211
integrity sha512-vBZcPRUR5MZJwoyi3ZoyQlc1rXeEck8KgeC9AwwOn+exuxLxq5toTRDTSaVrXHxelDMHy9zlicw8u66yxoSUFg==
42064212

4213+
prettier@^2.6.0:
4214+
version "2.6.0"
4215+
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.6.0.tgz#12f8f504c4d8ddb76475f441337542fa799207d4"
4216+
integrity sha512-m2FgJibYrBGGgQXNzfd0PuDGShJgRavjUoRCw1mZERIWVSXF0iLzLm+aOqTAbLnC3n6JzUhAA8uZnFVghHJ86A==
4217+
42074218
pretty-format@^22.4.3:
42084219
version "22.4.3"
42094220
resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-22.4.3.tgz#f873d780839a9c02e9664c8a082e9ee79eaac16f"
@@ -4513,10 +4524,10 @@ restore-cursor@^3.1.0:
45134524
onetime "^5.1.0"
45144525
signal-exit "^3.0.2"
45154526

4516-
resume-cli@^3.0.5:
4517-
version "3.0.5"
4518-
resolved "https://registry.yarnpkg.com/resume-cli/-/resume-cli-3.0.5.tgz#c9f7d8eb2684ec7ee4b30571ad0575004cd4fb3f"
4519-
integrity sha512-C5/LyLv0wcwg46pL3b/AzwMBpYCwa/FiAt13tBUfZQ1JgJshWYaB5TF3NH1Evlfhb6VpCvSXw+FY4By83pflCA==
4527+
resume-cli@^3.0.6:
4528+
version "3.0.6"
4529+
resolved "https://registry.yarnpkg.com/resume-cli/-/resume-cli-3.0.6.tgz#357426cfca42c3655e7b0bf1605992c74d5afe1d"
4530+
integrity sha512-jhUC5nIYTnRcWCxWgFgGhHtG2tOxelVcSqmkpfP20qRlUb/w03bi9G6Y970oXE9Gs/UM67Ev+l+q/ffsBxSXGQ==
45204531
dependencies:
45214532
async "^3.2.0"
45224533
browser-sync "^2.26.7"
@@ -4597,10 +4608,10 @@ rxjs@^5.5.6:
45974608
dependencies:
45984609
symbol-observable "1.0.1"
45994610

4600-
rxjs@^7.5.1:
4601-
version "7.5.1"
4602-
resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-7.5.1.tgz#af73df343cbcab37628197f43ea0c8256f54b157"
4603-
integrity sha512-KExVEeZWxMZnZhUZtsJcFwz8IvPvgu4G2Z2QyqjZQzUGr32KDYuSxrEYO4w3tFFNbfLozcrKUTvTPi+E9ywJkQ==
4611+
rxjs@^7.5.5:
4612+
version "7.5.5"
4613+
resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-7.5.5.tgz#2ebad89af0f560f460ad5cc4213219e1f7dd4e9f"
4614+
integrity sha512-sy+H0pQofO95VDmFLzyaw9xNJU4KTRSwQIGM6+iG3SypAtCiLDzpeG8sJrNCWn2Up9km+KhkvTdbkrdy+yzZdw==
46044615
dependencies:
46054616
tslib "^2.1.0"
46064617

0 commit comments

Comments
 (0)