- 博客(55)
- 资源 (6)
- 收藏
- 关注
原创 编辑器开发帮组插件
idea:gittoolboxmaven dependencymaven helpervscode:gitgraphgit historygitlens
2021-01-20 11:43:44
234
原创 springboot项目测试
编写 service项目其中@Transactional进行数据回滚@RunWith(SpringRunner.class)@SpringBootTest@Slf4j@Transactional@ActiveProfiles("unittest")@Sql(statements = { "insert into `aa`(`id`,`a`,`b`,`c`,`d`,`create_user`,`update_user`,`create_time`,`update_time
2020-08-20 11:08:08
335
转载 The maximum column size is 767 bytes.
先检查一下是不是数据库被限制了索引的大小SHOW variables like 'innodb_large_prefix'如果查询的值是OFF的话 执行下面命令SET GLOBAL INNODB_LARGE_PREFIX = ON;执行完了 之后 还得查看当前的innodb_file_format引擎格式类型是不是BARRACUDA执行SHOW variables lik...
2020-02-22 12:20:57
320
原创 GeoServer WMS地图请求内存限制问题
org.geoserver.platform.ServiceException: Rendering request would use 112517KB, whilst the maximum memory allowed is 65536KB at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(Rend...
2018-09-08 16:02:25
1263
原创 火狐浏览器多个用户配置
"C:\Program Files\Mozilla Firefox\firefox.exe" -p -no-remote
2018-09-07 09:16:43
2030
翻译 tomcat下访问Web项目
1.不需要数据项目名称就可以访问项目的配置方法如下:首先到你的Tomcat下的conf文件夹下找到server.xml文件,打开后修改为: <Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true" xmlValidation="false" xml..
2018-08-30 14:36:45
1156
转载 跨域
一、CORS概述跨源资源共享标准通过新增一系列 HTTP 头,让服务器能声明那些来源可以通过浏览器访问该服务器上的各类资源(包括CSS、图片、JavaScript 脚本以及其它类资源)。另外,对那些会对服务器数据造成破坏性影响的 HTTP 请求方法(特别是 GET 以外的 HTTP 方法,或者搭配某些MIME类型的POST请求),标准强烈要求浏览器必须先以 OPTIONS 请求方式发送一个预请...
2018-08-14 17:33:04
181
转载 用myeclipse创建maven项目时,生成的项目名中总是包含Maven Webapp的问题
2017年01月30日 21:01:37阅读数:900 解决办法:新建Maven项目时,展开Advanced-Name template中选择[artifactId]即可
2018-08-12 15:47:28
348
转载 activemq删除死信队列
版本 apache-activemq-5.15.31、消息过期设置参数详情1)message过期则客户端不能接收2)ttlCeiling:表示过期时间上限(程序写的过期时间不能超过此时间,超过则以此时间为准)3)zeroExpirationOverride:表示过期时间(给未分配过期时间的消息分配过期时间)配置示例 <broker> ....
2018-08-11 09:54:52
4597
转载 ActiveMQ 自动删除功能
备注:(删除不活动的队列(Delete Inactive Destinations))一般情况下,ActiveMQ的Topic和Queue在不使用之后,可以通过web控制台或是JMX方式来删除掉。当然,也可以通过配置,使得broker可以自动探测到无用的队列(一定时间内为空的队列)并删除掉,回收响应资源。实现定时自动清理无效的Topic和Queue需要设置三个属性。activemq.x...
2018-08-11 09:52:17
2377
转载 人人开源
https://gitee.com/renrenio/renren-fast/blob/master/src/main/java/io/renren/common/utils/RedisUtils.java
2018-07-31 17:01:10
5429
转载 Mycat
mycat介绍介绍在官方网站上有比较详细的介绍,在这里复制粘贴没什么意思,大家到官网上看官网链接前置条件本教程是在window环境下运行的,实际生产推荐在Linux上运行。 必备条件(自行安装,如果不会装请先打好基础在来学习):JDK:建议是1.7及其以上。MySQL:必须是5.5及其以上。拓扑结构两张表users和item,三个数据库db01,db02,db03(三个库在一个数据库实例上)use...
2018-07-04 14:44:31
852
1
转载 微服务拆分解决的问题
微服务架构变得越来越流行了。它是模块化的一种方法。它把一整块应用拆分成一个个服务。它让团队在开发大型复杂的应用时更快地交付出高质量的软件。团队成员们可以轻松地接受到新技术,因为他们可以使用最新且推荐的技术栈来实现各自的服务。微服务架构也通过让每个服务都被部署在最佳状态的硬件上而改善了应用的扩展性。但微服务不是万能的。特别是在 领域模型、事务以及查询这几个地方,似乎总是不能适应拆分。或者说这几块也...
2018-06-28 17:36:46
5229
转载 github form
https://blog.youkuaiyun.com/qq1332479771/article/details/56087333
2018-06-27 17:55:47
184
原创 git hub发布key
git config --global user.name xxx git config --global user.email xxx@163.com ssh-keygen -t rsa -C "xxx@163.com" cat ~/.ssh/id_rsa.pubssh -T git@github.com 测试配置是否成功
2018-06-27 09:11:20
383
转载 CentOS系统将UTC时间修改为CST时间
1.编辑时间配置文件1234# vi /etc/sysconfig/clock ZONE="Asia/Shanghai" UTC=false #设置为false,硬件时钟不于utc时间一致 ARC=false 2.linux的时区设置为上海时区1ln -sf /usr/share/zoneinfo/Asia/Shanghai ...
2018-05-10 11:33:08
2056
转载 CentOS 通过yum安装nodejs和npm
1、获取nodejs 资源# 4.xcurl --silent --location https://rpm.nodesource.com/setup_4.x | bash -# 5.xcurl --silent --location https://rpm.nodesource.com/setup_5.x | bash -2、安装yum install -y nodejs测试是否安装成功node...
2018-05-08 11:23:15
1091
转载 游戏设计模式
https://www.indienova.com/indie-game-development/hex-grids-reference/
2018-05-07 09:58:40
216
原创 自动升级libc,gcclib
wget http://copr-be.cloud.fedoraproject.org/results/mosquito/myrepo-el6/epel-6-x86_64/glibc-2.17-55.fc20/glibc-utils-2.17-55.el6.x86_64.rpm &wget http://copr-be.cloud.fedoraproject.org/results/mos...
2018-05-05 11:11:21
688
翻译 geoserver跨域
1.由于geoserver为war形式,需要解决tomcat跨域问题2.下载war包,下载cors-filter-1.7.jar,java-property-utils-1.9.jar这两个库文件,放到lib目录下下载地址为:http://download.youkuaiyun.com/detail/longshengguoji/96943773.修改配置文件修
2018-01-11 17:46:05
323
转载 myeclipse 依赖别的项目
https://jingyan.baidu.com/article/b2c186c8cc2d70c46ef6fffc.html
2017-12-22 12:59:22
1548
转载 Tomcat couldnotinitializeclasssun.awet.X11GraphicsEnvironment
网站验证码突然无法显示,并报如下错误。之前也出现过这个错误,不过不是验证码,不管怎样反正都是一样的问题。Caused by: java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment 网上搜索了一下,在catalina.sh里加上一句“-Djava.awt.
2017-12-20 15:01:56
258
原创 tomcat 远程连接
在catalina.sh里面添加以下配置JAVA_OPTS='-server -XX:PermSize=1024m -XX:MaxPermSize=2048m -Xms3072 -Xmx5120m -XX:+UseParallelGC -XX:ParallelGCThreads=4 -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxr
2017-12-19 14:30:21
683
转载 maven私服
https://www.cnblogs.com/quanyongan/archive/2013/04/24/3037589.html2.8.1-10
2017-11-17 17:51:07
157
原创 maven2依赖包下载地址
http://maven.ibiblio.org/maven2/org/codehaus/plexus/plexus-utils/1.1/
2017-11-17 14:07:53
1103
转载 DWR3.0
首页 > Web > DWR3.0框架入门(3) -- ScriptSession的维护及优化DWR3.0框架入门(3) -- ScriptSession的维护及优化1.ScriptSession使用中存在的问题在上一节实现了服务器的推送功能,但是根据 ScriptSession的生命周期我们可以得出以下几点的问题:(1)Sc
2017-11-14 11:47:48
255
原创 SQL触发器
create trigger wg_intercept_command_log_triggerbefore insert on wg_intercept_command_logfor each row #这句话在mysql是固定的beginif not exists(select 1 from wg_intercept_command_log where process_i
2017-11-11 19:41:01
218
原创 命令
1 history 2 cd /svn 3 ls 4 cd svnserver/ 5 ls 6 cd 52yungo/ 7 pwd 8 clear 9 ls 10 clear 11 ls 12 mkdir soft 13 ls 14 cd soft
2017-11-01 18:01:43
223
原创 Fast在线安装实战
302 cd FastDFS_v5.08/ 303 ls 304 cd FastDFS/ 305 ls 306 yum install libevent 307 ls 308 cd .. 309 ls 310 chmld U+X -R * 311 chmod U+X -R * 312 chmod u+x -R *
2017-11-01 16:56:00
243
原创 实战命令
1 history 2 cd /svn 3 ls 4 cd svnserver/ 5 ls 6 cd 52yungo/ 7 pwd 8 clear 9 ls 10 clear 11 ls 12 mkdir soft 13 ls 14 cd soft
2017-11-01 07:57:58
209
原创 下载mq和redis
1 clear 2 ls 3 clear 4 ls 5 mkdir soft 6 ls 7 cd soft 8 ls 9 wget http://download.redis.io/releases/redis-3.0.5.tar.gz 10 ls 11 tar -zxvf red
2017-10-31 21:05:27
330
转载 svn服务器搭建
http://www.cnblogs.com/xiaobaihome/archive/2012/03/20/2407610.html
2017-10-31 19:34:08
134
springboot2.0.3 的redis共享session的demo
2018-09-16
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人