摘要:
@Resource是JDK的annotation包下相关的类。 Resource,顾名思义,可以修饰任何资源,比如图片,XML文件,包括Mybatis的XML文件。 @Autowired是Spring的annotation包下相关的类。 https://www.zhihu.com/question/
阅读全文
posted @ 2018-03-12 22:17
rgqancy
阅读(250)
推荐(0)
posted @ 2018-03-06 15:11
rgqancy
阅读(575)
推荐(0)
摘要:
https://blog.aspose.com/2014/08/12/aspose-for-maven-aspose-cloud-maven-repository/ https://marketplace.eclipse.org/content/aspose-maven-project-wizard
阅读全文
posted @ 2018-03-06 14:34
rgqancy
阅读(8876)
推荐(0)
摘要:
uname -a hostnamevim /etc/sysconfig/network
阅读全文
posted @ 2018-03-06 10:24
rgqancy
阅读(3162)
推荐(0)
摘要:
nexus安装与启动 linux下: 安装路径 /home/maven/nexus-2.11.1-01/ 启动方法 ./bin/nexus start windows下: 管理员模式运行cmd.exe(windows下搜索到此应用,右键点击管理员模式) nexus默认用户名和密码 用户名:admin
阅读全文
posted @ 2018-03-05 16:34
rgqancy
阅读(1450)
推荐(0)
摘要:
对称加密(加解密密钥相同):AES,DES, 非对称加密(加解密密钥不同,即公钥,私钥):RSA 哈希算法: MD5是一种 SHA是一种:(Secure Hash Standard):SHA-1, SHA-224, SHA-256, SHA-384 和 SHA-512 Base64,只是一种编码模式
阅读全文
posted @ 2018-03-02 10:52
rgqancy
阅读(126)
推荐(0)
摘要:
问题症状:WIN10下运行最新版微信(CrashVersion=1644560715) 微信运行错误 你的微信崩溃次数较多,建议使用最新版本,点击"确定"到官网(http://pc.weixin.qq.com/)下载最新安装包。 确定 取消 解决方法: 打开C:\Users\Administrato
阅读全文
posted @ 2018-03-01 13:04
rgqancy
阅读(28476)
推荐(1)
摘要:
Eclipse Java was started but returned exit code=-1073741819C:\WINDOWS\system32\javaw.exe-Dosgi.requiredJavaVersion=1.6-Xms2048m-Xmx4096m-XX:MaxPermSiz
阅读全文
posted @ 2018-02-23 15:00
rgqancy
阅读(1687)
推荐(0)
摘要:
以前自己也写过Windows下自动打开多个浏览器测试某个URI,提高浏览器兼容性测试效率。 但是写的browse.bat文件还是最基础简陋的 今天恰巧看到cygwin安装目录下用perl写的url_handler.pl,感觉作者的思路挺有趣。 代码共赏析:C:\cygwin\bin\url_hand
阅读全文
posted @ 2018-02-20 22:11
rgqancy
阅读(375)
推荐(0)
摘要:
系统原生集成的Ehcache, 但是监控需要(version 2.7),Ehcache Monitor http://www.ehcache.org/documentation/2.7/operations/jmx.html 缓存数据监控:可以通过注册MBean实现用JConsole的简单监控。 h
阅读全文
posted @ 2018-02-12 11:51
rgqancy
阅读(584)
推荐(0)
摘要:
从wiki的角度:https://wikidiff.com/domain/realm domain是物理的,realm是抽象的,都是领域。 domain是一个人或组织拥有或控制的地理区域,而realm是一个抽象的真实或想象的影响范围。 从Q&A角度:https://answers.yahoo.com
阅读全文
posted @ 2018-02-11 17:31
rgqancy
阅读(1682)
推荐(1)
摘要:
场景介绍:系统集成Shiro,使用Ehcache保存用户登录限制次数,常有用户密码被锁,影响工作效率。 在不考虑集成SSO,LDAP,也不引入身份校验,邮件,短信等解锁特性下。使用Ehcache Monitor解决缓存项清空去除限制问题,是个简单快捷的方案,此功能还可开发简单API,授权给系统管理员
阅读全文
posted @ 2018-02-11 15:19
rgqancy
阅读(391)
推荐(0)
摘要:
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding ...
阅读全文
posted @ 2018-02-08 16:22
rgqancy
阅读(486)
推荐(0)
摘要:
https://www.tutorialspoint.com/javamail_api/javamail_api_smtp_servers.htm https://www.mkyong.com/java/javamail-api-sending-email-via-gmail-smtp-exampl
阅读全文
posted @ 2018-02-06 17:20
rgqancy
阅读(600)
推荐(0)
摘要:
上述两参数,可根据实际情况,逐渐调大。
阅读全文
posted @ 2018-02-06 15:33
rgqancy
阅读(372)
推荐(0)
摘要:
我们常常遇到abstract class与 interface的区别,今天却遇到了abstract interface,感觉interface不用abstract再修饰了啊。结论:事实也确实如此,编译为.class文件后abstract interface成为了interface。 编程后结果比较:
阅读全文
posted @ 2018-02-02 17:29
rgqancy
阅读(6300)
推荐(0)
摘要:
shiro cache的原理 https://cwiki.apache.org/confluence/display/SHIRO/Caching shirocache这个线程相关的内容
阅读全文
posted @ 2018-01-31 17:22
rgqancy
阅读(265)
推荐(0)
摘要:
C:\Users\Administrator\AppData\Roaming\ejabberd\conf
阅读全文
posted @ 2018-01-26 17:50
rgqancy
阅读(590)
推荐(0)
摘要:
package org.jeecgframework.core.timer; import org.springframework.scheduling.annotation.Scheduled; import org.springframework.stereotype.Component; @Component public class Job { // @Scheduled...
阅读全文
posted @ 2018-01-17 18:14
rgqancy
阅读(351)
推荐(0)
摘要:
解决办法,可以参考试试: http://www.cnblogs.com/huangcong/p/3389010.html http://blog.csdn.net/phpfenghuo/article/details/40537477
阅读全文
posted @ 2018-01-08 10:58
rgqancy
阅读(1218)
推荐(0)
摘要:
https://forums.mysql.com/read.php?51,99347,99358 https://dev.mysql.com/doc/refman/5.7/en/can-not-connect-to-server.html 服务挂了
阅读全文
posted @ 2018-01-04 17:29
rgqancy
阅读(440)
推荐(0)
摘要:
AbstractQueuedLongSynchronizer类是扩展自AbstractQueuedSynchronizer的,实现了java.io.Serializable接口。 其中提到的wait queue是了CLH lock queue 的一个变种,CLH lock通常被用于spin Lock
阅读全文
posted @ 2018-01-02 18:24
rgqancy
阅读(1049)
推荐(0)
摘要:
S0 S1 E O P YGC YGCT FGC FGCT GCT 43.33 0.00 94.55 32.10 9.34 20 0.494 0 0.000 0.494
阅读全文
posted @ 2017-12-29 18:04
rgqancy
阅读(1283)
推荐(0)
摘要:
安装完ejabberd:ejabberd-17.11-windows-installer.exe 启动报错:bash ejabberdctl register "admin" "YCY-rgq" "admin" Error: conflict https://stackoverflow.com/qu
阅读全文
posted @ 2017-12-27 16:25
rgqancy
阅读(570)
推荐(0)
摘要:
https://baike.baidu.com/item/%E7%95%AA%E8%8C%84%E5%B7%A5%E4%BD%9C%E6%B3%95
阅读全文
posted @ 2017-12-27 14:09
rgqancy
阅读(194)
推荐(0)
摘要:
chroot:chang root http://man.linuxde.net/chroot https://baike.baidu.com/item/chroot 1.限制被CHROOT的使用者所能执行的程式,如SetUid的程式,或是会造成 Load 的Compiler等等。 2.防止使用者存
阅读全文
posted @ 2017-12-27 12:28
rgqancy
阅读(756)
推荐(0)
摘要:
ejabberd支持XMPP协议。 worktile用ejabberd来做了实时消息推送: https://worktile.com/tech/basic/worktile-real-time-notice
阅读全文
posted @ 2017-12-26 17:07
rgqancy
阅读(252)
推荐(0)
摘要:
https://content.pivotal.io/rabbitmq/understanding-when-to-use-rabbitmq-or-apache-kafka RabbitMQ: Erlang Apache Kafka:Scala https://content.pivotal.io/
阅读全文
posted @ 2017-12-26 16:50
rgqancy
阅读(382)
推荐(0)
摘要:
create table ACT_GE_PROPERTY ( NAME_ varchar(64), VALUE_ varchar(300), REV_ integer, primary key (NAME_) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin; insert into ACT_GE_PRO...
阅读全文
posted @ 2017-12-25 17:42
rgqancy
阅读(4133)
推荐(0)
摘要:
TransactionDefinition Interface that defines Spring-compliant transaction properties. Based on the propagation behavior definitions analogous to EJB C
阅读全文
posted @ 2017-12-25 15:10
rgqancy
阅读(507)
推荐(0)
摘要:
mysql java.sql; Connection org.springframework.transaction; TransactionDefinitio/** org.springframework.transaction.annotation; enum Isolation org.spr
阅读全文
posted @ 2017-12-25 10:21
rgqancy
阅读(535)
推荐(0)
摘要:
http://blog.csdn.net/quzishen/article/details/6163012 http://www.cnblogs.com/ityouknow/p/7297524.html http://drools.org/
阅读全文
posted @ 2017-12-22 14:46
rgqancy
阅读(525)
推荐(0)
摘要:
摘自:https://zhuanlan.zhihu.com/p/31670033 Rendertron:JavaScript Web 富应用的一个老问题是如何使这些页面的动态渲染部分可供搜索引擎检索。为此开发人员采用了各种各样的技巧,包括使用 React.js 的服务端渲染,外部服务或预渲染内容。现
阅读全文
posted @ 2017-12-22 11:03
rgqancy
阅读(1581)
推荐(0)
摘要:
上世界80年代,就有了LDAP的雏形。 我接触到最早的Windows系列的服务器,是Windows2000 Professional版本里可以加入ActiveDirectory,后来从Windows2003 Server一直用到Windows2008,和AD结下了不解之缘。 尝试过把Windows2
阅读全文
posted @ 2017-12-22 10:32
rgqancy
阅读(616)
推荐(0)
摘要:
作为宴会的散席,技术经理赵涛(涛哥)给大家分享了:Deep Leanring Machine Learning是Deep Learning的一个超集。 Deep Leanring,依赖于神经网络,当前的技术优势是能够推演的层级比价深。 深度学习本质是一个概率推测问题。 Python在于有强大的Num
阅读全文
posted @ 2017-12-22 10:14
rgqancy
阅读(413)
推荐(0)
摘要:
Hyperledger 项目是来自 Linux 基金会的一个新的协作项目 Hyperledger Fabric 是区块链技术的实现,目标是成为开发区块链应用和解决方案的基础。 https://wenku.baidu.com/view/0f89391b03020740be1e650e52ea55181
阅读全文
posted @ 2017-12-20 17:57
rgqancy
阅读(395)
推荐(0)
摘要:
/* * Copyright 2002-2015 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * ...
阅读全文
posted @ 2017-12-19 17:44
rgqancy
阅读(754)
推荐(0)
posted @ 2017-12-19 14:29
rgqancy
阅读(1041)
推荐(0)
摘要:
接下来要附加源码,来学些bootstrap.jar
阅读全文
posted @ 2017-12-15 11:11
rgqancy
阅读(1101)
推荐(0)
摘要:
https://jingyan.baidu.com/article/fb48e8be3743696e632e1450.html gedit /root/.profile mesg n => tty -s && mesg n
阅读全文
posted @ 2017-12-14 21:50
rgqancy
阅读(978)
推荐(0)