摘要: netstat -aon | findstr '8080' 查看端口号 8080 的进程 taskkill /pid 4450 /F 终止8080 端口进程 阅读全文
posted @ 2018-04-11 18:12 逍遥php 阅读(1003) 评论(0) 推荐(0) 编辑
摘要: 1.添加远程仓库(先有本地仓库,后有远程仓库) git remote add origin 远程仓库地址 2.推送到远程仓库(第一次推送) git push -u origin master 3.远程仓库克隆 git clone 远程仓库地址 4.查看远程仓库 git remote -v 5. 查看 阅读全文
posted @ 2018-04-11 18:02 逍遥php 阅读(205) 评论(0) 推荐(0) 编辑
摘要: function subString(str, n) { var r = /[^\x00-\xff]/g; var m; if (str.replace(r, '**').length > n) { m = Math.floor(n / 2); for (var i = m, l = str.len 阅读全文
posted @ 2018-04-02 16:10 逍遥php 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 1.建立子组件,来实现图片方法功能: BigImg.vue <template> <!-- 过渡动画 --> <transition name="fade"> <div class="img-view" @click="bigImg"> <!-- 遮罩层 --> <div class="img-la 阅读全文
posted @ 2018-03-12 17:16 逍遥php 阅读(8292) 评论(0) 推荐(0) 编辑
摘要: 1.在用户目录下生成 ssh key $ cd ~/.ssh 查看密钥 $ ls config (配置git 地址端口) { host: port: } id_dsa (密钥) id_dsa.pub (公钥) $ ssh-keygen 生成密钥 2.将密钥保存到gitlab 在github上点击“s 阅读全文
posted @ 2017-08-02 17:13 逍遥php 阅读(312) 评论(0) 推荐(0) 编辑
摘要: table-layout:fixed; word-break: break-all; 阅读全文
posted @ 2017-05-15 14:58 逍遥php 阅读(601) 评论(0) 推荐(0) 编辑
摘要: //计算天、时、分var end_date = new Date("2017/03/05 00:00:00").getTime();//IE Safari 不支持 2017-03-05 00:00:00 且 不支持 2017 -03 -05 24:00:00function SetRemainTim 阅读全文
posted @ 2017-03-01 14:17 逍遥php 阅读(154) 评论(0) 推荐(0) 编辑
摘要: jTemplates是基于JQuery的模板引擎插件,功能强大,有了他你就再不用为使用JS绑定数据集时发愁了。jTtemplates的官网地址:http://jtemplates.tpython.com/,在使用jTemplates时最好先定义好模板,你可以把它放在textarea文本框里如:<te 阅读全文
posted @ 2017-02-16 15:56 逍遥php 阅读(155) 评论(0) 推荐(0) 编辑
摘要: $.ajax({ cache: true, type: "POST", url:"/wap/action/addlog", data:$('#form_answer').serialize(),// 你的formid async: false, dataType : "json", success: 阅读全文
posted @ 2017-02-16 15:53 逍遥php 阅读(2191) 评论(0) 推荐(0) 编辑
摘要: 1,mongo 不支持特殊where条件(&,|) 2,mongo 可以连接mysql的表查询,但不支持连表的where查询 阅读全文
posted @ 2017-01-06 15:21 逍遥php 阅读(179) 评论(0) 推荐(0) 编辑