打开 dra文件后 在菜单栏 setup - change drawing origin在命令栏输入 新的参考点位置 如想更改新坐标位置为 1,2 。输入 x 1 2 上面两步操作后即可修改!
分类:
其他好文 时间:
2014-11-30 14:03:14
阅读次数:
284
一.
分支$gitbranch
//查看本地分支*master$gitbranch-r
//查看远程分支origin/HEAD->origin/removalorigin/masterorigin/removal$gitcheckout-b
removalorigin/removal
//新建本地分支并切换到远程分支上$gitbranch-d
//删除分支二.
克隆$gitclone
~/workspace/study/tmp.g..
分类:
其他好文 时间:
2014-11-28 18:39:47
阅读次数:
214
#encoding:utf-8require "open-uri"require "timeout"require 'rubygems'require "nokogiri"uri = "http://api.map.baidu.com/direction/v1?mode=driving&origin...
分类:
其他好文 时间:
2014-11-28 18:09:41
阅读次数:
128
//调起百度地图客户端 try { intent = Intent.getIntent("intent://map/direction?origin=中关村&destination=五道口&mode=driving®ion=北京&referer=Autohome|GasStation#Int....
分类:
移动开发 时间:
2014-11-28 16:02:56
阅读次数:
181
调用web接口,get请求,发现提示:No 'Access-Control-Allow-Origin' header is present on the requested resource.这个和安全机制有关,默认不允许跨域调用处理手段:使用jsonp格式, ajax请求参数dataType:'J...
分类:
Web程序 时间:
2014-11-26 22:29:10
阅读次数:
227
在A域名下,用ajax请求B域名下的请求,会报类似这样的错误:No 'Access-Control-Allow-Origin' header is present on the requested resource.在响应头中加入一个属性:response.setHeader("Access-Con...
分类:
Web程序 时间:
2014-11-25 20:22:35
阅读次数:
245
记个流水账,记录下这个困扰自己多时的问题最后怎么解决的。当时觉得该尝试的都尝试了,纳闷到底怎样能解决的,最后还是解决了~
正确的代码如下:
no title text
<%
response.addHeader("Access-Control-Allow-Origin", "http://192.168.14.216:8888");//oracle.spatial.geo...
分类:
数据库 时间:
2014-11-25 14:27:03
阅读次数:
264
退回输入键盘
- (BOOL)textFieldShouldReturn:(id)textField{
[textField resignFirstResponder];
}
CGRect
CGRect frame = CGRectMake (origin.x,origin.y, size.width, size.height);矩形
NSStringFrom...
分类:
移动开发 时间:
2014-11-21 23:24:03
阅读次数:
476
关于API看一下链接
http://game.ceeger.com/Script/Physics/Physics.Raycast.html
? static function Raycast (origin : Vector3, direction : Vector3, out
hitInfo : RaycastHit, distance : float = Mathf...
分类:
编程语言 时间:
2014-11-21 14:29:06
阅读次数:
224
作者:zhanhailiang 日期:2014-11-21
在使用版本工具提交修改之前,都需要通过update先将本地代码更新到最新版本。SVN通过svn update就可以实现,那么git如何实现呢?
1. 首先通过从远程的origin的master主分支下载最新的版本到本地origin/master分支上,然后比较区别,最后合并到当前分支;
[root@~/wade/nodejs...
分类:
其他好文 时间:
2014-11-21 06:59:08
阅读次数:
589