1,安装命令首先从mac AppStore 上面安装brew。brew只能当前用户使用。$ brew install lua --with-completion==> Downloading http://www.lua.org/ftp/lua-5.2.3.tar.gz
################################################################...
分类:
系统相关 时间:
2015-01-28 15:59:23
阅读次数:
225
1,安装命令首先从mac AppStore 上面安装brew。brew只能当前用户使用。$ brew install lua --with-completion==> Downloading http://www.lua.org/ftp/lua-5.2.3.tar.gz
################################################################...
分类:
系统相关 时间:
2015-01-28 15:58:55
阅读次数:
248
1,安装命令首先从mac AppStore 上面安装brew。brew只能当前用户使用。$ brew install lua --with-completion==> Downloading http://www.lua.org/ftp/lua-5.2.3.tar.gz
################################################################...
分类:
系统相关 时间:
2015-01-28 15:58:48
阅读次数:
537
windows上的GitHubSetup.exe装起来还是挺是麻烦,而且还依赖于.net4.5。
cygwin可以试下,安装时选择国内的源,选择All -> Devel -> Git / Git-Completion或者直接搜索,然后选中安装。
值得一提的apt-cyg,类似于ubuntu上的apt...
read/write方法这些方法对一个流进行读写操作(能够是套接字,或者其它表现的像流的类):async_read(stream, buffer [, completion],handler):这种方法异步地从一个流读取。结束时,处理方法被调用。处理方法的格式是:void handler(const...
分类:
编程语言 时间:
2015-01-19 19:03:06
阅读次数:
154
一、基础动画:
(1)、Block方式:
[UIView animateWithDuration:3.0 delay:0 options:UIViewAnimationOptionCurveLinear animations:^{
_imgView.center=location;
} completion:^(BOOL finished) {
...
分类:
其他好文 时间:
2015-01-13 17:43:54
阅读次数:
255
手把手叫你玩转网络编程系列之三 完毕port(Completion Port)具体解释 ----- By PiggyXP(小猪)前 言 本系列里完毕port的代码在两年前就已经写好了,可是因为许久没有写东西了,不知该怎样提笔,所以这篇文档总是在酝酿之中……酝酿了两年之后,最终决定開始动笔了,但愿.....
分类:
其他好文 时间:
2015-01-10 19:41:21
阅读次数:
267
今天在设置修改密码成功进行跳转到登录页面重新登录的时候,我写的原代码是:
[self dismissViewControllerAnimated:YES completion:nil];
[UIApplication sharedApplication].keyWindow.rootViewController = [[loginViewController alloc...
分类:
移动开发 时间:
2015-01-09 10:47:16
阅读次数:
236
问题背景自定义实现UIKeyboard的accessoryView的基本原理是根据UIKeyboard的frame来动态调整accessoryView的frame值,为了能达到accessoryView的平滑的变动,我们用UIView的类方法animateWithDuration:delay:opt...
分类:
其他好文 时间:
2015-01-07 12:35:04
阅读次数:
209
**ls中文乱码,目录不显示颜色:** vi /etc/git-completion.bash 添加别名 alias ls=‘ls --show-control-chars --color=auto‘ **vim中文乱码:** vi /share/vim/vimrc 添加 set fileencodings=utf8 **vim语法高亮...
分类:
其他好文 时间:
2015-01-05 16:54:52
阅读次数:
158