12 2017 档案

摘要:参考两篇文章: https://www.cnblogs.com/LBSer/p/5183300.html http://hedengcheng.com/?p=771#_Toc374698322 http://blog.csdn.net/cweeyii/article/details/70991230 阅读全文
posted @ 2017-12-27 14:49 jay- 阅读(106) 评论(0) 推荐(0)
摘要:1.所有的开启的子进程都是 require(child_process).spawn的基础上实现的 child_process 产生的进程,都是独立于主进程的,有自己的内存和v8实例 2.在 Node.js 的父进程与衍生的子进程之间会建立 stdin、stdout 和 stderr 的管道。 数据 阅读全文
posted @ 2017-12-27 11:10 jay- 阅读(271) 评论(0) 推荐(0)
摘要:sudo bash password: 输入你的当前用户密码bash-3.2# ok done!其实没啥,因为登陆当前用户默认在系统sudoers的list里。 阅读全文
posted @ 2017-12-26 16:13 jay- 阅读(107) 评论(0) 推荐(0)
摘要:1.csrf攻击: 1.Referer Check 同源策略检查,如果不是合法的地址,则(request:中 Referer:http://localhost:3000/)认为是csrf攻击 2. token放在html中 3.头部放入一个自定义的属性 2.304的用处以及配置 304是not mo 阅读全文
posted @ 2017-12-25 18:38 jay- 阅读(323) 评论(0) 推荐(0)
摘要:MySQL ERROR 1045 (28000): Access denied for user 'bill'@'localhost' (using password: YES) mysql连接1045错误 启动的时候用 --skip-grant-tables 首先找到mysql.server /u 阅读全文
posted @ 2017-12-12 10:25 jay- 阅读(179) 评论(0) 推荐(0)
摘要:DELIMITER ;; /*重新定义结束符,存储过程结束要定义回来,成对使用,主要是END;;在使用*/ CREATE DEFINER=`root`@`localhost` PROCEDURE `proc_calculate_user_active_strategy`( /* CREATE DEF 阅读全文
posted @ 2017-12-07 14:39 jay- 阅读(162) 评论(0) 推荐(0)