摘要: 生成者 消费者 阅读全文
posted @ 2016-09-27 19:53 胡一生 阅读(4383) 评论(1) 推荐(0)
摘要: BEGIN DECLARE diff, x INT; SET diff =0; SET x = 10072; WHILE (x < 40070 ) DO insert into order_info( id, sale_area_id , type_dic , `code` , pay , real_pay , consignee , consignee_address , consig... 阅读全文
posted @ 2016-09-25 16:14 胡一生 阅读(287) 评论(0) 推荐(0)
摘要: package test.com.ict.compent.amazom; import java.util.ArrayList; import java.util.List; public class MathPrime { public static void main(String[] args) { List add = new MathPrime().math... 阅读全文
posted @ 2016-09-24 14:39 胡一生 阅读(229) 评论(0) 推荐(0)
摘要: 方法一,使用(produces = "application/json; charset=utf-8"): 方法二,在spring-mvc.xml中添加: 阅读全文
posted @ 2016-09-05 11:03 胡一生 阅读(448) 评论(0) 推荐(0)
摘要: <script> var s1 = ["a", "b", "c"]; var s2 = ["d", "e", "f"]; var s3 = ["x", "y", "z"]; var s4 = ["x1", "y2", "z3"]; var temp = [s1, s2 ,s3,s4]; functi 阅读全文
posted @ 2016-09-05 10:35 胡一生 阅读(3738) 评论(0) 推荐(0)
摘要: package com.ict.compent.wx; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * 微信过滤表情 * @author hsw * */ public class EmojiFilter { public static String filterEmoji(Stri... 阅读全文
posted @ 2016-09-03 11:51 胡一生 阅读(7783) 评论(0) 推荐(0)
摘要: package cn.go4mi; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.net.URL; import java.net.URLConnection; import ... 阅读全文
posted @ 2016-08-31 18:56 胡一生 阅读(4036) 评论(0) 推荐(0)
摘要: .tar 解包:tar xvf FileName.tar打包:tar cvf FileName.tar DirName(注:tar是打包,不是压缩!)———————————————.gz解压1:gunzip FileName.gz解压2:gzip -d FileName.gz压缩:gzip File 阅读全文
posted @ 2016-08-26 11:16 胡一生 阅读(323) 评论(0) 推荐(0)
摘要: 一、创建一个maven的webproject,叫file-manager:mvnarchetype:create-DgroupId=platform.activity.filemanager-DartifactId=file-manager-DarchetypeArtifactId=maven-ar 阅读全文
posted @ 2016-08-26 11:01 胡一生 阅读(1882) 评论(0) 推荐(1)
摘要: http://blog.csdn.net/greensurfer/article/details/7661718 1.系统环境 最小化安装的 CentOS 6.2tracker1: 192.168.68.113tracker1: 192.168.68.116storage1: 192.168.68. 阅读全文
posted @ 2016-08-26 10:55 胡一生 阅读(270) 评论(0) 推荐(0)