Hexo+Github-Pages搭建个人博客
Windows安装Node.js安装Node.js Node.js下载地址: https://nodejs.org/en 测试是否安装成功: npm -v 配置模块和cache路径 全局模块路径: npm config set prefix "D:\software\nodejs\nod ...
Read more
Markdown基础语法
Markdown基础语法 元素 语法 标题 # h1 ## h2 ### h3 有序列表 1. item1 2. item2 无序列表 - item1 或 * item2 引用 > content 代码 `code` 代码块 ```code ...
Read more
Linux安装Nginx及使用
编译安装 Nginx下载地址: http://nginx.org/en/download.html 编译安装:123./configure --with-http_stub_status_module --with-http_ssl_modulemakemake install Nginx启动 启 ...
Read more
Thymeleaf模板引擎
th属性 th:text 文本替换 th:value 值替换 th:object 父标签选择对象,子标签使用*{}取值 123<div th:object="${session.user}"> <p th:text="*& ...
Read more
SpringBoot各层写法
Controller控制层用于处理前端请求并返回结果 123456789101112131415161718192021@RestController@RequestMapping("/task")public class TaskController { @Re ...
Read more
SpringBoot注解使用
基本注解(注解在类上) @Controller: 控制层 @Mapper: 数据库接口 @Service: 业务层 实体类自动生成set/get方法的注解 @Data (需要添加lombok的依赖) 自动注入的注解12@AutowiredTestMapper testMapper ...
Read more
创建SpringBoot项目
Eclipse创建SpringBoot项目 Eclipse安装sts(Spring Tools)插件: 安装方法: Help->Eclipse Marketplace->安装sts重启后生效 新建SpringBoot项目: File->New->Project->Spr ...
Read more
Python之OpenCV2图像处理操作
图像读取与查看 读取图像: img=cv2.imread(ori) 查看图像:cv2.imshow("img",img)cv2.waitKey(0) #操作后关闭图像 图像预处理 图像灰度化: gray=cv2.cvtColor(img,cv2.COLOR_BGR2GRAY) ...
Read more
Python+Selenium配置及元素定位
Python+Selenium的Windows配置安装python python下载地址: https://www.python.org python环境变量:通过电脑->属性->高级系统设置->环境变量添加至Path环境变量 (不同路径之间是分号)D:\software\pyth ...
Read more
Linux安装PBS作业调度系统&PBS使用
CentOS 7.9安装torque-5.1.1 torque-5.1.1的github下载地址: https://github.com/adaptivecomputing/torque 安装依赖: yum install libxml2-devel openssl-devel gcc gcc- ...
Read more