会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
稻草人
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
8
···
20
下一页
2021年9月29日
CentOS 8 上安装和配置 nginx
摘要: 1、检查yum上的nginx版本 yum info nginx 2、安装nginx yum install nginx 安装过程有时会询问是否安装,输入y回车即可 3、将服务设置为每次开机启动 sudo systemctl enable nginx 4、启动nginx服务 sudo systemct
阅读全文
posted @ 2021-09-29 16:33 dcrenl
阅读(1062)
评论(0)
推荐(0)
2021年9月23日
Twain Capabilities属性
摘要: Asynchronous Device Events 异步设备事件 CAP_DEVICEEVENT MSG_SET选择应用程序希望Twain源报告的事件; MSG_RESET返回Twain源的首选设置。 Audible Alarms 报警声音 CAP_ALARMS 打开和关闭特定的报警声音。 CAP
阅读全文
posted @ 2021-09-23 15:08 dcrenl
阅读(527)
评论(0)
推荐(0)
2021年9月22日
Sqlite清空表数据
摘要: delete from TableName; //清空数据 update sqlite_sequence SET seq = 0 where name ='TableName';//自增长ID为0转自:https://chuna2.787528.xyz/huangtailang/p/3246336.ht
阅读全文
posted @ 2021-09-22 09:02 dcrenl
阅读(538)
评论(0)
推荐(0)
2021年5月17日
sql 周岁计算
摘要: select FLOOR(DATEDIFF(DY, substring(身份证字段,7,4), GETDATE()) / 365.25) age from [表名]
阅读全文
posted @ 2021-05-17 22:32 dcrenl
阅读(237)
评论(0)
推荐(0)
2020年12月24日
windows 配置java发布环境
摘要: 一、jdk安装 1、下载jdk安装文件 2、在"系统变量”下”新建“选项"JAVA_HOME"值为:"jdk"文件夹路径 3、在"系统变量"中找到"Path"增加%Java_Home%\bin;%Java_Home%\jre\bin; 4、在"系统变量"栏,"新建","变量名"为"CLASSPATH
阅读全文
posted @ 2020-12-24 17:13 dcrenl
阅读(279)
评论(0)
推荐(0)
2020年12月17日
mysql 获取数据库名、表名、字段名、根据表结构创建新表
摘要: 1、查询当前使用的数据库 select database(); 2、获取当前数据库表 select * from information_schema.TABLES where TABLE_SCHEMA=(select database()) 第二种方法,不能使用union all 等方式。 sho
阅读全文
posted @ 2020-12-17 18:31 dcrenl
阅读(903)
评论(0)
推荐(0)
Visual Studio 卸载
摘要: 1、找个安装镜像文件 2、必须以管理员身份运行cmd 3、在CMD里输入“G:\vs_professional.exe /uninstall /force" 4、企业版就把professional改为enterprise
阅读全文
posted @ 2020-12-17 17:03 dcrenl
阅读(438)
评论(0)
推荐(0)
2020年12月8日
springboot项目发布war包
摘要: 1:修改pom.xml 将“jar”改为“war” <packaging>war</packaging> 将: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</
阅读全文
posted @ 2020-12-08 17:35 dcrenl
阅读(215)
评论(0)
推荐(0)
Spring Boot 跨域
摘要: 一:使用@CrossOrigin注解 @CrossOrigin @RequestMapping(value = "/get") public HashMap<String, Object> get(@RequestParam String name) { HashMap<String, Object
阅读全文
posted @ 2020-12-08 17:22 dcrenl
阅读(161)
评论(0)
推荐(0)
Springboot 全局统一处理异常
摘要: import org.springframework.web.bind.annotation.ControllerAdvice; import org.springframework.web.bind.annotation.ExceptionHandler; import org.springfra
阅读全文
posted @ 2020-12-08 17:06 dcrenl
阅读(178)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
···
20
下一页
公告