10 2015 档案

摘要:产生不重复的随机数 randperm 如randperm(255)产生1到255的随机数。 a=[]; for i=1:128 r = randperm(256); a =[a;r] end dlmwrite('c:\swap.txt', a, 'precision'... 阅读全文

posted @ 2015-10-23 14:12 阮減显 阅读(90) 评论(0) 推荐(0)

摘要:ocilib提供了以下几个执行sql语句的函数 OCI_ExecuteStmt/OCI_ExecuteStmtFmt 使用没有绑定变量的语句 OCI_Execute 使用有绑定变量的语句 OCI_Immediate/OCI_ImmediateFmt 使非绑定,可返回单行的语句,可以马上输... 阅读全文

posted @ 2015-10-12 16:58 阮減显 阅读(340) 评论(0) 推荐(0)

摘要:server { listen 8086; resolver 8.8.8.8; location /{ proxy_pass http://$ht... 阅读全文

posted @ 2015-10-10 09:48 阮減显 阅读(105) 评论(0) 推荐(0)

摘要:set feedback off --关闭回馈 set define off --关闭转义关键字 阅读全文

posted @ 2015-10-08 15:56 阮減显 阅读(102) 评论(0) 推荐(0)

摘要:1,准备若干张适合不同设备满屏幕的图像 这里补充说明一下图像的命名方法: iphone4屏幕 Default@2x.png iphone5屏幕 Default-568h@2x.png (568*2即为屏幕高度) iphone6屏幕 Default-667h@2x.png iphone6... 阅读全文

posted @ 2015-10-07 12:28 阮減显 阅读(153) 评论(0) 推荐(0)

摘要:1,首先准备6张png图,分辨率一定要正确,不然报错(The app icon set named "AppIcon" did not have any applicable content) 补充:实际上不必准备非@2x的图,因为当前开发一般不会兼容3GS(含)以下的设备。 icon-2... 阅读全文

posted @ 2015-10-07 11:57 阮減显 阅读(129) 评论(0) 推荐(0)

摘要:简单用法 #import "ViewController.h"#import "SDWebImage/UIImageView+WebCache.h"@interface ViewController ()@property (strong, nonatomic) IBOutlet UII... 阅读全文

posted @ 2015-10-01 00:23 阮減显 阅读(86) 评论(0) 推荐(0)

导航