- 博客(5)
- 收藏
- 关注
原创 mysql在ubuntu18.04下的安装与简单配置及删除
MySQL的安装:sudo apt install mysql-server删除mysql的数据文件sudo rm -r /var/lib/mysql/删除mysql的配置文件sudo rm -r /etc/mysql/自动卸载mysql(包括server和client)sudo apt autoremove mysql* --purgesudo apt remove apparmor然后在终端中查看MySQL的依赖项:dpkg --list|grep mysql,查看mys..
2022-04-15 14:17:43
776
原创 Linux rsync include参数指定文件编码问题解决
Linux下rsync在使用中会有只传变化文件或只传指定文件或只传指定文件中变化的文件,这时可以使用rsync的“--include-from=文件名列表” (文件名列表以\n分割)。例子(去掉回车):rsync -avz --include-from=diff.txt --exlude="*" /源路径/./ rsync名@IP::目标相对路径 --password-file=rsync目标密码上述命令中diff.txt可以使用-n得到不同的文件名来生成。rsync -avzn /
2022-03-29 17:53:09
1769
3
原创 linux c中优雅的结束程序示例
此程序主要利用linux c中的信号拦截与处理。gcc 此程序.c使用killall 程序名 或 kill 程序名可以输出信号名,注意kill -9 程序获取不了信号,错误处理要手动执行。#include <stdio.h>#include <stdlib.h>#include <stdint.h>#include <signal.h>#include <unistd.h>#include <time.h>
2021-11-24 15:19:34
1427
原创 C#查找动态添加修改控件
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Windows.F...
2018-05-30 14:31:16
1381
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人