参考:http://www.cnblogs.com/sinojelly/archive/2011/08/07/2130172.html 提交冲突,无法提交到github git pull origin master; #查看冲突的具体原因 git status; #查看冲突的文件 编辑冲突文件 gi ...
分类:
其他好文 时间:
2016-07-09 23:47:07
阅读次数:
354
query.sql='select a,b,c,d,e from a,b,c where ....'; 来源3个表, 设计时添加字段列表,每个字段有Origin属性 分别是a.a,b.b,c.c格式,表示该字段是那个表。 然后query.edit,query.post方法调用后,生成update或i ...
分类:
数据库 时间:
2016-07-09 18:02:15
阅读次数:
237
刚创建的github版本库,在push代码时出错:$ git push -u origin masterTo git@github.com:******/Demo.git ! [rejected] master -> master (non-fast-forward)error: failed to ...
分类:
其他好文 时间:
2016-07-09 09:19:41
阅读次数:
160
本文通过设置Access-Control-Allow-Origin来实现跨域。 例如:客户端的域名是client.runoob.com,而请求的域名是server.runoob.com。 如果直接使用ajax访问,会有以下错误: 1、允许单个域名访问 指定某域名(http://client.runo ...
分类:
Web程序 时间:
2016-07-07 19:15:27
阅读次数:
180
git status 查看状态 git diff 文件名 查看修改内容 git add 文件名 将文件添加到暂存区 git commit -m " 注释" 把文件添加到仓库 git pull 将服务器代码同步到本地 git push origin 分支名 同步到服务器(这个步骤之前一定要现执行 gi ...
分类:
其他好文 时间:
2016-07-05 20:26:26
阅读次数:
721
webapi在配置文件中加入这几句就可以解决浏览器跨域请求调用的问题?为什么呢? 原来这是浏览器基于安全的考虑,当跨域请求时,浏览器收到响应消息后,只有文件头消息中含有Access-Control-Allow-Origin属性才可以将消息主体的数据进行处理。 ...
报错:跨域 XMLHttpRequest cannot load http://localhost:8080/yxt-admin/admin/store. No 'Access-Control-Allow-Origin' header is present on the requested reso ...
分类:
数据库 时间:
2016-07-05 09:57:01
阅读次数:
320
一句话 很顶用 response.setHeader('Access-Control-Allow-Origin', 'http://127.0.0.1:8020'); 说 响应的头文件里设置 一个 http://127.0.0.1:8020 允许 它访问 纠结了好久 菜的 不行不行 ...
分类:
Web程序 时间:
2016-07-04 23:40:01
阅读次数:
278
UILabel*linkLabel=[[UILabelalloc]init];linkLabel.frame=CGRectMake(10,introduceLabel.frame.origin.y+introduceLabel.frame.size.height+10,[UIScreenmainScreen].bounds.size.width-20,20);NSMutableAttributedString*content=[[NSMutableAttributedStringalloc]initWithS..
分类:
移动开发 时间:
2016-07-04 12:05:31
阅读次数:
336
Origins made up of three parts the data scheme, the hostname and the prot. It is important to know that it is user broswere enforces the same origin p ...
分类:
Web程序 时间:
2016-07-04 06:32:39
阅读次数:
244