会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
梁哲
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
2023年12月19日
SpringBoot阿里云OSS文件上传功能代码实现
摘要: 1. 阿里云申请OSS库访问AccessKey ID和AccessKey Secret 2. 配置Maven依赖项 <dependency> <groupId>com.aliyun.oss</groupId> <artifactId>aliyun-sdk-oss</artifactId> </dep
阅读全文
posted @ 2023-12-19 12:06 梁哲
阅读(141)
评论(0)
推荐(0)
2023年10月17日
Idea2020+Maven+SpringWeb项目创建
摘要: 01.点击File -> Project Structure 02. 03. 04. 05. 06.
阅读全文
posted @ 2023-10-17 20:32 梁哲
阅读(70)
评论(0)
推荐(0)
2023年2月24日
Xshell与Xfpt连接服务器(windows server)
摘要: 在服务器中下载OpenSSH 下载地址:https://github.com/PowerShell/Win32-OpenSSH/releases 下载后解压: 在解压后的文件夹内 打开cmd 在其中输入命令,安装SSH powershell.exe -ExecutionPolicy Bypass -
阅读全文
posted @ 2023-02-24 12:55 梁哲
阅读(2586)
评论(0)
推荐(0)
阿里云中配置安全组规则,添加端口号(windows server)
摘要:
阅读全文
posted @ 2023-02-24 12:19 梁哲
阅读(106)
评论(0)
推荐(0)
Nginx下载(windows server)
摘要: 下载Nginx:http://nginx.org/en/download.html。解压时,路径不能包含中文字符,不然启动nginx时会报错。
阅读全文
posted @ 2023-02-24 10:59 梁哲
阅读(310)
评论(0)
推荐(0)
2023年2月23日
阿里云购买服务器(windows server)
摘要: 1. 登录阿里云 2. 选择服务器规模: 之后会要求配置服务器登录密码等。 3.查看实例 购买完成之后,进入工作台 进入云服务器ECS 点击实例: 查看实例: 4.远程链接服务器 在本地电脑上 ctrl+r 输入 mstsc,输入服务器公网IP地址,之后输入服务器用户名与密码,最后建立连接。
阅读全文
posted @ 2023-02-23 23:21 梁哲
阅读(194)
评论(0)
推荐(0)
2022年5月10日
Colab安装mmdetection
摘要: # 运行环境配置 import os os.chdir("/content/drive/MyDrive/Colab") !git clone https://github.com/open-mmlab/mmdetection.git !pip install git+https://github.c
阅读全文
posted @ 2022-05-10 12:55 梁哲
阅读(118)
评论(0)
推荐(0)
2021年12月13日
python list 传值不传址
摘要: #使用copy包中的 deepcopy 方法:import copya=[1,2,3,4,5]b=copy.deepcopy(a)print("a_address:{},b_address:{}".format(id(a),id(b)))#结果:
阅读全文
posted @ 2021-12-13 18:35 梁哲
阅读(161)
评论(0)
推荐(0)
2021年12月10日
对os.listdir读取纯数字文件夹进行排序
摘要: #file_names为存放文件夹名的列表def file_name_order(file_names): for i in range(len(file_names)): file_names[i]=int(file_names[i]) file_names.sort() for i in ran
阅读全文
posted @ 2021-12-10 17:03 梁哲
阅读(104)
评论(0)
推荐(0)
使用python读取json文件
摘要: 直接使用 json.load(“ file_path ”) 读取json文件: 会出现JSONDecodeError错误: 若先使用open函数打开文件,在使用json.load 打开,便可以正确读取。
阅读全文
posted @ 2021-12-10 16:23 梁哲
阅读(5402)
评论(2)
推荐(1)
上一页
1
2
公告