1.1 npm介绍 npm(Node Package Manager)node的包管理器,其实它面向的是整个JavaScript的。npm随同NodeJs一起安装。npm -v检查安装版本 允许用户从NPM服务器下载别人编写的第三方包和命令行程序到本地使用。 允许用户将自己编写的包或命令行程序上传到 ...
分类:
其他好文 时间:
2021-02-01 12:59:49
阅读次数:
0
直观理解高斯核函数 import numpy as np import matplotlib.pyplot as plt x = np.arange(-4, 5, 1) x # array([-4, -3, -2, -1, 0, 1, 2, 3, 4]) y = np.array((x >= -2) ...
分类:
其他好文 时间:
2021-02-01 12:54:14
阅读次数:
0
Security and Cryptography in Python - Attack on Caesar Cipher Crypto Rule #1(Kerckhoffs' Principle) Eve should not be able to break the ciphers even w ...
分类:
编程语言 时间:
2021-02-01 12:50:36
阅读次数:
0
安装logstash 手动导入Mysql驱动 新建jdbc.conf vim jdbc.conf input { stdin { } jdbc { # 连接的数据库地址和哪一个数据库,指定编码格式,禁用SSL协议,设定自动重连 jdbc_connection_string => "jdbc:mysq ...
分类:
其他好文 时间:
2021-02-01 12:50:17
阅读次数:
0
导入Latex包 from IPython.display import Latex 书写Latex字符串 s1 = r"$\frac{{\partial {}}}{{\partial {}}}$".format(1, 2) 注意在使用format时,要输出 这两个符号比较麻烦,我们需要使用{{}} ...
分类:
编程语言 时间:
2021-02-01 12:47:49
阅读次数:
0
(集合与字典除外)的容器相关操作 (1)容器的拼接 >>> 'abc' + 'def' 'abcdef' (2)容器的重复 >>> (1, 2) * 3 (1, 2, 1, 2, 1, 2) (3)字符串跨行拼接(只能用于字符串) >>> 'abc' \ ... 'def' 'abcdef' (4) ...
分类:
编程语言 时间:
2021-02-01 12:38:32
阅读次数:
0
1.拉取 docker pull mcr.microsoft.com/mssql/server:2019-latest 2.查看镜像 docker images 3.配置密码启动容器,据说密码要配置的复杂一点 docker run -e ACCEPT_EULA=Y -e SA_PASSWORD=xx ...
分类:
数据库 时间:
2021-02-01 12:28:29
阅读次数:
0
@font-face{ font-family:"Times New Roman"; } @font-face{ font-family:"宋体"; } @font-face{ font-family:"Wingdings"; } @font-face{ font-family:"Calibri"; ...
分类:
系统相关 时间:
2021-02-01 12:27:07
阅读次数:
0
前面的博文 Nginx安装,开箱即用?讲了NG的安装,装完NG,为了拿到各种状态指标,就要对NG做监控。 Github 2.3k的开源项目nginx-module-vts没准真是你需求的。 链接数,qps,1xx、2xx,、3xx、4xx、5xx的响应数,响应耗时,响应时间分布,访问用户国家分布;甚 ...
分类:
其他好文 时间:
2021-02-01 12:25:45
阅读次数:
0
背景: 1.抽取不全 https://lemon.baidu.com/a?id=169074&flowSrcId=12004 黄金微雕瘦脸永久吗?做完三个月就开始反弹了 → 'tags': '微雕_1,瘦脸_1' 黄金微雕没有抽取出来 2.抽取词过于宽泛 https://lemon.baidu.co ...
分类:
编程语言 时间:
2021-02-01 12:22:55
阅读次数:
0