logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

Python 获得13位unix时间戳

在python 开发web程序时,需要调用第三方的相关接口,在调用时,需要对请求进行签名。需要用到unix时间戳。在python里,在网上介绍的很多方法,得到的时间戳是10位。而java里默认是13位(milliseconds,毫秒级的)。下面介绍python获得时间戳的方法:1、10时间戳获取方法:>>> import time>>> t = time.time()

#python
JIRA6.1.5 设置开机自启动 linux

我搭建的是JIRA6.1.5,使用的是JIRA

#debian#jira#linux +1
linux ping localhost不通,127.0.0.1能通

一、解决方法/etc/nsswitch.conf文件中的hosts默认是hosts: files dns能ping通localhost如果修改了hosts文件为hosts: dns files 以后就ping不通localhost了.修改成默认值以后,就可以ping localhost了#hostname -i127.0.0.1二、相关知识        

到底了