<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[CY的博客]]></title><description><![CDATA[一个什么都会点但是什么都不厉害的普通编码员]]></description><link>https://blog.youkuaiyun.com/GoodChangYong</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; GoodChangYong]]></copyright><item><title><![CDATA[大文件上传下载、分片、断点续传教程]]></title><link>https://blog.youkuaiyun.com/GoodChangYong/article/details/125384429</link><guid>https://blog.youkuaiyun.com/GoodChangYong/article/details/125384429</guid><author>GoodChangYong</author><pubDate>Tue, 21 Jun 2022 09:05:01 +0800</pubDate><description><![CDATA[分片： 按照自定义缓冲区大小，将大文件分成多个小文件片段。

断点续传： 根据分片数量，给每个小文件通过循环起对应名称，当文件下载中断在续传时，判断小文件名称若存在则不存了，此时还需要判断文件若不是最后一个分片则大小为缓冲区固定大小，若没达到则证明小文件没传完需要重新传输。

合并： 下载时通过线程池创建任务进行下载或上传、当判断最后一个分片传完时，调用合并方法，根据之前定义的文件名称顺序进行合并，肯能出现最后一个分片传完，之前分片未传完的情况，需要使用while循环进行判断，多文件未传输完，则等待一会继续]]></description><category></category></item><item><title><![CDATA[java 获取括号外无规则位置数据]]></title><link>https://blog.youkuaiyun.com/GoodChangYong/article/details/124471985</link><guid>https://blog.youkuaiyun.com/GoodChangYong/article/details/124471985</guid><author>GoodChangYong</author><pubDate>Thu, 28 Apr 2022 13:35:53 +0800</pubDate><description><![CDATA[public static void main(String[] args) {
        String str = "(11)220219(17)230813(10)0122010313(21)2222030178";
        String regex = "(\\([^\\)]*\\))";
        List&lt;String&gt; list = new ArrayList&lt;&gt;();
        list = getSubUtil(str, regex);
 .]]></description><category></category></item><item><title><![CDATA[vue 代码编辑器 vue-ace-editor 控件封装]]></title><link>https://blog.youkuaiyun.com/GoodChangYong/article/details/124396689</link><guid>https://blog.youkuaiyun.com/GoodChangYong/article/details/124396689</guid><author>GoodChangYong</author><pubDate>Mon, 25 Apr 2022 08:46:38 +0800</pubDate><description><![CDATA[&lt;template&gt;
  &lt;ace ref="editor"
       :value="value"
       :lang="lang"
       :width="width === 0 ? '100%' : width"
       :height="height === 0 ? '100%' : height"
       :theme="theme"
       :options="options"
       @init="initEditor"
      .]]></description><category></category></item><item><title><![CDATA[Docker 常用命令汇总]]></title><link>https://blog.youkuaiyun.com/GoodChangYong/article/details/123610352</link><guid>https://blog.youkuaiyun.com/GoodChangYong/article/details/123610352</guid><author>GoodChangYong</author><pubDate>Sun, 20 Mar 2022 11:56:08 +0800</pubDate><description><![CDATA[docker pull xx       //下载镜像
docker rmi xx       //删除镜像
docker run xx       //运行容器
docker exec -it xx /bin/bash  //进入容器
docker rm xx        //删除容器
docker stop xx     //停止容器
docker restart xx  //重启容器
docker rename 原名 改后名  //更改容器别名


1.jar打成镜像
# 定义父镜像
FROM j.]]></description><category></category></item><item><title><![CDATA[Linux Docker常用环境安装指南]]></title><link>https://blog.youkuaiyun.com/GoodChangYong/article/details/123610205</link><guid>https://blog.youkuaiyun.com/GoodChangYong/article/details/123610205</guid><author>GoodChangYong</author><pubDate>Sun, 20 Mar 2022 11:47:56 +0800</pubDate><description><![CDATA[1安装Docker
yum install -y yum-utils device-mapper-persistent-data lvm2    //安装必要工具
yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo //设置yum源
yum install -y docker-ce  //下载docker
systemctl start docker   //启动dock.]]></description><category></category></item><item><title><![CDATA[Spring使用的注解大全和解释]]></title><link>https://blog.youkuaiyun.com/GoodChangYong/article/details/123135169</link><guid>https://blog.youkuaiyun.com/GoodChangYong/article/details/123135169</guid><author>GoodChangYong</author><pubDate>Fri, 25 Feb 2022 16:02:32 +0800</pubDate><description><![CDATA[注解	解释
@Controller	组合注解（组合了@Component注解），应用在MVC层（控制层）,DispatcherServlet会自动扫描注解了此注解的类，然后将web请求映射到注解了@RequestMapping的方法上。
@Service	组合注解（组合了@Component注解），应用在service层（业务逻辑层）
@Reponsitory	组合注解（组合了@Component注解），应用在dao层（数据访问层）
@Component	表示一个带注释的类是一个“组件”，成为Spring.]]></description><category></category></item><item><title><![CDATA[Spring 自带的工具类方便好用]]></title><link>https://blog.youkuaiyun.com/GoodChangYong/article/details/123087008</link><guid>https://blog.youkuaiyun.com/GoodChangYong/article/details/123087008</guid><author>GoodChangYong</author><pubDate>Wed, 23 Feb 2022 12:10:08 +0800</pubDate><description><![CDATA[1 断言是一个逻辑判断，用于检查不应该发生的情况


// 要求参数 object 必须为非空（Not Null），否则抛出异常，不予放行
// 参数 message 参数用于定制异常信息。
void notNull(Object object, String message)
// 要求参数必须空（Null），否则抛出异常，不予『放行』。
// 和 notNull() 方法断言规则相反
void isNull(Object object, String message)
// 要求参数必须为真（Tr...]]></description><category></category></item><item><title><![CDATA[推荐几个程序员Mac m1max芯片笔记本软件]]></title><link>https://blog.youkuaiyun.com/GoodChangYong/article/details/122742693</link><guid>https://blog.youkuaiyun.com/GoodChangYong/article/details/122742693</guid><author>GoodChangYong</author><pubDate>Sat, 29 Jan 2022 13:57:52 +0800</pubDate><description><![CDATA[推荐几个程序员Mac m1max芯片笔记本软件：

1.svn管理工具SnailSvn。。

2.linux 远程工具和sftp工具Termius。

3.接口调用工具apipost和apifox。

4.思维导图软件xmind。

5.压缩软件maczip。

6.Windows电脑远程工具MICROSOFT REMOTE DESKTOP。

7.数据库连接工具：navicat。

8.前端开发工具vscode。

9.java开发工具idea。

10.安卓开发工具Android Studio

11.]]></description><category></category></item><item><title><![CDATA[Linux 上.net core 和jar 后台运行命令]]></title><link>https://blog.youkuaiyun.com/GoodChangYong/article/details/121989363</link><guid>https://blog.youkuaiyun.com/GoodChangYong/article/details/121989363</guid><author>GoodChangYong</author><pubDate>Fri, 17 Dec 2021 09:44:34 +0800</pubDate><description><![CDATA[jar：nohup java -jar alertsms.jar &gt;log.log &amp;


DLL：nohup dotnet CloudVisionWebapi.dll --urls="http://*:28073" --environment=Development &amp;

apt安装jdk：

sudo apt-get install default-jre

sudo apt-get install default-jdk

apt:安装.netCore

sudo yum up.]]></description><category></category></item><item><title><![CDATA[Win11更改右键菜单为Win10样式]]></title><link>https://blog.youkuaiyun.com/GoodChangYong/article/details/121047229</link><guid>https://blog.youkuaiyun.com/GoodChangYong/article/details/121047229</guid><author>GoodChangYong</author><pubDate>Sat, 30 Oct 2021 10:13:15 +0800</pubDate><description><![CDATA[命令板输入:

reg.exe add “HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32” /f



关闭Windows Explorer资源管理器

输入

taskkill /f /IM explorer.exe

再输入

start explorer.exe
...]]></description><category></category></item><item><title><![CDATA[雨滴图欢迎拿走]]></title><link>https://blog.youkuaiyun.com/GoodChangYong/article/details/120768289</link><guid>https://blog.youkuaiyun.com/GoodChangYong/article/details/120768289</guid><author>GoodChangYong</author><pubDate>Thu, 14 Oct 2021 17:10:41 +0800</pubDate><description><![CDATA[]]></description><category></category></item><item><title><![CDATA[FastReport 打印设计]]></title><link>https://blog.youkuaiyun.com/GoodChangYong/article/details/105711271</link><guid>https://blog.youkuaiyun.com/GoodChangYong/article/details/105711271</guid><author>GoodChangYong</author><pubDate>Thu, 23 Apr 2020 16:39:31 +0800</pubDate><description><![CDATA[/// &lt;summary&gt;
        /// 打印设计
        /// &lt;/summary&gt;
        /// &lt;param name="sender"&gt;&lt;/param&gt;
        /// &lt;param name="e"&gt;&lt;/param&gt;
        private void but...]]></description><category></category></item><item><title><![CDATA[C# JsonTableHelper json和dataTable 转换]]></title><link>https://blog.youkuaiyun.com/GoodChangYong/article/details/105711251</link><guid>https://blog.youkuaiyun.com/GoodChangYong/article/details/105711251</guid><author>GoodChangYong</author><pubDate>Thu, 23 Apr 2020 16:39:00 +0800</pubDate><description><![CDATA[using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.U...]]></description><category></category></item><item><title><![CDATA[C# JSON帮助类]]></title><link>https://blog.youkuaiyun.com/GoodChangYong/article/details/105711191</link><guid>https://blog.youkuaiyun.com/GoodChangYong/article/details/105711191</guid><author>GoodChangYong</author><pubDate>Thu, 23 Apr 2020 16:36:59 +0800</pubDate><description><![CDATA[using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.Serialization.Json;
usin...]]></description><category></category></item><item><title><![CDATA[C# DES加密解密]]></title><link>https://blog.youkuaiyun.com/GoodChangYong/article/details/105711170</link><guid>https://blog.youkuaiyun.com/GoodChangYong/article/details/105711170</guid><author>GoodChangYong</author><pubDate>Thu, 23 Apr 2020 16:36:21 +0800</pubDate><description><![CDATA[#region  DES加密
        private static byte[] key = ASCIIEncoding.ASCII.GetBytes(GetMacAddress());
        private static byte[] iv = ASCIIEncoding.ASCII.GetBytes("99008855");

        //判断当前运行环境
   ...]]></description><category></category></item><item><title><![CDATA[C# base64 加密解密]]></title><link>https://blog.youkuaiyun.com/GoodChangYong/article/details/105711136</link><guid>https://blog.youkuaiyun.com/GoodChangYong/article/details/105711136</guid><author>GoodChangYong</author><pubDate>Thu, 23 Apr 2020 16:35:21 +0800</pubDate><description><![CDATA[/// &lt;summary&gt;
        /// Base64加密
        /// &lt;/summary&gt;
        /// &lt;param name="codeName"&gt;加密采用的编码方式&lt;/param&gt;
        /// &lt;param name="source"&gt;待加密的明文&lt;/param&gt;
    ...]]></description><category></category></item><item><title><![CDATA[C# 文件操作类]]></title><link>https://blog.youkuaiyun.com/GoodChangYong/article/details/105711101</link><guid>https://blog.youkuaiyun.com/GoodChangYong/article/details/105711101</guid><author>GoodChangYong</author><pubDate>Thu, 23 Apr 2020 16:34:23 +0800</pubDate><description><![CDATA[using Microsoft.VisualBasic.Devices;
using System;
using System.IO;
using System.Text;
using System.Web;

namespace Ci64UVCode
{
    public class FileOperate
    {
        #region 写文件
        protec...]]></description><category></category></item><item><title><![CDATA[winfrom 打开目录获取文件]]></title><link>https://blog.youkuaiyun.com/GoodChangYong/article/details/105711061</link><guid>https://blog.youkuaiyun.com/GoodChangYong/article/details/105711061</guid><author>GoodChangYong</author><pubDate>Thu, 23 Apr 2020 16:33:25 +0800</pubDate><description><![CDATA[OpenFileDialog fileDialog = new OpenFileDialog();
            fileDialog.Multiselect = true;
            fileDialog.InitialDirectory = System.AppDomain.CurrentDomain.BaseDirectory + "/目标色";
      ...]]></description><category></category></item><item><title><![CDATA[dev ChartControl折线图，曲线图]]></title><link>https://blog.youkuaiyun.com/GoodChangYong/article/details/105710894</link><guid>https://blog.youkuaiyun.com/GoodChangYong/article/details/105710894</guid><author>GoodChangYong</author><pubDate>Thu, 23 Apr 2020 16:29:02 +0800</pubDate><description><![CDATA[private void CreateChart(DataTable dt)
        {
            this.panel1.Controls.Clear();
            ChartControl spineChart = new ChartControl();
            #region Series
            //创建几个图形的...]]></description><category></category></item><item><title><![CDATA[js 图片压缩]]></title><link>https://blog.youkuaiyun.com/GoodChangYong/article/details/105677614</link><guid>https://blog.youkuaiyun.com/GoodChangYong/article/details/105677614</guid><author>GoodChangYong</author><pubDate>Wed, 22 Apr 2020 11:25:17 +0800</pubDate><description><![CDATA[//压缩方法
    function compress(img) {
        var canvas = document.createElement("canvas");
        var ctx = canvas.getContext('2d');
        var tCanvas = document.createElement("canvas");
       ...]]></description><category></category></item></channel></rss>