上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 21 下一页
摘要: ** use grep command to find selected words ** `vim-grep/` - `plugin/` `grep.vim` ``` function! s:GrepOperator(type) let l:saved_unnamed_register = @@ 阅读全文
posted @ 2023-02-08 20:15 箫笛 阅读(21) 评论(0) 推荐(0) 编辑
摘要: # test.vim test.vim is to test vimscript, and as an sample for developing the vundle plugin. 开发并安装一个本地 vundle 插件 第一步:按照 vundle 插件要求的目录结构,创建插件的目录结构 vim 阅读全文
posted @ 2023-02-08 20:05 箫笛 阅读(119) 评论(0) 推荐(0) 编辑
摘要: ###1. Intro This plugin can help you quikly convert the nls copy to nls key, such as "this is a nls", can convert to below keys list as you wanto. "F_ 阅读全文
posted @ 2023-02-08 20:01 箫笛 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 1. Introduction This is a simple tool for convert a long english sentence format to a nls key. 2. Install $ ./install.sh Open the git bash under the t 阅读全文
posted @ 2023-02-08 19:24 箫笛 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 1. Chrome 扩展的结构组成 Chrome扩展的文件结构 - extension-smaple/ - manifest.json - service-worker.js - scripts/ - content-script.js - popup/ - popup.css - popup.js 阅读全文
posted @ 2023-01-30 19:15 箫笛 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 1. 引擎的类型 传统型NFA POSIX NFA DFA (不支持忽略优先量词,捕获组和回朔) Javascript测试代码: 首先测试是否是传统型NFA /** 如果匹配结果是nfa则为传统型NFA **/ const reg = /nfa|nfa not/; const matches = r 阅读全文
posted @ 2022-12-05 17:24 箫笛 阅读(56) 评论(0) 推荐(0) 编辑
摘要: 1. match str.match(reg) 参数: 一个正则表达式对象,如果reg不是正则表达式对象,则会利用new RegExp(reg) 隐式转换。 返回值: 1. 正则表达式中如果有g标志,则将返回与完整正则表达式匹配的所有结果,但不会返回捕获组。 2. 正则表达式中如果没有使用g标志,则 阅读全文
posted @ 2022-11-29 17:03 箫笛 阅读(47) 评论(0) 推荐(0) 编辑
摘要: 1. 正则表达式对象 模式 / pattern /flags pattern 是任何简单或复杂的正则表达式,可以包含字符类,限定符,分组,向前查找以及反向引用。 flags 是匹配模式标明正则表达式的行为 g: 表示全局模式, 模式被应用于所有字符串,而非在发现第一个匹配项时立即停止。 i: 表示不 阅读全文
posted @ 2022-11-25 17:20 箫笛 阅读(34) 评论(0) 推荐(0) 编辑
摘要: 1. 设置webpack为开发模式 设置模式(mode: development/production) 设置source maps (devtool: 'inline-source-map') const path = require('path'); const HtmlWebpackPlugi 阅读全文
posted @ 2022-11-22 17:43 箫笛 阅读(62) 评论(0) 推荐(0) 编辑
摘要: 一旦在文件名中使用哈希并输出多个包时,将很难继续手动管理index.html文件, 但是一些插件可以使这个过程更易于管理。 1. 手动管理输出 webpack.config.js const path = require('path'); module.exports = { entry: './s 阅读全文
posted @ 2022-11-22 17:41 箫笛 阅读(30) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 21 下一页
点击右上角即可分享
微信分享提示