HTTP Content Type 文件扩展名 Content-Type 文件扩展名 Content-Type .* application/octet-stream .tif image/tiff .001 application/x-001 .301 application/x-301 .323 ...
分类:
Web程序 时间:
2021-02-10 13:19:44
阅读次数:
0
1.查看是否已经安装Django和安装的版本。如果这行命令输出了一个版本号,证明你已经安装了Django且展示当前安装的版本;如果你得到的是一个“No module named django”的错误提示,则表明你还未安 $ python -m django --version 2.创建一个自己的dj ...
分类:
其他好文 时间:
2021-02-09 12:23:51
阅读次数:
0
回到顶部 一、全局配置文件 1、分类:(文件名固定) (1)application.properties(2)application.yml(3)以上两种文件作用类似,但是内部写法有些区别。 2、作用: 修改 SpringBoot 自动配置的默认值。 3、什么是yml YML文件格式是YAML (Y ...
分类:
编程语言 时间:
2021-02-08 11:44:58
阅读次数:
0
PG可以一主多备,目前pg93s是主,pg93和pg93s2是备节点,在主上查询: postgres=# select usename,application_name,client_addr,state,sync_state,sync_priority from pg_stat_replicati ...
分类:
其他好文 时间:
2021-02-06 12:14:28
阅读次数:
0
Spring常用注解 本文枚举一些常用的SpringBoot开发注解,希望能帮助读者在SpringBoot开发中正确地使用注解。 @Spring Application 主程序注解,spring框架的main函数自带注解。一般不需要开发人员操作,Spring Initializer会写好。 @Con ...
分类:
编程语言 时间:
2021-02-06 12:01:01
阅读次数:
0
Simplify Path (M) 题目 Given a string path, which is an absolute path (starting with a slash '/') to a file or directory in a Unix-style file system, co ...
分类:
其他好文 时间:
2021-02-06 11:56:45
阅读次数:
0
教你如何使用 springProfile 与 springProperty 让你的logback.xml 配置显得更有逼格,当别人还在苦苦挣扎弄logback-.xml的时候 你一个文件就搞定了… springProfile 该 标签允许我们更加灵活配置文件,可选地包含或排除配置部分。元素中的任何位 ...
分类:
移动开发 时间:
2021-02-03 11:09:26
阅读次数:
0
SPA( single-page application )仅在 Web 页面初始化时加载相应的 HTML、JavaScript 和 CSS。一旦页面加载完成,SPA 不会因为用户的操作而进行页面的重新加载或跳转;取而代之的是利用路由机制实现 HTML 内容的变换,UI 与用户的交互,避免页面的重新 ...
分类:
其他好文 时间:
2021-02-03 11:00:18
阅读次数:
0
今天写东西测试的时候发现一个问题,如下:application.yml中数据源是这样配置的:第一反应就是记忆中连接mysql的驱动不都是com.mysql.jdbc.Driver吗?com.mysql.cj.jdbc.Driver是什么鬼?后来查看了一下才知道 这个跟驱动的依赖版本有关 <depen ...
分类:
数据库 时间:
2021-02-03 10:44:55
阅读次数:
0
Canopy is hiring Postgres SQL Engineer. Database expert, knowing how to build a scalable database application. https://angel.co/company/canopy-servici ...
分类:
数据库 时间:
2021-02-03 10:35:29
阅读次数:
0