配置主机名称 oot@localhost ~]# vim /etc/hostname mail.linuxprobe.com oot@localhost ~]# hostname mail.linuxprobe.com [root@localhost ~]# iptables -F [root@lo ...
分类:
其他好文 时间:
2020-01-10 23:51:47
阅读次数:
106
一、通用命令 命令:keys相关用法 #打印出所有key keys * #打印出所有以n开头的key keys n* #四位长度,以na开头,?代表任意一位 keys na?e #打印出所有以he开头,第三个字母是h到l的范围 keys he[h-l]lo 注意:keys命令一般不在生产环境中使用, ...
分类:
其他好文 时间:
2020-01-10 10:37:04
阅读次数:
100
1.加入测试网络 (1.)删除原有点数据 rm rf ~/.lotus ~/.lotusstorage (2.)设置网关 IPFS_GATEWAY="https://proof parameters.s3.cn south 1.jdcloud oss.com/ipfs/" (3.)启动守护进程 lo ...
分类:
其他好文 时间:
2020-01-08 01:07:48
阅读次数:
869
由于本人喜欢听纯音乐,所以我经常访问 "好听音乐网" 听歌。可是好听音乐网有限制,一天只让下两首,那么有没有办法获取到真实链接,进而无限量下载呢? 还好,技术不够,软件来救。直接下一个idm就行了,当你播放资源的时候,idm就会自动嗅探到资源,然后弹出页面让你下载。 虽然这个方法很方便,可是有点lo ...
分类:
其他好文 时间:
2020-01-07 19:47:39
阅读次数:
66
# 把这个路径用包装一下logdir = os.path.join("cnn_selu_callbacks")print(logdir)if not os.path.exists(logdir): os.mkdir(logdir)output_model_file = os.path.join(lo ...
分类:
其他好文 时间:
2020-01-06 09:18:26
阅读次数:
498
1,下载 https://golang.google.cn/dl/ wget https://dl.google.com/go/go1.13.5.linux-amd64.tar.gz 2.解压安装 https://golang.google.cn/doc/install tar -C /usr/lo ...
分类:
编程语言 时间:
2020-01-04 16:58:44
阅读次数:
98
1.Kali联网 1.1 修改配置文件, vim /etc/network/interfaces auto lo iface lo inet loopback # 配置第一个以太网接口 auto eth0 # dhcp表示动态地设置本机的IP地址 iface eth0 inet dhcp ...
分类:
系统相关 时间:
2020-01-04 14:18:44
阅读次数:
78
[toc] 视图家族 views视图类 APIView GenericAPIView python """ 1.继承了APiView 2.get_queryset方法, 需要在视图类中配置queryset类属性 3.get_object方法, 可以在视图类中配置lookup_url_kwarg和lo ...
分类:
其他好文 时间:
2020-01-01 23:40:08
阅读次数:
93
挺有趣的一个数据结构题,不必用 LCT 维护,只不过 LCT 比较好写 ~ code: #include <cstdio> #include <string> #include <cstring> #include <algorithm> #define N 200008 #define ll lo ...
分类:
其他好文 时间:
2019-12-31 10:39:27
阅读次数:
80
通常情况下,推荐使用 docker-machine ssh default 进行登录,不需要输入密码。default 是默认的 machine 名字。 在 boot2docker 中,默认的用户名和密码是: user: dockerpass: tcuser 登录方法: $ ssh docker@lo ...
分类:
系统相关 时间:
2019-12-29 10:51:34
阅读次数:
294