- 博客(361)
- 资源 (98)
- 收藏
- 关注
原创 Java unmarshaller(嵌套对象+数组) 系列5
public class Config { private long dashboardTvId ; private int freshTime ; private long monitorGroupId ; private int timeOfPareto ; private int numOfPointer ; private String name ; private String title ; private String th...
2021-10-27 11:06:16
316
原创 Java unmarshaller(嵌套对象) 系列4
public class Config { private long dashboardTvId ; private int freshTime ; private long monitorGroupId ; private int timeOfPareto ; private int numOfPointer ; private String name ; private String title ; private String th...
2021-10-27 10:57:23
438
原创 Java unmarshaller(对象数组) 系列3
import java.util.List;import javax.xml.bind.annotation.XmlAccessType;import javax.xml.bind.annotation.XmlAccessorType;import javax.xml.bind.annotation.XmlElement;import javax.xml.bind.annotation.XmlRootElement;@XmlRootElement(name = "configs")@XmlA
2021-10-27 09:43:50
492
原创 Java unmarshaller 系列2
Bean有注解import javax.xml.bind.annotation.XmlAccessType;import javax.xml.bind.annotation.XmlAccessorType;import javax.xml.bind.annotation.XmlRootElement;@XmlRootElement(name = "config")@XmlAccessorType (XmlAccessType.FIELD)public class Config { p...
2021-10-27 09:23:35
158
原创 Java unmarshaller 系列1
public class Config { private long dashboardTvId ; private int freshTime ; private long monitorGroupId ; private int timeOfPareto ; private int numOfPointer ; private String name ; private String title ; private String ...
2021-10-27 09:19:52
334
原创 Ubuntu root can‘t show chrome
chrome can not startgoogle-chrome --enable-logging=stderr --log-level=4[11673:11673:0419/232003.842012:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.vim /usr/bin/google-chro..
2021-04-19 23:27:10
110
原创 STS install plugin with proxy
keytool -import -alias sub -keystore /home/myhome/tools/jdk1.8.0_192/jre/lib/security/cacerts -file /home/my/Downloads/sub-vmargs-Djavax.net.ssl.trustStore=/home/myhome/tools/jdk1.8.0_192/jre/lib/security/cacerts-Djavax.net.ssl.trustStorePassword...
2020-07-29 15:59:41
143
原创 Delete the same JAR with ls result
A folder has part jars which exist B folderA: /usr/local/tomcat/libB: /usr/local/tomcat/projectwebapps/yourProject/WEB-INF/libcd/usr/local/tomcat/libls /usr/local/tomcat/projectwebapps/you...
2020-04-13 14:12:09
136
原创 apache-tomcat-7.0.103 error
Client send Get method to get JSON databackground throw exceptionInvalid character found in the request target. The valid characters are defined in RFC 7230 and RFC 3986edit $TOMCAT_HOME/conf/s...
2020-04-13 14:06:49
599
原创 install pgadmin4
vim /etc/apt/sources.list.d/pgdg.list deb http://apt.postgresql.org/pub/repos/apt/ bionic-pgdg main wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - sudo apt-...
2020-04-06 09:58:19
189
原创 chmod 777 根目录导致问题
不小心使用 chmod 777 /导致 sudo su - 使用不了, root 也无法登录。提示如下sudo:sudo /etc/sudoers is world writablesudo:no valid sudoers sources found ,quittingsudo:unable to initialize policy plugin执行以下pkexecchmod...
2020-04-02 15:43:01
828
原创 go/gocode version
go gocode 版本不一致导致Eclipse不提示的解决方法go get -u -v github.com/mdempsky/gocodeEclipse go插件的设置
2020-03-31 08:25:28
1422
1
原创 Extjs4 store filter function
tmpStore= new Ext.data.Store({ model: 'monitorGroup' , proxy: { type: 'ajax'...
2020-03-16 10:45:03
239
原创 less 查找显示匹配字符
1.在用户 home目录创建~/.lessfilter touch ~/.lessfilter2.添加脚本内容#!/bin/shcase "$1" in *.awk|*.groff|*.java|*.js|*.m4|*.php|*.pl|*.pm|*.pod|*.sh|\ *.ad[asb]|*.asm|*.inc|*.[ch]|*.[ch]pp|*.[ch...
2019-12-19 09:26:51
1380
转载 extjs4 grid sample
Ext.require([ 'Ext.data.*', 'Ext.grid.*']);var TOTAL = 94; //randomvar fetchedData = function () { this.data = null; this.total = 0;};function getRandomDate() { var from = n...
2019-07-25 13:44:19
156
转载 显示ext4js form 校验出错的结果
Ext.create('Ext.form.Panel', { title: 'Simple Form', bodyPadding: 5, width: 350, // The form will submit an AJAX request to this URL when submitted url: 'save-form.php', // Fi...
2019-07-24 11:54:41
174
原创 Liferay struts2 portlet return JSON
struts.xml <package name="namexxx" extends="struts-portlet-default" namespace="/"> <action name="fetchServerData" class="accessServerProxyAction" method="fetchServe
2019-02-20 15:03:08
285
原创 liferay 容器下的servlet
web.xml <servlet> <servlet-name>YourServlet</servlet-name> <servlet-class>com.liferay.portal.kernel.servlet.PortalDelegateServlet</servlet-class>...
2019-02-20 14:48:53
258
原创 javaagent学习
pom.xml<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.o...
2019-01-09 12:01:47
296
原创 追加postgresql table column
DO$$BEGINIF not EXISTS (SELECT column_name FROM information_schema.columns WHERE table_schema='spc' and table_name='tableName' and column_name='new_column_name') THEN ALTER TABLE tableName ADD CO...
2018-12-26 11:01:16
945
转载 Spring Data JPA without Spring Boot
src/main/webapp/WEB-INF/spring/context.xml <?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema...
2018-12-11 10:49:36
489
原创 Minitab Z-MR chart 是如何計算的
例子數據來源https://msu.edu/course/stt/200/melfi/mtbdata/Exh_qc.MTW(以下拷貝來源)Z 控制图Z 控制图中的每个数据点 ziMR 控制图每个组中的每个数据点 Ri(z 值的移动极差)。如果 i < w,将不标绘 Ri,因为它未定义。表示法项 说明 xi 观测值 i μ 该组的均...
2018-07-24 10:16:39
1737
2
原创 spring boot web bean容器
谷歌过,别人说 GC root 里面的 stack 强引用就不会回收.骗谁啊.stack frame 已执行就收回了. 啥也不说了.
2018-07-19 16:20:08
155
原创 spring boot simple sample
import org.springframework.boot.SpringApplication;import org.springframework.boot.autoconfigure.EnableAutoConfiguration;import org.springframework.web.bind.annotation.RequestMapping;import org.spri...
2018-07-17 15:06:17
718
原创 Extjs4 Grid column tip实现
var grid = new Ext.grid.GridPanel({ renderTo: 'xxxGrid', store: store, columns: [ {header: 'key',flex: 1, dataIndex: 'key' , hidden:true}, {header: 'monit...
2018-06-11 11:48:09
564
原创 Ubuntu virtualbox不能识别 USB
sudo vim /etc/group找到 vboxusers:x:xxx改为 vboxusers:x:126:yourLoginName重启
2018-06-06 14:29:17
814
原创 java 远程调用 rabbitmq
新增管理员用户,虽然缺省(看起来是所有权限)都有,实际依然虽然手工点击一下 (Set permission)不然会提示一下错误Exception in thread "main" java.io.IOException at com.rabbitmq.client.impl.AMQChannel.wrap(AMQChannel.java:106) at com.rabbitmq...
2018-05-04 09:32:39
376
原创 rabbitmq 远程登录
rabbitmqctl add_user username passwordrabbitmqctl set_user_tags username administrator
2018-05-04 08:50:29
712
原创 virtualbox 不能识别USB设备
sudo usermod -G vboxusers -a currentUserName,其中currentUserName是你要使用vbox的当前用户名reboot
2018-03-17 00:17:59
5989
原创 mybatis 使用 log4j debug sql
配置log4j 输出 mybattis输出# Global logging configurationlog4j.rootLogger=ERROR, stdout# MyBatis logging configuration...log4j.logger.com.xxx..dao.mybatis.BlogMapper=TRACE# Console output...log4j.appender....
2018-03-09 10:20:53
907
原创 ubuntu install smartgit
sudo add-apt-repository ppa:eugenesan/ppasudo apt-get updatesudo apt-get install smartgithg
2017-11-19 11:53:08
463
原创 Ubuntu expect使用经验
自动登录远端目标机器 autoLogin.sh#!/usr/bin/expect set password yourPasswordspawn ssh -p yourPortt xxx.xxx.xxx.xxxset timeout 30000expect "root@xxx.xxx.xxx.xxx's password:"set timeout 30000
2017-06-09 10:26:49
3818
转载 EXTJS 4 Json nested data in grid panel
{ "success":true, "error":false, "redirectUrl":null, "fund":[{ "cat_id":1, "catname":"Europe OE Japan Large-Cap Equity", "region":{ "region_id":2, "region_name":"JAPAN"
2017-04-23 11:26:50
495
原创 /usr/bin/env: node: 没有那个文件或目录
npm install -g bower bower install/usr/bin/env: node: 没有那个文件或目录ln -s /usr/bin/nodejs /usr/bin/noderoot@# bower -version1.7.9
2016-09-20 22:48:21
3915
原创 Ubuntu 下Mysql server 远端访问
1. comment /etc/mysql/mysql.conf.d/mysqld.cnf bind-address =127.0.0.112. execute sqlgrant all on *.* to root@'%' identified by 'mysql'; //root username mysql user's passwordflush privil
2016-09-17 00:24:03
394
原创 ubuntu can't add add-apt-
environmentuname -aLinux jerry-xia-pc 4.2.0-27-generic #32~14.04.1-Ubuntu SMP Fri Jan 22 15:32:26 UTC 2016 x86_64 x86_64 x86_64 GNU/Linuxappearanceadd-apt-repository ppa:webupd8team/y-pp
2016-08-11 09:32:10
1089
ext4.2.0完整包
2014-09-19
ext4.2.1完整包
2014-09-19
Liferay的AUI框架
2014-06-12
mybatis generator eclipse plugin
2012-07-16
Activity for Eclipse plugin
2012-06-27
JGoodies Validation
2011-10-18
spring-tool-suite-4-4.11.0.RELEASE-e4.20.0-linux.gtk.x86_64.tar.gz
2021-07-21
code_1.58.2-1626302803_amd64.deb
2021-07-21
go1.16.5.linux-amd64.tar.gz
2021-06-25
spring-tool-suite-4-4.6.0.RELEASE-e4.15.0-linux.gtk.x86_64.tar.gz
2020-04-13
Java SE Development Kit 8u144 Documentation下载
2017-08-09
extjs6 cmd(bit64 Linux)
2016-10-18
extjs6 cmd(bit32 Linux)
2016-10-18
ext6 开发包
2016-09-26
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人