上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 57 下一页
摘要: Python日期格式化知识 Python中日期格式化是非常常见的操作,Python 中能用很多方式处理日期和时间,转换日期格式是一个常见的功能。Python 提供了一个 time 和 calendar 模块可以用于格式化日期和时间。时间间隔是以秒为单位的浮点小数。每个时间戳都以自从格林威治时间197 阅读全文
posted @ 2019-12-31 17:22 whmmm 阅读(156) 评论(0) 推荐(0)
摘要: python限定方法参数类型、返回值类型、变量类型等 typing模块的作用 自python3.5开始,PEP484为python引入了类型注解(type hints) 类型检查,防止运行时出现参数和返回值类型、变量类型不符合。 作为开发文档附加说明,方便使用者调用时传入和返回参数类型。 该模块加入 阅读全文
posted @ 2019-12-31 10:22 whmmm 阅读(3962) 评论(0) 推荐(0)
摘要: 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 whmmm 阅读(805) 评论(0) 推荐(0)
摘要: 1. 整个类加载阶段分五步:加载、验证、准备、解释、初始化。classloader只负责第一步加载,而调用clinit方法,执行static方法以及给static变量赋值都是在初始化阶段完成的~ 阅读全文
posted @ 2019-12-20 15:04 whmmm 阅读(146) 评论(0) 推荐(0)
摘要: spring boot 推荐使用 yaml 格式语言(yml=yaml)来编写配置文件,从而取代 xml 以及 properties,yaml 语言具有像 json 一样简洁明了的特点,但同时具有能够处理复杂类型数据、文本注释的特点,非常适合作为配置文件使用。 本文介绍一下在实际开发过程中关于 ya 阅读全文
posted @ 2019-12-16 11:40 whmmm 阅读(9603) 评论(0) 推荐(0)
摘要: # 编译 ./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 whmmm 阅读(100) 评论(0) 推荐(0)
摘要: <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 whmmm 阅读(489) 评论(0) 推荐(0)
摘要: 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 whmmm 阅读(3027) 评论(0) 推荐(1)
摘要: 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 whmmm 阅读(268) 评论(0) 推荐(0)
摘要: private static final java.text.DecimalFormat df = new java.text.DecimalFormat("#.##");#.## 写成 #.00 的话,如果是 0.119 则会返回 .12 ,会丢失 个位数的 0 !! 阅读全文
posted @ 2019-11-29 22:53 whmmm 阅读(332) 评论(0) 推荐(0)
上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 57 下一页
//增加一段JS脚本,为目录生成使用