<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[阿乐的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/weixin_44618297</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; weixin_44618297]]></copyright><item><title><![CDATA[Linux禁用网络、开启网络]]></title><link>https://blog.csdn.net/weixin_44618297/article/details/144615399</link><guid>https://blog.csdn.net/weixin_44618297/article/details/144615399</guid><author>weixin_44618297</author><pubDate>Fri, 20 Dec 2024 17:07:23 +0800</pubDate><description><![CDATA[禁止网络通信后，你可能需要重新启用网络通信才能恢复网络连接。是一个强大的防火墙工具，它允许你配置Linux内核中的包过滤规则。请注意，这些命令可能需要管理员权限，所以你可能需要使用。这个命令会添加一条规则，禁止所有入站流量。这个命令会添加一条规则，禁止所有出站流量。在Linux中，你可以使用。命令来禁止和开启网络通信。是你想要禁止的IP地址。是你想要禁止的IP地址。是你想要禁止的IP地址。表示添加一条新的规则到。表示将匹配的流量丢弃。]]></description><category></category></item><item><title><![CDATA[使用 Valgrind 检测内存泄漏]]></title><link>https://blog.csdn.net/weixin_44618297/article/details/138717888</link><guid>https://blog.csdn.net/weixin_44618297/article/details/138717888</guid><author>weixin_44618297</author><pubDate>Sat, 11 May 2024 16:07:30 +0800</pubDate><description><![CDATA[Valgrind 是一个编程工具，用于内存调试、内存泄漏检测以及性能分析。Valgrind 工具集中的 Memcheck 是用于检测内存管理和线程错误的主要工具。]]></description><category></category></item><item><title><![CDATA[C++ 17 ： 一个队列使用 std::any存储多种自定义类型的数据]]></title><link>https://blog.csdn.net/weixin_44618297/article/details/138337687</link><guid>https://blog.csdn.net/weixin_44618297/article/details/138337687</guid><author>weixin_44618297</author><pubDate>Tue, 30 Apr 2024 10:29:53 +0800</pubDate><description><![CDATA[【代码】C++ 17 ： 一个对列使用 std::any存储多种自定义类型的数据。]]></description><category></category></item><item><title><![CDATA[16进制 转字符串，一种是直接转成对应字符串，一种是转成字符串]]></title><link>https://blog.csdn.net/weixin_44618297/article/details/137052593</link><guid>https://blog.csdn.net/weixin_44618297/article/details/137052593</guid><author>weixin_44618297</author><pubDate>Tue, 26 Mar 2024 17:33:37 +0800</pubDate><description><![CDATA[以下两种方式同样效果。]]></description><category></category></item><item><title><![CDATA[ubuntu20.04安装 ffmpeg 开发环境]]></title><link>https://blog.csdn.net/weixin_44618297/article/details/136984943</link><guid>https://blog.csdn.net/weixin_44618297/article/details/136984943</guid><author>weixin_44618297</author><pubDate>Sun, 24 Mar 2024 12:06:46 +0800</pubDate><description><![CDATA[安装ffmpeg]]></description><category></category></item><item><title><![CDATA[C++ 计算某个文件的 MD5]]></title><link>https://blog.csdn.net/weixin_44618297/article/details/135548925</link><guid>https://blog.csdn.net/weixin_44618297/article/details/135548925</guid><author>weixin_44618297</author><pubDate>Fri, 12 Jan 2024 11:40:13 +0800</pubDate><description><![CDATA[网上截取的代码片段，备用工具]]></description><category></category></item><item><title><![CDATA[c++ 使用 at()访问数组 抛出异常]]></title><link>https://blog.csdn.net/weixin_44618297/article/details/135174980</link><guid>https://blog.csdn.net/weixin_44618297/article/details/135174980</guid><author>weixin_44618297</author><pubDate>Sat, 23 Dec 2023 21:40:52 +0800</pubDate><description><![CDATA[区别在于，operator[]不做边界检查， 哪怕越界了也会返回一个引用，当然这个引用是错误的引用，如何不小心调用了这个引用对象的方法，会直接导致应用退出。而由于at会做边界检查，如果越界，会抛出异常，应用可以try catch这个异常，应用还能继续运行。当我们定义一个数组vector b(10)后，b[]和b.at()都可以对v中元素进行访问，平时一般大家使用的都是v[]这种访问方法，以至于将v.at()这种访问方式忘记了。str[] 不会检查下标越界，不会抛出异常，所以即使有错误，try 也检测不到。]]></description><category></category></item><item><title><![CDATA[Linux查看某个端口被占用]]></title><link>https://blog.csdn.net/weixin_44618297/article/details/134578439</link><guid>https://blog.csdn.net/weixin_44618297/article/details/134578439</guid><author>weixin_44618297</author><pubDate>Thu, 23 Nov 2023 15:23:45 +0800</pubDate><description><![CDATA[【代码】Linux查看某个端口被占用。]]></description><category></category></item><item><title><![CDATA[Linux 下 使用 Ekho 进行TTS文本转语音]]></title><link>https://blog.csdn.net/weixin_44618297/article/details/134378556</link><guid>https://blog.csdn.net/weixin_44618297/article/details/134378556</guid><author>weixin_44618297</author><pubDate>Mon, 13 Nov 2023 15:40:29 +0800</pubDate><description><![CDATA[官网Ekho（余音）是一个免费、开源的中文语音合成软件。支持普通话、粤语。支持Linux、Windows和Android平台。]]></description><category></category></item><item><title><![CDATA[linux minicom 调试串口]]></title><link>https://blog.csdn.net/weixin_44618297/article/details/133966178</link><guid>https://blog.csdn.net/weixin_44618297/article/details/133966178</guid><author>weixin_44618297</author><pubDate>Sat, 21 Oct 2023 21:00:27 +0800</pubDate><description><![CDATA[【代码】linux minicom 调试串口。]]></description><category></category></item><item><title><![CDATA[Linux 新硬盘分区，挂载]]></title><link>https://blog.csdn.net/weixin_44618297/article/details/132000516</link><guid>https://blog.csdn.net/weixin_44618297/article/details/132000516</guid><author>weixin_44618297</author><pubDate>Sun, 30 Jul 2023 12:01:54 +0800</pubDate><description><![CDATA[在 fdisk 命令行界面中，输入 m 来列出可用命令，然后使用 n 命令来创建一个新的分区。最后，使用 w 命令将分区保存到硬盘中，并使用 q 命令退出 fdisk 工具。在 /etc/fstab 文件中添加分区：在 /etc/fstab 文件中添加分区内容，以便系统在启动时自动挂载分区。通常情况下，硬盘设备名称以 /dev/sd 开头，后面跟着一个字母（如 /dev/sda、/dev/sdb 等）。在Linux系统中，当你插入新的硬盘时，你需要进行一些步骤来使系统识别并使用它。将新分区挂载到挂载点。]]></description><category></category></item><item><title><![CDATA[linux下 UART串口相关]]></title><link>https://blog.csdn.net/weixin_44618297/article/details/131881635</link><guid>https://blog.csdn.net/weixin_44618297/article/details/131881635</guid><author>weixin_44618297</author><pubDate>Sun, 23 Jul 2023 18:44:16 +0800</pubDate><description><![CDATA[操作串口我们一般通过以下指令：stty -F /dev/ttyS0 -a #ttyS0为要查看的串口该命令将串口1（/dev/ttyS0）设置成115200波特率，8位数据模式。一般情况下设置这两个参数就可以了，如果显示数据乱码，可能还需要设置其它参数，使用man查看stty其它设置选项。1 、显示某个串口参数信息：stty -F /dev/ttySTM6 -a 2 、设置某个串口参数信息： 2.1 7 位数据位，无校验，1位停止位，无回显。]]></description><category></category></item><item><title><![CDATA[Linux 下 nc 发送接收 udp、tcp数据]]></title><link>https://blog.csdn.net/weixin_44618297/article/details/131872856</link><guid>https://blog.csdn.net/weixin_44618297/article/details/131872856</guid><author>weixin_44618297</author><pubDate>Sat, 22 Jul 2023 21:39:53 +0800</pubDate><description><![CDATA[nc，全名叫 netcat，它可以用来完成很多的网络功能，譬如端口扫描、建立TCP/UDP连接，数据传输、网络调试等等，因此，它也常被称为网络工具的 瑞士军刀。]]></description><category></category></item><item><title><![CDATA[Windows使用命令行检查网卡速度]]></title><link>https://blog.csdn.net/weixin_44618297/article/details/131403219</link><guid>https://blog.csdn.net/weixin_44618297/article/details/131403219</guid><author>weixin_44618297</author><pubDate>Mon, 26 Jun 2023 18:23:25 +0800</pubDate><description><![CDATA[win 命令行查看网卡速度]]></description><category></category></item><item><title><![CDATA[linux shell 脚本记录日志]]></title><link>https://blog.csdn.net/weixin_44618297/article/details/131327909</link><guid>https://blog.csdn.net/weixin_44618297/article/details/131327909</guid><author>weixin_44618297</author><pubDate>Wed, 21 Jun 2023 14:57:45 +0800</pubDate><description><![CDATA[shell 脚本记日志]]></description><category></category></item><item><title><![CDATA[adb WiFi 连接设备并进行 OTA升级]]></title><link>https://blog.csdn.net/weixin_44618297/article/details/131251193</link><guid>https://blog.csdn.net/weixin_44618297/article/details/131251193</guid><author>weixin_44618297</author><pubDate>Fri, 16 Jun 2023 17:44:31 +0800</pubDate><description><![CDATA[adb升级]]></description><category></category></item><item><title><![CDATA[shell脚本 - 删除某个字符串的前几行、后几行]]></title><link>https://blog.csdn.net/weixin_44618297/article/details/131146342</link><guid>https://blog.csdn.net/weixin_44618297/article/details/131146342</guid><author>weixin_44618297</author><pubDate>Sat, 10 Jun 2023 20:54:43 +0800</pubDate><description><![CDATA[1、删除匹配字符串的前两行，后一行，可以同时删除多个，循环删除。2、删除某个字符串的前几行、后几行，比较灵活。]]></description><category></category></item><item><title><![CDATA[sed 删除多行]]></title><link>https://blog.csdn.net/weixin_44618297/article/details/131127751</link><guid>https://blog.csdn.net/weixin_44618297/article/details/131127751</guid><author>weixin_44618297</author><pubDate>Fri, 09 Jun 2023 15:04:54 +0800</pubDate><description><![CDATA[3、使用sed命令打开文本文件，并使用正则表达式匹配需要删除的多行。其中，pattern 是要匹配的正则表达式，N 是要删除的行数。这条命令会删除从包含 pattern 的行开始的 N 行。其中的5和10表示要删除的行号的范围，d表示删除的命令，filename表示要操作的文件名。这将删除从包含 “hello” 的行开始的两行。]]></description><category></category></item><item><title><![CDATA[Linux ALSA音频工具]]></title><link>https://blog.csdn.net/weixin_44618297/article/details/130812067</link><guid>https://blog.csdn.net/weixin_44618297/article/details/130812067</guid><author>weixin_44618297</author><pubDate>Mon, 22 May 2023 17:49:57 +0800</pubDate><description><![CDATA[alsamixer是Linux音频框架ALSA工具之一，用于配置音频各个参数;alsamixer是基于文本图形界面的，可以在终端中显示.通过键盘的上下键，左右键等实现音量设置，开关操作等。amixer，是alsamixer的文本模式,即命令行模式，以命令行的形式去配置声卡的各个选项，比如选择音频输入通道是Mic输入，还是Line输入。]]></description><category></category></item><item><title><![CDATA[fuser 列出使用某文件的进程号，查看文件是否被占用]]></title><link>https://blog.csdn.net/weixin_44618297/article/details/130784630</link><guid>https://blog.csdn.net/weixin_44618297/article/details/130784630</guid><author>weixin_44618297</author><pubDate>Sat, 20 May 2023 18:58:24 +0800</pubDate><description><![CDATA[1、列出使用某文件的进程号。2、列出指定端口的进程号。]]></description><category></category></item></channel></rss>