hexo-yilia
1.下载 yilia
12345cd /opt/blog/themesgit clone https://github.com/litten/hexo-theme-yiliamv hexo-theme-yilia yilia
2.修改 theme 为 yilia
进入 hexo 根目录vi _config.yml
1234573 # Extensions74 ## Plugins: https://hexo.io/plugins/75 ## Themes: https://hexo.io/themes/76 #theme: landscape77 theme: yilia
3.修改头像
进入 yilia 目录
123456mac126deMacBook-Air:yilia macwz$ pwd/opt/blog/themes/yiliamac126deMacBook-Air:yilia macwz$ lsREADME.md layout source-src_config.yml package.json webpack.config.jslanguages sou ...
Mac
符号说明123456789101112131415161718⌘ Command⇧ Shift⌥ Option⌃ Control↩︎ Return/Enter⌫ Delete⌦ 向前删除键(Fn+Delete)↑ 上箭头↓ 下箭头← 左箭头→ 右箭头⇞ Page Up(Fn+↑)⇟ Page Down(Fn+↓)Home Fn + ←End Fn + →⇥ 右制表符(Tab 键)⇤ 左制表符(Shift+Tab)⎋ Escape (Esc)
Mac 键盘快捷键参考:https://support.apple.com/zh-cn/HT201236#
command + D 复制所选文件
command + Z 撤销
command + X 剪切
command + C 拷贝(Copy)
command + V 粘贴
command + option + V 移动
command + A 全选(All)
command + S 保存(Save)
command + F 查找(Find)
command + N 创建新窗口
command + delete 删除
c ...
Chrome
注册 Google先注册一个 Google 账号。可以使用手机上 QQ 邮箱 注册,方便Chrome浏览器 登录 Google 账号
必看安装 Chrome 插件,在开发模式下,拖动 crx 到窗口,提示失败
将 crx 文件后缀改为 zip
打开 Chrome -> 更多工具-> 扩展程序,打开开发者模式,将上述 zip 文件拖进来即可
快捷键Windows「Mac 环境 Ctrl 替换为 Command,部分例外」12345678910111213141516171819Ctrl + Shift + Delete 清除浏览数据Ctrl + R 刷新页面Ctrl + N 创建新窗口Ctrl + Shift + N 创建无痕窗口Ctrl + T 创建新页签Ctrl + W 关闭页签Ctrl + Shift + T 重新打开已关闭的页签Ctrl + 数字 切换页签Ctrl + 鼠标滚轮 缩放页面Ctrl + 0 页面100% 缩放显示Alt + D | Command + L 鼠标光标聚焦在地址栏Ctrl + D 加入到书签Ctrl + F 查找Ctr ...
hexo
官方https://hexo.io/zh-cn/
说明搭建自己博客分为两类,一种是托管到 github 上的,以 hexo 为代表,另一种是需要自己购买服务器,主要使用 wordpress、帝国 cms、织梦 cms 等框架。下面介绍下使用 hexo 搭建个人博客。
配置环境
安装 git
安装 nodejs
安装 hexo
npm install hexo-cli -g
注意:npm 安装报错 code Z_BUF_ERROR errno -5 ! zlib: unexpected end of file
解决办法地址: https://cnodejs.org/topic/4f9904f9407edba21468f31e
12345678910111213镜像使用方法(三种办法任意一种):1.通过 config 命令更换国内镜像npm config set registry https://registry.npm.taobao.org npm info underscore (如果上面配置正确这个命令会有字符串response)2.命令行指定npm --registry ht ...