function timeConvert(timestamp,num){//num:0 YYYY-MM-DD num:1 YYYY-MM-DD hh:mm:ss // timestamp:时间戳 timestamp = timestamp+''; timestamp = timestamp.leng ...
分类:
Web程序 时间:
2020-01-13 13:14:22
阅读次数:
126
/// /// 转换成时间 00:00:00/// /// /// public string time(long duration){ TimeSpan t = new TimeSpan(0, 0, Convert.ToInt32(duration)); //string str = "00:00... ...
分类:
其他好文 时间:
2020-01-11 18:26:41
阅读次数:
272
dockers三驾马车 Docker Machine Docker Swarm Docker Compose 一 Docker Compose介绍 Docker Compose是一个定义和运行多容器应用的单机编排工具。通过Docker Compose你可以使用一个单一的YAML文件来配置多个应用服务 ...
分类:
其他好文 时间:
2020-01-07 00:57:33
阅读次数:
83
<style> .time-range-contianer { display: inline-block; } </style>// html <div class="time-range-contianer"> <nz-timepicker [(ngModel)]="start" [nzForm ...
分类:
其他好文 时间:
2020-01-02 14:17:31
阅读次数:
143
//时间戳转换成日期时间(年月日) function js_date_time(unixtime) { var dateTime = new Date(parseInt(unixtime) * 1000) var year = dateTime.getFullYear(); var month = ...
分类:
其他好文 时间:
2019-12-30 11:41:19
阅读次数:
85
| | Name | | : : | : : | | "A" | "Minutes Before the New Year" standard input/output1 s, 256 MB | | "B" | "Candies Division" standard input/output2 s, ...
分类:
其他好文 时间:
2019-12-30 09:19:20
阅读次数:
61
window 用doxygen生成文档介绍: https://cedar-renjun.github.io/2014/03/21/learn-doxygen-in-10-minutes/ linux 用doxygen生成文档介绍: https://www.ibm.com/developerworks ...
分类:
其他好文 时间:
2019-12-29 16:39:36
阅读次数:
71
原题面:https://codeforces.com/contest/1283 A.Minutes Before the New Year 题目大意:给定时间,问距离零点零分还有多久? 分析:注意一下特判0,0就好了。 代码: t = input() t = int(t) for i in rang ...
分类:
其他好文 时间:
2019-12-29 10:54:10
阅读次数:
90
shutdown -h now 关闭系统(1) init 0 关闭系统(2) telinit 0 关闭系统(3) shutdown -h hours:minutes & 按预定时间关闭系统 shutdown -r now 重启(1) reboot 重启(2) logout 注销 cd /home 进 ...
分类:
系统相关 时间:
2019-12-27 11:23:52
阅读次数:
62
Docker 镜像添加模块 1. 使用root用户进入一个新容器,不要用 --rm .否则退出容器的时候,容器没有了 docker run --user 0 -it --name superman testdockerfilebox/test_cpu:latest bash 2. 在容器中添加你要的 ...
分类:
其他好文 时间:
2019-12-24 18:44:59
阅读次数:
263