摘要:
package com.sun.test; import java.io.*; import java.util.Date; import java.awt.*; import java.awt.image.*; import javax.imageio.ImageIO; public class
阅读全文
posted @ 2016-11-28 13:40
爷的眼睛闪亮
阅读(312)
推荐(0)
摘要:
HKEY_CURRENT_USER\Software\SimonTatham\PuTTY 将sessions里面的内容清空即可 Foreground Red 0 Green 206 Blue 206 Background Red 40 Green 28 Blue 43
阅读全文
posted @ 2016-11-24 15:26
爷的眼睛闪亮
阅读(1170)
推荐(0)
摘要:
$('.prioritySort').each(function(i){ $(this).text($(this).text().substring(0,$(this).text().indexOf('.'))); }); <td class="prioritySort">${mapData.pri
阅读全文
posted @ 2016-11-24 12:01
爷的眼睛闪亮
阅读(737)
推荐(0)
摘要:
/** * @类描述 redis 工具 * @功能名 POJO * @author zxf * @date 2014年11月25日 */public final class RedisUtil { private static JedisPool jedisPool = null; /** * 初始
阅读全文
posted @ 2016-11-22 11:45
爷的眼睛闪亮
阅读(1415)
推荐(0)
摘要:
使用Java操作Redis需要jedis-2.1.0.jar,如果需要使用Redis连接池的话,还需commons-pool-1.5.4.jar package com.test; import java.util.HashMap;import java.util.Iterator;import j
阅读全文
posted @ 2016-11-22 11:41
爷的眼睛闪亮
阅读(277)
推荐(0)
摘要:
现根据num排序,num数字相同的根据时间进行排序,都是降序DESC SELECT * FROM counts ORDER BY num DESC,create_time DESC
阅读全文
posted @ 2016-11-22 10:25
爷的眼睛闪亮
阅读(27142)
推荐(2)
摘要:
#contentTable{ table-layout:fixed;}.contentShort{ text-overflow: ellipsis; overflow: hidden; white-space: nowrap; width:80px;} <table id="contentTable
阅读全文
posted @ 2016-11-22 10:04
爷的眼睛闪亮
阅读(1955)
推荐(0)
摘要:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html> <head> <title>test.html</title> <meta http-equiv="content-type" content="text/ht
阅读全文
posted @ 2016-11-21 17:08
爷的眼睛闪亮
阅读(3297)
推荐(1)
摘要:
/** * 判断链接是否有效 * 输入链接 * 返回true或者false */ public static boolean isValid(String strLink){ URL url=null; try { url = new URL(strLink); HttpURLConnection
阅读全文
posted @ 2016-11-17 16:45
爷的眼睛闪亮
阅读(467)
推荐(0)
摘要:
<style type="text/css">img{ -webkit-transition: ease .2s; transition: ease .2s; -webkit-transform-origin:50% 50%; /* transform-origin默认值就是居中,可以不加 */ t
阅读全文
posted @ 2016-11-16 10:03
爷的眼睛闪亮
阅读(1484)
推荐(0)