-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTaskfile.yml
More file actions
74 lines (61 loc) · 1.35 KB
/
Taskfile.yml
File metadata and controls
74 lines (61 loc) · 1.35 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
version: '3'
tasks:
default:
cmds:
- task --list-all
os-update:
desc: Executes apt update & apt upgrade
cmds:
- sudo apt update
- sudo apt upgrade
fonts-update:
desc: Loads newly installed fonts
cmds:
- fc-cache -f -v
sr-status:
cmds:
- sudo snapraid status
sr-sync:
cmds:
- sudo snapraid sync --pre-hash
sr-scrub:
cmds:
- sudo snapraid scrub
sr-sync-scrub:
cmds:
- task: sr-sync
- task: sr-scrub
sr-fix:
cmds:
- sudo snapraid -e fix
- sudo snapraid -p bad scrub
images-remove-exif:
desc: Removes all EXIF data from image files in the working directory
dir: '{{.USER_WORKING_DIR}}'
prompt: Are you sure you want to delete all EXIF data?
cmds:
- exiftool -all= *
emacs-run-script:
cmds:
- emacs --script {{.CLI_ARGS}}
py-venv-*:
vars:
VENV: '{{index .MATCH 0}}'
dir: ~/PythonVenv/{{.VENV}}
cmds:
- source ~/PythonVenv/{{.VENV}}/bin/activate
- cd ~/PythonVenv/{{.VENV}}
py-venv-create-*:
vars:
VENV: '{{index .MATCH 0}}'
dir: ~/PythonVenv/
cmds:
- python3 -m venv ~/PythonVenv/{{.VENV}}
disk-serial-*:
vars:
DEVICE: '{{index .MATCH 0}}'
cmds:
- sudo lsblk -dno name,serial /dev/{{.DEVICE}}
ros-run:
cmds:
- rlwrap ros run