引言: JavaMail 是一种可选的、能用于读取、编写和发送电子消息的包 JavaMail jar包下载地址:http://java.sun.com/products/javamail/downloads/index.html JavaMail API中包含了多种邮件传输协议: SMTP ...
分类:
编程语言 时间:
2014-10-24 14:17:07
阅读次数:
378
relative、absolute和float position:relative和position:absolute都可以改变元素在文档中的位置,都能激活元素的left、top、right、bottom和z-index属性。(默认这些属性未激活,设置了也无效) 设置position:relat.....
分类:
其他好文 时间:
2014-10-24 12:35:23
阅读次数:
178
listlist.reverse()list.sort()list.index(obj):objis theobject to be find out; itreturns index of the found object otherwise raise an exception indicati...
分类:
编程语言 时间:
2014-10-24 01:41:57
阅读次数:
199
在控制器中(protected/controllers):render('index'); } }在视图中(protected/index):$this->widget('application.widgets.UserWidget',array( 'num...
分类:
其他好文 时间:
2014-10-24 01:33:45
阅读次数:
123
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in or...
分类:
其他好文 时间:
2014-10-24 00:09:07
阅读次数:
207
本文翻译自:https://developer.android.com/training/basics/firstapp/index.html构建你的第一个应用(app)欢迎来到安卓开发!这个类别教你如何构建你的第一个应用。你讲会学到如何去创建一个安卓工程和启动一个可以调试的应用的版本。你将会学到一...
分类:
移动开发 时间:
2014-10-23 23:57:47
阅读次数:
406
前两天写的铁字中提到了C++的删除函数,今天特地去网上查了查,转载了一篇不错的文章。。。转载自http://www.ibm.com/developerworks/cn/aix/library/1212_lufang_c11new/index.htmlC++11 标准新特性:Defaulted 和 D...
分类:
编程语言 时间:
2014-10-23 22:33:13
阅读次数:
302
1 动态绑定模式: 1 display(); 6 } 7 8 public function index(){ 9 $user = D('User');10 $validate = array( 11 ...
分类:
Web程序 时间:
2014-10-23 20:42:58
阅读次数:
310
在做的过程中,发现了一个很简单却又很多人应该碰到的问题,设置Z-INDEX属性无效。在CSS中,只能通过代码改变层级,这个属性就是z- index,要让z-index起作用有个小小前提,就是元素的position属性要是relative,absolute或是fixed。1.第一种情况(z-index...
分类:
Web程序 时间:
2014-10-23 19:13:09
阅读次数:
153
链接:https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1212
题意:有n架飞机需要着陆,每架飞机都可以选择“早着陆”或“晚着陆”两种方式,第i架飞机早着陆时间为Ei,晚着陆时间为Li,不得在其他时间着陆。你的任务是为这些飞机安排着陆方式,...
分类:
其他好文 时间:
2014-10-23 17:41:04
阅读次数:
234