Markdown 101

Heading # Heading 1 ## Heading 2 Bold Bold **Bold** Code Inline Code `Inline Code` Code Block print '3 backticks or' print 'indent 4 spaces' List Unordered List * List Item * List Item * List Item Ordered List 1. One 2. Two 3. Three Italic *Italic* Blockquote > Blockquote Link [Link](http://link.com) Image ![Image](http://link.com/image.png) Horizontal Rule ---

Published: August 17, 2023 · 1 min · 57 words · Shawn

How To Change Git Remote Origin

Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency. Change Git Remote URL The git remote set-url command changes an existing remote repository URL. The git remote set-url command takes two arguments: An existing remote name. For example, origin or upstream are two common choices. A new URL for the remote. For example:...

Published: August 16, 2023 · 2 min · 269 words · Shawn

设计模式 - 概述

设计模式遵循六⼤原则: 单⼀职责( ⼀个类和⽅法只做⼀件事 ) ⾥⽒替换( 多态,⼦类可扩展⽗类 ) 依赖- 倒置( 细节依赖抽象,下层依赖上层 ) 接⼝隔离( 建⽴单⼀接⼝ ) 迪⽶特原则( 最少知道,降低耦合 ) 开闭原则( 抽象架构,扩展实现 ) ...

Published: December 5, 2021 · 1 min · 100 words · Shawn

Server Sent Events

Server-Sent Events (SSE) 是一种服务端推送技术,通过 HTTP 连接让客户端自动接收服务端实时消息。Server-Sent Events EventSource API 已经是 W3C HTML5 标准. ...

Published: March 15, 2021 · 1 min · 109 words · Shawn

如何迁移 WSL 2 Docker Desktop 数据

随着日常的使用及镜像的增多,系统盘使用空间会逐渐增大,所以需要将其迁移到其它分区。 ...

Published: February 7, 2021 · 1 min · 122 words · Shawn