-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
424 lines (197 loc) · 12 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
<!DOCTYPE html>
<html
lang="en"
dir="ltr"
><meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>sincebyte</title>
<meta name="generator" content="Hugo Eureka 0.9.3" />
<link rel="stylesheet" href="./css/eureka.min.bf8dd3d6872fb704aafb8bcb973df1d5fc347fc34c9b7f4ed33052a953b06f8be99f29d44e29d0a4c6c01988203b5fd4.css">
<script defer src="./js/eureka.min.fa9a6bf6d7a50bb635b4cca7d2ba5cf3dfb095ae3798773f1328f7950028b48c17d06276594e1b5f244a25a6c969a705.js"></script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="preload"
href="https://fonts.googleapis.com/css2?family=Lora:wght@400;600;700&family=Noto+Serif+SC:wght@400;600;700&display=swap"
as="style" onload="this.onload=null;this.rel='stylesheet'">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/highlightjs/[email protected]/build/styles/atom-one-dark.min.css"
media="print"
onload="this.media='all';this.onload=null" crossorigin>
<script defer src="https://cdn.jsdelivr.net/gh/highlightjs/[email protected]/build/highlight.min.js"
crossorigin></script>
<script defer src="https://cdn.jsdelivr.net/gh/highlightjs/[email protected]/build/languages/dart.min.js"
crossorigin></script>
<link rel="stylesheet" href="./css/highlightjs.min.2958991528e43eb6fc9b8c4f2b8e052f79c4010718e1d1e888a777620e9ee63021c2c57ec7417a3108019bb8c41943e6.css" media="print" onload="this.media='all';this.onload=null">
<script defer type="text/javascript" src="./js/fontawesome.min.694ad3d5437136c818a485fa64de6934920b1e6e34d9282cb5c9cffda2dd475235bb59a959d91004d647e4972619f09e.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.css"
integrity="sha384-MlJdn/WNKDGXveldHDdyRP1R4CTHr3FeuDNfhsLPYrq2t0UBkUdK2jyTnXPEK1NQ" media="print"
onload="this.media='all';this.onload=null" crossorigin>
<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.js"
integrity="sha384-VQ8d8WVFw0yHhCk5E8I86oOhv48xLpnDZx5T9GogA/Y84DcCKWXDmSDfn13bzFZY" crossorigin></script>
<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/contrib/auto-render.min.js"
integrity="sha384-+XBljXPPiv+OzfbB3cVmLHf4hdUFHlWNZN5spNQ7rmHTXpd7WvJum6fIACpNNfIR" crossorigin></script>
<script>
document.addEventListener("DOMContentLoaded", function () {
renderMathInElement(document.body, {
delimiters: [
{ left: "$$", right: "$$", display: true },
{ left: "$", right: "$", display: false },
{ left: "\\(", right: "\\)", display: false },
{ left: "\\[", right: "\\]", display: true }
],
});
});
</script>
<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/mermaid.min.js"
integrity="sha384-atOyb0FxAgN9LyAc6PEf9BjgwLISyansgdH8/VXQH8p2o5vfrRgmGIJ2Sg22L0A0" crossorigin></script>
<link rel="icon" type="image/png" sizes="32x32" href="./images/icon_hu64421c6c7700f606f0ad45d807017b09_5843_32x32_fill_box_center_3.png">
<link rel="apple-touch-icon" sizes="180x180" href="./images/icon_hu64421c6c7700f606f0ad45d807017b09_5843_180x180_fill_box_center_3.png">
<meta name="description"
content="Eureka is a elegant and powerful theme for Hugo.">
<meta property="og:title" content="sincebyte" />
<meta property="og:type" content="website" />
<meta property="og:image" content="/images/icon.png">
<meta property="og:url" content="/" />
<meta property="og:description" content="Eureka is a elegant and powerful theme for Hugo." />
<meta property="og:locale" content="en" />
<meta property="og:site_name" content="sincebyte" />
<meta property="og:updated_time" content="2024-10-05T17:23:00+08:00" />
<meta property="article:section" content="" />
<link rel="alternate" type="application/rss+xml" href="./index.xml" title="sincebyte" />
<body class="flex min-h-screen flex-col">
<header
class="min-h-16 pl-scrollbar bg-secondary-bg fixed z-50 flex w-full items-center shadow-sm"
>
<div class="mx-auto w-full max-w-screen-xl"><script>
let storageColorScheme = localStorage.getItem("lightDarkMode")
if (((storageColorScheme == 'Auto' || storageColorScheme == null) && window.matchMedia("(prefers-color-scheme: dark)").matches) || storageColorScheme == "Dark") {
document.getElementsByTagName('html')[0].classList.add('dark')
}
</script>
<nav class="flex items-center justify-between flex-wrap px-4 py-4 md:py-0">
<a href="./" class="me-6 text-primary-text text-xl font-bold">sincebyte</a>
<button id="navbar-btn" class="md:hidden flex items-center px-3 py-2" aria-label="Open Navbar">
<i class="fas fa-bars"></i>
</button>
<div id="target"
class="hidden block md:flex md:grow md:justify-between md:items-center w-full md:w-auto text-primary-text z-20">
<div class="md:flex md:h-16 text-sm md:grow pb-4 md:pb-0 border-b md:border-b-0">
<a href="./posts/" class="block mt-4 md:inline-block md:mt-0 md:h-(16-4px) md:leading-(16-4px) box-border md:border-t-2 md:border-b-2 border-transparent me-4">Posts</a>
<a href="./tags/" class="block mt-4 md:inline-block md:mt-0 md:h-(16-4px) md:leading-(16-4px) box-border md:border-t-2 md:border-b-2 border-transparent me-4">Tags</a>
</div>
<div class="flex">
<div class="relative pt-4 md:pt-0">
<div class="cursor-pointer hover:text-eureka" id="lightDarkMode">
<i class="fas fa-adjust"></i>
</div>
<div class="fixed hidden inset-0 opacity-0 h-full w-full cursor-default z-30" id="is-open">
</div>
<div class="absolute flex flex-col start-0 md:start-auto end-auto md:end-0 hidden bg-secondary-bg w-48 rounded py-2 border border-tertiary-bg cursor-pointer z-40"
id='lightDarkOptions'>
<span class="px-4 py-1 hover:text-eureka" name="Light">Light</span>
<span class="px-4 py-1 hover:text-eureka" name="Dark">Dark</span>
<span class="px-4 py-1 hover:text-eureka" name="Auto">Auto</span>
</div>
</div>
</div>
</div>
<div class="fixed hidden inset-0 opacity-0 h-full w-full cursor-default z-0" id="is-open-mobile">
</div>
</nav>
<script>
let element = document.getElementById('lightDarkMode')
if (storageColorScheme == null || storageColorScheme == 'Auto') {
document.addEventListener('DOMContentLoaded', () => {
window.matchMedia("(prefers-color-scheme: dark)").addEventListener('change', switchDarkMode)
})
} else if (storageColorScheme == "Light") {
element.firstElementChild.classList.remove('fa-adjust')
element.firstElementChild.setAttribute("data-icon", 'sun')
element.firstElementChild.classList.add('fa-sun')
} else if (storageColorScheme == "Dark") {
element.firstElementChild.classList.remove('fa-adjust')
element.firstElementChild.setAttribute("data-icon", 'moon')
element.firstElementChild.classList.add('fa-moon')
}
document.addEventListener('DOMContentLoaded', () => {
getcolorscheme();
switchBurger();
});
</script>
</div>
<link rel="stylesheet" href="./css/default.css">
</header>
<main class="grow pt-16">
<div
class="pl-scrollbar bg-secondary-bg"
>
<div class="mx-auto max-w-screen-xl">
<div
id="about"
class="lg:w-3/4 mx-auto px-6 md:px-8 xl:px-12 py-12"
>
<div class="mb-12 flex flex-col items-center justify-center md:flex-row">
<div class="md:ms-0 md:me-8 md:pe-8 md:border-e mx-auto w-48 flex-none">
<img src="https://avatars.githubusercontent.com/u/7248023?v=4" class="rounded-full" alt="Avatar" />
</div>
<div class="mt-4 w-full grow md:mt-0">
<h1 class="py-4 text-3xl">About sincebyte</h1>
<div class="w-3/12 border-b xl:w-2/12"></div>
<div class="flex items-center pt-4">
<i class="fas fa-user"></i>
<div class="flex flex-wrap">
<span class="ps-4">Emacs users</span>
<a href="https://github.com/sincebyte/neo-emacs" class="ps-4">Neo-emacs</a>
</div>
</div>
<div class="py-8 text-lg leading-normal">
分享 Emacs、编程、工作、摄影
</div>
</div>
<div class="md:ms-8 flex items-end justify-center md:flex-col">
<div class="mx-2 mb-2 mt-4 md:mx-0 md:mt-2">
<a href="mailto:[email protected]"><i class="fas fa-envelope"></i></a>
</div>
<div class="mx-2 mb-2 mt-4 md:mx-0 md:mt-2">
<a href="https://github.com/sincebyte"><i class="fab fa-github"></i></a>
</div>
<div class="mx-2 mb-2 mt-4 md:mx-0 md:mt-2">
<a href="https://space.bilibili.com/343598803/channel/collectiondetail?sid=177342"><i class="fab fa-youtube"></i></a>
</div>
</div>
</div>
<div class="prose">
<h2 id="self-introduction">Self Introduction</h2>
<p>Hi,欢迎来到 sincebyte 的个人博客。我自多年前开始使用 Vim 进行编程,到如今转而使用 Emacs,经历了许多岁月。Emacs 是一款功能强大且高度可定制的文本编辑器,它提供了丰富的插件和扩展,使得编程和日常工作变得更加高效和愉悦。我准备记录一些在图形用户界面(GUI)和文本用户界面(TUI)工具下编程的技巧,包括使用 Emacs 的各种功能和快捷键,以及在日常工作中使用到的各种框架和技术。</p>
<p>在 GitHub 上,我经常为一些开源项目提出问题(issue),并将一些有趣的经历记录下来。作为一名实用主义者,我更注重分享软件的使用方法和解决问题的技巧,而不是深入探讨其背后的实现原理。此外,我还是一名 B 站的 UP 主,不定期分享一些关于摄影和剪辑的技巧,让你更好地掌握剪辑艺术的诀窍。</p>
<p>在 GitHub 上,我维护了一个开源项目——Neo-emacs。它是基于 Doom Emacs 的衍生版本,专注于为Java Web开发提供无与伦比的集成环境。Neo-emacs的设计理念体现了极简主义,它的编程界面将代码置于突出位置,同时弱化其他元素,旨在让我在编程时能够更加专注和集中注意力。这种设计思路的目标是为了创造一个真正专注于编程的环境。</p>
<p>我坚持在编程过程中尽可能多地使用shell,这样可以深入了解项目的细节。通过充分利用shell,我能够获得更多的项目信息,从而更好地掌握开发过程。</p>
<p>此外,Neo-emacs还集成了SQL、Redis和HTTP的客户端,使得在Emacs内部能够完成整个项目开发的各个环节。这个功能丰富的集成环境提供了便捷而高效的开发体验。</p>
<p><img alt="avatar" src="image/neo-emacs.png"></p>
</div>
</div>
</div>
</div>
<div
class="pl-scrollbar bg-primary-bg"
>
<div class="mx-auto max-w-screen-xl">
<div
id="blank"
class="lg:w-3/4 mx-auto px-6 md:px-8 xl:px-12 py-12"
>
<div style="text-align:center">
<p>"The only way to do great work is to love what you do." - Steve Jobs</p>
</div>
</div>
</div>
</div>
</main>
<footer class="pl-scrollbar">
<div class="mx-auto w-full max-w-screen-xl"><div class="text-center p-6 pin-b">
<p class="text-sm text-tertiary-text">© 2023 sincebyte
· Powered by the Neo-Emacs</p>
</div>
</div>
</footer>
</body>
</html>