<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[CHBOS的专栏]]></title><description><![CDATA[菜鸟备用....]]></description><link>https://blog.csdn.net/CHBOS</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; CHBOS]]></copyright><item><title><![CDATA[mysql 安装、配置、备份]]></title><link>https://blog.csdn.net/CHBOS/article/details/108305566</link><guid>https://blog.csdn.net/CHBOS/article/details/108305566</guid><author>CHBOS</author><pubDate>Sat, 09 Dec 2023 16:55:22 +0800</pubDate><description><![CDATA[[mysqld]
max_heap_table_size=256M
tmp_table_size=256M
group_concat_max_len=102400
max_allowed_packet=20M
log-bin=mysql-bin
binlog-format=ROW
server_id=1


default-storage-engine = innodb
innodb_file_per_table
collation-server = utf8_general_ci
init-connect]]></description><category></category></item><item><title><![CDATA[springboot项目打包优化（迁移第三方依赖jar、配置文件到项目jar外）]]></title><link>https://blog.csdn.net/CHBOS/article/details/117016107</link><guid>https://blog.csdn.net/CHBOS/article/details/117016107</guid><author>CHBOS</author><pubDate>Wed, 19 May 2021 09:58:50 +0800</pubDate><description><![CDATA[springboot 项目采用spring-boot-maven-plugin插件打包，会把第三方依赖包打进jar \BOOT-INF\lib 目录中，以及配置文件也会打进jar包。
&lt;plugins&gt;
    &lt;plugin&gt;
        &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
        &lt;artifactId&gt;spring-boot-maven-plugin&lt;/artifactId]]></description><category></category></item><item><title><![CDATA[Jxls2 合并单元格 (横向循环、自定义函数)]]></title><link>https://blog.csdn.net/CHBOS/article/details/109597546</link><guid>https://blog.csdn.net/CHBOS/article/details/109597546</guid><author>CHBOS</author><pubDate>Tue, 10 Nov 2020 14:09:16 +0800</pubDate><description><![CDATA[文档 :http://jxls.sourceforge.net/

源码：https://github.com/jxlsteam/jxls

基本语法

Each-Command


	var is a name of the variable in Jxls context to put each new collection item when iterating
	
	
	items is a name of a context variable containing the collection (]]></description><category></category></item><item><title><![CDATA[命令行工具springboot-cli]]></title><link>https://blog.csdn.net/CHBOS/article/details/107773338</link><guid>https://blog.csdn.net/CHBOS/article/details/107773338</guid><author>CHBOS</author><pubDate>Fri, 21 Aug 2020 21:23:43 +0800</pubDate><description><![CDATA[1.下载地址

https://repo.spring.io/release/org/springframework/boot/spring-boot-cli/

2.配置环境变量

Path=D:\spring-2.1.13.RELEASE\bin

3.验证 spring --version

4.新建groovy文件

@RestController
class WebAppliction {
  @RequestMapping("/")
  String home(){
    r...]]></description><category></category></item><item><title><![CDATA[Nacos Spring Cloud入门]]></title><link>https://blog.csdn.net/CHBOS/article/details/107806472</link><guid>https://blog.csdn.net/CHBOS/article/details/107806472</guid><author>CHBOS</author><pubDate>Fri, 21 Aug 2020 21:20:16 +0800</pubDate><description><![CDATA[Nacos Spring Cloud
项目地址:https://github.com/alibaba/nacos/
下载地址：https://github.com/alibaba/nacos/releases
文档地址：https://nacos.io/en-us/docs/quick-start-spring-cloud.html
测试环境：http://10.252.202.53/nacos    账号/密码：nacos/nacos
unzip nacos-server-1.0.0.zip
cd nac]]></description><category></category></item><item><title><![CDATA[FreeMarker生成word-定义模板步骤（带表格且含合并单元格）]]></title><link>https://blog.csdn.net/CHBOS/article/details/103776878</link><guid>https://blog.csdn.net/CHBOS/article/details/103776878</guid><author>CHBOS</author><pubDate>Fri, 21 Aug 2020 20:16:30 +0800</pubDate><description><![CDATA[本文介绍使用freeMark生成包含表格合并单元的word如何制作模板，合并单元格主要使用<w:vmerge w:val='restart'/>和<w:vmerge/>实现。]]></description><category></category></item><item><title><![CDATA[mybatis resultType="map"时的常见问题]]></title><link>https://blog.csdn.net/CHBOS/article/details/102493846</link><guid>https://blog.csdn.net/CHBOS/article/details/102493846</guid><author>CHBOS</author><pubDate>Fri, 11 Oct 2019 01:25:42 +0800</pubDate><description><![CDATA[在配置数据源的配置文件中，配置Mybatis的SqlSessionFactoryBean

一.map的key值 与select的字段顺序的不一致问题

解决方法：resultType="map" 修改为 resultType="java.util.LinkedHashMap"

二.值为null的返回map中没相应的key

解决方法：1.查询字段使用ifnull函数（可空字段较多时,不推荐...]]></description><category></category></item><item><title><![CDATA[mybatis三种批量插入方式对比]]></title><link>https://blog.csdn.net/CHBOS/article/details/102493822</link><guid>https://blog.csdn.net/CHBOS/article/details/102493822</guid><author>CHBOS</author><pubDate>Fri, 11 Oct 2019 01:17:56 +0800</pubDate><description><![CDATA[准备：

1.表结构


CREATE TABLE `t_user` (
`id` varchar(32) CHARACTER SET utf8 NOT NULL COMMENT '主键',
`name` varchar(50) CHARACTER SET utf8 DEFAULT NULL COMMENT '用户名',
`del_flag` char(1) CHARACTER SE...]]></description><category></category></item><item><title><![CDATA[MySQL max_allowed_packet设置及问题]]></title><link>https://blog.csdn.net/CHBOS/article/details/102493813</link><guid>https://blog.csdn.net/CHBOS/article/details/102493813</guid><author>CHBOS</author><pubDate>Fri, 11 Oct 2019 01:10:24 +0800</pubDate><description><![CDATA[根据配置文件会限制server接受的数据包大小。
有时候大的插入和更新会被max_allowed_packet 参数限制掉，导致失败。


查看目前配置

show VARIABLES like '%max_allowed_packet%';


修改方法
可以编辑my.cnf来修改(windows下my.ini),在[mysqld]段或者mysql的server配置段进行修改。在[mysqld...]]></description><category></category></item><item><title><![CDATA[SpringBoot五步配置Mybatis超简教程]]></title><link>https://blog.csdn.net/CHBOS/article/details/102493666</link><guid>https://blog.csdn.net/CHBOS/article/details/102493666</guid><author>CHBOS</author><pubDate>Fri, 11 Oct 2019 00:59:05 +0800</pubDate><description><![CDATA[第一步：Maven里面添加mybatis的引用jar包：


&lt;!--mybatis--&gt;
&lt;dependency&gt;
    &lt;groupId&gt;org.mybatis.spring.boot&lt;/groupId&gt;
    &lt;artifactId&gt;mybatis-spring-boot-starter&lt;/artifactId&gt;
 ...]]></description><category></category></item><item><title><![CDATA[如何让SQL运行得更快]]></title><link>https://blog.csdn.net/CHBOS/article/details/6680124</link><guid>https://blog.csdn.net/CHBOS/article/details/6680124</guid><author>CHBOS</author><pubDate>Wed, 09 Oct 2019 13:30:07 +0800</pubDate><description><![CDATA[人们在使用SQL时往往会陷入一个误区，即太关注于所得的结果是否正确，而忽略了不同的实现方法之间可能存在的性能差异，这种性能差异在大型的或是复杂的数据库环境中(如联机事务处理OLTP或决策支持系统DSS)中表现得尤为明显。笔者在工作实践中发现，不良的SQL往往来自于不恰当的索引设计、不充份的连接条件和不可优化的where子句。在对它们进行适当的优化后，其运行速度有了明显地提高!下面我将从这三个方面分...]]></description><category></category></item><item><title><![CDATA[SNS分享]]></title><link>https://blog.csdn.net/CHBOS/article/details/92809076</link><guid>https://blog.csdn.net/CHBOS/article/details/92809076</guid><author>CHBOS</author><pubDate>Wed, 09 Oct 2019 13:18:33 +0800</pubDate><description><![CDATA[http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url=http://zhidao.baidu.com/question/587147721962583845?sharesource=qzone&amp;title=safari 有开发者工具吗？_百度知道&amp;pics=http://img.baidu.com/img/i...]]></description><category></category></item><item><title><![CDATA[How to tell if two intervals intersect（区间判断）]]></title><link>https://blog.csdn.net/CHBOS/article/details/84637263</link><guid>https://blog.csdn.net/CHBOS/article/details/84637263</guid><author>CHBOS</author><pubDate>Thu, 08 Aug 2019 22:49:32 +0800</pubDate><description><![CDATA[Suppose we have two half-open intervals


[A, B) [X, Y)


and we want to know whether they intersect. In any particular case, it's obvious. For example


[1, 2) [3, 4)	disjoint
[1, 5) [3, 4)	intersec...]]></description><category></category></item><item><title><![CDATA[maven 打包 profile + resource 注意事项 ( filtering 设置)]]></title><link>https://blog.csdn.net/CHBOS/article/details/92809310</link><guid>https://blog.csdn.net/CHBOS/article/details/92809310</guid><author>CHBOS</author><pubDate>Wed, 19 Jun 2019 11:36:16 +0800</pubDate><description><![CDATA[在使用 resource 优化项目打包后，发现导出pdf无法打开,排查发现 pdf用的 字体文件（TrueType 字体文件 (.ttf)）打包后 filesize发生了变化，
猜想是可能是filtering设置导致编码变化，尝试通过单独设置 templates 目录 filtering为false问题解决。





&lt;profiles&gt;
    &lt;profile&gt;
 ...]]></description><category></category></item><item><title><![CDATA[js处理数据库字段重命名（去下划线替换为驼峰规则）]]></title><link>https://blog.csdn.net/CHBOS/article/details/90897773</link><guid>https://blog.csdn.net/CHBOS/article/details/90897773</guid><author>CHBOS</author><pubDate>Wed, 05 Jun 2019 10:21:24 +0800</pubDate><description><![CDATA[SELECT 
  column_name AS '列名', data_type AS '数据类型', character_maximum_length AS '字符长度', numeric_precision AS '数字长度', numeric_scale AS '小数位数', is_nullable AS '是否允许非空', 
  CASE
    WHEN extra = 'auto_i...]]></description><category></category></item><item><title><![CDATA[js 时间差(过去了多少时间、还剩多少时间）]]></title><link>https://blog.csdn.net/CHBOS/article/details/52767895</link><guid>https://blog.csdn.net/CHBOS/article/details/52767895</guid><author>CHBOS</author><pubDate>Sun, 09 Oct 2016 16:20:23 +0800</pubDate><description><![CDATA[function timeago(timestamp) {
        var d_minutes, d_hours, d_days, d_seconds;
        var timeNow = parseInt(new Date().getTime() / 1000);
        d_seconds = timeNow - timestamp / 1000;
        d_]]></description><category></category></item><item><title><![CDATA[IE浏览器跨域访问iframe 中 Cookie/Session丢失解决方案]]></title><link>https://blog.csdn.net/CHBOS/article/details/7306619</link><guid>https://blog.csdn.net/CHBOS/article/details/7306619</guid><author>CHBOS</author><pubDate>Sun, 09 Oct 2016 10:10:20 +0800</pubDate><description><![CDATA[偶然中发现一个IE浏览器的问题：
        站点aa.com的页面a.aspx中存在一个iframe，iframe的src为站点bb.com的b.aspx。b.aspx设置了一个COOKIE（不管临时保存还是长期保存），然后刷新aa.com/a.aspx，bb.com/b.aspx也会被刷新，这时候会发现第二次向bb.com/b.aspx的请求里面并没有带入第一次设置的COOKIE。]]></description><category></category></item><item><title><![CDATA[Memcached 常见的问题]]></title><link>https://blog.csdn.net/CHBOS/article/details/50978706</link><guid>https://blog.csdn.net/CHBOS/article/details/50978706</guid><author>CHBOS</author><pubDate>Fri, 25 Mar 2016 13:04:40 +0800</pubDate><description><![CDATA[memcached是怎么工作的？
Memcached的神奇来自两阶段哈希（two-stage hash）。Memcached就像一个巨大的、存储了很多对的哈希表。通过key，可以存储或查询任意的数据。
客户端可以把数据存储在多台memcached上。当查询数据时，客户端首先参考节点列表计算出key的哈希值（阶段一哈希），进而选中一个节点；客户端将请求发送给选中的节点，然后memcached节点]]></description><category></category></item><item><title><![CDATA[关于easyui中的combogrid keyHanlder属性使用的问题(filter改进)]]></title><link>https://blog.csdn.net/CHBOS/article/details/49341939</link><guid>https://blog.csdn.net/CHBOS/article/details/49341939</guid><author>CHBOS</author><pubDate>Fri, 23 Oct 2015 01:47:26 +0800</pubDate><description><![CDATA[今天工作中使用 easyui combogrid插件遇到的问题，记录下，同时大家如果有好的实现方式，麻烦告知一声，


使用场景：
1、 支持键盘上下箭给文本域赋值，回车发送请求（焦点在文本域）
2、点击列表选项发送请求
尝试实现方式：
1.使用OnSelect事件，通过判断 event.keyCode 处理,chrome,ie有效 ,Firefox没有 window.event 对]]></description><category></category></item><item><title><![CDATA[Eclipse 中报Unhandled event loop exception Java heap space(如果是JS导致的)解决方案]]></title><link>https://blog.csdn.net/CHBOS/article/details/49338165</link><guid>https://blog.csdn.net/CHBOS/article/details/49338165</guid><author>CHBOS</author><pubDate>Thu, 22 Oct 2015 20:16:04 +0800</pubDate><description><![CDATA[Eclipse 中报Unhandled event loopexception Java heap space(如果是JS导致的)解决方案

项目中总是报 Unhandled event loopexception Java heap space 会影响开发效率,网上给的绝决方案不是很可靠,最后在Google总搜到可靠方案,如下

Right click on project
Choos]]></description><category></category></item></channel></rss>