shunichio / blog Goto Github PK
View Code? Open in Web Editor NEW笔记、博客部署文件
笔记、博客部署文件
https://shunichio.github.io/note-pages/2020/12/02/github-action-deploy-web-page/#more
介绍Github Actions 可以很方便实现 CI/CD 工作流,类似 Travis 的用法,来帮我们完成一些工作,比如实现自动化测试、打包、部署等操作。当我们运行 Jobs 时,它会创建一个容器 (runner),容器支持:Ubuntu、Windows 和 MacOS 等系统,在容器中我们可以安装软件,利用安装的软件帮我们处理一些数据,然后把处理好的数据推送到某个地方。 本文将介绍利用 Gi
https://shunichio.github.io/blog/2020/12/18/es6-knowledge-points/
字符串相关数值相关函数相关数组相关对象相关SymbolSet 和 Map 数据结构ProxyPromise 对象Iterator 和 for…of 循环Generator 函数相关Class 相关装饰器
https://shunichio.github.io/note-pages/2020/10/30/web-font-settings/
字体文件下载从 Google Fonts 下载免费字体,这里我们选择思源黑体 Noto Sans SC。 字体定义细节 英文字体在前,中文字体在后。原因很简单,中文字体包中通常包含了英文字符,反之则不成立,如果先设置了中文字体,那么英文字体根本轮不到 fallback 操作系统方面,Apple 系列(macOS + iOS)字体在前(直接用 -apple-system 即可),Windows 字
https://shunichio.github.io/blog/2020/12/10/commit-lint/
安装和 eslint 一样的是, commitlint 自身只提供了检测的功能和一些最基础的规则,使用者需要根据这些规则配置出自己的规范。 对于 Conventional Commits 规范,社区已经整理好了 @commitlint/config-conventional 包,我们只需要安装并启用它就可以了。 首先安装 commitlint 以及 conventional 规范: 1npm in
https://shunichio.github.io/blog/2020/10/30/front-end-issues/
前端面试问题汇总一、 JS 值的类型原始类型在 JS 中,存在着 6 种原始值,分别是:null、undefind、 string、 number、 boolean、 symbol。 原始类型存储的都是值,是没有函数可以调用的。
https://shunichio.github.io/blog/2020/12/02/github-action-deploy-web-page/
介绍Github Actions 可以很方便实现 CI/CD 工作流,类似 Travis 的用法,来帮我们完成一些工作,比如实现自动化测试、打包、部署等操作。当我们运行 Jobs 时,它会创建一个容器 (runner),容器支持:Ubuntu、Windows 和 MacOS 等系统,在容器中我们可以安装软件,利用安装的软件帮我们处理一些数据,然后把处理好的数据推送到某个地方。 本文将介绍利用 Gi
https://shunichio.github.io/note-pages/2020/10/31/vue3-reactivity-in-depth/#more
知识点 ES6 Set 和 Map 数据结构 ES6 Proxy 代理
https://shunichio.github.io/blog/2020/11/02/vue3-notes/
Fragment(碎片)vue3 支持 碎片( fragment ), 但是仍然推荐单根组件,因为父组件传入的一些非 props 会出问题,没有地方可以绑定。这种情况下,要求开发者明确定义属性应该分布在哪里。 123456 ... <main v-b
https://shunichio.github.io/blog/2020/10/01/vscode-shortcuts/
删除行内容: command + shift + k 删除左侧内容: command + backspace 删除右侧内容: command + delete 移动到行首行尾:command + ← 、 command + → 上下移动: option + ↑ 、 option + ↓ 移动到文档的开头和末尾: command + ↑ 、 command + ↓ 回到上一个光标的位置: comm
https://shunichio.github.io/blog/2021/02/18/es6-websocket/#more
1234567891011121314151617181920212223242526272829303132import { getToken } from '@/util/auth'/** * 心跳基类 */export class Heart { HEART_TIMEOUT = null // 心跳计时器 SERVER_HEART_TIM
https://shunichio.github.io/blog/2020/12/15/axios-request-resend/#more
定义相关变量与函数定义 Axios 的 baseUrl 1const BASE_URL = process.env.VUE_APP_BASEURL 定义 Token 的刷新状态 1let isRefreshing = false 定义 Token 失效后,发送的请求的容器 – 缓存接口 1let subscribers = []
https://shunichio.github.io/blog/2020/10/01/vscode/
快捷键 删除行内容: command + shift + k 删除左侧内容: command + backspace 删除右侧内容: command + delete 移动到行首行尾:command + ← 、 command + → 上下移动: option + ↑ 、 option + ↓ 移动到文档的开头和末尾: command + ↑ 、 command + ↓ 回到上一个光标的位置: c
https://shunichio.github.io/note-pages/2020/10/30/windows-terminal/#more
第一步:安装相关的模块和 PowerLine 主题如果你使用管理员权限打开 PowerShell 并且想把 oh-my-posh 安装到所有用户,输入 12Install-Module posh-gitInstall-Module oh-my-posh 否则输入 12Install-Module posh-git -Scope CurrentUserInstall-Module oh-my-po
https://shunichio.github.io/blog/2020/12/28/git-ssh-key/#more
大多数时候,我们的机器上会有很多的 git host,比如公司 Gitlab、 Github、 OSChina 等,那我们就需要在本地配置多个 SSH Key,使得不同的 Host 能使用不同的 SSH Key 。配置方法如下(以公司 Gitlab 和个人 Github 为例):
https://shunichio.github.io/blog/about/
只不过无病呻吟罢了
https://shunichio.github.io/note-pages/2020/11/05/threejs/#more
坐标系Three.js 的坐标系是遵循右手坐标系,如下图:
https://shunichio.github.io/blog/2020/12/16/vscode-rest-client/#more
简介在测试 REST API 的时候,想必大家都会有不同的工具选择。如果是基于 CLI 的话,大家应该会选择 cURL。如果是 GUI 工具的话,相信很多人都会使用 Postman。不过今天,如果开发是使用 vs code,那么我推荐 REST Client 插件 我们在 vs code 新建一个以 .http 或者 .rest 结尾的文件,填入你的 HTTP 请求,点击 Send Request
https://shunichio.github.io/blog/categories/
自留地,前端笔记,日记,日常记录
https://shunichio.github.io/note-pages/2020/11/02/vue3-notes/#more
Fragment(碎片)vue3 支持 碎片( fragment ), 但是仍然推荐单根组件,因为父组件传入的一些非 props 会出问题,没有地方可以绑定。这种情况下,要求开发者明确定义属性应该分布在哪里。 123456 ... <main v-b
https://shunichio.github.io/blog/tags/
自留地,前端笔记,日记,日常记录
https://shunichio.github.io/note-pages/2020/10/30/umi-request-interceptors/#more
注意事项response 拦截器 会先于 异常处理程序 「errorHandler」 对返回值进行处理与判断
https://shunichio.github.io/blog/2020/11/05/threejs/#more
坐标系Three.js 的坐标系是遵循右手坐标系,如下图:
https://shunichio.github.io/note-pages/2020/10/31/javascript-function-apply-call/#more
简介 在 JavaScript 中,函数就是一个对象,函数在没有返回值时默认返回一个对象。 当一个对象 A(this object) 没有某个方法,但是其他对象 B(other object) 有这一方法,我们可以借助 call() 方法或 apply() 方法,用其它对象 B(other object) 的方法来操作。apply() 方法与 call() 方法的第一个参数是对象 A(this
https://shunichio.github.io/blog/2021/03/07/iterm2/#more
如何一键安装国内: 1sh -c "$(curl -fsSL https://code.aliyun.com/kar/ohmyiterm2/raw/master/install.sh)" "" aliyun 国外: 1sh -c "$(curl -fsSL https://raw.githubusercontent.com/KingFalse/o
https://shunichio.github.io/blog/2020/10/30/web-font-settings/
字体文件下载从 Google Fonts 下载免费字体,这里我们选择思源黑体 Noto Sans SC。
https://shunichio.github.io/blog/2020/10/31/vue3-reactivity-in-depth/
知识点 ES6 Set 和 Map 数据结构 ES6 Proxy 代理
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.