-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
504 lines (346 loc) · 18 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
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
<!DOCTYPE html>
<html lang="zh-hans">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<meta name="HandheldFriendly" content="True" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<meta name="generator" content="Hugo 0.76.4" />
<link rel="shortcut icon" href="https://cdn.jsdelivr.net/gh/amzrk2/cdn-stcapi@1/favicons/favicon.ico" />
<title>白菜不是菜 - 他们相信天堂是有的,可以实现的,但在现世界与那天堂的中间隔着一座海,一座血污海,人类泅得过这血海,才能登彼岸,他们决定先实现那血海。</title>
<meta name="author" content="baicai" />
<meta name="description" content="A minimal Hugo theme with nice theme color." />
<meta property="og:title" content="白菜不是菜" />
<meta property="og:description" content="A minimal Hugo theme with nice theme color." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://iminto.github.io/" />
<meta property="og:image" content="https://iminto.github.io/img/og.png"/>
<meta property="og:updated_time" content="2023-06-16T10:37:46+08:00" />
<meta name="twitter:card" content="summary_large_image"/>
<meta name="twitter:image" content="https://iminto.github.io/img/og.png"/>
<meta name="twitter:title" content="白菜不是菜"/>
<meta name="twitter:description" content="A minimal Hugo theme with nice theme color."/>
<style>
@media (prefers-color-scheme: dark) {
body[data-theme='auto'] img {
filter: brightness(60%);
}
}
body[data-theme='dark'] img {
filter: brightness(60%);
}
</style>
<link rel="stylesheet" href="https://iminto.github.io/assets/css/fuji.min.css" />
<script>
function isTencent(){
var ua = navigator.userAgent.toLowerCase();
return ua.indexOf("micromess") > 1||ua.indexOf("qqbrow")>1;
}
function taunt() {
if (isTencent()) {
alert("系统检测出来你使用了腾讯系浏览器,访问被禁止;\r\n珍爱生命,远离烂人张小龙");
document.execCommand("stop");
document.body.innerHTML = "系统检测出来你使用了腾讯系浏览器,访问被禁止\r\n珍爱生命,远离烂人张小龙";
}
}
document.addEventListener("DOMContentLoaded", taunt);
</script>
</head>
<body data-theme="auto">
<script data-cfasync="false">
var fujiThemeData = localStorage.getItem('fuji_data-theme');
if (!fujiThemeData) {
localStorage.setItem('fuji_data-theme', 'auto');
} else {
if (fujiThemeData !== 'auto') {
document.body.setAttribute('data-theme', fujiThemeData === 'dark' ? 'dark' : 'light');
}
}
</script>
<header>
<div class="container-lg clearfix">
<div class="col-12 header">
<a class="title-main" href="https://iminto.github.io/">白菜不是菜</a>
<span class="title-sub">他们相信天堂是有的,可以实现的,但在现世界与那天堂的中间隔着一座海,一座血污海,人类泅得过这血海,才能登彼岸,他们决定先实现那血海。</span>
</div>
</div>
</header>
<main>
<div class="container-lg clearfix">
<div class="col-12 col-md-9 float-left content">
<div class="post">
<h2 class="post-item post-title">
<a href="https://iminto.github.io/post/%E6%96%87%E4%BB%B6%E7%94%9F%E6%88%90%E5%8A%A8%E6%80%81%E4%BA%8C%E7%BB%B4%E7%A0%81/">文件生成动态二维码</a>
</h2>
<div class="post-item post-meta">
<span><i class="iconfont icon-today-sharp"></i> 2023-06-16</span><span><i class="iconfont icon-file-tray-sharp"></i> 136 字</span><span><i class="iconfont icon-pricetags-sharp"></i> <a href="/tags/linux">Linux</a> </span>
</div>
<div class="post-item post-summary markdown-body">
将图片/文件转为二维码动画 yum install qrencode test="$(cat dianlong.jpg| base64|tr '\n' ' '|sed 's/[[:space:]]//g')" echo $test >> base64.txt #文件转base64 split -b 1k base64.txt 1_ #按1K分割 for x in $(find -type f -name "1_*"); do cat $x|qrencode -o $x.png -s 4 ;done ffmpeg -framerate 6 -pattern_type glob -i '1_*.png' -loop 0 out1.gif #转GIF ffmpeg -framerate 10 -pattern_type glob -i '1_*.png' -c:v libx264 -pix_fmt yuv420p out.mp4 #计算帧数,验证 ffprobe
</div>
</div>
<div class="post">
<h2 class="post-item post-title">
<a href="https://iminto.github.io/post/cpuid%E5%92%8C%E5%BA%8F%E5%88%97%E5%8F%B7%E8%83%8C%E5%90%8E%E7%9A%84%E9%82%A3%E4%BA%9B%E6%95%85%E4%BA%8B/">Cpuid和序列号背后的那些故事</a>
</h2>
<div class="post-item post-meta">
<span><i class="iconfont icon-today-sharp"></i> 2022-02-09</span><span><i class="iconfont icon-file-tray-sharp"></i> 2514 字</span><span><i class="iconfont icon-pricetags-sharp"></i> <a href="/tags/linux">Linux</a> </span>
</div>
<div class="post-item post-summary markdown-body">
最近测试反馈了一个问题,每次重启服务器,我们某个版本的业务系统中的机器码都会改变,导致根据机器码算出来的许可证失效,从而使软件无法使用。 这个问题反馈了有一段时间了,但是本地一直没复现。然后前几天测试说
</div>
</div>
<div class="post">
<h2 class="post-item post-title">
<a href="https://iminto.github.io/post/socket%E6%8F%8F%E8%BF%B0%E7%AC%A6%E7%9A%84%E9%82%A3%E4%BA%9B%E4%BA%8B/">进程Socket描述符的那些事</a>
</h2>
<div class="post-item post-meta">
<span><i class="iconfont icon-today-sharp"></i> 2021-07-09</span><span><i class="iconfont icon-file-tray-sharp"></i> 2331 字</span><span><i class="iconfont icon-pricetags-sharp"></i> <a href="/tags/linux">Linux</a> </span>
</div>
<div class="post-item post-summary markdown-body">
前几天看到有人发的一个面试题,问的是MySQL连接的进程描述符的问题。 在Linux里,一切皆文件,那进程描述符,实际就是文件描述符了。 我们还知道Linux 内核提供了一种通过 proc文件系统,/proc
</div>
</div>
<div class="post">
<h2 class="post-item post-title">
<a href="https://iminto.github.io/post/java%E5%AE%89%E5%85%A8%E7%AD%96%E7%95%A5%E9%85%8D%E7%BD%AE%E5%92%8C%E6%B2%99%E7%AE%B1%E9%97%B2%E8%AF%9D/">Java安全策略配置和沙箱闲话</a>
</h2>
<div class="post-item post-meta">
<span><i class="iconfont icon-today-sharp"></i> 2021-06-17</span><span><i class="iconfont icon-file-tray-sharp"></i> 3354 字</span><span><i class="iconfont icon-pricetags-sharp"></i> <a href="/tags/java">Java</a> </span>
</div>
<div class="post-item post-summary markdown-body">
之前一篇文章提到了System.exit和SecurityManager,引入了下面的代码 public class SelfSecurityManager extends SecurityManager{ ..// @Override public void checkExit(int status) { super.checkExit(status); throw new ExitException(status); } } 通过自定义SecurityManager来禁止System.exit的执行
</div>
</div>
<div class="post">
<h2 class="post-item post-title">
<a href="https://iminto.github.io/post/%E8%B0%81%E6%9D%80%E6%AD%BB%E4%BA%86%E8%BF%99%E4%B8%AA%E8%BF%9B%E7%A8%8B/">谁杀死了这个进程</a>
</h2>
<div class="post-item post-meta">
<span><i class="iconfont icon-today-sharp"></i> 2021-06-15</span><span><i class="iconfont icon-file-tray-sharp"></i> 2270 字</span><span><i class="iconfont icon-pricetags-sharp"></i> <a href="/tags/linux">Linux</a> <a href="/tags/java">Java</a> </span>
</div>
<div class="post-item post-summary markdown-body">
之前文章提到服务器上一个进程启动后不到三分钟就挂掉,到底是什么原因挂掉了,这个问题可以写篇文章了。进程死了,无非就两种可能:自杀,他杀。他杀又包括第三方杀害和系统判死刑。 先来看自杀。 1.自杀 我们以Ja
</div>
</div>
<div class="post">
<h2 class="post-item post-title">
<a href="https://iminto.github.io/post/%E5%9D%9A%E6%9E%9C3%E6%89%8B%E6%9C%BA%E5%88%B7%E9%AD%94%E8%B6%A3%E4%BD%93%E9%AA%8C/">坚果3手机刷魔趣体验</a>
</h2>
<div class="post-item post-meta">
<span><i class="iconfont icon-today-sharp"></i> 2021-05-21</span><span><i class="iconfont icon-file-tray-sharp"></i> 1535 字</span><span><i class="iconfont icon-pricetags-sharp"></i> <a href="/tags/%E9%97%B2%E6%89%AF%E6%B7%A1">闲扯淡</a> </span>
</div>
<div class="post-item post-summary markdown-body">
坚果3,发布于2018年4月,骁龙625处理器,4G内存,安卓7.1系统。 我手里这台,已经退役两个多月了,屏幕摔得到处是裂缝,老罗破产了,系统最后一次更新是2020年2月了,而且安卓7.1也老了一点。
</div>
</div>
<div class="post">
<h2 class="post-item post-title">
<a href="https://iminto.github.io/post/linux%E6%81%B6%E6%84%8Felf%E6%96%87%E4%BB%B6%E5%88%86%E6%9E%90/">Linux恶意ELF文件分析</a>
</h2>
<div class="post-item post-meta">
<span><i class="iconfont icon-today-sharp"></i> 2021-05-17</span><span><i class="iconfont icon-file-tray-sharp"></i> 1750 字</span><span><i class="iconfont icon-pricetags-sharp"></i> <a href="/tags/linux">Linux</a> </span>
</div>
<div class="post-item post-summary markdown-body">
起因是某客户的服务器上,只要一启动server,过不了几秒就被kill,然后错误日志也看不出啥。 server是基于jvm的,怎么看一个进程被哪个进程杀死,这个可以写一篇文章了。 自信一点,这肯定不是我们
</div>
</div>
<div class="post">
<h2 class="post-item post-title">
<a href="https://iminto.github.io/post/keycloak%E6%8E%A5%E5%85%A5%E8%87%AA%E7%A0%94%E7%B3%BB%E7%BB%9F/">Keycloak接入自研系统</a>
</h2>
<div class="post-item post-meta">
<span><i class="iconfont icon-today-sharp"></i> 2021-04-07</span><span><i class="iconfont icon-file-tray-sharp"></i> 3910 字</span><span><i class="iconfont icon-pricetags-sharp"></i> <a href="/tags/java">Java</a> </span>
</div>
<div class="post-item post-summary markdown-body">
简介 keycloak是一个非常强大的权限认证系统,我们使用keycloak可以方便的实现SSO的功能。虽然keycloak底层使用的wildfly,但是提供了非常方便的Client Adapters和各
</div>
</div>
<div class="post">
<h2 class="post-item post-title">
<a href="https://iminto.github.io/post/superset%E5%AE%89%E8%A3%85/">SuperSet安装配置</a>
</h2>
<div class="post-item post-meta">
<span><i class="iconfont icon-today-sharp"></i> 2021-04-02</span><span><i class="iconfont icon-file-tray-sharp"></i> 1805 字</span><span><i class="iconfont icon-pricetags-sharp"></i> <a href="/tags/%E5%A4%A7%E6%95%B0%E6%8D%AE">大数据</a> </span>
</div>
<div class="post-item post-summary markdown-body">
Centos8安装Superset。Superset 是 Airbnb (知名在线房屋短租公司)开源的数据探查与可视化平台(曾用名 Panoramix、Caravel ),也就是BI,该工具在可视化、易用性和交互性上非常
</div>
</div>
<div class="post">
<h2 class="post-item post-title">
<a href="https://iminto.github.io/post/centos%E9%85%8D%E7%BD%AEgoogleauthenticator%E5%8A%A8%E6%80%81%E5%AF%86%E9%92%A5%E8%BF%9B%E8%A1%8Cssh%E4%BA%8C%E6%AC%A1%E9%AA%8C%E8%AF%81/">Centos配置GoogleAuthenticator动态密钥进行ssh二次验证</a>
</h2>
<div class="post-item post-meta">
<span><i class="iconfont icon-today-sharp"></i> 2020-12-29</span><span><i class="iconfont icon-file-tray-sharp"></i> 1000 字</span><span><i class="iconfont icon-pricetags-sharp"></i> <a href="/tags/linux">Linux</a> </span>
</div>
<div class="post-item post-summary markdown-body">
安装依赖 yum list | grep google-authenticator yum install google-authenticator yum install qrencode 配置Google Authenticator 安装完直接跑下面的命令进行配置,注意只在当前用户生效 > google-authenticator 之后会需要确认几点信息 Do you want authentication tokens to be time-based (y/n) y 是否配置基于时间的动态密钥,选择y,之后会出现超级大一
</div>
</div>
<div class="pagination">
<div class="pag-item pag-current">
<a href="/">1</a>
</div>
<div class="pag-item">
<a href="/page/2/">2</a>
</div>
<div class="pag-item">
<a href="/page/3/">3</a>
</div>
<div class="pag-item">
<a href="/page/4/">4</a>
</div>
<div class="pag-next">
<a href="/page/2/"><i class="iconfont icon-chevron-forward-circle-sharp"></i></i></a>
</div>
<div class="pag-last">
<a href="/page/4/"><i class="iconfont icon-caret-forward-circle-sharp"></i></a>
</div>
</div>
</div>
<aside class="col-12 col-md-3 float-left sidebar">
<div class="sidebar-item sidebar-pages">
<h3>页面</h3>
<ul>
<li>
<a href="/">Home</a>
</li>
<li>
<a href="/archives/">Archives</a>
</li>
<li>
<a href="/about/">About</a>
</li>
<li>
<a href="/search/">Search</a>
</li>
<li>
<a href="/index.xml">RSS</a>
</li>
</ul>
</div>
<div class="sidebar-item sidebar-links">
<h3>链接</h3>
<ul>
<li>
<a href="https://github.com/iminto" target="_blank"><span>GitHub</span></a>
</li>
</ul>
</div>
<div class="sidebar-item sidebar-tags">
<h3>标签</h3>
<div>
<span>
<a href="/tags/java/">Java</a>
</span>
<span>
<a href="/tags/k8s/">k8s</a>
</span>
<span>
<a href="/tags/linux/">Linux</a>
</span>
<span>
<a href="/tags/php/">PHP</a>
</span>
<span>
<a href="/tags/vala/">Vala</a>
</span>
<span>
<a href="/tags/%E5%A4%A7%E6%95%B0%E6%8D%AE/">大数据</a>
</span>
<span>
<a href="/tags/%E9%97%B2%E6%89%AF%E6%B7%A1/">闲扯淡</a>
</span>
</div>
</div>
</aside>
</div>
<div class="btn">
<div class="btn-menu" id="btn-menu">
<i class="iconfont icon-grid-sharp"></i>
</div>
<div class="btn-toggle-mode">
<i class="iconfont icon-contrast-sharp"></i>
</div>
<div class="btn-scroll-top">
<i class="iconfont icon-chevron-up-circle-sharp"></i>
</div>
</div>
<aside class="sidebar-mobile" style="display: none;">
<div class="sidebar-wrapper">
<div class="sidebar-item sidebar-pages">
<h3>页面</h3>
<ul>
<li>
<a href="/">Home</a>
</li>
<li>
<a href="/archives/">Archives</a>
</li>
<li>
<a href="/about/">About</a>
</li>
<li>
<a href="/search/">Search</a>
</li>
<li>
<a href="/index.xml">RSS</a>
</li>
</ul>
</div>
<div class="sidebar-item sidebar-links">
<h3>链接</h3>
<ul>
<li>
<a href="https://github.com/iminto" target="_blank"><span>GitHub</span></a>
</li>
</ul>
</div>
<div class="sidebar-item sidebar-tags">
<h3>标签</h3>
<div>
<span>
<a href="/tags/java/">Java</a>
</span>
<span>
<a href="/tags/k8s/">k8s</a>
</span>
<span>
<a href="/tags/linux/">Linux</a>
</span>
<span>
<a href="/tags/php/">PHP</a>
</span>
<span>
<a href="/tags/vala/">Vala</a>
</span>
<span>
<a href="/tags/%E5%A4%A7%E6%95%B0%E6%8D%AE/">大数据</a>
</span>
<span>
<a href="/tags/%E9%97%B2%E6%89%AF%E6%B7%A1/">闲扯淡</a>
</span>
</div>
</div>
</div>
</aside>
</main>
<footer>
<div class="container-lg clearfix">
<div class="col-12 footer">
<span>© 2023 <a href="https://iminto.github.io/">baicai</a> |
基于 <a href="https://github.com/amzrk2/hugo-theme-fuji/"
target="_blank">Fuji-v2</a> & <a href="https://gohugo.io/"
target="_blank">Hugo</a> 构建</span>
</div>
</div>
</footer>
<script defer src="https://cdn.jsdelivr.net/combine/npm/[email protected],npm/[email protected]"></script>
<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/components/prism-core.min.js"></script>
<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/plugins/autoloader/prism-autoloader.min.js"></script>
<script defer src="/assets/js/fuji.min.js"></script>
</body>
</html>