格式: ${ 开头 } 结尾,中间写代码,代码一般以.或[]连接,来取出属性 如${ person.name }取出person的name属性,内部会通过反射,调用person.getName()方法 ${ list[0].name } ${ empty(object)?} empty()是EL表达式...
分类:
其他好文 时间:
2015-03-20 00:09:13
阅读次数:
167
https://leetcode.com/problems/length-of-last-word/Given a stringsconsists of upper/lower-case alphabets and empty space characters' ', return the leng...
分类:
其他好文 时间:
2015-03-19 21:41:28
阅读次数:
120
Given a string s consists of upper/lower-case alphabets and empty space characters '
', return the length of last word in the string.
If the last word does not exist, return 0.
Note: A word is...
分类:
其他好文 时间:
2015-03-19 20:25:02
阅读次数:
120
想在mac下弄一个crontab定时任务,以为会像linux上那样顺利那,结果碰壁了,报错信息如下:? autoshell crontab -ecrontab: no crontab for laijingli - using an empty onecrontab: temp file must be edited in place就是这个 must be edited in place提示...
分类:
系统相关 时间:
2015-03-19 16:22:40
阅读次数:
240
Xcode 6 正式版里面没有Empty Application这个模板,这对于习惯了纯代码编写UI界面的程序员来说很不习惯。有网友给出了一个解决方法是,把Xcode 6 beta版里面的模板复制过去。但是,如果性急的你已经把Xcode 6 beta彻底删除,网上又找不到Empty Applicat...
分类:
移动开发 时间:
2015-03-19 16:17:24
阅读次数:
141
1.c#可以调用msyql的导入导出命令,但是需要先判断客户机是否安装了mysql,及其安装mysql的路径问题。
2.查询mysql安装路径的函数
private string GetMysqlPath()
{
string strPath = string.Empty;
string strsql = "select...
分类:
数据库 时间:
2015-03-19 14:47:02
阅读次数:
121
这周都在做前端页面的开发,用了Jquery知识比较多,方便以后使用,就做一个小总结吧。
清空某个元素下面的所有子元素:
$("#tickey_content").empty();
循环数值:
$.each(contents, function(i, item){
createContent(item.userName, item.createDate, it...
分类:
Web程序 时间:
2015-03-19 13:25:23
阅读次数:
124
#includeusing namespace std;const int maxn=110;int N;string A,B;string change(string str,int &ep){ string s=string.empty(); string it=str.begin() ; .....
分类:
其他好文 时间:
2015-03-19 00:36:53
阅读次数:
182
题目链接:点击打开链接
题意:
给出n个点m条无向边的图
开始图里没有边,每次加一条边,然后输出图里欧拉回路的条数。
思路:
We will count the number of ski bases including the base consisted of empty subset of edges (before printing just subtract one)....
分类:
其他好文 时间:
2015-03-18 23:21:31
阅读次数:
233
NULL 在计算机和编程世界中表示的是未知,不确定。虽然中文翻译为 “空”, 但此空(null)非彼空(empty)。 Null表示的是一种未知状态,未来状态,比如小明兜里有多少钱我不清楚,但也不能肯定为0,这时在计算机中就使用Null来表示未知和不确定。
虽然熟练掌握SQL的人对于Null不会有什么疑问,但总结得很全的文章还是很难找,看到一篇英文版的, 感觉还不错。Tony Hoare 在1...
分类:
数据库 时间:
2015-03-18 20:30:16
阅读次数:
179