摘要:
原文: http://my.oschina.net/neochen/blog/294354https://github.com/netkiller/mysql-zmq-plugin有2张表:表1:device, 里面有最主要的2个字段(id, device_type, .....),表明了"设备类型... 阅读全文
摘要:
berkeley:http://download.oracle.com/otn/berkeley-db/db-6.1.19.tar.gz?AuthParam=1408431634_4887d44685da5a09c70e30bd7d933861memcacheq:https://codeload.g... 阅读全文
摘要:
res = '暂无,第一次运行.'; $this->param = 0; $this->lurl = 0; $this->name = $name; $this->runing = true; $this->l... 阅读全文
摘要:
/**导航控制器掌握:1.创建导航控制器UINavigationController *nav = [[UINavigationController alloc] initWithRootViewController:self.viewController];2.zhan (zhan 中所有的子控制... 阅读全文
摘要:
@interface Person : NSObject//retian : release 旧值,retain 新值@property(nonatomic,retain) Book *book;//copy:release旧值,copy 新值@property(nonatomic,retain) ... 阅读全文
摘要:
一.UIApplicationMain的执行步骤1.创建一个UIApplication对象,一个程序对应一个UIApplication对象(单例),UIApplication对象是程序的象征2.接下来会根据第4个参数创建一个UIApplication的delegate对象3.开启一个消息循环(不断地... 阅读全文
摘要:
一 UIVIew 常见属性1.frame 位置和尺寸(以父控件的左上角为原点(0,0))2.center 中点 (以父控件的左上角为原点(0,0))3.bounds 位置和尺寸(以自己的左上角为原点 (0,0))4.transform 形变属性(缩放,旋转)5.backgroundColor 背景颜... 阅读全文
摘要:
好久没有写blog了,最近CRM项目中用到了递归提成的方案CREATE TABLE `crm_proxy_bonux_rule` (`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '超过的部份提成规则ID',`bouns_rule_name` varchar... 阅读全文
摘要:
IOS目录中RootViewController.mm//显示竖屏- (BOOL) shouldAutorotate { return NO;}//显示横屏- (BOOL) shouldAutorotate { return YES;}还有一个屏目适配:AppDelegate 中:CCDire... 阅读全文
摘要:
转自http://blog.jobbole.com/30940/命中:当客户发起一个请求(我们说他想要查看一个产品信息),我们的应用接受这个请求,并且如果是在第一次检查缓存的时候,需要去数据库读取产品信息。如果在缓存中,一个条目通过一个标记被找到了,这个条目就会被使用、我们就叫它缓存命中。所以,命中... 阅读全文