whois:网站的所有者
简介whois:网站的所有者
1、首先通过pip安装python-whois
[root@localhost ~]# pip install python-whois
2、查询返回结果
[root@localhost ~]# python
Python 3.6.5 |Anaconda, Inc.| (default, Apr 29 2018, 16:14:56)
[GCC 7.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import whois
>>> print(whois.whois("hi917.com"))
{
"domain_name": [
"HI917.COM",
"hi917.com"
],
"registrar": "HiChina Zhicheng Technology Ltd.",
"whois_server": "grs-whois.hichina.com",
"referral_url": null,
"updated_date": "2018-05-11 01:33:05",
"creation_date": "2018-05-09 05:00:43",
"expiration_date": "2019-05-09 05:00:43",
"name_servers": [
"DNS17.HICHINA.COM",
"DNS18.HICHINA.COM"
],
"status": "ok https://icann.org/epp#ok",
"emails": "DomainAbuse@service.aliyun.com",
"dnssec": "unsigned",
"name": null,
"org": null,
"address": null,
"city": "Cheng Du Shi",
"state": "Si Chuan",
"zipcode": null,
"country": null
}
>>>
Docker编译镜像出现:fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz
ERROR: http://dl-cdn.alpinelinux.org/alpine/v3.12/main: temporary error (try again later)
WARNING: Ignoring APKINDEX.2c4ac24e.tar.gz: No such file or directory问题
网页扫描二维码库:Html5-Qrcode,官网地址:https://scanapp.org/html5-qrcode-docs/
OpenCV-Python图像轮廓
有时候当服务器出现流量出入过高的时候,需要去如何排查是哪些进程在使用,本文主要记录如何通过相关命令来进行排查。
有时候为了打包需要敲很多命令,实在比较麻烦,所以这里记录了如何通过shell脚本将这些命令全部集中起来,后面可以直接执行该脚本就把需要的所有命令跑完。
快速生成表格
Electron页面跳转、浏览器打开链接和打开新窗口
在使用Git的过程中,不想每次都输入用户名和密码去拉取代码,所以就需要保存这些信息,那么既然有保存了,就必须有清除功能。
在Mac电脑中,如何对Git的用户名和密码进行修改呢?起初不懂Mac,所以整了很久,本文将记录如何对这个进行操作,以便后期使用。