11 2020 档案

摘要:说明 URLConnection HttpURLConnection extends URLConnection Demo 请求API,不用发送参数 // 目标地址 URL url = new URL("https://api") // 转换 HttpURLConnection urlConnect 阅读全文
posted @ 2020-11-20 10:39 duchaoqun 阅读(570) 评论(0) 推荐(0) 编辑
摘要:Windows 安装 agent 下载客户端:https://www.zabbix.com/download_agents 有两种文件可以下载,一种是Archive,一种是MSI安装包 安装客户端 EnableRemoteCommands=1 # 允许在本地执行远程命令 LogRemoteComma 阅读全文
posted @ 2020-11-18 15:40 duchaoqun 阅读(163) 评论(0) 推荐(0) 编辑
摘要:配置 pg_hba.conf 允许远程访问 # 将默认的 * 替换成本机的内网IP地址。 vim /var/lib/pgsql/11/data/postgresql.conf listen_addresses = "*" # 默认的配置 listen_addresses = '172.26.114. 阅读全文
posted @ 2020-11-18 11:07 duchaoqun 阅读(5015) 评论(0) 推荐(0) 编辑
摘要:IText 7 使用Table 使用表格来呈现数据。 Demo1 // 创建对象指定固定比例的列 Table table = new Table(UnitValue.createPercentArray(10)).useAllAvailableWidth() // 设置边框 table.setBor 阅读全文
posted @ 2020-11-17 15:16 duchaoqun 阅读(1218) 评论(0) 推荐(0) 编辑
摘要:Demo 样式的复用 // 样式的复用 Style normal = new Style() normal.setFont(basefont).setFontSize(9) Style code = new Style() code.setFont(basefont).setFontColor(Co 阅读全文
posted @ 2020-11-13 09:30 duchaoqun 阅读(287) 评论(0) 推荐(0) 编辑
摘要:表单 官方文档:https://docs.grails.org/3.1.1/ref/Tags/form.html 属性 useToken:可选的,处理重复提交的问题。 案例一 注意:使用js提交表单的时候需要使用class,不要使用id,form标签中的id有特别的用途 <g:form resour 阅读全文
posted @ 2020-11-04 15:03 duchaoqun 阅读(114) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示