request.getSession().getServletContect().getRealPath()得到站点的绝对地址在Servlet 和Struts中还可以用this.getServletContect().getRealPath("/");this.getServlet().getSer...
分类:
其他好文 时间:
2014-07-28 15:36:23
阅读次数:
259
#include #include #include #include #include #include #include #include #include #include #include #include using namespace std;const int INF=0xfffff....
分类:
其他好文 时间:
2014-07-28 15:35:13
阅读次数:
188
关于display:inline-block 会有3像素的bug如果像上面的布局会span与span之间有空隙像这样就不会有但是在浏览代码上不美观父级加上font-size:0可以解决但是chrome有最小单位所以要加上-webkit-text-size-adjust:none;这种方法是我比较推崇...
分类:
其他好文 时间:
2014-07-28 15:31:13
阅读次数:
249
在线演示使用Bootstrap实现的响应式单页面模板。桌面效果:移动设备效果:阅读全文:超棒的HTML5/CSS3单页面响应式模板(支持Bootstrap)
分类:
Web程序 时间:
2014-07-28 15:30:23
阅读次数:
255
DescriptionFor each prefix with length P of a given string S,ifS[i]=S[i+P] for i in [0..SIZE(S)-p-1],then the prefix is a “period” of S. We want to al...
分类:
其他好文 时间:
2014-07-28 15:30:03
阅读次数:
330
在线演示在这个课程中,我们将介绍如何使用jQuery来开发一个最简单的图片幻灯效果。立刻观看互动课程:jQuery框架开发一个最简单的幻灯效果阅读原文:jQuery框架开发一个最简单的幻灯效果
分类:
Web程序 时间:
2014-07-28 15:29:23
阅读次数:
248
使用mkisofs遇到错误:genisoimage: Uh oh, I cant find the boot catalog directory 'beini/boot/isolinux'!使用的命令是sudo mkisofs -o boot.iso -r -J --no-emul-boot --b...
分类:
其他好文 时间:
2014-07-28 15:18:33
阅读次数:
318
1、列裁剪select a,b from t where e < 10;设置参数:hive.optimize.cp = true2、分区裁剪select * from (select c1,count(1) from t group by c1) subqwhere subq.prtn = 100;...
分类:
其他好文 时间:
2014-07-28 15:04:23
阅读次数:
199
题目:Given two sorted integer arrays A and B, merge B into A as one sorted array.Note:You may assume that A has enough space (size that is greater or e....
分类:
编程语言 时间:
2014-07-28 14:47:23
阅读次数:
1108
1. 启动时按住"Shift"键进入GRUB菜单。2. 在"Ubuntun"选项上按"e"键进入编辑界面。3. 在"linux ... ... ... ro quiet splash"后添加" rw init=/bin/bash"。4. 按"Ctrl + x"启动到命令行。5. 输入"passwd ...
分类:
其他好文 时间:
2014-07-28 14:43:23
阅读次数:
190