工具-基本配置
Leetcode IDEA配置
- leetode plugin 下载
- 配置信息等
- 工具体验:
- 能快捷导出题目、提交
- 但不支持在工具里引入本地的编译器,导致方法等不易引出
${question.content}
package com.cute.leetcode.editor.cn;
public class $!velocityTool.camelCaseName(${question.titleSlug}) {
public static void main(String[] args) {
Solution solution = new $!velocityTool.camelCaseName(${question.titleSlug})().new Solution();
}
${question.code}
}
参考链接:IDEA安装Leetcode插件
scrcpy投屏教程
scrcpy -r file.mkv
scrcpy投屏教程、scrcpy无线投屏、scrcpy命令大全
git的使用和安装
工具安装
工具使用
命令 | 功能 | |
---|---|---|
git config --global user.name “Your Name” | ||
git config --global user.email “email@example.com” | ||
git config -l | 查看所有配置 | |
git config --system --list | 查看系统配置 | |
git config --global --list | 查看用户自己配置 | |
git log | ||
git log --pretty=oneline | 过滤一些信息 | |
git reset --hard HEAD^ | 回退上一个版本 | |
git reset --hard 1094a | 转到指定版本 | |
cat readme.txt | 查看文件 | |
git init git add README.md git commit -m “first commit” git branch -M master git remote add origin https://github.com/toptao2020/MyApplication.git git push -u origin master | 初始化 | |
git checkout -b dev | 创建分支 | |
git checkout dev | 切分支 | |
git switch -c dev | 创建和切换分支 | |
git switch master | 切换分支 | |
git merge dev | 合并到master | |
git branch -d dev | 删除对应的分支 | |
git tag v1.0 | ||
git show v0.9 | ||
git log --pretty=oneline --abbrev-commit | ||
git tag v0.9 f52c633 | ||
git tag -a -m “blablabla…” | 可以指定标签信息 | |
git tag -d v0.1 | 删除标签 | |
git push origin v1.0 | 推到远程 | |
git push origin --tags | 全部推到远程 | |
git tag -d v0.9 git push origin :refs/tags/v0.9 | 远程删除 | |
git clone git@github.com:myml666/LocationDemo.git |