码迷,mamicode.com
首页 >  
搜索关键字:bad argument setup    ( 9442个结果
用py2exe打包pyqt4出现的问题(转)
使用pyqt完成窗体界面很方便,但是打包成exe之后会有问题,在网上找到解决办法如下:Another Solution to the same problem:1 from distutils.core import setup2 import py2exe3 setup(windows=[{"sc...
分类:其他好文   时间:2014-10-11 15:50:45    阅读次数:159
bad URI(is not URI?)
网址中的汉字无法直接解析,需要先encode才行, 看报错说明irb(main):043:0> url="http://10.103.xx.xx/cms/api/module/data?name=资讯频道战略观察子频道&appkey=300&timestamp=1412997443&sign=72c...
分类:其他好文   时间:2014-10-11 15:07:55    阅读次数:306
Linux rm删除大批量文件
在使用rm删除大批量文件时,有可能会遭遇“参数列太长”(Argument list too long)的问题。如下所示 [oracle@DB-Server bdump]$ rm -v epps_q001_*-bash: /bin/rm: Argument list too long 查看总共有多少个...
分类:系统相关   时间:2014-10-11 14:55:35    阅读次数:208
页面跳转的时候工具条隐藏
当两个页面跳转的时候,如果两个页面中的工具条的时候,工具条隐藏。上代码:- (void)viewDidLoad{ [super viewDidLoad]; // Do any additional setup after loading the view. self.tit...
分类:其他好文   时间:2014-10-11 13:07:25    阅读次数:182
UITextView上显示txt文件中的文字
效果图:代码:- (void)viewDidLoad{ [super viewDidLoad]; // Do any additional setup after loading the view. UITextView *textView = [[UITextVi...
分类:其他好文   时间:2014-10-11 12:36:05    阅读次数:155
翻书效果的实现
效果图:代码:- (void)viewDidLoad{ [super viewDidLoad]; // Do any additional setup after loading the view. //初始化背景图 [self initBackgroundView]...
分类:其他好文   时间:2014-10-11 12:02:35    阅读次数:210
【processing】小代码
今天无意间发现的processing 很有兴趣 实现很简洁void setup(){}void draw(){ background(255); if(mouseX height/2) { fill(0); rect(0,height/2,width/2,height/2); ...
分类:其他好文   时间:2014-10-10 23:58:04    阅读次数:456
__ext4_ext_check_block: bad header/extent in inode #8: invalid magic
FAT:Directorybread(block528150)failedFAT:Directorybread(block528151)failedEXT3-fserror(devicesda2):ext3_find_entry:readingdirectory#2offset0EXT3-fserror(devicesda2):ext3_find_entry:readingdirectory#2offset0FAT:Directorybread(block528144)failedFAT:Directoryb..
分类:其他好文   时间:2014-10-10 20:12:15    阅读次数:1730
解决android自动化测试中锁屏问题-简单的实现
在设计Android测试的时候,不可避免会遇到屏幕锁定的问题,除非你暴力将手机设为不锁定(当然这么做手机不久就废掉了),在实践中,我们使用了一下方式来解锁/唤醒屏幕。1、解锁: 我们使用appnium自带的unlock app,在测试机上安装后,在setup方法中调起该app,方法如下:public...
分类:移动开发   时间:2014-10-10 18:55:24    阅读次数:189
转一个使用robotium的基本步骤
1、测试类要继承ActivityInstrumentationTestCase22、构造方法中super("包名", 测试类类名.class);3、setUp方法中solo = new Solo(getInstrumentation(), getActivity());4、tearDown方法中tr...
分类:其他好文   时间:2014-10-10 17:24:14    阅读次数:318
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!