<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitio ...
分类:
Web程序 时间:
2017-06-21 15:10:34
阅读次数:
124
public static String getHtml(String html){ // 模拟一个浏览器 @SuppressWarnings("resource") WebClient webClient = new WebClient(); //webclient参数载体 WebClientOp ...
分类:
Web程序 时间:
2017-06-21 14:06:24
阅读次数:
295
模板文件中,提交搜索内容要用get方法,同时设置g、m、c隐藏域。 controller中处理 如果是前台的controller,需要自己导入page类 模板处翻页代码 ...
分类:
Web程序 时间:
2017-06-21 11:41:34
阅读次数:
196
虽然django自带了一个paginator,但不是很方便,我们使用django-pure-pagination github地址https://github.com/jamespacileo/django-pure-pagination.git 里面有教程,这里简要的说明一下 第一步下载 两种方式 ...
分类:
其他好文 时间:
2017-06-21 09:42:39
阅读次数:
184
1.在home/wwwroot/zhongjie 新建zhongjie文件夹 2.在usr/local/nginx/conf/vhost/zhongjie.conf 新建配置文件zhongjie.conf配置文件 代码如下 (此代码参考lnmp默认的nginx.conf) 然后重启服务器 nginx ...
分类:
其他好文 时间:
2017-06-20 23:25:10
阅读次数:
212
转自https://github.com/jikeytang/front-end-collect 张鑫的博客 http://www.zhangxinxu.com/life/about/ 前端观察: http://www.qianduan.net/page/4 在开头我的 Feedly 订阅 opml ...
分类:
其他好文 时间:
2017-06-20 21:08:53
阅读次数:
164
内置函数补充: # print(divmod(73,23))## total_count=73# per_count=23## res=divmod(total_count,per_count)# if res[1] > 0:# page_count=res[0]+1## print(page_co ...
分类:
其他好文 时间:
2017-06-20 16:24:55
阅读次数:
167
第一次用TabLayout+ViewPager 组合在布局中写好了三个标题预览没问题而且也设置了 ...
分类:
其他好文 时间:
2017-06-20 15:30:09
阅读次数:
193
题目链接:https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=4395 题目意思是说,给出一个数n。表示存在一个整数序列1……n,然后进行四种操作: 操作一:输 ...
分类:
其他好文 时间:
2017-06-20 09:46:22
阅读次数:
165