自用
自用,记录。
1、关于cmd无法进入指定文件夹
解决:cd后加上 /d
cd /d D:\Code\20181210\exp1

2、java相关环境配置
官方下载网址
关于eclipse的各种杂事儿
- eclipse中文出现乱码解决方式
-
eclipse汉化教程(官方网址,需对应eclipse版本)
3、java程序在不同端运行
import java.util.Scanner; public class Hello{ public static void main(String[] args){ System.out.println("Input your first name, please:"); Scanner s = new Scanner(System.in); String name = s.next(); System.out.println("Hello " + name + " !"); } }
1、linux下的vs code

2、cmd中使用命令行

3、eclipse

4、git推送代码过程
已有仓库
git add . #将当前目录所有文件添加到git暂存区 git commit -m "my first commit" #提交并备注提交信息 git push origin master #将本地提交推送到远程仓库
全局变量
git config --global user.name "20181210张" git config --global user.email "8149572+amyonelse@user.noreply.gitee.com"
创建仓库
mkdir xxx仓库名 cd xxx仓库名 git init touch README.md git add README.md git commit -m "first commit" git remote add origin https://gitee.com/amyonelse/xxx仓库名.git git push -u origin master

5、导入jar包,使用junit单元测试

浙公网安备 33010602011771号