工具-基本配置

工具-基本配置

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工具的安装与使用

工具使用
命令功能
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

Git及GitHub教程

OpenSSL SSL_read: Connection was reset, errno

Git教程

配置 ssh key

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值