摘要:
1. 使用node-inspector(已过时) 使用npm安装: $ npm install -g node-inspector 然后需要通过浏览器连接到node-inspector,需要启动inspector服务: $ node-inspector & 最后以debug模式运行node.js应用 阅读全文
posted @ 2017-05-15 00:50
全玉
阅读(210)
评论(0)
推荐(0)
摘要:
content-type 媒体类型,即MIME类型,包括媒体格式和编码两部分 例如:Content-Type:text/html;charset:utf-8 常见的媒体格式类型如下: text/html : HTML格式text/plain :纯文本格式 text/xml : XML格式image/ 阅读全文
posted @ 2017-05-15 00:17
全玉
阅读(475)
评论(0)
推荐(0)
摘要:
1. shell脚本的变量赋值 变量赋值语句中的等号左右不能有空格 即 a = 4 //错误 a=4 //正确 2. shell脚步的执行需要权限 chmod +x shell.sh ./shell.sh //执行shell脚本 阅读全文
posted @ 2017-05-15 00:09
全玉
阅读(159)
评论(0)
推荐(0)

浙公网安备 33010602011771号