摘要:
package test; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; public class DealJsonString { /* 把JSON文本parse为JSONObject或者JSON
阅读全文
posted @ 2017-04-24 20:13
新美好时代
阅读(1091)
推荐(0)
摘要:
package test; /** * Java中将一个字符与对应Ascii码互转 * 1 byte = 8bit 可以表示 0-127 */ public class GetCharAscii { /*0-9对应Ascii 48-57 *A-Z 65-90 *a-z 97-122 *第33~126
阅读全文
posted @ 2017-04-24 19:56
新美好时代
阅读(22748)
推荐(1)
摘要:
jmeter分布式测试 说明:1台8核16G的windows2008的机器,只能器6000个线程,否则效果不是很好;并且负载机器需要做如下设置: 1、打开注册表:regedit 2、HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\ Services\TCPIP
阅读全文
posted @ 2017-04-24 19:54
新美好时代
阅读(526)
推荐(0)
posted @ 2017-04-15 10:44
新美好时代
阅读(507)
推荐(0)
posted @ 2017-04-15 10:43
新美好时代
阅读(216)
推荐(0)
posted @ 2017-04-15 10:16
新美好时代
阅读(211)
推荐(1)
posted @ 2017-04-11 09:20
新美好时代
阅读(217)
推荐(0)
posted @ 2017-04-10 13:07
新美好时代
阅读(251)
推荐(0)
摘要:
参考代码如下: var vareaCode="${regionId}"; var vrandNum="${__Random(000,999)}"; var vbirthday=${__time(YYYY,py)}+parseInt(Math.floor(Math.random()*48+18)+"$
阅读全文
posted @ 2017-04-09 16:08
新美好时代
阅读(737)
推荐(0)
摘要:
1)字节流 读写的链接流向源节点->FileInputStream->BufferedInputStream->ObjectInputStream->程序 程序->ObjectOutputStream->BufferedOutputStream->FileOutputStream->目标节点 2)字
阅读全文
posted @ 2017-04-09 14:44
新美好时代
阅读(326)
推荐(0)
摘要:
修改以下参数配置项的值,参考如下1、连接设置show variables like '%max_connection%';show status like '%Max_used_connections%';Max_used_connections/max_connection <=85% 2、存储在
阅读全文
posted @ 2017-04-09 14:38
新美好时代
阅读(242)
推荐(0)
摘要:
1、Linux知识说明1)文件位置 1)/etc/inittab2)模式介绍 0:挂起模式-不推荐 1:单用户模式-只有管理员可以进入该模式,可以修改root密码,处理有登录权限而没有修改文件的权限问题 2:多用户模式-不支持文件共享明服务(NFS),一般不使用 3:字符模式-在安装好X11后,可使
阅读全文
posted @ 2017-04-09 12:48
新美好时代
阅读(567)
推荐(0)
摘要:
linux文件操作命令介绍1)grepgrep 用于在文件中查找符合条件的记录grep 参数 过滤条件 文件过滤的条件中可使用正则表达式-c 显示符合的行数-i 忽略大小写-n 显示符合要求的记录,包含行号-v 显示不符合要求的记录-A n 显示符合要求的记录,及下面的n行-B n 显示符合要求的记
阅读全文
posted @ 2017-04-09 12:26
新美好时代
阅读(982)
推荐(0)
摘要:
安装程序命令介绍 安装包选择策略:能上外网:yum方式、绿色方式->不能上外网:rpm方式、configure方式 1、yum命令yum安装包时,会包所依赖的包也会安装到系统,将源换成163的源,解决依赖冲突1)列出系统支持安装的rpm包yum list|more例如:yum-plugin-secu
阅读全文
posted @ 2017-04-09 11:49
新美好时代
阅读(917)
推荐(0)
摘要:
[root@localhost ~]# vim /etc/security/limits.conf root soft nofile 65535root hard nofile 65535* soft nofile 65535* hard nofile 65535 [root@localhost ~
阅读全文
posted @ 2017-04-09 11:10
新美好时代
阅读(383)
推荐(0)