
后端技术
分享后端相关技术
seacozz2007
这个作者很懒,什么都没留下…
展开
-
mac mvn 报错:No compiler is provided in this environment. Perhaps you are running on a JRE
mac mvn 报错:No compiler is provided in this environment. Perhaps you are running on a JRE原创 2023-02-24 18:01:49 · 1726 阅读 · 4 评论 -
ffmpeg安装
Centos: 1.升级系统 sudo yum install epel-release -y 2.安装Nux Dextop Yum 源 由于CentOS没有官方FFmpeg rpm软件包。但是,我们可以使用第三方YUM源(Nux Dextop)完成此工作。 sudo rpm --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro sudo rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_原创 2021-12-17 16:53:01 · 691 阅读 · 0 评论 -
git修改远程仓库地址
修改git远程仓库地址修改git远程仓库地址 修改git远程仓库地址 1、创建新的远程仓库(空仓库,不勾选Initialize repository with a README),并创建一个临时文件。如tmp.txt. https://xxx.com/eric.zhang/b-xxx.git 2、修改远程仓库地址 git remote set-url origin https://xxx.com/eric.zhang/b-xxx.git 3、提交修改 git pull git push ...原创 2020-08-26 13:06:11 · 122 阅读 · 0 评论 -
python-记录程序耗时
# coding=utf-8 # import time starttime = time.time() time.sleep(3) #延时3s endtime = time.time() print("程序运行时间:%.8s s" % (endtime - starttime)) #显示到微秒原创 2020-05-08 10:19:59 · 243 阅读 · 0 评论 -
python-遍历目录文件
python-遍历目录文件 # 列出文件夹下所有的目录与文件 - 非递归 rootdir = './faceID' for f in os.listdir(rootdir): path = os.path.join(rootdir,f) # path为所有目录或文件路径 if os.path.isfile(path): # 你想对文件的操作 print(...原创 2020-05-08 09:49:33 · 250 阅读 · 0 评论