Cmder 配置

使用 Bash

配置

D:\cmder\config\user_profile.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# 别名
#打开当前文件夹
alias e.='explorer .'
alias ls='ls --show-control-chars -F --color $*'
alias clear=cls
alias gl='git pull origin $1'
alias glm='git pull origin master'
alias gp='git push origin $1'
alias gpm='git push origin master'
alias cpd='cap production deploy'
alias cpt='cap staging deploy'


# Git Commit, Add all and Push — in one step.
function gcap() {
git add . && git commit -m "$*" && git push
}

# NEW.
function gnew() {
gcap "📦 NEW: $@"
}

# IMPROVE.
function gimp() {
gcap "👌 IMPROVE: $@"
}

# FIX.
function gfix() {
gcap "🐛 FIX: $@"
}

# RELEASE.
function grlz() {
gcap "🚀 RELEASE: $@"
}

# DOC.
function gdoc() {
gcap "📖 DOC: $@"
}

# TEST.
function gtst() {
gcap "✅ TEST: $@"
}

Termux Config Shell

Termux 配置脚本

via curl

1
2
apt install curl
bash -c "$(curl -fsSL https://raw.githubusercontent.com/ivitan/Shell/master/Termux/Termux.sh)"

via wget

1
2
apt install wget
bash -c "$(wget -O- https://raw.githubusercontent.com/ivitan/Shell/master/Termux/Termux.sh)"

WNMP 环境配置

下载

  1. Nginx
  2. PHP
  3. MySQL

Batch 计划任务

Batch 计划任务


Batch

Batch 批量处理

%~dp0[获取当前路径]

  1. %~dp0 “d”为Drive的缩写,即为驱动器,磁盘、“p”为Path缩写,即为路径,目录
  2. cd %~dp0 :进入批处理所在目录
  3. cd %~dp0bin\ :进入批处理所在目录的bin目录

CMD

CMD 基础
转载自:可可西

基础命令

1
2
# 中断命令
Crtl + z

Grub 双系统选项、美化

添加 Win10 菜单到 Grub


Pycharm Shortcut

PyCharm 快捷键


MySQL 重置密码

MySQL 重置密码


Curl 技巧

Curl 使用技巧


Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×