Stella981 Stella981
3年前
Centos7.2 MQTT的学习之Mosquitto搭建&集群搭建&使用
下载安装包http://mosquitto.org/files/source/安装依赖yuminstallygccgccclibstdcdevelyuminstallyopenssldevelyuminstallycaresdevelyuminstallyuuiddev
Stella981 Stella981
3年前
FastDFS上传文件
导入相应的依赖<dependencies<dependency<groupIdorg.csource.fastdfs</groupId<artifactIdfastdfs</artifactId<ve
Wesley13 Wesley13
3年前
Ubuntu20.04安装wxWidgets
1. 安装wxWidgets相关依赖sudoaptinstallpkgconfigsudoaptinstalllibgtk2.0devsudoaptgetinstalllibwxgtk3.0gtk3devsudo
Wesley13 Wesley13
3年前
3.API访问redis数据库、redis集群
API访问redis数据库\依赖<dependency<groupIdredis.clients</groupId<artifactIdjedis</artifactId
Wesley13 Wesley13
3年前
3 汇编的函数调用
3汇编的函数调用3.1无参数和返回值的函数调用voidfunc\_void(){printf("func,noparam,noreturnvalue\\n");}//func\_void();asm("callfunc\_void");//
Stella981 Stella981
3年前
SpringBoot 2.x 使用Redis作为项目数据缓存
一、添加依赖<!添加缓存支持<dependency<groupIdorg.springframework.boot</groupId<artifactIdspringbootstartercache</artifactId
Wesley13 Wesley13
3年前
C++重载双目运算符(2)(对象与数之间)
有两种方法:(1)采用重载双目运算符方式(2)1.类型转换函数(将类的对象转换为其他数据类型)2.转换构造函数(将其他类型转换为类的对象)(仍然要配合重载双目运算符的方式,因为最终实现的是类的两个对象相加)(注意:类型转换函数和转换构造函数不可同时使用,会出现二
Easter79 Easter79
3年前
SpringMVC后台数据校验
第①步:引入依赖<!数据校验<dependency<groupIdorg.hibernate</groupId<artifactIdhibernatevalidator</artifactId<ve
Stella981 Stella981
3年前
Python标准库笔记(9) — functools模块
functools作用于函数的函数functools模块提供用于调整或扩展函数和其他可调用对象的工具,而无需完全重写它们。装饰器partial类是functools模块提供的主要工具,它可以用来“包装”一个可调用的对象的默认参数。它产生的对象本身是可调用的,可以看作是原生函数。它所有的参数都与原来的相同,并且可
把帆帆喂饱 把帆帆喂饱
2年前
Springboot整合Sa-Token
Springboot整合SaToken导入依赖xml1.33.0org.springframework.bootspringbootstarterdatarediscom.fasterxml.jackson.datatypejacksondatatypej