The string"PAYPALISHIRING"is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font fo...
分类:
其他好文 时间:
2014-11-17 15:29:56
阅读次数:
198
tomcat添加:JAVA_OPTS="$JAVA_OPTS-Dcom.sun.management.jmxremote-Dcom.sun.management.jmxremote.port=12345-Dcom.sun.management.jmxremote.ssl=false-Dcom.sun.management.jmxremote.authenticate=false-Djava.rmi.server.hostname=10.128.46.23"weblogic添加:exportJAVA..
分类:
编程语言 时间:
2014-11-17 14:19:16
阅读次数:
242
登入主页选择service创建一个主机组输入一个未分配的IP地址该IP会在宿主机上边产生一个VIP编辑连接池输入节点,可以带端口号编辑虚拟主机选择连接池以及对应vip在连接池的目录下可以设置负载均衡方式在虚拟服务下可以设置连接方式等其它功能
分类:
其他好文 时间:
2014-11-17 14:19:10
阅读次数:
249
make&&makeinstallmkdir/etc/rediscpredis.conf/etc/redis/6379.confcpredis_init_script/etc/init.d/redisvim/etc/redis/6379.confvim/etc/sysctl.conf添加vm.overcommit_memory=1net.ipv4.tcp_timestamps=1net.ipv4.tcp_tw_recycle=1net.ipv4.ip_local_port_range=10..
分类:
其他好文 时间:
2014-11-17 14:18:31
阅读次数:
223
http://www.apache.org/dyn/closer.cgi?path=/activemq/5.10.0/apache-activemq-5.10.0-bin.tar.gzactivemq下载地址解压启动nohup./activemqstart&>/tmp/smlog访问http://localhost:8161/admin/默认密码adminadmin下面是activemq的测试[root@localhostbin]#telnet192.16..
分类:
其他好文 时间:
2014-11-17 14:18:31
阅读次数:
176
Given a linked list, reverse the nodes of a linked listkat a time and return its modified list.If the number of nodes is not a multiple ofkthen left-o...
分类:
其他好文 时间:
2014-11-17 13:56:54
阅读次数:
182
//BOARD 主板
String phoneInfo = "BOARD: " + android.os.Build.BOARD;
phoneInfo += ", BOOTLOADER: " + android.os.Build.BOOTLOADER;
//BRAND 运营商
phoneInfo += ", BRAND: " + android.os.Build.BRAND;
phoneInfo ...
分类:
移动开发 时间:
2014-11-17 12:26:29
阅读次数:
582
??
Generics were added to version 2.0 of the C# language and the common language runtime (CLR). Generics introduce to the .NET Framework the concept of type parameters, which make it possible to desi...
creating a Random Number Generator object (RNG): RNG rng( 0xFFFFFFFF ); 创建并初始化随机数生成子 create a matrix initialized to zeros (which means that it will ap...
分类:
其他好文 时间:
2014-11-17 10:33:52
阅读次数:
350
分析:
举个例子xxx(三位数)为魔力数,则xxx|(xxx+1000*y),那么xxx|1000,这个就是结论
同理:四位数xxxx|10000,五位数xxxxx|100000
代码:
#include
#include
#include
#include
#include
#include
#include
typedef long long LL;
using namespace s...
分类:
其他好文 时间:
2014-11-17 09:14:23
阅读次数:
244