-
Notifications
You must be signed in to change notification settings - Fork 0
/
.commands.yml
41 lines (29 loc) · 1.07 KB
/
.commands.yml
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
commands:
- name: "Find the largest 10 files in a directory"
run: "du -ah . | sort -hr | head -n 10"
- name: "Check if a file exists and is directory"
enabled: false
execute: false
run: "[[ -d <file> ]]"
- name: "Git: Rebase master into branch"
run: "git pull origin master --rebase"
- name: "Git: Rebase main into branch"
run: "git pull origin main --rebase"
- name: "Loggi: Create SSH key"
run: "ssh-keygen -t ed25519 -C \"[email protected]\""
- name: "Docker: kill all running containers"
run: "docker kill $(docker ps -q)"
- name: "Docker: delete all stopped containers"
run: "docker rm $(docker ps -a -q)"
- name: "Docker: delete all images"
run: "docker rmi $(docker images -q)"
- name: "Docker: delete unused containers"
run: "docker image prune"
- name: "Docker: delete unused containers and images"
run: "docker image prune -a"
- name: "Weather: now"
run: "weather-now"
- name: "Weather: warnings"
run: "weather-warnings"
- name: "List process on port"
run: "lsof -t -i:3000"