<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[三月神的专栏]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/qq435967718</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; qq435967718]]></copyright><item><title><![CDATA[mac安装homebrew]]></title><link>https://blog.csdn.net/qq435967718/article/details/121724562</link><guid>https://blog.csdn.net/qq435967718/article/details/121724562</guid><author>qq435967718</author><pubDate>Sun, 05 Dec 2021 00:43:11 +0800</pubDate><description><![CDATA[Homebrew 国内自动安装脚本

/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"
]]></description><category></category></item><item><title><![CDATA[gitlab密码更改后idea提交异常]]></title><link>https://blog.csdn.net/qq435967718/article/details/120227506</link><guid>https://blog.csdn.net/qq435967718/article/details/120227506</guid><author>qq435967718</author><pubDate>Fri, 10 Sep 2021 18:11:40 +0800</pubDate><description><![CDATA[1、切换到DO not save



2、打开idea的terminal，执行以下命令

git pull

输入账户密码

git config --global credential.helper store
]]></description><category></category></item><item><title><![CDATA[java zip文件解压（含有密码解压）]]></title><link>https://blog.csdn.net/qq435967718/article/details/109201851</link><guid>https://blog.csdn.net/qq435967718/article/details/109201851</guid><author>qq435967718</author><pubDate>Wed, 21 Oct 2020 15:14:06 +0800</pubDate><description><![CDATA[&lt;dependency&gt;
       &lt;groupId&gt;net.lingala.zip4j&lt;/groupId&gt;
       &lt;artifactId&gt;zip4j&lt;/artifactId&gt;
       &lt;version&gt;1.3.2&lt;/version&gt;
&lt;/dependency&gt;


public class CompressUtil {

    private static final Logger LOG.]]></description><category></category></item><item><title><![CDATA[MySQL 5.7基于GTID复制的常见问题和修复步骤(一)]]></title><link>https://blog.csdn.net/qq435967718/article/details/104282755</link><guid>https://blog.csdn.net/qq435967718/article/details/104282755</guid><author>qq435967718</author><pubDate>Wed, 12 Feb 2020 18:02:30 +0800</pubDate><description><![CDATA[【问题一】

复制slave报错1236，是较为常见的一种报错

Got fatal error 1236 from master when reading data from binary log: 'The slave is connecting using CHANGE MASTER TO MASTER_AUTO_POSITION = 1, but themaster has purged...]]></description><category></category></item><item><title><![CDATA[this authentication plugin is not supported]]></title><link>https://blog.csdn.net/qq435967718/article/details/100070433</link><guid>https://blog.csdn.net/qq435967718/article/details/100070433</guid><author>qq435967718</author><pubDate>Mon, 26 Aug 2019 07:17:24 +0800</pubDate><description><![CDATA[修改mysql配置后重启服务

[mysqld]

# Only allow connections from localhost

bind-address = 127.0.0.1

default-authentication-plugin=mysql_native_password
]]></description><category></category></item><item><title><![CDATA[在定义int类型的变量时，使用十六进制表示有什么好处？]]></title><link>https://blog.csdn.net/qq435967718/article/details/90243638</link><guid>https://blog.csdn.net/qq435967718/article/details/90243638</guid><author>qq435967718</author><pubDate>Wed, 15 May 2019 19:54:49 +0800</pubDate><description><![CDATA[十六进制、八进制、十进制、二进制，只是表示方法而已，在计算机里面用的都是二进制的，而十六进制恰好是2的4倍，表示一个字节的时候仅仅需要2个十六进制数就可以表示出来，因此多数用2个十六进制来表示一个字符，看上去比较清晰

例如：

二进制:

0010 0010

十六进制:

22



参考

十六进制在可能牵扯到位操作的时候，更加直观，因为一个数字代表4位二进制0或1

例如 0x02 相...]]></description><category></category></item><item><title><![CDATA[解析jdbcUrl，获取host、port、databaseName]]></title><link>https://blog.csdn.net/qq435967718/article/details/89522377</link><guid>https://blog.csdn.net/qq435967718/article/details/89522377</guid><author>qq435967718</author><pubDate>Thu, 25 Apr 2019 18:43:52 +0800</pubDate><description><![CDATA[解析jdbcUrl，获取databaseName


public class JdbcUrlUtil {
    public static String findDataBaseNameByUrl(String jdbcUrl) {
        String database = null;
        int pos, pos1;
        String connUri;

 ...]]></description><category></category></item><item><title><![CDATA[初识Disruptor]]></title><link>https://blog.csdn.net/qq435967718/article/details/89026361</link><guid>https://blog.csdn.net/qq435967718/article/details/89026361</guid><author>qq435967718</author><pubDate>Thu, 04 Apr 2019 16:14:03 +0800</pubDate><description><![CDATA[Disruptor是什么？

Disruptor是一个高性能的异步处理框架，或者可以认为是线程间通信的高效低延时的内存消息组件，它最大特点是高性能，其LMAX架构可以获得每秒6百万订单，用1微秒的延迟获得吞吐量为100K+。
它是如何实现高性能的呢？它由于JDK内置的队列有什么区别呢？

JDK内置内存队列？

我们知道，Java内置了几种内存消息队列，如下所示：

队列
			加锁方式
			是...]]></description><category></category></item><item><title><![CDATA[一条sql语句完成MySQL去重留一]]></title><link>https://blog.csdn.net/qq435967718/article/details/88642029</link><guid>https://blog.csdn.net/qq435967718/article/details/88642029</guid><author>qq435967718</author><pubDate>Mon, 18 Mar 2019 16:35:07 +0800</pubDate><description><![CDATA[自己百度

找到了一条sql语句：


DELETE
FROM
 vitae a
WHERE
 (a.peopleId, a.seq) IN (
  SELECT
   peopleId,
   seq
  FROM
   vitae
  GROUP BY
   peopleId,
   seq
  HAVING
   count(*) &amp;gt; 1
 )
AND rowid NOT IN (
 ...]]></description><category></category></item><item><title><![CDATA[VM12 虚拟机使用桥接模式却连不上网的解决方法(图文讲解)]]></title><link>https://blog.csdn.net/qq435967718/article/details/88580652</link><guid>https://blog.csdn.net/qq435967718/article/details/88580652</guid><author>qq435967718</author><pubDate>Fri, 15 Mar 2019 18:17:46 +0800</pubDate><description><![CDATA[只需将VM的虚拟网络编辑器中关于 VMnet0 的设置改一下就行了：

1.进入VMware的 编辑 -&amp;gt; 虚拟网络编辑器.



2.选择更改设置。



3.将VMnet0（或其它类型为桥接模式的网络适配器）桥接的网卡由默认的“自动”改为连上互联网的网卡（如图）。



4.由于我是通过WIFI连网，因此我选择WLAN接口（高通网卡），使用网线的就选择本地连接对应接口（如不清楚是哪个接口...]]></description><category></category></item><item><title><![CDATA[如何保证微服务接口的幂等性]]></title><link>https://blog.csdn.net/qq435967718/article/details/88373083</link><guid>https://blog.csdn.net/qq435967718/article/details/88373083</guid><author>qq435967718</author><pubDate>Sat, 09 Mar 2019 23:14:14 +0800</pubDate><description><![CDATA[在微服务架构下，我们在完成一个订单流程时经常遇到下面的场景：

一个订单创建接口，第一次调用超时了，然后调用方重试了一次
在订单创建时，我们需要去扣减库存，这时接口发生了超时，调用方重试了一次
当这笔订单开始支付，在支付请求发出之后，在服务端发生了扣钱操作，接口响应超时了，调用方重试了一次
一个订单状态更新接口，调用方连续发送了两个消息，一个是已创建，一个是已付款。但是你先接收到已付款，然后又接收...]]></description><category></category></item><item><title><![CDATA[python3.7 中使用django-celery 完成异步任务]]></title><link>https://blog.csdn.net/qq435967718/article/details/88052884</link><guid>https://blog.csdn.net/qq435967718/article/details/88052884</guid><author>qq435967718</author><pubDate>Fri, 01 Mar 2019 11:39:31 +0800</pubDate><description><![CDATA[本文是在学习了慕课网中 “Python 异步任务队列 Celery 使用”课程后记录下来的笔记。由于笔者使用的python版本是python 3.7，所以直接需要在老师的代码基础上进行一定的修改，才能适配当前的环境。



环境：
python: python3.7
django: 2.1.5
celery: 4.2.0
django-celery: 3.2.2
flower: 0.9.2
ko...]]></description><category></category></item><item><title><![CDATA[mybatis+postgresql+insert返回主键]]></title><link>https://blog.csdn.net/qq435967718/article/details/84777251</link><guid>https://blog.csdn.net/qq435967718/article/details/84777251</guid><author>qq435967718</author><pubDate>Mon, 03 Dec 2018 18:38:02 +0800</pubDate><description><![CDATA[mybatis+postgresql+insert返回主键,action，service侧

在网上找了很久主要的内容如下：

&amp;lt;insert id=”insertDynaVisitInfo” parameterType=”net.suntec.navcloud.biz.dynabiz.entity.DynaVisitInfo”&amp;gt;
&amp;lt;selectKey order=”AFTER”...]]></description><category></category></item><item><title><![CDATA[jdbc中关于postgresql schema的配置]]></title><link>https://blog.csdn.net/qq435967718/article/details/84615388</link><guid>https://blog.csdn.net/qq435967718/article/details/84615388</guid><author>qq435967718</author><pubDate>Thu, 29 Nov 2018 09:56:57 +0800</pubDate><description><![CDATA[jdbc中关于postgresql schema的配置

##9.4以前的版
jdbc:postgresql://localhost:5432/mydatabase?searchpath=myschema
##9.3以后的版
jdbc:postgresql://localhost:5432/mydatabase?currentSchema=myschema


...]]></description><category></category></item><item><title><![CDATA[自定义Intellij idea配置和插件存放目录]]></title><link>https://blog.csdn.net/qq435967718/article/details/84311012</link><guid>https://blog.csdn.net/qq435967718/article/details/84311012</guid><author>qq435967718</author><pubDate>Tue, 20 Nov 2018 22:20:28 +0800</pubDate><description><![CDATA[自定义Intellij idea配置和插件存放目录：

1、进入到idea的安装目录；
2、找到“idea.properties”文件；
3、修改：“idea.config.path=${user.home}/.IntelliJIdea/config”后的路径，为你想要使用的存放目录；
4、修改：“idea.plugins.path=${idea.config.path}/plugins”后的路径...]]></description><category></category></item><item><title><![CDATA[IntelliJ IDEA 常用设置讲解 - 4]]></title><link>https://blog.csdn.net/qq435967718/article/details/80805702</link><guid>https://blog.csdn.net/qq435967718/article/details/80805702</guid><author>qq435967718</author><pubDate>Mon, 25 Jun 2018 18:26:30 +0800</pubDate><description><![CDATA[说明IntelliJ IDEA 有很多人性化的设置我们必须单独拿出来讲解，也因为这些人性化的设置让我们这些 IntelliJ IDEA 死忠粉更加死心塌地使用它和分享它。常用设置如上图 Gif 所示，默认 Java 代码的头个花括号是不换行的，但是有人喜欢对称结构的花括号，可以进行此设置。对于此功能我倒是不排斥，我个人也是颇喜欢这种对称结构的，但是由于这种结构会占行，使得文件行数变多，所以虽然我个...]]></description><category></category></item><item><title><![CDATA[dubbo的详细介绍]]></title><link>https://blog.csdn.net/qq435967718/article/details/80352124</link><guid>https://blog.csdn.net/qq435967718/article/details/80352124</guid><author>qq435967718</author><pubDate>Thu, 17 May 2018 15:52:08 +0800</pubDate><description><![CDATA[1.背景　　随着互联网的发展，网站应用的规模不断扩大，常规的垂直应用架构已无法应对，分布式服务架构以及流动计算架构势在必行，亟需一个治理系统确保架构有条不紊的演进。 2.架构　　单一应用架构 　　　　当网站流量很小时，只需一个应用，将所有功能都部署在一起，以减少部署节点和成本。 　　　　此时，用于简化增删改查工作量的 数据访问框架(ORM) 是关键。　　垂直应用架构 　　　　当访问量逐渐增大，单一...]]></description><category></category></item><item><title><![CDATA[golang str转json的转义问题]]></title><link>https://blog.csdn.net/qq435967718/article/details/79908173</link><guid>https://blog.csdn.net/qq435967718/article/details/79908173</guid><author>qq435967718</author><pubDate>Thu, 12 Apr 2018 09:53:15 +0800</pubDate><description><![CDATA[package main

import &quot;fmt&quot;
import &quot;encoding/json&quot;
import &quot;bytes&quot;

type Track struct {
    XmlRequest string `json:&quot;xmlRequest&quot;`
}

func JSONMarshal(t interface{}) ([]byte, error) {
    buffer := &amp;amp;...]]></description><category></category></item><item><title><![CDATA[git代码库迁移]]></title><link>https://blog.csdn.net/qq435967718/article/details/79817581</link><guid>https://blog.csdn.net/qq435967718/article/details/79817581</guid><author>qq435967718</author><pubDate>Wed, 04 Apr 2018 15:05:27 +0800</pubDate><description><![CDATA[注意：

迁移时所有代码、提交记录、分支等均保持了原来的

迁移后已迁移的无需重新下载，直接命令行修改下push的远程仓库地址：

修改命令 ：git remote set-url origin &amp;lt;url&amp;gt;

      例：git remote set-url origin ssh://git@bitbucket.aaa.com:7999/cc/aa.git

           ...]]></description><category></category></item><item><title><![CDATA[RSA加密解密（无数据大小限制，php、go、java互通实现）]]></title><link>https://blog.csdn.net/qq435967718/article/details/79697031</link><guid>https://blog.csdn.net/qq435967718/article/details/79697031</guid><author>qq435967718</author><pubDate>Mon, 26 Mar 2018 13:43:37 +0800</pubDate><description><![CDATA[RSA加解密中必须考虑到的密钥长度、明文长度和密文长度问题。明文长度需要小于密钥长度，而密文长度则等于密钥长度。因此当加密内容长度大于密钥长度时，有效的RSA加解密就需要对内容进行分段。这是因为，RSA算法本身要求加密内容也就是明文长度m必须0&amp;lt;m&amp;lt;密钥长度n。如果小于这个长度就需要进行padding，因为如果没有padding，就无法确定解密后内容的真实长度，字符串之类的内容问题还不...]]></description><category></category></item></channel></rss>