Skip to content

Commit

Permalink
deploy: 7afee1c
Browse files Browse the repository at this point in the history
  • Loading branch information
lxfljw committed Oct 22, 2023
1 parent c8ae19e commit ce55a6c
Show file tree
Hide file tree
Showing 17 changed files with 1,689 additions and 12 deletions.
2 changes: 1 addition & 1 deletion 2023/05/22/Git/多仓库合并/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<meta property="og:description" content="git 多仓库合并起因一般来说,git 仓库是不用轻易改动的,但是公司的其中一个管理后台项目拆成了十个 git 仓库,最惊人的是跑项目又要新建一个 project 目录,把这十个仓库克隆到 project 里面,根目录是projec, 底下有 A,B,C…等加起来十个目录,需要放在一起才能跑,最要命的是,readme还没说明怎么跑,仓库是分开的,你还不知道有几个要clone,导致跑项目都要摸索半天">
<meta property="og:locale" content="zh_CN">
<meta property="article:published_time" content="2023-05-22T23:51:39.000Z">
<meta property="article:modified_time" content="2023-05-27T05:05:25.516Z">
<meta property="article:modified_time" content="2023-10-22T05:23:53.020Z">
<meta property="article:tag" content="前端 JavaScript html css webpack git">
<meta name="twitter:card" content="summary_large_image">

Expand Down
2 changes: 1 addition & 1 deletion 2023/05/22/设计模式/1-单例模式/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<meta property="og:description" content="一、单例模式单例模式指的是无论调用多少次生成函数,都只会返回相同的实例。在这之前,你需要对闭包有些许了解. 假设我们需要创建一个可复用的弹窗,一旦有了这个弹窗,就不再重复创建 div,大概逻辑如下: 12345678let temp &#x3D; null; &#x2F;&#x2F; 单例模式的关键变量function Modal() &amp;#123; &#x2F;&#x2F; 如果有缓存 直接返回缓存内容 if (temp) &amp;#123;">
<meta property="og:locale" content="zh_CN">
<meta property="article:published_time" content="2023-05-22T23:51:39.000Z">
<meta property="article:modified_time" content="2023-05-27T05:05:25.516Z">
<meta property="article:modified_time" content="2023-10-22T05:23:53.020Z">
<meta property="article:tag" content="前端 JavaScript html css webpack git">
<meta name="twitter:card" content="summary_large_image">

Expand Down
2 changes: 1 addition & 1 deletion 2023/05/22/设计模式/2-策略模式/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<meta property="og:description" content="二、策略模式笔者使用过的设计模式中,策略模式是常用的模式并且非常的实用。举一个小例子你可能会恍然大悟,原来你一直在用,只不过不知道它叫策略模式,策略模式用在那些代码结构相似但是内部逻辑不相同的场景。 现在有一个需求,要你在页面上展示今天是星期几,你会怎么做?可以试着给自己一分钟思考;时间到,第一点,我们要知道 JavaScript 的日期实例 new Date().getDay() 能够返回今">
<meta property="og:locale" content="zh_CN">
<meta property="article:published_time" content="2023-05-22T23:51:39.000Z">
<meta property="article:modified_time" content="2023-05-27T05:05:25.516Z">
<meta property="article:modified_time" content="2023-10-22T05:23:53.020Z">
<meta property="article:tag" content="前端 JavaScript html css webpack git">
<meta name="twitter:card" content="summary_large_image">

Expand Down
2 changes: 1 addition & 1 deletion 2023/05/22/设计模式/3-单例模式/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<meta property="og:description" content="代理模式我们来回顾上一章策略模式留下的问题: 假设公司的绩效等级分为 A,B,C,D,E 年终奖对应的绩点为 2,1.8,1.5,1.1,0.8。假设年终基数为 base,年终奖为:年终基数 * 绩点。已知绩效等级,求员工的年终奖。 12345678910111213&#x2F;&#x2F; 绩效等级和绩点的映射关系const levelToCredit &#x3D; &amp;#123; A: 2, B: 1.8">
<meta property="og:locale" content="zh_CN">
<meta property="article:published_time" content="2023-05-22T23:51:39.000Z">
<meta property="article:modified_time" content="2023-05-27T05:05:25.516Z">
<meta property="article:modified_time" content="2023-10-22T05:23:53.020Z">
<meta property="article:tag" content="前端 JavaScript html css webpack git">
<meta name="twitter:card" content="summary_large_image">

Expand Down
2 changes: 1 addition & 1 deletion 2023/05/22/设计模式/4-发布订阅模式/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<meta property="og:description" content="很多文章都把 发布订阅模式 和 观察者模式区别开来,从根本来说是同一种设计模式。抛开代码,假设我们订阅某个频道的咨询,一旦有新资讯发布,就能立即收到通知。我们只需要订阅某个事件即可。 我们经常使用的 DOM 事件,使用的就是发布订阅模式,我们逐步解析: 摘录来自: 曾探. “JavaScript设计模式与开发实践 (图灵原创)。 12345document.body.addEventListe">
<meta property="og:locale" content="zh_CN">
<meta property="article:published_time" content="2023-05-22T23:51:39.000Z">
<meta property="article:modified_time" content="2023-05-27T05:05:25.516Z">
<meta property="article:modified_time" content="2023-10-22T05:23:53.020Z">
<meta property="article:tag" content="前端 JavaScript html css webpack git">
<meta name="twitter:card" content="summary_large_image">

Expand Down
8 changes: 7 additions & 1 deletion 2023/05/27/设计模式/前言/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<meta property="og:image" content="https://lxfljw.github.io/2023/05/27/%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/%E5%89%8D%E8%A8%80/%E4%B8%8D%E6%95%B4%E9%BD%90.jpeg">
<meta property="og:image" content="https://lxfljw.github.io/2023/05/27/%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/%E5%89%8D%E8%A8%80/%E6%95%B4%E9%BD%90.jpeg">
<meta property="article:published_time" content="2023-05-27T12:14:27.000Z">
<meta property="article:modified_time" content="2023-05-27T05:05:25.516Z">
<meta property="article:modified_time" content="2023-10-22T05:23:53.020Z">
<meta property="article:tag" content="前端 JavaScript html css webpack git">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:image" content="https://lxfljw.github.io/2023/05/27/%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/%E5%89%8D%E8%A8%80/%E4%B8%8D%E6%95%B4%E9%BD%90.jpeg">
Expand Down Expand Up @@ -361,6 +361,12 @@ <h1 id="为什么需要设计模式"><a href="#为什么需要设计模式" clas
<article class="post-prev col-6">


<a href="/2023/10/22/%E9%89%B4%E6%9D%83/1-Session%EF%BC%8CToken%EF%BC%8CJWT%20%E5%8C%BA%E5%88%AB/" title="1.1-Session,Token,JWT 原理解析">
<i class="iconfont icon-arrowleft"></i>
<span class="hidden-mobile">1.1-Session,Token,JWT 原理解析</span>
<span class="visible-mobile">上一篇</span>
</a>

</article>
<article class="post-next col-6">

Expand Down
Loading

0 comments on commit ce55a6c

Please sign in to comment.