12 2019 档案

python 时间相关
摘要:Python日期格式化知识 Python中日期格式化是非常常见的操作,Python 中能用很多方式处理日期和时间,转换日期格式是一个常见的功能。Python 提供了一个 time 和 calendar 模块可以用于格式化日期和时间。时间间隔是以秒为单位的浮点小数。每个时间戳都以自从格林威治时间197 阅读全文

posted @ 2019-12-31 17:22 正义的伙伴! 阅读(146) 评论(0) 推荐(0) 编辑

python 限定类型
摘要:python限定方法参数类型、返回值类型、变量类型等 typing模块的作用 自python3.5开始,PEP484为python引入了类型注解(type hints) 类型检查,防止运行时出现参数和返回值类型、变量类型不符合。 作为开发文档附加说明,方便使用者调用时传入和返回参数类型。 该模块加入 阅读全文

posted @ 2019-12-31 10:22 正义的伙伴! 阅读(3954) 评论(0) 推荐(0) 编辑

windows 创建文件夹 链接
摘要:mklink /j "G:\github\lvYouBaoBiao\ruoyi-admin\target\classes\static" "G:\github\lvYouBaoBiao\ruoyi-admin\src\main\resources\static" 创建链接后,spring boot 阅读全文

posted @ 2019-12-26 13:21 正义的伙伴! 阅读(798) 评论(0) 推荐(0) 编辑

java 笔记
摘要:1. 整个类加载阶段分五步:加载、验证、准备、解释、初始化。classloader只负责第一步加载,而调用clinit方法,执行static方法以及给static变量赋值都是在初始化阶段完成的~ 阅读全文

posted @ 2019-12-20 15:04 正义的伙伴! 阅读(139) 评论(0) 推荐(0) 编辑

yml 字符串换行问题
摘要:spring boot 推荐使用 yaml 格式语言(yml=yaml)来编写配置文件,从而取代 xml 以及 properties,yaml 语言具有像 json 一样简洁明了的特点,但同时具有能够处理复杂类型数据、文本注释的特点,非常适合作为配置文件使用。 本文介绍一下在实际开发过程中关于 ya 阅读全文

posted @ 2019-12-16 11:40 正义的伙伴! 阅读(9537) 评论(0) 推荐(0) 编辑

nginx 编译安装,问题
摘要:# 编译 ./configure \--prefix=/usr/local/nginx \--with-http_ssl_module \--with-http_stub_status_module \--with-http_flv_module \--with-http_gzip_static_m 阅读全文

posted @ 2019-12-10 15:18 正义的伙伴! 阅读(95) 评论(0) 推荐(0) 编辑

git readme.md 文档头部写法
摘要:<p align="center"> <img src="http://q22ig8g6g.bkt.clouddn.com/java-min-logo.jpg" border="0" /> </p> <p align="center"> <strong>一种简单的,支持不同方案的高性能分布式锁</strong> </p> <p align="center"> <a href="http 阅读全文

posted @ 2019-12-05 17:20 正义的伙伴! 阅读(486) 评论(0) 推荐(0) 编辑

git tag 相关操作
摘要:1、推送标签:git push origin 标签名 2、删除本地标签:git tag -d 标签名 3、删除远程标签:git push origin :refs/tags/标签名 例:git push origin :refs/tags/V3.0.1-Release 4、其他本地操作 打标签 :g 阅读全文

posted @ 2019-12-04 14:55 正义的伙伴! 阅读(2945) 评论(0) 推荐(1) 编辑

nginx 静态分离,优化
摘要:location = / { root D:/project/application/meal/WebRoot; index index.html index.htm; #expires 7d; } location ~ .*\.(js|css|jpg|jpeg|png|html)?$ { root 阅读全文

posted @ 2019-12-02 07:57 正义的伙伴! 阅读(265) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
//增加一段JS脚本,为目录生成使用
点击右上角即可分享
微信分享提示