<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[dagjj的博客]]></title><description><![CDATA[在校大学生一枚]]></description><link>https://blog.youkuaiyun.com/dagjj</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; dagjj]]></copyright><item><title><![CDATA[Ubuntu Linux 动态调整分区空间]]></title><link>https://blog.youkuaiyun.com/dagjj/article/details/131259096</link><guid>https://blog.youkuaiyun.com/dagjj/article/details/131259096</guid><author>dagjj</author><pubDate>Sat, 17 Jun 2023 13:00:31 +0800</pubDate><description><![CDATA[用了一段时间后，发现 Ubuntu 空间太小了不够用了。于是扩容了硬盘大小，同时需要对分区进行调整来进行扩容。系统采用的 LVM(Logical Volume Manager)的方式进行管理的。分区，然后去关联 VG，毕竟 LVM 非常灵活。而是采用将磁盘可用空间创建一个新的。这里以不损坏数据为前提，所以就不对原分区。下面对新增加的 30GB 进行处理。]]></description><category></category></item><item><title><![CDATA[Ubuntu22.04安装mysql集群一主一从]]></title><link>https://blog.youkuaiyun.com/dagjj/article/details/130803581</link><guid>https://blog.youkuaiyun.com/dagjj/article/details/130803581</guid><author>dagjj</author><pubDate>Mon, 22 May 2023 11:22:18 +0800</pubDate><description><![CDATA[以下是在Ubuntu 22.04上安装一主一从的MariaDB集群的步骤：首先，你需要有两个 Ubuntu 22.04 的服务器，分别命名为 Server1 和 Server2，这两个服务器都需要安装 Mariadb 和 Galera Cluster。将替换为 Server1 和 Server2 的 IP 地址。]]></description><category></category></item><item><title><![CDATA[python fastapi 向页面推送视频流，网站播放python获取的rtsp视频]]></title><link>https://blog.youkuaiyun.com/dagjj/article/details/130540800</link><guid>https://blog.youkuaiyun.com/dagjj/article/details/130540800</guid><author>dagjj</author><pubDate>Sun, 07 May 2023 11:51:04 +0800</pubDate><description><![CDATA[【代码】python fastapi 向页面推送视频流，网站播放python获取的rtsp视频。]]></description><category></category></item><item><title><![CDATA[stm32入门记录]]></title><link>https://blog.youkuaiyun.com/dagjj/article/details/130407328</link><guid>https://blog.youkuaiyun.com/dagjj/article/details/130407328</guid><author>dagjj</author><pubDate>Thu, 27 Apr 2023 16:02:00 +0800</pubDate><description><![CDATA[安装STM32CubeProgrammer并配置环境变量后重启arduino可以直接通过arduino下载。启动 Arduino.cc IDE。单击“文件”菜单，然后单击“首选项”。2- 单击“工具”菜单，然后单击“板 > 板管理器”]]></description><category></category></item><item><title><![CDATA[vue2 mqtt]]></title><link>https://blog.youkuaiyun.com/dagjj/article/details/129920780</link><guid>https://blog.youkuaiyun.com/dagjj/article/details/129920780</guid><author>dagjj</author><pubDate>Mon, 03 Apr 2023 04:30:10 +0800</pubDate><description><![CDATA[【代码】vue2 mqtt。]]></description><category></category></item><item><title><![CDATA[ubuntu安装pyenv]]></title><link>https://blog.youkuaiyun.com/dagjj/article/details/128916452</link><guid>https://blog.youkuaiyun.com/dagjj/article/details/128916452</guid><author>dagjj</author><pubDate>Tue, 07 Feb 2023 12:29:59 +0800</pubDate><description><![CDATA[安装pyenv。]]></description><category></category></item><item><title><![CDATA[Thinkphp6入门以及集成jwt]]></title><link>https://blog.youkuaiyun.com/dagjj/article/details/124384595</link><guid>https://blog.youkuaiyun.com/dagjj/article/details/124384595</guid><author>dagjj</author><pubDate>Sun, 24 Apr 2022 20:40:28 +0800</pubDate><description><![CDATA[官方文档：https://www.kancloud.cn/manual/thinkphp6_0/1037479
composer文档：https://www.kancloud.cn/thinkphp/composer
一.TP6下载安装
安装要求：
php&gt;7.1.0
6.0版本开始，必须通过Composer方式安装和更新，所以你无法通过Git下载安装。
安装composer
1.下载 composer.exe
2.安装注意选择系统环境变量以及php
通过composer获取tp6
然后在你选择的目录]]></description><category></category></item><item><title><![CDATA[使用node查询数据库（mysql）时，日期格式不对的问题。]]></title><link>https://blog.youkuaiyun.com/dagjj/article/details/123099963</link><guid>https://blog.youkuaiyun.com/dagjj/article/details/123099963</guid><author>dagjj</author><pubDate>Wed, 23 Feb 2022 21:35:19 +0800</pubDate><description><![CDATA[但 Node 查询出来是这样子的：
2019-05-14T21:40:59.000Z
解决办法
这是 Mysql时区 与 Node时区 不一致导致的。
解决方法：配置Node数据库连接。
加上 timezone 这一行：
client: {

host: '***.***.***.***',

port: '****',

user: '****',

timezone: "08:00"

}


...]]></description><category></category></item><item><title><![CDATA[ubuntu 命令总结]]></title><link>https://blog.youkuaiyun.com/dagjj/article/details/121844012</link><guid>https://blog.youkuaiyun.com/dagjj/article/details/121844012</guid><author>dagjj</author><pubDate>Tue, 04 Jan 2022 16:57:19 +0800</pubDate><description><![CDATA[apt install open-vm-tools


]]></description><category></category></item><item><title><![CDATA[数据结构链表基本的增删改查源码]]></title><link>https://blog.youkuaiyun.com/dagjj/article/details/122094937</link><guid>https://blog.youkuaiyun.com/dagjj/article/details/122094937</guid><author>dagjj</author><pubDate>Wed, 22 Dec 2021 21:02:38 +0800</pubDate><description><![CDATA[#include&lt;stdio.h&gt;
#include&lt;malloc.h&gt;
typedef struct node{
	int data;
	struct node *next;
}Node;

//初始化一个节点 
Node* Init(){
	Node *list;
	list = (Node*)malloc(sizeof(Node));
	list-&gt;next = NULL;
	return list;
}
//求链表长度 
int len(Node *list){
	in]]></description><category></category></item><item><title><![CDATA[添加连接下层路由的打印机方法]]></title><link>https://blog.youkuaiyun.com/dagjj/article/details/121861307</link><guid>https://blog.youkuaiyun.com/dagjj/article/details/121861307</guid><author>dagjj</author><pubDate>Fri, 10 Dec 2021 17:25:26 +0800</pubDate><description><![CDATA[路由器转发9100端口
设置打印机为dmz主机

]]></description><category></category></item><item><title><![CDATA[21电赛D题配置部分]]></title><link>https://blog.youkuaiyun.com/dagjj/article/details/121831064</link><guid>https://blog.youkuaiyun.com/dagjj/article/details/121831064</guid><author>dagjj</author><pubDate>Thu, 09 Dec 2021 17:42:28 +0800</pubDate><description><![CDATA[MJPG-Streamer推流

安装MJPG-Streamer

# 编辑 `/etc/apt/sources.list` 文件，删除原文件所有内容，用以下内容取代：
deb http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ buster main non-free contrib rpi
deb-src http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ buster main non-]]></description><category></category></item><item><title><![CDATA[树莓派 frp 自启动]]></title><link>https://blog.youkuaiyun.com/dagjj/article/details/121580487</link><guid>https://blog.youkuaiyun.com/dagjj/article/details/121580487</guid><author>dagjj</author><pubDate>Sat, 27 Nov 2021 17:31:18 +0800</pubDate><description><![CDATA[sudo vim /lib/systemd/system/frpc.service

#frpc.service
[Unit]
Description=frpc Service
After=network.target

[Service]
User=root
Type=simple
ExecStart=/填写frpc的绝对路径/frpc -c /填写frpc的绝对路径/frpc.ini
Restart=on-Failure
Restartsec=5s

[Install]
WantedBy=multi-.]]></description><category></category></item><item><title><![CDATA[获取JSONObject中一个字段]]></title><link>https://blog.youkuaiyun.com/dagjj/article/details/120731716</link><guid>https://blog.youkuaiyun.com/dagjj/article/details/120731716</guid><author>dagjj</author><pubDate>Tue, 12 Oct 2021 20:37:31 +0800</pubDate><description><![CDATA[原始数据
原数据
{“result”:1,“stores”:[{“storeId”:86,“startDate”:20181024,“endDate”:20181108}],“errormsg”:“处理成功”}

JSONObject jsonbject = JSONObject.fromObject(httpPost4Instream);
net.sf.json.JSONArray jsonArray = jsonbject.getJSONArray("stores");
String string = ]]></description><category></category></item><item><title><![CDATA[python技巧积累]]></title><link>https://blog.youkuaiyun.com/dagjj/article/details/120641434</link><guid>https://blog.youkuaiyun.com/dagjj/article/details/120641434</guid><author>dagjj</author><pubDate>Thu, 07 Oct 2021 20:53:11 +0800</pubDate><description><![CDATA[python将文件分成目录分别储存到相应目录
import os
from shutil import copyfile
# 获取文件名
for file in file_names:
    os.mkdir("./img/"+file[0:-4],1777)
    copyfile("./assets/"+file,"./img/"+file[0:-4]+"/"+file)


]]></description><category></category></item><item><title><![CDATA[springboot websocket 使用注入service的方法]]></title><link>https://blog.youkuaiyun.com/dagjj/article/details/120594811</link><guid>https://blog.youkuaiyun.com/dagjj/article/details/120594811</guid><author>dagjj</author><pubDate>Sun, 03 Oct 2021 15:11:22 +0800</pubDate><description><![CDATA[启动类内容改为
public static void main(String[] args) {
        ConfigurableApplicationContext applicationContext = SpringApplication.run(SpringBootMain.class, args);
        WebSocketDemo.setApplicationContext(applicationContext);

    }


在websocket中添加
	private]]></description><category></category></item><item><title><![CDATA[ubuntu换源]]></title><link>https://blog.youkuaiyun.com/dagjj/article/details/120557629</link><guid>https://blog.youkuaiyun.com/dagjj/article/details/120557629</guid><author>dagjj</author><pubDate>Wed, 29 Sep 2021 22:26:34 +0800</pubDate><description><![CDATA[备份原来的源，将以前的源备份一下，以防以后可以用的
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak

打开/etc/apt/sources.list文件，在前面添加如下条目，并保存
sudo gedit/etc/apt/sources.list

删除原来的，添加阿里或清华
#添加阿里源
deb http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse]]></description><category></category></item><item><title><![CDATA[vue命令行脚手架]]></title><link>https://blog.youkuaiyun.com/dagjj/article/details/120456122</link><guid>https://blog.youkuaiyun.com/dagjj/article/details/120456122</guid><author>dagjj</author><pubDate>Fri, 24 Sep 2021 15:30:21 +0800</pubDate><description><![CDATA[通过 vue-cli 构建 vue 项目
         命令vue init webpack one
         解释
         vue                init        webpack             one
        vue-cli的使用命令   初始化       前端自动化工具(模版)   项目名

? Project name                      项目名         --- 回车
? Project descriptio]]></description><category></category></item><item><title><![CDATA[WVP+ZLMediaKit+MediaServerUI实现摄像头GB28181推流播放录制]]></title><link>https://blog.youkuaiyun.com/dagjj/article/details/120377118</link><guid>https://blog.youkuaiyun.com/dagjj/article/details/120377118</guid><author>dagjj</author><pubDate>Sun, 19 Sep 2021 10:58:49 +0800</pubDate><description><![CDATA[本文主要介绍使用 WVP+ZLMediaKit+MediaServerUI 实现通过 GB28181 进行海康、大华、宇视等品牌的 IPC、NVR 、DVR 接入，完成摄像头监控播放，控制，录制
准备工作

服务运行环境，Linux / OS X / Windows 均可，但推荐 ubuntu 20.4
海康摄像头一个
运行sip服务的wvp项目：https://github.com/swwheihei/wvp-GB28181
运行流媒体服务 ZLMediaKit : https://gitee.com/b]]></description><category></category></item><item><title><![CDATA[数据结构--串的基本操作]]></title><link>https://blog.youkuaiyun.com/dagjj/article/details/120056692</link><guid>https://blog.youkuaiyun.com/dagjj/article/details/120056692</guid><author>dagjj</author><pubDate>Thu, 02 Sep 2021 11:00:38 +0800</pubDate><description><![CDATA[#include&lt;stdio.h&gt;
#include&lt;stdlib.h&gt;
#define Maxsize 255
typedef struct sstring{
	char ch[Maxsize];
	int length;
}SString;
void InitSString(SString &amp;str){
	str.length = 0;
}
bool IsemptySString(SString &amp;str){
	if(str.length == 0){
		re.]]></description><category></category></item></channel></rss>