07 2020 档案

摘要:Tools-> Developer-> New Snippet 打开后保存文件要是以 .sublime-snippet 做结尾 <snippet> <content><![CDATA[console.log(${1}$SELECTION);${2}]]></content> <tabTrigger> 阅读全文

posted @ 2020-07-24 10:21 bbb324 阅读(127) 评论(0) 推荐(0)

摘要:创建 ip.sh 文件,文件内容为 ifconfig -a | grep -e "inet[^6]" |\ sed -e "s/.*inet[^6][^0-9]*\([0-9.]*\)[^0-9]*.*/\1/" |\ grep -v "^127\." chmod a+x ip.sh 就可以用了 阅读全文

posted @ 2020-07-20 11:06 bbb324 阅读(169) 评论(0) 推荐(0)

摘要:在这里列一下 nunjucks 常用的模板内容 首先需要在plugin.js 当中引入 exports.nunjucks = { enable: true, package: 'egg-view-nunjucks' }; 1、变量传入 {{ title }} 2、for循环 {% for item 阅读全文

posted @ 2020-07-15 15:09 bbb324 阅读(758) 评论(0) 推荐(0)

导航