摘要: 来自: https://www.freebuf.com/articles/web/185654.html 前端安全 随着互联网的高速发展,信息安全问题已经成为企业最为关注的焦点之一,而前端又是引发企业安全问题的高危据点。在移动互联网时代,前端人员除了传统的 XSS、CSRF 等安全问题之外,又时常遭 阅读全文
posted @ 2019-03-03 18:58 facial 阅读(5736) 评论(0) 推荐(1) 编辑
摘要: 来源: http://www.cnblogs.com/hyddd/ 一.CSRF是什么? CSRF(Cross-site request forgery),中文名称:跨站请求伪造,也被称为:one click attack/session riding,缩写为:CSRF/XSRF。 二.CSRF可以 阅读全文
posted @ 2019-03-03 17:56 facial 阅读(709) 评论(0) 推荐(0) 编辑
摘要: console.log(__dirname);console.log(__filename);console.log(module.filename __filename);console.log(process.cwd());process.chdir('/Users/jerry')console 阅读全文
posted @ 2018-11-05 15:09 facial 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 解决方案是执行以下方法: npm rebuild node-sass 阅读全文
posted @ 2018-01-02 20:02 facial 阅读(6200) 评论(0) 推荐(0) 编辑
摘要: 摘自: https://www.cnblogs.com/Showshare/p/different-between-attr-and-prop.html 在高版本的jquery引入prop方法后,什么时候该用prop?什么时候用attr?它们两个之间有什么区别?这些问题就出现了。 关于它们两个的区别 阅读全文
posted @ 2018-01-02 14:01 facial 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 摘自: http://blog.csdn.net/longxiaowu/article/details/26815433 关于git stash命令的使用方法网上一大把,我想记录的是我在使用过程中觉得实用及好用的: 当在一个分支的开发工作未完成,却又要切换到另外一个分支进行开发的时候,除了commi 阅读全文
posted @ 2017-12-07 13:30 facial 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 摘自: http://blog.csdn.net/pm_mybook/article/details/54602107 /* 横屏 */ @media all and (orientation:landscape){} /* 竖屏 */ @media all and (orientation:por 阅读全文
posted @ 2017-11-30 10:50 facial 阅读(352) 评论(0) 推荐(0) 编辑
摘要: 摘自: http://www.cnblogs.com/ikuyka/p/5825762.html 前提是你电脑里已经装了node.js然后才能采用以下命令(以下代码最好不要同时运行) 切换 以笔者装的为例,输入以上代码后会出现 然后按上下键选择及回车就能选相应的版本了。 阅读全文
posted @ 2017-08-06 14:18 facial 阅读(4686) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/freshlover/article/details/42528643/ 阅读全文
posted @ 2017-07-10 16:26 facial 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 来自: http://blog.csdn.net/liuhe688/article/details/51212393 阅读全文
posted @ 2017-06-22 09:10 facial 阅读(158) 评论(0) 推荐(0) 编辑