Skip to content

Commit

Permalink
refactor: remove tag, category frontmeta
Browse files Browse the repository at this point in the history
  • Loading branch information
Spike-Leung committed Sep 7, 2022
1 parent faebf36 commit 2d9b110
Show file tree
Hide file tree
Showing 16 changed files with 0 additions and 77 deletions.
4 changes: 0 additions & 4 deletions content/post/2022-css-tech.org
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
#+title: 2022 CSS 技术一瞥
#+date: 2022-07-31
#+draft: false
#+keywords[]:
#+description: ""
#+tags[]:
#+categories[]: CSS

当前,前端开发关于 CSS 的技术有很多:

Expand Down
7 changes: 0 additions & 7 deletions content/post/JS-Timer.org
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,6 @@
#+date: 2022-02-14T23:46:53+08:00
#+lastmod: 2022-02-14T23:46:53+08:00
#+draft: false
#+keywords[]:
#+description: ""
#+tags[]: js
#+categories[]: js
:PROPERTIES:
:ID: 740c7943-a2cd-49fa-99c5-a0ad537d4d80
:END:
* setTimeout
[[https://developer.mozilla.org/en-US/docs/Web/API/setTimeout][setTimeout()]] 可以设置一个延迟,延迟多少秒将一个 callback 放入到
[[https://developer.mozilla.org/en-US/docs/Web/API/HTML_DOM_API/Microtask_guide#tasks_vs_microtasks][宏任务队列]]。
Expand Down
4 changes: 0 additions & 4 deletions content/post/deploy-static-file-to-server.org
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
#+date: 2021-08-15T12:44:12+08:00
#+lastmod: 2021-08-15T12:44:12+08:00
#+draft: false
#+keywords: []
#+description: ""
#+TAGS[]:
#+CATEGORIES[]: deploy

笔者目前使用 Vue 开发,开发完成后需要构建静态文件,部署到服务器上,例如 Nginx, 本文将介绍从构建到部署过程中的步骤,
涉及到的一些命令 如 ~tar~, ~ssh~, ~scp~, 以及笔者的一些小技巧。
Expand Down
4 changes: 0 additions & 4 deletions content/post/display-blob-as-image.org
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
#+date: 2022-08-09T16:54:53+08:00
#+lastmod: 2022-08-09T16:54:53+08:00
#+draft: false
#+keywords[]:
#+description: ""
#+tags[]:
#+categories[]:
接口返回的是图片的二进制,是一个 [[https://developer.mozilla.org/en-US/docs/Web/API/Blob][Blob]] 对象。

用 [[https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img][<img>]] 展示的时候,要设置对应的 src,此时需要将返回的 Blob 转换成
Expand Down
4 changes: 0 additions & 4 deletions content/post/history api vs hash.org
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
#+date: 2022-01-30T22:58:38+08:00
#+lastmod: 2022-01-30T22:58:38+08:00
#+draft: false
#+keywords[]:
#+description: ""
#+tags[]: js html
#+categories[]: 实践总结
之前一直使用 [[https://router.vuejs.org/][Vue Router]], 编写路由以及路由对应的组件,当 URL 命中配置的
路由时,就会渲染对应的组件,并且页面不会重载。为什么页面不会重载呢?在
网页上浏览时,往往点击一个链接,都会把当前页整个刷新成新的页面,而使用
Expand Down
7 changes: 0 additions & 7 deletions content/post/kpm-algorithm-for-js.org
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,6 @@
#+date: 2022-02-12T11:48:07+08:00
#+lastmod: 2022-02-12T11:48:07+08:00
#+draft: false
#+keywords[]:
#+description: ""
#+tags[]: js algorithm
#+categories[]: algorithm
:PROPERTIES:
:ID: 82b7d7e5-db82-4968-bc6b-c514d0aab74a
:END:
[[https://en.wikipedia.org/wiki/Knuth%E2%80%93Morris%E2%80%93Pratt_algorithm][KMP (Knuth–Morris–Pratt algorithm)]] 算法是用于比较字符串的,给定字符串
A,以及匹配字符串 B,判断 A 中是否包含 B。

Expand Down
5 changes: 0 additions & 5 deletions content/post/make-country-flag-icon.org
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
#+date: 2021-08-15T11:29:49+08:00
#+lastmod: 2021-08-15T11:29:49+08:00
#+draft: false
#+keywords: []
#+description: ""
#+tags[]: emoji js node.js
#+categories[]: 实践总结

* 前言

项目中,要根据返回的国家名称显示对应的国旗图标。实现思路很简单,找到对应的国旗图片,然后根据返回的国家名匹配对应的图片就可以了。
Expand Down
4 changes: 0 additions & 4 deletions content/post/make-svg-map-outline.org
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
#+DATE: 2021-08-14T22:30:59+08:00
#+lastmod: 2021-08-14T22:30:59+08:00
#+draft: false
#+keywords: []
#+description: ""
#+tags[]: svg
#+categories[]: 实践总结
* 前言

由于项目基于 AmMap,有时需要使用中国某些省份或者市区作为地图,但是 AmMap 没有提供相关的地图数据,官网提供了一个自制地图数据的文档,
Expand Down
4 changes: 0 additions & 4 deletions content/post/monorepo.org
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
#+date: 2022-07-28T02:24:54+08:00
#+lastmod: 2022-07-28T02:24:54+08:00
#+draft: false
#+keywords[]: monorepo
#+description: ""
#+tags[]: js monorepo
#+categories[]: js
#+OPTIONS: \n:t
* Why
当项目变得庞大的时候,自然就会想到去拆分,以更小的单位去维护,或者复用。
Expand Down
4 changes: 0 additions & 4 deletions content/post/monotone-stack.org
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
#+date: 2022-08-22T17:45:46+08:00
#+lastmod: 2022-08-22T17:45:46+08:00
#+draft: false
#+keywords[]:
#+description: ""
#+tags[]:
#+categories[]:
* 定义
单调栈即满足单调性的栈结构,插入时要保证栈的单调性。

Expand Down
7 changes: 0 additions & 7 deletions content/post/something-about-cookie.org
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,6 @@
#+date: 2022-02-23T02:10:50+08:00
#+lastmod: 2022-02-23T02:10:50+08:00
#+draft: false
#+keywords[]:
#+description: ""
#+tags[]: http
#+categories[]: http
:PROPERTIES:
:ID: bc6f1106-90e5-45c6-8819-08162b033052
:END:
Cookie 是服务器发送给客户端的一小段数据(一般不超过 4K)。客户端会在
请求时将 cookie 发送给服务器。由于 HTTP 是无状态的,服务器不会记住客户
端,因此就通过 cookie 的字段去辨识客户端。
Expand Down
5 changes: 0 additions & 5 deletions content/post/svn-cheatsheet.org
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
#+date: 2021-08-15T11:53:05+08:00
#+lastmod: 2021-08-15T11:53:05+08:00
#+draft: false
#+keywords: []
#+description: ""
#+tags[]: svn
#+categories[]: svn

本文整理一些 SVN 的常用指令,方便查询使用。命令行相对来说还是有些麻烦的,你也可以使用 GUI 去完成 SVN 操作。
Window 上有 [[https://tortoisesvn.net/][TortoiseSVN]], Mac 有 [[https://www.smartsvn.com/][SmartSVN]], 笔者当时用的就是 ~SmartSVN~ ,但有些功能需要付费,有的地方也不方便,所以就学习了命令行操作。
或者也可以用 ~Emacs~ , 它集成了一套还不错的版本控制操作, ~Emacs~ 结合命令行,基本上覆盖了我所有的使用场景了。
Expand Down
5 changes: 0 additions & 5 deletions content/post/travel-chang-sha-20210929.org
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
#+date: 2021-10-01T14:50:31+08:00
#+lastmod: 2021-10-01T14:50:31+08:00
#+draft: false
#+keywords[]:
#+description: ""
#+tags[]: travel
#+categories[]: 游记

* 住
来到长沙后,在 /五一广场/ 附近找了个叫 /新友缘/ 酒店,位置较好。五一广场距离长沙站和长沙南站都不是很远,
附近就是太平街,黄兴广场,都是繁华的地方。酒店里还有投影仪,买点夜宵啤酒,看球看电影都不错。
Expand Down
4 changes: 0 additions & 4 deletions content/post/travel-wu-han-20210927.org
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
#+date: 2021-09-28T19:00:04+08:00
#+lastmod: 2021-09-28T19:00:04+08:00
#+draft: false
#+keywords[]:
#+description: ""
#+tags[]: travel
#+categories[]: 游记
* 出发 & 火车
因为一些原因离职了,将要从上海去往广东,又一时无法入职,就想着不如沿着南下的路到没去过的城市走走。

Expand Down
5 changes: 0 additions & 5 deletions content/post/use-github-action-deploy-blog.org
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
#+date: 2021-08-15T12:29:15+08:00
#+lastmod: 2021-08-15T12:29:15+08:00
#+draft: false
#+keywords: []
#+description: ""
#+TAGS[]: git github-actions
#+categories[]: git

笔者目前的博客使用的是 [[https://v2.vuepress.vuejs.org/][Vuepress]], 参考文档,使用 ~Travis CI~ 实现了博客推送更新后自动部署。
最近了解到 ~GitHub Actions~ ,遂将博客的自动部署改为 ~GitHub Actions~, 本文将简单介绍 ~GitHub Actions~ 以及笔者博客如何实现自动部署。

Expand Down
4 changes: 0 additions & 4 deletions content/post/v2ray-caddy-http2-tls.org
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
#+date: 2022-08-08T21:47:48+08:00
#+lastmod: 2022-08-08T21:47:48+08:00
#+draft: false
#+keywords[]:
#+description: ""
#+tags[]:
#+categories[]:
由于经常需要访问 GitHub 等外网,就需要有一个快速响应的代理。

之前尝试过 v2ray 直连 、[[https://toutyrater.github.io/advanced/wss_and_web.html][WebSocket + TLS + Web]] 的方式。
Expand Down

1 comment on commit 2d9b110

@vercel
Copy link

@vercel vercel bot commented on 2d9b110 Sep 7, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.