转载请标明出处: http://blog.csdn.net/lmj623565791/article/details/51304204; 本文出自:【张鸿洋的博客】 之前写了个okhttputils的工具类,然后有很多同学询问这个工具类和retrofit什么区别,于是上了下官网,发现其底层对网络的访 ...
分类:
Web程序 时间:
2017-02-14 13:33:41
阅读次数:
280
HDU 1495 非常可乐 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Problem Description - 题目描述 HDU 1495 非常可乐 Time Limit: 20 ...
分类:
其他好文 时间:
2017-02-14 13:32:02
阅读次数:
151
排序。把每一个长方体拆成$6$个做,然后排序做即可。 ...
分类:
其他好文 时间:
2017-02-14 13:27:15
阅读次数:
135
说明:其基本实现思想为创建两个虚拟路由器,并以两个节点互为主从。 ! Configuration File for keepalived global_defs { notification_email { linuxedu@foxmail.com mageedu@126.com } notific... ...
分类:
其他好文 时间:
2017-02-14 12:17:51
阅读次数:
166
1.安装haproxy 1.安装haproxy yum -y install haproxy 2.配置文件 2.配置文件 ...
分类:
Web程序 时间:
2017-02-14 11:37:06
阅读次数:
363
分析java.lang.OutOfMemoryError: PermGen space 发现很多人把问题归因于: spring,hibernate,tomcat,因为他们动态产生类,导致JVM中的permanent heap溢出 。 然后解决方法众说纷纭,有人说升级 tomcat版本到最新甚至干脆不 ...
分类:
其他好文 时间:
2017-02-14 10:41:41
阅读次数:
164
#!/bin/sh # Copyright Abandoned 1996 TCX DataKonsult AB & Monty Program KB & Detron HB # This file is public domain and comes with NO WARRANTY of any ... ...
分类:
数据库 时间:
2017-02-14 01:00:44
阅读次数:
294
用<%...%>包含js代码 用<%=...%>输出变量 变量若包含 '<' '>' '&'等字符 会被转义 用<%-...%>输出变量 不转义 用<%- include('user/show') %>引入其他模板 包含 ./user/show.ejs 用<%# some comments %>来注 ...
分类:
Web程序 时间:
2017-02-13 23:57:16
阅读次数:
479
3 4 5 3^2+4^2=5^210 11 12 13 14 10^2+11^2+12^2=13^2+14^2左边n+1个右边n个自然数question:输入一个数n(1<=n<=1000)判断是否存在2*n+1个连续的自然数满足上式设中间数字为x(x-n)^2+(x-n+1)^2+...+x^2 ...
分类:
其他好文 时间:
2017-02-13 23:31:29
阅读次数:
392
$path="ceshi";
//打开指定目录
$dirHandle=opendir($path);
while(($item=readdir($dirHandle))!==false){
//.表示当前目录..表示上级目录
if($item!="."&&$item!=".."){
if(is_file($path."/".$item)){
$arr[‘file‘][]=$item;
}
if(is_dir($path."/".$item)){
$ar..
分类:
Web程序 时间:
2017-02-13 22:21:50
阅读次数:
177