会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
PythonNew_Mr.Wang
CnBlogs
Home
New Post
Contact
Admin
Subscription
上一页
1
2
3
4
5
6
7
8
9
···
22
下一页
2023年9月21日
【Mysql】基础
基本命令 # ROOT用户进入数据库 mysql -uroot -p # 使用用户登录数据库 mysql -u 用户名 -p # 重启mysql sudo service mysql restart # 创建数据库 create database 数据库名字 character set utf8mb
Read More
posted @ 2023-09-21 11:34 PythonNew_Mr.Wang
Views(37)
Comments(0)
Diggs(0)
2023年9月6日
【VUE】倒计时计算
```JS ```
Read More
posted @ 2023-09-06 17:19 PythonNew_Mr.Wang
Views(55)
Comments(0)
Diggs(0)
2023年9月1日
【NGINX】负载均衡、动静分离、Keepalived高可用
### 负载均衡 ```nginx http { # 集群服务配置: # 指令: # down:手动将一个服务器标记为不可用。标记为不可用的服务器将不接收任何请求。 # backup:备份服务器,当主服务器不可用时,请求将被转发到备份服务器上。 # weight:设置服务器的权重,可以根据服务器的性
Read More
posted @ 2023-09-01 16:47 PythonNew_Mr.Wang
Views(57)
Comments(0)
Diggs(0)
【NGINX】反向代理、跨域配置、SSL证书配置
### 反向代理 ```nginx # 127.0.0.1 和 0.0.0.0 的区别 server { # 127.0.0.1 是一个特殊的IP地址,通常称为 "localhost" 或 "loopback" 地址。它指向本地计算机上的网络接口(即回环接口),用于在本地计算机内部进行通信。当你将请
Read More
posted @ 2023-09-01 16:43 PythonNew_Mr.Wang
Views(485)
Comments(0)
Diggs(0)
2023年8月30日
【NGINX】配置访问、文件传输、压缩文件功、资源缓存、防盗链
### 配置访问:root、alias、error_page ```nginx server { listen 80; server_name localhost; # 访问 location ^~/abc { default_type text/plain; return 200 "Welcome
Read More
posted @ 2023-08-30 12:05 PythonNew_Mr.Wang
Views(188)
Comments(0)
Diggs(0)
2023年8月22日
【Docker】基础命令
安装docker 首先安装yum-utils,以便添加 Docker 的源 yum install -y yum-utils yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo 安
Read More
posted @ 2023-08-22 16:26 PythonNew_Mr.Wang
Views(32)
Comments(0)
Diggs(0)
2023年8月13日
【PYQT5】textEdit添加内容,滚动条自动向下
```python class Main(QWidget, Ui_Form): def __init__(self): super(Main, self).__init__() self.setupUi(self) QTimer.singleShot(0, self.thread_check) #
Read More
posted @ 2023-08-13 14:52 PythonNew_Mr.Wang
Views(605)
Comments(0)
Diggs(0)
【PYQT5】创建线程,防止执行函数卡死界面
```python # 线程函数 class WorkerThread(QThread): resultReady = pyqtSignal(object) def __init__(self, func, *args, **kwargs): super().__init__() self.func
Read More
posted @ 2023-08-13 14:17 PythonNew_Mr.Wang
Views(160)
Comments(0)
Diggs(0)
2023年8月1日
【Python小随笔】Pillow简单示例(图片添字,图片覆盖图片,复杂验证码...)
### 1:简单创建添加文字到图片 ```python from PIL import Image, ImageDraw, ImageFont, ImageFilter # 导入PIL库中的相关模块 import random # 导入random库 # 创建一个图片对象 (200, 100) 为
Read More
posted @ 2023-08-01 16:55 PythonNew_Mr.Wang
Views(325)
Comments(0)
Diggs(0)
2023年7月25日
【计算机网络基础】
IOS 7模型(开放系统互联模型) 1:物理层 (信号转换):通过网卡将其他信号转换成计算机识别信号-数字信号(二进制 0/1); 可以是电信号、光纤(光信号)、电磁波。 2:数据链路层(识别目标):MAC(物理)地址(网卡唯一地址,需要入网许可证,可供查询厂商等信息)- 设备之间通信唯一目标。 3
Read More
posted @ 2023-07-25 17:49 PythonNew_Mr.Wang
Views(74)
Comments(0)
Diggs(0)
上一页
1
2
3
4
5
6
7
8
9
···
22
下一页
公告