1.ubuntu 18.04系统默认是普通用户登录,首先设置root密码 sudo passwd 2.安装openssh-server apt install openssh-server -y 如果出现报错,请参考下图解决即可 3.修改配置文件/etc/ssh/sshd_config 插入一行配置 ...
分类:
系统相关 时间:
2020-06-15 13:42:25
阅读次数:
134
目录: 1、Hibernate 整合 log4j hibernate使用了 slf4j,现在我们想使用 log4j,需要中间 jar 包 slf4j-log4j12-1.7.2.jar 导入 jar 包:slf4j-log4j12-1.7.2.jar 和 log4j-1.2.16.jar 在 src ...
分类:
Web程序 时间:
2020-06-14 12:36:05
阅读次数:
66
import matplotlib.pyplot as pltimport numpy as npfrom mpl_toolkits.mplot3d import Axes3Dx = np.arange(8)y = np.random.randint(0,10,8)y2 = y + np.rando ...
分类:
其他好文 时间:
2020-06-14 12:29:23
阅读次数:
88
import matplotlib.pyplot as pltimport numpy as npN=8theta = np.arange(0.,2*np.pi,2*np.pi/N)radii = np.array([4,7,5,3,1,5,6,7])plt.axes([0.025,0.025,0. ...
分类:
其他好文 时间:
2020-06-14 10:51:23
阅读次数:
111
import matplotlib.pyplot as pltimport numpy as npindex = np.arange(5)values1 = [5,7,3,4,6]values2 = [6,6,4,5,7]values3 = [5,6,5,4,6]bw = 0.3plt.axis([ ...
分类:
其他好文 时间:
2020-06-13 23:42:50
阅读次数:
115
可参考博客: https://blog.csdn.net/rujin_shi/article/details/78997271?utm_medium=distribute.pc_relevant_right.none-task-blog-BlogCommendFromMachineLearnPai2 ...
分类:
其他好文 时间:
2020-06-09 23:32:52
阅读次数:
87
线性回归知识(参考链接) 正规方程推导过程 代码实现 matlab x(1:10,1) = [-0.5,-0.45,-0.35,-0.35,-0.1,0,0.2,0.25,0.3,0.5]; x(1:10,2) = 1; y = [-0.2,0.1,-1.25,-1.2,0,0.5,-0.1,0.2 ...
分类:
其他好文 时间:
2020-06-06 23:18:23
阅读次数:
70
Mybatis 日志工厂 STDOUT_LOGGING LOG4J ...
分类:
其他好文 时间:
2020-06-06 18:26:46
阅读次数:
60
阴影需要什么? 1.只有支持阴影的灯光才可以 pointLight,spotlight,directionallight 点光源,聚光灯,平行光 2.添加摄像机辅助器 THREE.CameraHelper var helper = new THREE.CameraHelper(directional ...
分类:
Web程序 时间:
2020-06-04 10:39:34
阅读次数:
123