Skip to content

Commit 6358503

Browse files
authored
Merge branch 'warpdotdev:main' into main
2 parents d9621e2 + 3c83735 commit 6358503

11 files changed

Lines changed: 189 additions & 2 deletions
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: "🐛 Bug Report"
2+
description: "When something doesn't seem right..."
3+
labels:
4+
- bug
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: Thank you for your report! Please fill out this form.
9+
- type: dropdown
10+
attributes:
11+
label: "What section of this project is the bug in?"
12+
multiple: true
13+
options:
14+
- Workflows
15+
- Building
16+
- CI/CD
17+
- Scripts
18+
- Meta (e.g. README)
19+
- Other
20+
- type: input
21+
attributes:
22+
label: "What is the bug?"
23+
placeholder: "Describe the bug here..."
24+
- type: input
25+
attributes:
26+
label: "What is the expected behavior?"
27+
placeholder: "Describe the expected behavior here..."
28+
- type: input
29+
attributes:
30+
label: "What is the actual behavior?"
31+
placeholder: "Describe the actual behavior here..."
32+
- type: input
33+
attributes:
34+
label: "How would you replicate this bug?"
35+
placeholder: "Describe the replication steps here..."
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: "📄 Workflow RFC"
2+
description: "When you need to update/add a workflow..."
3+
labels:
4+
- enhancement
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: "Thank you for your request! Please fill out this form."
9+
- type: dropdown
10+
attributes:
11+
label: "Is this a new workflow or an update?"
12+
multiple: true
13+
options:
14+
- New
15+
- Update
16+
- type: input
17+
attributes:
18+
label: "What is the name of the workflow?"
19+
placeholder: "Describe the workflow here..."
20+
- type: input
21+
attributes:
22+
label: "What should the workflow do?"
23+
placeholder: "Describe the workflow here..."
24+
- type: input
25+
attributes:
26+
label: "What does it do (only if it's an update)?"
27+
placeholder: "Describe what it should do.."

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ workflows/src/generated_workflows/*
44
.idea
55
build_ts/dist
66
build_ts/node_modules/
7+
.DS_Store
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
name: Rename a Docker volume
3+
command: "docker volume create --name {{new_volume}} && docker run --rm -it -v {{old_volume}}:/from -v {{new_volume}}:/to alpine ash -c 'cd /from ; cp -av . /to' && docker volume rm {{old_volume}}"
4+
tags:
5+
- docker
6+
description: Renames a Docker volume by creating a new volume, copying all of its content to from the old to the new volume and then deletes the old volume.
7+
arguments:
8+
- name: old_volume
9+
description: The name of the old volume
10+
default_value: ~
11+
- name: new_volume
12+
description: The name of the new volume
13+
default_value: ~
14+
source_url: "https://github.com/moby/moby/issues/31154#issuecomment-360531460"
15+
author: Hyruu
16+
author_url: "https://github.com/Hyruu"
17+
shells: []

specs/file_manipulation/find_all_files_in_a_directory_that_dont_contain_a_string.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
22
name: "Find all files in a directory that don't contain a string"
3-
command: "grep -L \"foo\" {{pattern}}"
3+
command: "grep -L \"{{pattern}}\" "
44
tags:
55
- search
6-
- git
6+
- grep
77
description: "Finds all files in a repository that don't contain a given pattern."
88
arguments:
99
- name: pattern
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
name: Remove all local branches that aren't on the remote repository
3+
command: |-
4+
"git branch --merged >/tmp/merged-branches && \
5+
vi /tmp/merged-branches && \
6+
xargs git branch -d </tmp/merged-branches"
7+
tags:
8+
- git
9+
description: "Remove all local branches that doesn't exists in remote repository."
10+
arguments: []
11+
source_url: "https://stackoverflow.com/questions/7726949/remove-tracking-branches-no-longer-on-remote"
12+
author: Mailo Světel
13+
author_url: "https://stackoverflow.com/users/133986/mailo-sv%c4%9btel"
14+
shells: []
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
name: Compare two file in IntelliJ Idea
3+
command: "idea diff {{file1}} {{file2}}"
4+
tags: ["idea"]
5+
description: Compare two files using IntelliJ Idea
6+
arguments:
7+
- name: file1
8+
description: The first file that you want to compare.
9+
default_value: ~
10+
- name: file2
11+
description: The second file that you want to compare.
12+
default_value: ~
13+
source_url: "https://www.jetbrains.com/help/idea/command-line-differences-viewer.html"
14+
author: Patrick van Zadel
15+
author_url: "https://github.com/Shuyinsama"
16+
shells: []
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
name: Open a file on a specific line in IntelliJ Idea
3+
command: "idea --line {{line_number}} {{file}}"
4+
tags: ["idea"]
5+
description: Use the command line to open a file on a specific line in IntelliJ Idea.
6+
arguments:
7+
- name: line_number
8+
description: The line number you want the file to open two
9+
default_value: 1
10+
- name: file
11+
description: The file that you want to open.
12+
default_value: ~
13+
source_url: "https://www.jetbrains.com/help/idea/opening-files-from-command-line.html"
14+
author: Patrick van Zadel
15+
author_url: "https://github.com/Shuyinsama"
16+
shells: []
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
name: Open a file or directory in a IntelliJ Idea editor
3+
command: "idea {{file_or_directory}}"
4+
tags: ["idea"]
5+
description: Use the command line to open a file in IntelliJ Idea.
6+
arguments:
7+
- name: file_or_directory
8+
description: The file or directory that you want to open.
9+
default_value: ~
10+
source_url: "https://www.jetbrains.com/help/idea/opening-files-from-command-line.html"
11+
author: Patrick van Zadel
12+
author_url: "https://github.com/Shuyinsama"
13+
shells: []
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
name: Launch tabs with clipboard URLs
3+
command: "pbpaste | xargs -n1 -I{} open {}"
4+
tags:
5+
- pbpaste
6+
description: Launch all URLs (arranged in a list in the clipboard buffer). Will be launched using default browser and tab creation preference. Useful for copying a column of URLs from a spreadsheet and visiting them all at once.

0 commit comments

Comments
 (0)