Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
129 commits
Select commit Hold shift + click to select a range
5dd147b
:sparkles: newpost
Aug 20, 2023
d2ea7fd
:sparkles: newpost
Aug 20, 2023
97b2eac
:bug: update desc
Aug 20, 2023
4b2f818
:bug: update desc
Aug 20, 2023
b0a9228
:bug: update
Aug 20, 2023
b6abfae
:sparkles: 更想一下
Aug 20, 2023
765f09e
:art: 更想一下
Aug 20, 2023
a18ea95
:bug: update error
Aug 20, 2023
5cc47b7
:bug: update desc
Aug 21, 2023
1e38108
:sparkles: update desc
Aug 21, 2023
b6264b0
:bug: update maple
Aug 24, 2023
ce414b0
:bug: update
Aug 24, 2023
dc038b4
:bug: update feature
Aug 24, 2023
4d914a2
:lipstick: add aigc
Aug 28, 2023
82f608d
:sparkles: newpost
tw93 Sep 18, 2023
0ae1b14
:bug: Update typos
tw93 Sep 18, 2023
bcfe0ca
:bug: update
tw93 Oct 9, 2023
619e475
:bug: fix title width
tw93 Oct 18, 2023
c821327
:sparkles: newfe
tw93 Oct 21, 2023
53b5658
:sparkles: newfile
tw93 Nov 6, 2023
646c2b3
:pencil: newpost
Dec 4, 2023
e609301
:art: change br height
tw93 Dec 5, 2023
0f1b38b
:bug: Locking versions to prevent github action build errors
tw93 Dec 7, 2023
5d76007
:bug: Locking versions to prevent github action build errors
tw93 Dec 7, 2023
c32930d
:bug: Locking versions to prevent github action build errors
tw93 Dec 7, 2023
f791f42
:bug: add new action
tw93 Dec 7, 2023
15b3e65
:bug: remove actions
tw93 Dec 7, 2023
38e9fd5
:sparkles: add new github
tw93 Dec 7, 2023
09a2ccf
:bug: update br margin
tw93 Dec 8, 2023
a0f52ad
:bug: Fix space problem
tw93 Dec 11, 2023
dc3dc51
:pencil: newpost
tw93 Dec 17, 2023
b16225d
:art: update
tw93 Dec 17, 2023
3ff0765
:bug: update
tw93 Dec 17, 2023
fc2754b
:bug: update video
tw93 Dec 17, 2023
84fdc9f
:bug: update title
tw93 Dec 17, 2023
437dc95
:bug: Modify all video controls not to display
tw93 Dec 18, 2023
2072183
:bug: update video
tw93 Dec 18, 2023
eedeb22
:bug: update
tw93 Dec 18, 2023
f314c24
:bug: update
tw93 Dec 18, 2023
1c2e089
:bug: update
tw93 Dec 20, 2023
87a3bf4
:sparkles: Introduce a lot of things.
Jan 1, 2024
7a6ce41
:sparkles: update
Jan 1, 2024
4f5f263
:sparkles: newpost
tw93 Jan 13, 2024
08e2802
:bug: add feature
tw93 Jan 13, 2024
82fde39
:bug: update
tw93 Jan 13, 2024
f2eb816
:sparkles: update
tw93 Jan 13, 2024
f9aad97
:bug: update
tw93 Jan 13, 2024
0c72d1c
:sparkles: playsinline
tw93 Jan 13, 2024
61acf9e
:bug: update video
tw93 Jan 13, 2024
b049528
:bug: udpate header css
tw93 Jan 13, 2024
0cfc848
:bug: controls
tw93 Jan 13, 2024
8862175
:bug: update .pagination
tw93 Jan 13, 2024
16d3842
:bug: update title
tw93 Jan 13, 2024
6d6b331
:bug: update
tw93 Jan 14, 2024
b2c88a4
:bug: update
tw93 Jan 14, 2024
7e53545
:bug: update
tw93 Jan 14, 2024
004583a
:bug: update
tw93 Jan 14, 2024
9076fb3
:sparkles: Super update
tw93 Jan 14, 2024
437a502
:bug: Super update
tw93 Jan 14, 2024
cc034d2
:sparkles: add video
tw93 Feb 6, 2024
e62d1a8
:bug: update
tw93 Feb 6, 2024
1be2ec0
:bug: update
tw93 Feb 6, 2024
016f28b
:sparkles: newpost
tw93 Feb 13, 2024
1b516b0
:bug: update lock
tw93 Feb 13, 2024
c787444
:bug: update lock
tw93 Feb 13, 2024
73a64e6
:bug: update lock
tw93 Feb 13, 2024
ca214a3
Create jekyll.yml
tw93 Feb 13, 2024
750dfd4
:sparkles: newpost2023
tw93 Feb 14, 2024
adc828c
:bug: update
tw93 Feb 14, 2024
0a1609e
:bug: update
tw93 Feb 14, 2024
edd7e70
:bug: update
tw93 Feb 14, 2024
17abe8d
:bug: update
tw93 Feb 14, 2024
df7b66c
:bug: update
tw93 Feb 14, 2024
fd72ae9
Update 2024-02-12-my-2023.md
tw93 Feb 14, 2024
e8a9588
:bug: update
tw93 Feb 14, 2024
f6e20f9
:sparkles: update
tw93 Feb 14, 2024
e067ae9
:bug: update
tw93 Feb 25, 2024
2a72f8c
:bug: Update time zone
tw93 Feb 25, 2024
4f55b51
:bug: Typographical error correction
tw93 Feb 25, 2024
a3a226f
:bug: update
tw93 Feb 25, 2024
a12206b
:bug: update google
tw93 Feb 25, 2024
7b14395
:art: Code format optimization
tw93 Feb 25, 2024
bd622da
:bug: Fix bug after formatting
tw93 Feb 25, 2024
fcc0184
:sparkles: English version blog
tw93 Feb 25, 2024
4dc499d
:sparkles: English version blog
tw93 Feb 25, 2024
66932a7
:sparkles: English blog version
tw93 Feb 28, 2024
b6a5a2c
:bug: update
tw93 Feb 28, 2024
aa8e217
:bug: update
tw93 Feb 28, 2024
b63bda4
:bug: update
tw93 Feb 28, 2024
65a68d6
:bug: update
tw93 Feb 28, 2024
66f7567
:sparkles: English version
tw93 Feb 29, 2024
eddc55f
:bug: update
tw93 Feb 29, 2024
5bb558c
:bug: update
tw93 Feb 29, 2024
3e5f3f5
:bug: update
tw93 Feb 29, 2024
2239448
:bug: update
tw93 Feb 29, 2024
af05461
:bug: update
tw93 Feb 29, 2024
d54b40b
:bug: update
tw93 Feb 29, 2024
59fd053
:bug: update
tw93 Feb 29, 2024
6be9098
:bug: update
tw93 Feb 29, 2024
62507cb
:bug: update font size
tw93 Feb 29, 2024
5bdcd22
:bug: update
tw93 Mar 1, 2024
c0b2f38
:sparkles: Image loading optimization
tw93 Mar 12, 2024
22a4909
:sparkles: preload a link
tw93 Mar 12, 2024
042adee
:bug: No optimization for gif svg images
tw93 Apr 2, 2024
013e61e
:pencil: newpost
tw93 Apr 15, 2024
9c0b9df
:pencil: new english post
tw93 Apr 15, 2024
54c79e2
:bug: Fix the zoom in and out mouse
tw93 May 28, 2024
253ba06
:bug: update cats
tw93 Jun 16, 2024
1d00fe0
:bug: update coffee
tw93 Jun 17, 2024
8f036d3
:sparkles: newpost
tw93 Jun 30, 2024
8b389fc
:sparkles: newpost
tw93 Jun 30, 2024
0872bf2
:bug: update repeat sentence
tw93 Jun 30, 2024
294f9bf
:lipstick: update table text show
tw93 Jun 30, 2024
0b6a8ae
:bug: update title
tw93 Jun 30, 2024
ea946e9
:sparkles: newpost future
tw93 Sep 18, 2024
7f6ae95
:sparkles: Add image border style.
tw93 Sep 18, 2024
ff1b108
:sparkles: newpost
tw93 Oct 13, 2024
afab353
:bug: update download pdf
tw93 Oct 13, 2024
dbc4151
:sparkles: update follow
tw93 Oct 21, 2024
250739d
:sparkles: update error words
tw93 Oct 22, 2024
e7fec06
:art: update description
tw93 Oct 27, 2024
37708ce
:sparkles: update title
tw93 Oct 27, 2024
c05d395
:bug: update pic
tw93 Oct 28, 2024
c70af3a
:bug: update pic
tw93 Oct 29, 2024
5de0439
:sparkles: update cats
tw93 Nov 25, 2024
034d7f2
:art: update
tw93 Dec 2, 2024
eb76038
:bug: update
tw93 Dec 2, 2024
0861ddd
:bug: update
tw93 Dec 2, 2024
83d6fde
:bug: fixed comment style
tw93 Jan 1, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 64 additions & 0 deletions .github/workflows/jekyll.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

# Sample workflow for building and deploying a Jekyll site to GitHub Pages
name: Deploy Jekyll site to Pages

on:
# Runs on pushes targeting the default branch
push:
branches: ["master"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@8575951200e472d5f2d95c625da0c7bec8217c42 # v1.161.0
with:
ruby-version: '3.1' # Not needed with a .ruby-version file
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
cache-version: 0 # Increment this number if you need to re-download cached gems
- name: Setup Pages
id: pages
uses: actions/configure-pages@v4
- name: Build with Jekyll
# Outputs to the './_site' directory by default
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
env:
JEKYLL_ENV: production
- name: Upload artifact
# Automatically uploads an artifact from the './_site' directory by default
uses: actions/upload-pages-artifact@v3

# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
3 changes: 2 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
source "https://rubygems.org"

gem 'jekyll'
gem "jekyll"
gem 'jekyll-paginate'
gem 'jekyll-sitemap'
gem "jekyll-pdf-embed"
gem 'jekyll-feed'
78 changes: 62 additions & 16 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,22 +1,26 @@
GEM
remote: https://rubygems.org/
specs:
addressable (2.8.4)
addressable (2.8.6)
public_suffix (>= 2.0.2, < 6.0)
colorator (1.1.0)
concurrent-ruby (1.2.2)
concurrent-ruby (1.2.3)
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0)
eventmachine (1.2.7)
ffi (1.15.5)
ffi (1.16.3)
forwardable-extended (2.6.0)
google-protobuf (3.23.4-arm64-darwin)
google-protobuf (3.23.4-x86_64-darwin)
google-protobuf (3.25.2)
google-protobuf (3.25.2-aarch64-linux)
google-protobuf (3.25.2-arm64-darwin)
google-protobuf (3.25.2-x86-linux)
google-protobuf (3.25.2-x86_64-darwin)
google-protobuf (3.25.2-x86_64-linux)
http_parser.rb (0.8.0)
i18n (1.14.1)
concurrent-ruby (~> 1.0)
jekyll (4.3.2)
jekyll (4.3.3)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
Expand All @@ -32,6 +36,8 @@ GEM
safe_yaml (~> 1.0)
terminal-table (>= 1.8, < 4.0)
webrick (~> 1.7)
jekyll-feed (0.17.0)
jekyll (>= 3.7, < 5.0)
jekyll-paginate (1.1.0)
jekyll-pdf-embed (1.1.3)
jekyll
Expand All @@ -52,31 +58,71 @@ GEM
mercenary (0.4.0)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (5.0.3)
public_suffix (5.0.4)
rb-fsevent (0.11.2)
rb-inotify (0.10.1)
ffi (~> 1.0)
rexml (3.2.6)
rouge (4.1.3)
rouge (4.2.0)
safe_yaml (1.0.5)
sass-embedded (1.64.2-arm64-darwin)
google-protobuf (~> 3.23)
sass-embedded (1.64.2-x86_64-darwin)
google-protobuf (~> 3.23)
sass-embedded (1.70.0-aarch64-linux-android)
google-protobuf (~> 3.25)
sass-embedded (1.70.0-aarch64-linux-gnu)
google-protobuf (~> 3.25)
sass-embedded (1.70.0-aarch64-linux-musl)
google-protobuf (~> 3.25)
sass-embedded (1.70.0-arm-linux-androideabi)
google-protobuf (~> 3.25)
sass-embedded (1.70.0-arm-linux-gnueabihf)
google-protobuf (~> 3.25)
sass-embedded (1.70.0-arm-linux-musleabihf)
google-protobuf (~> 3.25)
sass-embedded (1.70.0-arm64-darwin)
google-protobuf (~> 3.25)
sass-embedded (1.70.0-x86-linux-android)
google-protobuf (~> 3.25)
sass-embedded (1.70.0-x86-linux-gnu)
google-protobuf (~> 3.25)
sass-embedded (1.70.0-x86-linux-musl)
google-protobuf (~> 3.25)
sass-embedded (1.70.0-x86_64-darwin)
google-protobuf (~> 3.25)
sass-embedded (1.70.0-x86_64-linux-android)
google-protobuf (~> 3.25)
sass-embedded (1.70.0-x86_64-linux-gnu)
google-protobuf (~> 3.25)
sass-embedded (1.70.0-x86_64-linux-musl)
google-protobuf (~> 3.25)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
unicode-display_width (2.4.2)
unicode-display_width (2.5.0)
webrick (1.8.1)

PLATFORMS
arm64-darwin-22
x86_64-darwin-21
aarch64-linux
aarch64-linux-android
aarch64-linux-gnu
aarch64-linux-musl
arm-linux-androideabi
arm-linux-gnueabihf
arm-linux-musleabihf
arm64-darwin
x86-linux
x86-linux-android
x86-linux-gnu
x86-linux-musl
x86_64-darwin
x86_64-linux
x86_64-linux-android
x86_64-linux-gnu
x86_64-linux-musl

DEPENDENCIES
jekyll
jekyll-feed
jekyll-paginate
jekyll-pdf-embed
jekyll-sitemap

BUNDLED WITH
2.3.15
2.5.6
88 changes: 50 additions & 38 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,59 +1,71 @@
title: Tw93
description: "Hi,我是 Tw93,是一个前端工程师,会一点 Swift / Rust / Python,喜欢折腾各种新技术。"
# Site Information
title: Tw93
description: "一个喜欢开源和折腾的工程师"
url: https://tw93.fun
repo: tw93/tw93.github.io
lang: zh-CN
timezone: Africa/El_Aaiun

# Social Media and External URLs
github: tw93
zhihu: tw93
twitter: HiTw93
v2ex: tw93

url: https://tw93.fun
menu:
- title: 'Categories'
url: '/categories.html'
- title: 'About'
url: '/about'
- title: 'Weekly'
url: 'https://weekly.tw93.fun/'
- title: 'Github'
url: 'https://github.com/tw93'
- title: 'RSS'
url: '/feed.xml'

timezone: Africa/El_Aaiun
locale: zh_CN
lang: zh-cmn-Hans
future: true
highlighter: rouge
markdown: kramdown
sass:
sass_dir: _sass
style: compressed

permalink: /:year-:month-:day/:title.html
assetUrl: //tw93.fun/images/
defaultImage: data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
- title: "Categories"
url: "/categories.html"
- title: "About"
url: "/about.html"
- title: "Weekly"
url: "https://weekly.tw93.fun/"

google_analytics: UA-57207999-1
baidu_verify: kxGpkpWG7G
google_verify: DbapjTyfmMvvmkuA1GiGcXMqgPQrtgxeUTGY-MrEOYw
# SEO and Analytics
google_analytics: G-KS7EDB6BRM

# Build Settings
paginate: 10
post_ext: md
page_ext: md
post_layout: post
page_layout: page
titlecase: true
future: true
highlighter: rouge
markdown: kramdown
permalink: /:year-:month-:day/:title.html
sass:
sass_dir: _sass
style: compressed

showBuyCoffee: true
payImage: //gw.alipayobjects.com/zos/k/vb/1.png
collections:
posts:
output: true
permalink: /:year-:month-:day/:title.html
posts_en:
output: true
permalink: /en/:year-:month-:day/:title.html
sort_by: date

include: [".htaccess"]
exclude: ["Gemfile", "Gemfile.lock", "README.md", "LICENSE", "package.json","node_modules"]
gems:
- jekyll-paginate
- jekyll-sitemap
- jekyll-feed
exclude:
[
"Gemfile",
"Gemfile.lock",
"README.md",
"LICENSE",
"package.json",
"node_modules",
]

# Plugins
plugins:
- jekyll-paginate
- jekyll-pdf-embed
- jekyll-sitemap
- jekyll-feed

# Custom Site Settings
showBuyCoffee: true
payImage: //gw.alipayobjects.com/zos/k/vb/1.png
assetUrl: //tw93.fun/images/
defaultImage: data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
14 changes: 8 additions & 6 deletions _includes/buy-me-coffee.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
{% if site.showBuyCoffee != false %}
<div class="coffee">
<a
class="buy-me-coffee"
href="https://miaoyan.app/cats.html?name=Blog"
target="_blank"
>喜欢文章 → 去喂猫❤️</a
>
<a class="buy-me-coffee" href="https://miaoyan.app/cats.html?name=Blog" target="_blank">
{% if page.lang == 'en-US' %}
Like the article ❤️
{% else %}
给汤圆可乐喂罐头❤️
{% endif %}
</a>

</div>
{% endif %}
Loading