1、键盘按下 ctrl + shift + p 弹出下面的界面,在对话框搜索 Install Package Control,点击,提示安装成功。 2、再次按下 ctrl + shift + p, 搜索 Package Control: install Package , 搜索出来后单击,然后就会再 ...
分类:
其他好文 时间:
2020-10-22 22:27:16
阅读次数:
20
MNIST 数据集简单识别程序 """ # @Time : 2020/10/20 # @Author : Jimou Chen """ import torch from torch import nn, optim from torch.autograd import Variable from ...
分类:
其他好文 时间:
2020-10-21 20:38:41
阅读次数:
15
Test the setDirection method with the following inputs and complete the table, giving the compass direction each input represents. Degrees Compass Dir ...
分类:
其他好文 时间:
2020-10-21 20:29:36
阅读次数:
20
1、case命令选择执行 [root@linuxprobe test]# ls test.sh [root@linuxprobe test]# cat test.sh ## 查看脚本 #!/bin/bash echo "This is a test!" echo "you can choose 0- ...
分类:
系统相关 时间:
2020-10-19 22:36:33
阅读次数:
27
给MySQL中某表增加一个新字段,并设为主键值为自动增长。 alter table test_tb add ID int(10) primary key AUTO_INCREMENT; 设定完成后,原有记录的该字段会增加并自动设上值。以后的值会在已有记录的最大值基础上递增出来。 ...
分类:
数据库 时间:
2020-10-19 22:33:34
阅读次数:
43
String 转 Map<String,Map<String,Double>> String test; Map<String,Map<String,Double>> map = new HashMap<>(); ObjectMapper mapper = new ObjectMapper(); t ...
分类:
其他好文 时间:
2020-10-19 22:27:53
阅读次数:
19
find命令先查找符合的文件,for循环结合mv和cp命令进行对文件处理#!/bin/bashfind/root/test/-typef-name"*.txt">/tmp/tar.txt#找到符合的文件写入到tar.txt文本里面foriin`cat/tmp/tar.txt`#遍历文本domv$i$i.bakdoned=`date+%y%m%d%H%M%S`#创建一个目录文件防止重复mkdi
分类:
其他好文 时间:
2020-10-18 17:00:07
阅读次数:
23
[root@centos7data]$catback_mysql.sh#!/bin/bash#USER="test"PASSWD="123.com"HOSTIP="192.168.2.7"BACKUP=/data/allback_date+%F[-d"$BACKUP"]||mkdir$BACKUPPS3="请
分类:
数据库 时间:
2020-10-18 16:53:50
阅读次数:
35
能够发现bug的测试用例就是好的用例?这个是错误的!
分类:
其他好文 时间:
2020-10-18 16:36:45
阅读次数:
17
一、全局组件注册有两种方法: 1、在main.js文件中引入组件: import UserData from './components/UserData.vue' vue.component('UserData',UserData) 就可以直接在vue文件中使用 <user-data></user ...
分类:
其他好文 时间:
2020-10-18 09:52:54
阅读次数:
25