1.win10点击win+R,输入shell:startup, 打开启动文件夹 2.在文件夹中创建xxx.vbs文件,输入以下内容 set ws=wscript.createobject("wscript.shell") ws.run "wsl -d ubuntu -u root /etc/init ...
From : https://zhuanlan.zhihu.com/p/64487092 python @property的介绍与使用 python @property的介绍与使用 python的@property是python的一种装饰器,是用来修饰方法的。 作用: 我们可以使用@property ...
分类:
其他好文 时间:
2021-02-20 12:39:29
阅读次数:
0
命令行指令 Git 全局设置 git config --global user.name "Administrator" git config --global user.email "admin@example.com" 创建新版本库 git clone http://f86ec4dd880f/r ...
分类:
其他好文 时间:
2021-02-20 12:12:27
阅读次数:
0
今天新建一个spring web项目,发现报错了。问题如下。 排除了网络问题,找到了解决办法。打开设置,点击check connection 输入 https://start.spring.io 点击OK 成功创建 ...
分类:
编程语言 时间:
2021-02-19 13:37:10
阅读次数:
0
mysql下载地址:https://dev.mysql.com/downloads/mysql/8.0.html 下载后解压: 新建my.ini文件 [Client] port = 3306 [mysqld] #设置3306端口 port = 3306 # 设置mysql的安装目录,注意斜杠,需要两 ...
分类:
数据库 时间:
2021-02-19 13:34:12
阅读次数:
0
cat car.py 1 #! /usr/bin/python 2 # -*- coding:utf-8 -*- 3 4 5 class Car(object): 6 """ 7 模拟汽车 8 """ 9 def __init__(self, make, model, year): 10 """初始 ...
分类:
其他好文 时间:
2021-02-19 13:20:12
阅读次数:
0
cat electric_car.py 1 #! /usr/bin/python 2 # -*- coding:utf-8 -*- 3 4 from car import Car 5 6 class Battery(object): 7 """ 8 模拟电瓶 9 """ 10 def __init_ ...
分类:
其他好文 时间:
2021-02-19 13:19:52
阅读次数:
0
GitHub和git的相关操作 初始化一个git仓库 将当前文件夹作为git仓库 git init 或者将当前文件夹下的xxx文件夹作为git仓库 git init xxx 初始化后会出现一个名为.git的隐藏文件夹 添加远程仓库GitHub 给远程仓库git@github.com:phd99/te ...
分类:
其他好文 时间:
2021-02-19 12:55:07
阅读次数:
0
关键词 spring Java eclipse bean 多例模式 prototype 懒加载 lazy-init 写在前面 功能简述:对于多例模式的懒加载配置是否生效的测试。 刚接触,摸索中,低级错误,只是做个记录,轻喷。 (有错误)Xml配置文件(片段) <?xml version="1.0" ...
分类:
其他好文 时间:
2021-02-18 13:55:34
阅读次数:
0
官方文档:https://www.tslang.cn/docs/handbook/react-&-webpack.html 前提准备 项目结构 demo/ ├─ dist/ └─ src/ └─ components/ 初始化 npm init 安装依赖 npm install -g webpack ...
分类:
Web程序 时间:
2021-02-18 13:04:23
阅读次数:
0