码迷,mamicode.com
首页 >  
搜索关键字:date calcendar dateformat system math    ( 86903个结果
Pyton 练习题2
1 #显示跑马灯文字 2 import os 3 import time 4 def main(): 5 content = str(input('输入显示内容:')) 6 while True: 7 os.system('cls') 8 print(content) 9 time.sleep(0. ...
分类:其他好文   时间:2021-06-18 19:20:19    阅读次数:0
Http请求
using System; using System.Net.Http; using System.Net.Http.Json; using System.Threading.Tasks; namespace ConsoleApp1 { class Program { static async Ta ...
分类:Web程序   时间:2021-06-18 19:08:41    阅读次数:0
c++ 11 async. (async/deferred)
The current C++11 std::launch only has two modes: async or deferred. In a production system, neither is what you want: async will launch a new thread ...
分类:编程语言   时间:2021-06-18 18:48:54    阅读次数:0
TP框架使用命令行
TP框架使用命令行 <?php namespace app\command; use think\Db; use app\shopee\Item; use think\console\Input; use think\console\Output; use think\console\Command ...
分类:其他好文   时间:2021-06-17 17:23:24    阅读次数:0
centos8.2 时间同步
==时区修改== 查看当前时区:date 查看时区列表:timedatectl list-timezones 修改时区:timedatectl set-timezone Asia/Shanghai ==配置文件== centos8已经没有ntp时间同步服务了,使用的是chrony。 配置文件:vim ...
分类:其他好文   时间:2021-06-17 17:09:13    阅读次数:0
C# 检查硬盘分区是ssd还是hdd
C# detect driver ssd/hdd 来自github的代码,略做了一丢丢修改。 using Microsoft.Win32.SafeHandles; using System; using System.Collections.Generic; using System.Compone ...
分类:Windows程序   时间:2021-06-17 17:07:02    阅读次数:0
ntp时间同步
1:开机同步 开机时自动同步可编辑 /etc/ntp/step-tickers 文件 1 vim /etc/ntp/step-tickers 2 3 # List of NTP servers used by the ntpdate service. 4 5 ntp.aliyun.com 6 tim ...
分类:其他好文   时间:2021-06-17 16:54:51    阅读次数:0
oracle获取一段时间内所有的小时、天、月
获取一段时间内所有的小时 SELECT to_date('2013-07-01 12', 'yyyy-mm-dd hh24') + (ROWNUM - 1) / 24 sdate FROM dualCONNECT BY ROWNUM <= (to_date('2013-07-02 22', 'yyy ...
分类:数据库   时间:2021-06-17 16:52:45    阅读次数:0
JavaBuilder模式实现
一、借助lombok之@Builder注解 User类源码: package com.yang.webflux.controller; import lombok.Builder; /** * @author: Yang * @date: 2017/3/26 23:55 * @description ...
分类:编程语言   时间:2021-06-17 16:46:29    阅读次数:0
使用Math产生两数之间的随机数
两数之间随机数,可以用两数之间的最小数(min),最大数(max) 一·、(最大数max-最小数min)+最小数(min) Math.ceil(Math.random()*(max-min)+min) 二、(最小数min-最大数max)+最大数(max) Math.ceil(Math.random( ...
分类:其他好文   时间:2021-06-17 16:44:03    阅读次数:0
86903条   上一页 1 ... 14 15 16 17 18 ... 8691 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!