上一页 1 2 3 4 5 6 7 ··· 9 下一页
摘要: > 博客地址:https://www.cnblogs.com/zylyehuo/ # 安装、初始化 nginx ## tips ```bash 如果想删除编译安装的软件: 1,清空PATH 2,删除文件夹即可 ``` ## 1.编译软件之前,需要解决系统的开发环境 ```bash yum insta 阅读全文
posted @ 2023-09-07 00:42 zylyehuo 阅读(83) 评论(0) 推荐(0) 编辑
摘要: > 博客地址:https://www.cnblogs.com/zylyehuo/ ```bash # 1.数据库备份与恢复 # mysqldump命令用于备份数据库数据 [root@localhost ~]# mysqldump -u root -p --all-databases > /tmp/d 阅读全文
posted @ 2023-09-05 10:17 zylyehuo 阅读(28) 评论(0) 推荐(0) 编辑
摘要: > 博客地址:https://www.cnblogs.com/zylyehuo/ # 查看系统发行版本 ```bash # 红帽版本 cat /etc/redhat-release # 所有 Linux 系统 cat /etc/os-release ``` # 查看 Linux 命令的帮助信息 `` 阅读全文
posted @ 2023-09-04 14:51 zylyehuo 阅读(122) 评论(2) 推荐(0) 编辑
摘要: > 博客地址:https://www.cnblogs.com/zylyehuo/ # 如果虚拟机开机没有 ip 怎么办 ```bash 1.vim编辑网卡配置文件,修改如下参数 [root@s25linux tmp]# cd /etc/sysconfig/network-scripts/ vim修改 阅读全文
posted @ 2023-09-04 13:18 zylyehuo 阅读(223) 评论(2) 推荐(0) 编辑
摘要: 博客地址:https://www.cnblogs.com/zylyehuo/ STEP1:安装 beyond compare 安装地址: https://www.scootersoftware.com/download STEP2:查看 beyond compare 软件安装路径 STEP3:在 g 阅读全文
posted @ 2023-09-01 18:00 zylyehuo 阅读(29) 评论(0) 推荐(0) 编辑
摘要: 博客地址:https://www.cnblogs.com/zylyehuo/ 虚拟机基本配置 git 基本指令 # 在 centos7 环境下查看系统版本 cat /etc/redhat-release # (1)安装 git yum install -y git # windows安装地址:htt 阅读全文
posted @ 2023-08-31 23:24 zylyehuo 阅读(68) 评论(0) 推荐(0) 编辑
摘要: 博客地址:https://www.cnblogs.com/zylyehuo/ 参考链接 解决:Jenkins: signature verification failed in update site ‘default‘ (show details) jenkins 下一切皆文件 虚拟机基本配置 J 阅读全文
posted @ 2023-08-31 15:21 zylyehuo 阅读(729) 评论(2) 推荐(5) 编辑
摘要: > 博客地址:https://www.cnblogs.com/zylyehuo/ # 完整版 ```python import os count = 0 # 遍历文件夹 def walkFile(file): for root, dirs, files in os.walk(file): # roo 阅读全文
posted @ 2023-08-24 08:13 zylyehuo 阅读(13) 评论(0) 推荐(0) 编辑
摘要: > 博客地址:https://www.cnblogs.com/zylyehuo/ * ![](https://img2023.cnblogs.com/blog/3071480/202308/3071480-20230820103641895-1557288247.png) 阅读全文
posted @ 2023-08-20 10:37 zylyehuo 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 博客地址:https://www.cnblogs.com/zylyehuo/ 阅读全文
posted @ 2023-08-20 00:40 zylyehuo 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 博客地址:https://www.cnblogs.com/zylyehuo/ # -*- coding: utf-8 -*- """ 利用欧几里得算法实现一个分数类,支持分数的四则运算(加法) """ class Fraction: def __init__(self, a, b): self.a 阅读全文
posted @ 2023-08-19 23:38 zylyehuo 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 博客地址:https://www.cnblogs.com/zylyehuo/ # -*- coding: utf-8 -*- # 递归 def gcd(a, b): if b == 0: return a else: return gcd(b, a % b) print(gcd(12, 16)) # 阅读全文
posted @ 2023-08-19 20:38 zylyehuo 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 博客地址:https://www.cnblogs.com/zylyehuo/ # -*- coding: utf-8 -*- # 最长公共子序列的长度 def lcs_length(x, y): m = len(x) n = len(y) c = [[0 for _ in range(n + 1)] 阅读全文
posted @ 2023-08-19 20:23 zylyehuo 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 博客地址:https://www.cnblogs.com/zylyehuo/ # -*- coding: utf-8 -*- import time def cal_time(func): def wrapper(*args, **kwargs): t1 = time.time() result = 阅读全文
posted @ 2023-08-19 18:36 zylyehuo 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 博客地址:https://www.cnblogs.com/zylyehuo/ # -*- coding: utf-8 -*- # 子问题的重复计算--递归方法--执行效率低 def fibnacci(n): if n == 1 or n == 2: return 1 else: return fib 阅读全文
posted @ 2023-08-19 12:44 zylyehuo 阅读(11) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 9 下一页