代码改变世界

阅读排行榜

[电源、屏保、闹钟、日程、墙纸] UILocalNotification实现本地的闹钟提醒的方法。

2012-03-21 13:36 by java环境变量, 342 阅读, 收藏,
摘要: UILocalNotification *notification=[[UILocalNotification alloc] init]; if (notification!=nil) { NSDate *now=[NSDate new]; //notification.fireDate=[now addTimeInterval:period]; notification.fireDate = [now dateByAddingTimeInterval:period]; NSLog(@"%d",period); notification.time... 阅读全文

poj-2503 Babelfish

2012-03-14 02:28 by java环境变量, 342 阅读, 收藏,
摘要: BabelfishTime Limit:3000MSMemory Limit:65536KTotal Submissions:22593Accepted:9698DescriptionYou have just moved from Waterloo to a big city. The people here speak an incomprehensible dialect of a foreign language. Fortunately, you have a dictionary to help you understand them.InputInput consists of 阅读全文

是什么让Foursquare颇具钱景?

2011-11-30 10:10 by java环境变量, 342 阅读, 收藏,
摘要: 当有人问你Foursquare是什么? 如果你的答案是Foursquare是一家基于用户地理位置信息的手机服务网站,并鼓励手机用户同他人分享自己当前所在地理位置等信息。 估计你是照着百科读的。 没错,上面那个解释确实是百度百科的。 在与一些互联网从业者聊到这个话题时,很多人给出的答案,不就是一个签到网站吗。 确实,国外媒体曾经有一个通俗的类比。Twitter吸引用户的动力是 “What are you doing?”,Foursquare则是“Where are you?” Where are you不就是签到吗? 但是如果仅仅是签到的价值,我想Foursquare根本就不会估值... 阅读全文

让uiscrollview跳转到指定的页显示(y值)

2011-11-15 14:40 by java环境变量, 342 阅读, 收藏,
摘要: scrollView.contentSize =CGSizeMake(scrollView.frame.size.width, 960);[scrollView scrollRectToVisible:CGRectMake(0,100, scrollView.frame.size.width,scrollView.frame.size.height)animated:NO];[scrollViewscrollRectToVisible:CGRectMake(0, 200,scrollView.frame.size.width,scrollView.frame.size.height)anima 阅读全文

oracle sqlloader 建议

2012-06-11 10:20 by java环境变量, 338 阅读, 收藏,
摘要: 1.直接加载和redo的关系大批量数据直接加载可以大幅度减少redo的产生量,前提是需要在logging模式下.2.直接加载和索引如果直接加载的表上有索引,oracle不会加载数据的方式那样来处理索引的数据,但是它同样需要维护一个索引,这个成本是很高的,同时会生成很多的redo.当使用直接加载时,通常是针对一些数据量非常大的表.如果这些表存在索引,将会带来很大的性能影响.这个时候可以考虑先将索引disable掉(或drop掉),然后加载数据,之后再重新新建索引. 阅读全文
上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 110 下一页