create git space
git init
set the local cofig
git config --global user.name "xx"
git config --global user.email "xx@hotmail.com"
set the remote url
git remote add origin https://git.oschina.net/x...
分类:
其他好文 时间:
2015-02-25 15:40:27
阅读次数:
158
服务端输出?Access-Control-Allow-Origin 头,标准浏览器支持跨域。 XMLHttpRequest可以通过?setRequestHeader 方法设置请求头,跨域的情况,服务端需要输出?Access-Control-Allow-Headers 头。...
分类:
Web程序 时间:
2015-02-24 14:02:13
阅读次数:
140
同源策略/SOP(Same origin policy)是一种约定,它是浏览器最核心也最基本的安全功能,如果缺少了同源策略,浏览器很容易受到XSS、CSFR等攻击(可以参考我的这篇文章)。SOP要求两个通讯地址的协议、域名、端口号必须相同,否则两个地址的通讯将被浏览器视为不安全的,并被block下来...
分类:
Web程序 时间:
2015-02-19 15:04:52
阅读次数:
321
22013-04-21 23:07:53 [小 大] 来源: 本站资讯均由编辑从其他媒体精选HTML5相关资讯转载,以供网友参阅 background- size属性和background-origin属性、background-clip属性一 样,也是CSS3对于background新增加的属性。...
分类:
Web程序 时间:
2015-02-16 08:58:40
阅读次数:
912
Error generating final archive: Found duplicate file for APK: LICENSE
Origin 1: E:\work\e\libs\mockito-all-1.9.5.jar
Origin 2: E:\work\e\libs\mockito-core-1.9.5-sources.jar
有重复的jar包...
分类:
其他好文 时间:
2015-02-13 09:24:05
阅读次数:
542
原文:http://feihu.me/blog/2014/the-origin-and-usage-of-typename/如果想深入了解typename关键字的含义, 推荐这篇文章侯捷在Effective C++的中文版译序中提到:C++的难学,还在于它提供了四种不同(但相辅相成)的程序设计思维模...
分类:
编程语言 时间:
2015-02-13 09:11:34
阅读次数:
200
Nginx配置:location~\.php${add_headerAccess-Control-Allow-Origin"*";client_max_body_size120m;fastcgi_pass127.0.0.1:9000;includefastcgi.conf;}
分类:
Web程序 时间:
2015-02-12 14:17:40
阅读次数:
187
第二天作者主要解释并优化了之前用汇编写的helloworld系统源文件
之前一节是用了DB DW DD RESB等命令
这一节的新命令:
ORG把程序装载到内存中指定的地址,单词:origin
JMP跳转
MOV赋值
ADD加法
CMP比较
JE条件跳转
INT软件终端指令,单词:interrupt
HLT CPU待机
介绍CPU寄存器
16位寄存器:
AX
CX
...
分类:
其他好文 时间:
2015-02-12 12:32:26
阅读次数:
164
使用git pull的时候收到以下信息:error: there are still refs under 'refs/remotes/origin/xxxx'From 10.1.25.57:yyyy/zzzz_server! [new branch] xxxxx -> origin/xxx (u....
分类:
其他好文 时间:
2015-02-11 20:23:32
阅读次数:
460
cube Creates a cube at the origin of the coordinate system. When center is true the cube will be centered on the origin, otherwise it is created in the first octant. The argument names are optional...
分类:
编程语言 时间:
2015-02-11 14:48:33
阅读次数:
460