码迷,mamicode.com
首页 >  
搜索关键字:Sublime Text    ( 54572个结果
Error Domain=NSCocoaErrorDomain Code=3840 "The operation couldn’t be completed. (Cocoa error 3840.)"
AF解析json出错: Error Domain=NSCocoaErrorDomain Code=3840 "The operation couldn’t be completed. (Cocoa error 3840.)" (JSON text did not start with array or object and option to allow fragments not set....
分类:其他好文   时间:2014-07-22 23:04:13    阅读次数:400
asp.net,copy网页的代码去掉格式化代码前面的序号
string path = Server.MapPath("copycode/code.txt"); string[] allCodeLine = System.IO.File.ReadAllLines(path, System.Text.Encoding.UTF8); System.Text.StringBuilder strb = new Sys...
分类:Web程序   时间:2014-07-22 23:02:54    阅读次数:366
动画效果 打字延迟
self.myScrollView.frame = CGRectMake(0, self.stateNavigationHight-216+80, 320, [self getUIScreenHight]-113);     [UIView beginAnimations:@"roseImageViewAnimation" context:(__bridge void*)sel...
分类:其他好文   时间:2014-05-01 22:16:12    阅读次数:362
Windows JAVA 环境配置
JAVA_HOME环境配置"计算机"->"属性"->"高级"->"环境变量"->系统变量下的"新建"->变量名:JAVA_HOME 变量值C:\Program Files\Java\jdk1.7.0_55;JAVA_HOME=C:\Program Files\Java\jdk1.7.0_55;pat...
分类:编程语言   时间:2014-05-01 21:49:16    阅读次数:472
String path = request.getContextPath();这段什么用
答:这样的代码是在jsp里出现的吧, 那么他的含义就是为了得到一个路径, 做动态网站时,需要提交form表单 在表单的action里面就会这样来写 action="/add.do" 这样来提交到相应的servlet中去,这样可以避免路径的错误,而采用这样的相对路径会更好些答:request.getC...
分类:其他好文   时间:2014-05-01 21:19:06    阅读次数:351
大道至简 悟在天成
大道理是极其简单的,简单到一两句话就能说明白。世上的事情难就难在简单,简单不是敷衍了事,也不是单纯幼稚,而是最高级别的智慧,是成熟睿智的表现。完美的常常是简单的。简单就是真理,简单就是聪明,简单是厚积薄发的力量。学会了简单,其实真不简单。 做事情复杂繁琐往往是因为智慧没有到位。再大的事情,“一分为....
分类:其他好文   时间:2014-05-01 20:29:22    阅读次数:464
C#冒泡排序
C#冒泡排序,转载自:http://bbs.it-home.org/forum-net-2.html不多解析自己看去吧using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace...
分类:其他好文   时间:2014-05-01 20:17:35    阅读次数:348
Icicle partition,这里的点击事件很厉害。
Icicle 注:我用的是最简化的数据。如果想加text,也很简单,只是在clicked中会重新定义y,所以在更新text时需要x(d.x+d.dx/2);(大概),刚开始定义时也可这样写,因为没有变scale,所以x(d.x)+x(d.dx)/2;也...
分类:其他好文   时间:2014-05-01 19:21:33    阅读次数:298
Cocos2d3.0 CheckBox
.h Text* _displayValueLabel; void selectedEvent(Ref* pSender,CheckBoxEventType type); .cpp  init()函数 _touchGroup = Layer::create(); addChild(_touchGroup); Size winSize = ...
分类:其他好文   时间:2014-05-01 17:18:48    阅读次数:453
(已解决)sublime text 写程序build后提示can't find '__main__' module in ' '
问题描述:                在sublime text里写最简单的python语句hello world:                     print  ('hello world')                      回车build后出错如下图:     解决办法:                  这个问题的原因说起来很幼稚,就是因为没有保存文件。所...
分类:其他好文   时间:2014-04-30 22:16:38    阅读次数:344
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!