摘要: yum install -y tcl tclx tcl-devel wget http://sourceforge.net/projects/expect/files/Expect/5.45/expect5.45.tar.gz/download tar xzvf download cd expect 阅读全文
posted @ 2018-09-29 18:20 -小白白白 阅读(283) 评论(0) 推荐(0) 编辑
摘要: 环境配置 jenkins java环境 yum install -y java 安装jenkins wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo rpm --import htt 阅读全文
posted @ 2018-09-21 16:04 -小白白白 阅读(428) 评论(0) 推荐(0) 编辑
摘要: Nginx nginx -c /etc/nginx/nginx.conf 启动 Nginx -s stop 停止 killall -9 nginx netstat -ltunp 查看进程 nginx -s reload 重启 cp -r 路径 指定路径 scp -r -p22222 /本地 root 阅读全文
posted @ 2018-05-23 17:34 -小白白白 阅读(109) 评论(0) 推荐(0) 编辑
摘要: <script> /* # 按照宽高比例设定html字体, width=device-width initial-scale=1版 # @pargam win 窗口window对象 # @pargam option{ designWidth: 设计稿宽度,必须 designHeight: 设计稿高度 阅读全文
posted @ 2018-05-23 17:31 -小白白白 阅读(292) 评论(0) 推荐(0) 编辑
摘要: router.post('/keUpload', checkLogin, setAccessControlAllow, (req, res, next) => { const busboy = new Busboy({ headers: req.headers, }) const sendBuffe 阅读全文
posted @ 2018-05-17 21:58 -小白白白 阅读(1202) 评论(0) 推荐(0) 编辑
摘要: 1.生成虚拟dom createElement的作用就是生成虚拟dom。虚拟dom到底是个啥,其实它就是个javascript对象~,这个对象的属性有props,vType,type, 而props也是个对象,它有children属性也有其他的,比如className,onClick之类的。 2.虚 阅读全文
posted @ 2017-06-01 15:31 -小白白白 阅读(1229) 评论(0) 推荐(0) 编辑
摘要: 数组是引用类型,这里改变的是a的引用,并没有改变b的引用。 这里b的引用才会被改变。 基本数据类型:只是把变量里的值传给参数,之后参数和这个变量互补影响。 引用数据类型:参数里的值是这个对象的内存地址 阅读全文
posted @ 2017-05-25 12:24 -小白白白 阅读(231) 评论(0) 推荐(0) 编辑
摘要: 1:为何选择前端这个方向和对前端的理解 为什么: 第一的话就是对前端很感兴趣,之前也接触过其他的语言,但是直到接触到前端才发现真的有兴趣做下去,兴趣是一个人最好的老师, 第二的话前端很有前途,像现在nodejs,rn,微信小程序这类工具和框架可以让前端进行后端和移动开发,所以我觉得前端的前途会更多一 阅读全文
posted @ 2017-05-03 16:43 -小白白白 阅读(47106) 评论(8) 推荐(2) 编辑
摘要: 1.以下代码,alert出来的值是多少? alert(1&&2); // 2 alert(1||2); // 1 2.验证字符串的组成规则,第一个须为数字,后面可以是字母、数字、下划线,总长度为5-20位 /^\d{1}[\w|_|\d]{4,19}$/ 3.以下代码,alert出来的值是多少。 4 阅读全文
posted @ 2017-04-19 15:53 -小白白白 阅读(1300) 评论(0) 推荐(0) 编辑
摘要: 1.要动态改变层中内容可以使用的方法有(A) A. innerHTML B. 通过设置层的隐藏和显示来实现 C. 通过设置层的样式属性的display 2.当按键盘A时候,使用onKeyDown事件打印event.keyCode的结果是(A) a)65 b)13 c)97 d)37 3. 在java 阅读全文
posted @ 2017-04-19 15:43 -小白白白 阅读(4149) 评论(1) 推荐(0) 编辑