markdown tips some tips use # for head. use two spaces and a return or <br> for a line break. use a blank line for another paragraph. use ** ** for bold. use * * for italic. use *** for bold and italic. use & 2023-02-14 program > other #markdown
hexo public 文件夹是网站的实质内容 scaffolds 存模板 source 里面可以存源资源文件(如 文档,css,js,图片等) hexo g 就会将 source 里面的资源文件转化为网站静态文件到 public 中。如更新各页面的 index.html,将 post.md 转化为相应时间目录的 html 文件,复制 source/images 等文件夹到 public 中(如 2023-02-08 program > tool #hexo #tool
yaml learn yaml yaml 一个 documention 是描述一个数据结构(字典,列表,字符串) 字典的 value 如果换行有 - 可以不用缩进(The YAML creators recommend.) yaml to json 辅助理解 about quote multiple lines 2023-02-02 program > other #yaml
正则表达式 正则表达式分组 以下是扩展正则表达式,基本正则表达式稍有不同,扩展表达式使用 egrep,sed -E, grep -E 与文件通配符(wildcard)用法不同 正则表达式中是区分大小写的 正则表达式会匹配到第一个(起始位置最前),然后再是最贪婪的字符串。所以 colou??r 是没有意义的 正则表达式会尽可能完全匹配,在此基础上满足前面的尽可能贪婪匹配 1234(.*) (.* 2022-10-02 program > regular expression #regular expression