PageSourceSearch

https://www.yexiwei.com/

html yexiwei.com collected 2026-10-08 17:30:36 UTC 18,904 bytes, 574 lines download raw bytes

1
2
3<!DOCTYPE html>
4<html lang="zh-CN" data-default-color-scheme=auto>
5
6
7
8<head>
9  <meta charset="UTF-8">
10  <link rel="apple-touch-icon" sizes="76x76" href="/img/fluid.png">
11  <link rel="icon" href="/img/fluid.png">
12  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0, shrink-to-fit=no">
13  <meta http-equiv="x-ua-compatible" content="ie=edge">
14  
15    <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
16  
17  <meta name="theme-color" content="#2f4154">
18  <meta name="author" content="Lance Yip">
19  <meta name="keywords" content="">
20  
21    <meta property="og:type" content="website">
22<meta property="og:title" content="开源分享">
23<meta property="og:url" content="https://www.yexiwei.com/index.html">
24<meta property="og:site_name" content="开源分享">
25<meta property="og:locale" content="zh_CN">
26<meta property="article:author" content="Lance Yip">
27<meta name="twitter:card" content="summary_large_image">
28  
29  
30  
31  <title>开源分享</title>
32
33  <link  rel="stylesheet" href="https://lib.baomitu.com/twitter-bootstrap/4.6.1/css/bootstrap.min.css" />
34
35
36
37
38
39<!-- 主题依赖的图标库,不要自行修改 -->
40<!-- Do not modify the link that theme dependent icons -->
41
42<link rel="stylesheet" href="//at.alicdn.com/t/font_1749284_hj8rtnfg7um.css">
43
44
45
46<link rel="stylesheet" href="//at.alicdn.com/t/font_1736178_lbnruvf0jn.css">
47
48
49<link  rel="stylesheet" href="/css/main.css" />
50
51
52  <link id="highlight-css" rel="stylesheet" href="/css/highlight.css" />
53  
54    <link id="highlight-css-dark" rel="stylesheet" href="/css/highlight-dark.css" />
55  
56
57
58
59
60  
60<script id="fluid-configs">
61    var Fluid = window.Fluid || {};
62    Fluid.ctx = Object.assign({}, Fluid.ctx)
63    var CONFIG = {"hostname":"www.yexiwei.com","root":"/","version":"1.9.7","typing":{"enable":true,"typeSpeed":70,"cursorChar":"_","loop":false,"scope":[]},"anchorjs":{"enable":true,"element":"h1,h2,h3,h4,h5,h6","placement":"left","visible":"hover","icon":""},"progressbar":{"enable":true,"height_px":3,"color":"#29d","options":{"showSpinner":false,"trickleSpeed":100}},"code_language":{"enable":true,"default":"TEXT"},"copy_btn":true,"image_caption":{"enable":true},"image_zoom":{"enable":true,"img_url_replace":["",""]},"toc":{"enable":true,"placement":"right","headingSelector":"h1,h2,h3,h4,h5,h6","collapseDepth":0},"lazyload":{"enable":true,"loading_img":"/img/loading.gif","onlypost":false,"offset_factor":2},"web_analytics":{"enable":false,"follow_dnt":true,"baidu":null,"google":{"measurement_id":null},"tencent":{"sid":null,"cid":null},"woyaola":null,"cnzz":null,"leancloud":{"app_id":null,"app_key":null,"server_url":null,"path":"window.location.pathname","ignore_local":false}},"search_path":"/local-search.xml","include_content_in_search":true};
64
65    if (CONFIG.web_analytics.follow_dnt) {
66      var dntVal = navigator.doNotTrack || window.doNotTrack || navigator.msDoNotTrack;
67      Fluid.ctx.dnt = dntVal && (dntVal.startsWith('1') || dntVal.startsWith('yes') || dntVal.startsWith('on'));
68    }
69  </script>
69
70  
70<script  src="/js/utils.js" ></script>
70
71  
71<script  src="/js/color-schema.js" ></script>
71
72  
73
74
75  
76<meta name="generator" content="Hexo 7.1.1"></head>
77
78
79<body>
80  
81
82  <header>
83    
84
85<div class="header-inner" style="height: 100vh;">
86  <nav id="navbar" class="navbar fixed-top  navbar-expand-lg navbar-dark scrolling-navbar">
87  <div class="container">
88    <a class="navbar-brand" href="/">
89      <strong>开源分享</strong>
90    </a>
91
92    <button id="navbar-toggler-btn" class="navbar-toggler" type="button" data-toggle="collapse"
93            data-target="#navbarSupportedContent"
94            aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
95      <div class="animated-icon"><span></span><span></span><span></span></div>
96    </button>
97
98    <!-- Collapsible content -->
99    <div class="collapse navbar-collapse" id="navbarSupportedContent">
100      <ul class="navbar-nav ml-auto text-center">
101        
102          
103          
104          
105          
106            <li class="nav-item">
107              <a class="nav-link" href="/" target="_self">
108                <i class="iconfont icon-home-fill"></i>
109                <span>首页</span>
110              </a>
111            </li>
112          
113        
114          
115          
116          
117          
118            <li class="nav-item">
119              <a class="nav-link" href="/archives/" target="_self">
120                <i class="iconfont icon-archive-fill"></i>
121                <span>归档</span>
122              </a>
123            </li>
124          
125        
126          
127          
128          
129          
130            <li class="nav-item">
131              <a class="nav-link" href="/categories/" target="_self">
132                <i class="iconfont icon-category-fill"></i>
133                <span>分类</span>
134              </a>
135            </li>
136          
137        
138        
139          <li class="nav-item" id="search-btn">
140            <a class="nav-link" target="_self" href="javascript:;" data-toggle="modal" data-target="#modalSearch" aria-label="Search">
141              <i class="iconfont icon-search"></i>
142            </a>
143          </li>
144          
145        
146        
147          <li class="nav-item" id="color-toggle-btn">
148            <a class="nav-link" target="_self" href="javascript:;" aria-label="Color Toggle">
149              <i class="iconfont icon-dark" id="color-toggle-icon"></i>
150            </a>
151          </li>
152        
153      </ul>
154    </div>
155  </div>
156</nav>
157
158  
159
160<div id="banner" class="banner" parallax=true
161     style="background: url('/img/default.png') no-repeat center center; background-size: cover;">
162  <div class="full-bg-img">
163    <div class="mask flex-center" style="background-color: rgba(0, 0, 0, 0.3)">
164      <div class="banner-text text-center fade-in-up">
165        <div class="h2">
166          
167            <span id="subtitle" data-typed-text="开源,开启智慧的大门,分享,共创美好的未来!"></span>
168          
169        </div>
170
171        
172      </div>
173
174      
175        <div class="scroll-down-bar">
176          <i class="iconfont icon-arrowdown"></i>
177        </div>
178      
179    </div>
180  </div>
181</div>
182
183</div>
184
185  </header>
186
187  <main>
188    
189      <div class="container nopadding-x-md">
190        <div id="board"
191          style="margin-top: 0">
192          
193          <div class="container">
194            <div class="row">
195              <div class="col-12 col-md-10 m-auto">
196                
197
198
199  <div class="row mx-auto index-card">
200    
201    
202    <article class="col-12 col-md-12 mx-auto index-info">
203      <h2 class="index-header">
204        
205        <a href="/2015/01/11/%E8%87%AA%E6%97%8B%E9%94%81%E4%BD%BF%E7%94%A8%E8%A7%84%E5%88%99/" target="_self">
206          自旋锁使用规则
207        </a>
208      </h2>
209
210      
211      <a class="index-excerpt index-excerpt__noimg" href="/2015/01/11/%E8%87%AA%E6%97%8B%E9%94%81%E4%BD%BF%E7%94%A8%E8%A7%84%E5%88%99/" target="_self">
212        <div>
213          获得自旋锁和释放自旋锁有好几个版本,因此让读者知道在什么样的情况下使用什么版本的获得和释放锁的宏是非常必要的。如果被保护的共享资源只在进程上下文访问和软中断(包括tasklet、timer)上下文访问,那么当在进程上下文访问共享资源时,可能被软中断打断, 从而可能进入软中断上下文来对被保护的共享资源访问,因此对于这种情况,对共享资源的访问必须使用spin_lock_bh和 spin_unlock_
214        </div>
215      </a>
216
217      <div class="index-btm post-metas">
218        
219          <div class="post-meta mr-3">
220            <i class="iconfont icon-date"></i>
221            <time datetime="2015-01-11 23:12" pubdate>
222              2015-01-11
223            </time>
224          </div>
225        
226        
227        
228          <div class="post-meta">
229            <i class="iconfont icon-tags"></i>
230            
231              <a href="/tags/%E7%AE%97%E6%B3%95/">#算法</a>
232            
233              <a href="/tags/%E8%87%AA%E6%97%8B%E9%94%81/">#自旋锁</a>
234            
235          </div>
236        
237      </div>
238    </article>
239  </div>
240
241  <div class="row mx-auto index-card">
242    
243    
244    <article class="col-12 col-md-12 mx-auto index-info">
245      <h2 class="index-header">
246        
247        <a href="/2014/08/01/HTTPS%E8%AF%A6%E8%A7%A3/" target="_self">
248          HTTPS详解
249        </a>
250      </h2>
251
252      
253      <a class="index-excerpt index-excerpt__noimg" href="/2014/08/01/HTTPS%E8%AF%A6%E8%A7%A3/" target="_self">
254        <div>
255          我们都知道HTTPS能够加密信息,以免敏感信息被第三方获取。所以很多银行网站或电子邮箱等等安全级别较高的服务都会采用HTTPS协议。 HTTPS简介
255HTTPS其实是有两部分组成:HTTP + SSL &#x2F; TLS,也就是在HTTP上又加了一层处理加密信息的模块。服务端和客户端的信息传输都会通过TLS进行加密,所以传输的数据都是加密后的数据。具体是如何进行加密,解密,验证的,且看下图 1.
256        </div>
257      </a>
258
259      <div class="index-btm post-metas">
260        
261          <div class="post-meta mr-3">
262            <i class="iconfont icon-date"></i>
263            <time datetime="2014-08-01 23:26" pubdate>
264              2014-08-01
265            </time>
266          </div>
267        
268        
269        
270      </div>
271    </article>
272  </div>
273
274  <div class="row mx-auto index-card">
275    
276    
277    <article class="col-12 col-md-12 mx-auto index-info">
278      <h2 class="index-header">
279        
280        <a href="/2014/08/01/NginxLua/" target="_self">
281          Nginx Lua
282        </a>
283      </h2>
284
285      
286      <a class="index-excerpt index-excerpt__noimg" href="/2014/08/01/NginxLua/" target="_self">
287        <div>
288          1.1. 介绍ngx_lua – 把lua语言嵌入nginx中,使其支持lua来快速开发基于nginx下的业务逻辑该模块不在nginx源码包中,需自行下载编译安装。使用lua 5.1(目前不支持lua 5.2) 或 luajit 2.0 。添加lua支持后,开发复杂的模块,周期快,依然是100%异步非阻塞。ngx_lua 哪些人在用:淘宝、腾讯财经、网易财经、360、去哪儿网等CloudFlare
289        </div>
290      </a>
291
292      <div class="index-btm post-metas">
293        
294          <div class="post-meta mr-3">
295            <i class="iconfont icon-date"></i>
296            <time datetime="2014-08-01 00:05" pubdate>
297              2014-08-01
298            </time>
299          </div>
300        
301        
302        
303      </div>
304    </article>
305  </div>
306
307  <div class="row mx-auto index-card">
308    
309    
310    <article class="col-12 col-md-12 mx-auto index-info">
311      <h2 class="index-header">
312        
313        <a href="/2013/09/08/%E7%A7%BB%E5%8A%A8%E6%8E%A8%E9%80%81%E6%8A%80%E6%9C%AF/" target="_self">
314          移动推送技术(Push Notification
315        </a>
316      </h2>
317
318      
319      <a class="index-excerpt index-excerpt__noimg" href="/2013/09/08/%E7%A7%BB%E5%8A%A8%E6%8E%A8%E9%80%81%E6%8A%80%E6%9C%AF/" target="_self">
320        <div>
321          1.BB,Nokia,Palm都先后支持了Push,目前流行的Push方式有三种。(1)短信触发:2G时代长时间的数据连接会影响电话接入的可靠性,所以Pushmail用短信的方式触发。推过来一个看不到的短信,让系统去连接邮件服务器。(2)长连接心跳查询:3G时代,语音和数据分离,手机长时间的保持网络连接成为可能。于是可以建立一个连接,设定一定时间间隔,让手机不断的检查服务器的邮件。 2.iPhon
322        </div>
323      </a>
324
325      <div class="index-btm post-metas">
326        
327          <div class="post-meta mr-3">
328            <i class="iconfont icon-date"></i>
329            <time datetime="2013-09-08 00:29" pubdate>
330              2013-09-08
331            </time>
332          </div>
333        
334        
335        
336          <div class="post-meta">
337            <i class="iconfont icon-tags"></i>
338            
339              <a href="/tags/IOS/">#IOS</a>
340            
341              <a href="/tags/PNS/">#PNS</a>
342            
343              <a href="/tags/PUSH/">#PUSH</a>
344            
345          </div>
346        
347      </div>
348    </article>
349  </div>
350
351  <div class="row mx-auto index-card">
352    
353    
354    <article class="col-12 col-md-12 mx-auto index-info">
355      <h2 class="index-header">
356        
357        <a href="/2013/06/27/Python%E8%B0%83%E7%94%A8C-C-%E5%87%BD%E6%95%B0/" target="_self">
358          Python调用C/C++函数
359        </a>
360      </h2>
361
362      
363      <a class="index-excerpt index-excerpt__noimg" href="/2013/06/27/Python%E8%B0%83%E7%94%A8C-C-%E5%87%BD%E6%95%B0/" target="_self">
364        <div>
365          Python是一门功能强大的高级脚本语言,它的强大不仅表现在其自身的功能上,而且还表现在其良好的可扩展性上,正因如此,Python已经开始受到越来越多人的青睐,并且被屡屡成功地应用于各类大型软件系统的开发过程中。与其它普通脚本语言有所不同,Python程序员可以借助Python语言提供的API,使用C或者C++来对Python进行功能性扩展,从而即可以利用Python方便灵活的语法和功能,又可以获
366        </div>
367      </a>
368
369      <div class="index-btm post-metas">
370        
371          <div class="post-meta mr-3">
372            <i class="iconfont icon-date"></i>
373            <time datetime="2013-06-27 16:43" pubdate>
374              2013-06-27
375            </time>
376          </div>
377        
378        
379        
380          <div class="post-meta">
381            <i class="iconfont icon-tags"></i>
382            
383              <a href="/tags/C/">#C++</a>
384            
385          </div>
386        
387      </div>
388    </article>
389  </div>
390
391  <div class="row mx-auto index-card">
392    
393    
394    <article class="col-12 col-md-12 mx-auto index-info">
395      <h2 class="index-header">
396        
397        <a href="/2013/04/18/CentOS6-3%E6%BA%90%E7%A0%81%E5%AE%89%E8%A3%85Percona5-5-30/" target="_self">
398          CentOS6.3源码安装Percona5.5.30
399        </a>
400      </h2>
401
402      
403      <a class="index-excerpt index-excerpt__noimg" href="/2013/04/18/CentOS6-3%E6%BA%90%E7%A0%81%E5%AE%89%E8%A3%85Percona5-5-30/" target="_self">
404        <div>
405          Percona 为 MySQL 数据库服务器进行了改进,在功能和性能上较 MySQL 有着很显著的提升。该版本提升了在高负载情况下的 InnoDB 的性能、为 DBA 提供一些非常有用的性能诊断工具;另外有更多的参数和命令来控制服务器行为。Percona(mysql)从5.5版本开始,不再使用.&#x2F;configure编译,而是使用cmake编译器,具体的cmake编译参数可以参考mysql
406        </div>
407      </a>
408
409      <div class="index-btm post-metas">
410        
411          <div class="post-meta mr-3">
412            <i class="iconfont icon-date"></i>
413            <time datetime="2013-04-18 16:51" pubdate>
414              2013-04-18
415            </time>
416          </div>
417        
418        
419        
420          <div class="post-meta">
421            <i class="iconfont icon-tags"></i>
422            
423              <a href="/tags/centos/">#centos</a>
424            
425              <a href="/tags/mysql/">#mysql</a>
426            
427              <a href="/tags/percona/">#percona</a>
428            
429              <a href="/tags/%E5%AE%89%E8%A3%85/">#安装</a>
430            
431          </div>
432        
433      </div>
434    </article>
435  </div>
436
437
438
439  <nav aria-label="navigation">
440    <span class="pagination" id="pagination">
441      <span class="page-number current">1</span><a class="page-number" href="/page/2/#board">2</a><a class="page-number" href="/page/3/#board">3</a><a class="extend next" rel="next" href="/page/2/#board"><i class="iconfont icon-arrowright"></i></a>
442    </span>
443  </nav>
444
445
446
447              </div>
448            </div>
449          </div>
450        </div>
451      </div>
452    
453
454    
455      <a id="scroll-top-button" aria-label="TOP" href="#" role="button">
456        <i class="iconfont icon-arrowup" aria-hidden="true"></i>
457      </a>
458    
459
460    
461      <div class="modal fade" id="modalSearch" tabindex="-1" role="dialog" aria-labelledby="ModalLabel"
462     aria-hidden="true">
463  <div class="modal-dialog modal-dialog-scrollable modal-lg" role="document">
464    <div class="modal-content">
465      <div class="modal-header text-center">
466        <h4 class="modal-title w-100 font-weight-bold">搜索</h4>
467        <button type="button" id="local-search-close" class="close" data-dismiss="modal" aria-label="Close">
468          <span aria-hidden="true">&times;</span>
469        </button>
470      </div>
471      <div class="modal-body mx-3">
472        <div class="md-form mb-5">
473          <input type="text" id="local-search-input" class="form-control validate">
474          <label data-error="x" data-success="v" for="local-search-input">关键词</label>
475        </div>
476        <div class="list-group" id="local-search-result"></div>
477      </div>
478    </div>
479  </div>
480</div>
481
482    
483
484    
485  </main>
486
487  <footer>
488    <div class="footer-inner">
489  
490    <div class="footer-content">
491       <a href="https://hexo.io" target="_blank" rel="nofollow noopener"><span>Hexo</span></a> <i class="iconfont icon-love"></i> <a href="https://github.com/fluid-dev/hexo-theme-fluid" target="_blank" rel="nofollow noopener"><span>Fluid</span></a> 
492    </div>
493  
494  
495  
496    <!-- 备案信息 ICP for China -->
497    <div class="beian">
498  <span>
499    <a href="http://beian.miit.gov.cn/" target="_blank" rel="nofollow noopener">
500      浙ICP备2022032625号-1
501    </a>
502  </span>
503  
504</div>
505
506  
507  
508</div>
509
510  </footer>
511
512  <!-- Scripts -->
513  
514  
514<script  src="https://lib.baomitu.com/nprogress/0.2.0/nprogress.min.js" ></script>
514
515  <link  rel="stylesheet" href="https://lib.baomitu.com/nprogress/0.2.0/nprogress.min.css" />
516
517  
517<script>
518    NProgress.configure({"showSpinner":false,"trickleSpeed":100})
519    NProgress.start()
520    window.addEventListener('load', function() {
521      NProgress.done();
522    })
523  </script>
523
524
525
526<script  src="https://lib.baomitu.com/jquery/3.6.4/jquery.min.js" ></script>
vendor: 1 bytes, line 526
526
527<script  src="https://lib.baomitu.com/twitter-bootstrap/4.6.1/js/bootstrap.min.js" ></script>
vendor: 1 bytes, line 527
527
528<script  src="/js/events.js" ></script>
vendor: 1 bytes, line 528
528
529<script  src="/js/plugins.js" ></script>
529
530
531
532  
532<script  src="https://lib.baomitu.com/typed.js/2.0.12/typed.min.js" ></script>
532
533  
533<script>
534    (function (window, document) {
535      var typing = Fluid.plugins.typing;
536      var subtitle = document.getElementById('subtitle');
537      if (!subtitle || !typing) {
538        return;
539      }
540      var text = subtitle.getAttribute('data-typed-text');
541      
542        typing(text);
543      
544    })(window, document);
545  </script>
545
546
547
548
549
550  
551    
551<script  src="/js/img-lazyload.js" ></script>
551
552  
553
554
555
556
557  
557<script  src="/js/local-search.js" ></script>
557
558
559
560
561
562
563<!-- 主题的启动项,将它保持在最底部 -->
564<!-- the boot of the theme, keep it at the bottom -->
565<script  src="/js/boot.js" ></script>
565
566
567
568  
569
570  <noscript>
571    <div class="noscript-warning">博客在允许 JavaScript 运行的环境下浏览效果更佳</div>
572  </noscript>
573</body>
574</html>

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.