解决:svn: E155015 remains in conflict
提示就是文件有冲突,问题是别人修改后提交了页面你在修改后也提交了页面导致内容不一样,可以把你和他的内容都合并之后在提交一次你更新的代码就行。 这里我的解决办法是: 1,先备份你当前的修改代码 2,清空本地要提交代码的svn目录 3,再次在清空的svn…
1,099 2017-02-10 去围观mac使用自带svn命令
svn客户端使用: 1,从服务器端下载代码到客户端本地(下载) svn checkout svn://localhost/mycode --username=mj --password=123 /Users/apple/Documents/code 将服务器中mycode仓库的内容下载到/Users/apple/Documents/code目录中 2,从本地导入…
606 2017-02-09 去围观async/await笔记
es7语法,主要作用让异步操作更简单,在Generator函数基础上优化得来 Generator 函数 var gen = function* () { var f1 = yield readFile('/etc/fstab'); var f2 = yield readFile('/etc/shells'); }; 调用: gen().next() gen().ne…
572 2017-02-08 去围观Node.js执行Unix shell命令
node shell 1,创建一个shell可执行程序,名称为hello (无扩展名) #!/usr/bin/env node console.log('hello world'); 2,赋予可执行权限 chmod 755 hello 3,创建package.json { "name": "hello", "bin": { "hello123": "hel…
550 2017-01-24 去围观基于vue.js在input输入框的金钱货币格式化
直接上代码: var vm= new Vue({ el: '#repeat', data: { value1:'' } }) vm.$watch('value1',function (newvalue,oldvalue) { newvalue_=(newvalue.indexOf('.00')>0)?newvalue.replace('.00' ,''):newvalue; //禁止ie8,9自动添加.00的小数…
1,090 2017-01-19 去围观