Skip to content

Commit cc2009d

Browse files
author
elvis kahoro
authored
Merge branch 'main' into elvis/pull_request_template
2 parents 597bf5b + 221108f commit cc2009d

15 files changed

Lines changed: 228 additions & 3 deletions

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
The repo for all _public_ Workflows that appear within Warp and within [commands.dev](https://www.commands.dev/).
44

5-
**To learn how to create local or repository workflows, see [our docs](https://github.com/warpdotdev/warp-internal/pull/2205).**
5+
**To learn how to create local or repository workflows, see [our docs](https://docs.warp.dev/features/workflows#creating-custom-workflows).**
66

77
<img width="736" alt="image" src="https://user-images.githubusercontent.com/4110292/164031239-49f0ec9e-f124-44c4-89e6-6facc9bf9a8f.png">
88

@@ -20,7 +20,7 @@ All public workflows (i.e. workflows within this repo) are also available at [co
2020
## Contributing
2121
Contributions are always welcome! If you have a workflow that would be useful to many Warp users, feel free to send a PR to add a Workflow spec.
2222

23-
All workflows are defined as YAML files within the [`specs/`](specs/) directory.
23+
All workflows are defined as YAML files within the [`specs/`](specs/) directory.
2424

2525
### File Format
2626
A comprehensive description of the file format is available in [FORMAT.md](FORMAT.md).
@@ -54,7 +54,7 @@ source_url: "https://stackoverflow.com/questions/7323261/uninstall-remove-a-home
5454
author: Ory Band
5555
# The URL of original author of the Workflow. For example, if this workflow was generated from StackOverflow, the `author_url` would be the StackOverflow author's profile page.
5656
author_url: "https://stackoverflow.com/users/207894"
57-
# The valid shells where this workflow should be active. If valid for all shells, this can be left empty.
57+
# The valid shells where this workflow should be active. If valid for all shells, this can be left empty.
5858
# See FORMAT.md for the full list of accepted values.
5959
shells: []
6060
```
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
name: Open Cypress
2+
command: "npx cypress open"
3+
tags:
4+
- cypress
5+
description: "Open the Cypress Test Runner."
6+
source_url: "https://docs.cypress.io/guides/getting-started/installing-cypress#Opening-Cypress"
7+
author: cypress-dx
8+
shells: []
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Open Cypress With a Mobile Viewport
2+
command: "npx cypress open --config viewportWidth={{width}},viewportHeight={{height}}"
3+
tags:
4+
- cypress
5+
description: "Open the Cypress Test Runner with a Mobile Viewport."
6+
arguments:
7+
- name: width
8+
description: The width of the viewport in pixels
9+
default_value: 375
10+
- name: height
11+
description: The height of the viewport in pixels
12+
default_value: 667
13+
source_url: "https://docs.cypress.io/guides/getting-started/installing-cypress#Opening-Cypress"
14+
author: cypress-dx
15+
shells: []
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
name: Run Cypress Headless
2+
command: "npx cypress run"
3+
tags:
4+
- cypress
5+
description: "Run Cypress in Headless Mode"
6+
source_url: "https://docs.cypress.io/guides/guides/command-line#cypress-run"
7+
author: cypress-dx
8+
shells: []
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Run Cypress Headless With a Mobile Viewport
2+
command: "npx cypress run --config viewportWidth={{width}},viewportHeight={{height}}"
3+
tags:
4+
- cypress
5+
description: "Run the Cypress Test Runner with a Mobile Viewport in Headless Mode"
6+
arguments:
7+
- name: width
8+
description: The width of the viewport in pixels
9+
default_value: 375
10+
- name: height
11+
description: The height of the viewport in pixels
12+
default_value: 667
13+
source_url: "https://docs.cypress.io/guides/getting-started/installing-cypress#Opening-Cypress"
14+
author: cypress-dx
15+
shells: []
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
name: Add password to private RSA key using AES256
3+
command: "openssl rsa -aes256 -in {{in_key}} -out {{out_pass_key}}"
4+
tags:
5+
- ssl
6+
- openssl
7+
description: "Add password to private RSA key using AES256."
8+
arguments:
9+
- name: in_key
10+
description: "Input RSA key without password."
11+
default_value: in.key
12+
- name: "out_pass_key"
13+
description: "Output RSA key protected with password."
14+
default_value: "out.key"
15+
author: Petr Stepan (Deworn)
16+
author_url: "https://github.com/deworn"
17+
shells: []

specs/ssl/check_web_certs.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
name: Check website certificate
3+
command: "openssl s_client -connect {{url}}:443 -showcerts"
4+
tags:
5+
- ssl
6+
- openssl
7+
description: "Check certificate of specific web site or URL."
8+
arguments:
9+
- name: url
10+
description: "URL to check."
11+
default_value: ""
12+
author: Petr Stepan (Deworn)
13+
author_url: "https://github.com/deworn"
14+
shells: []

specs/ssl/convert_der_to_pem.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
name: Convert certificate from DER to PEM
3+
command: "openssl x509 -inform der -outform pem -in {{in_der_cert}} -out {{out_pem_cert}}"
4+
tags:
5+
- ssl
6+
- openssl
7+
description: "Convert certificate in DER binary encoding to PEM format (base64)"
8+
arguments:
9+
- name: in_der_cert
10+
description: "Input certificate file in DER encoding. Files usually have .der or .cer extensions."
11+
default_value: in_cert.der
12+
- name: out_pem_cert
13+
description: "Output certificate file which will be in PEM format. Files usually have .pem, .crt, or .cer extensions."
14+
default_value: out_cert.pem
15+
author: Petr Stepan (Deworn)
16+
author_url: "https://github.com/deworn"
17+
shells: []

specs/ssl/convert_pem_to_der.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
name: Convert certificate from PEM to DER
3+
command: "openssl x509 -inform pem -outform der -in {{in_pem_cert}} -out {{out_der_cert}}"
4+
tags:
5+
- ssl
6+
- openssl
7+
description: "Convert certificate in PEM format (base64) to DER binary encoding"
8+
arguments:
9+
- name: in_pem_cert
10+
description: "Input certificate file in PEM format. Files usually have .pem, .crt, or .cer extensions."
11+
default_value: in_cert.pem
12+
- name: out_der_cert
13+
description: "Output certificate file which will be DER encoded. Files usually have .der or .cer extensions."
14+
default_value: out_cert.der
15+
author: Petr Stepan (Deworn)
16+
author_url: "https://github.com/deworn"
17+
shells: []
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
name: Convert certificate from PEM to PKCS#12
3+
command: "openssl pkcs12 -export -out {{out_pkcs12_cert}} -in {{in_pem_cert}} -inkey {{in_pem_private_key}} -certfile {{in_pem_cacert}}"
4+
tags:
5+
- ssl
6+
- openssl
7+
description: "Convert certificate in PKCS#12 container format (private key included) to PEM format (base64)"
8+
arguments:
9+
- name: in_pem_cert
10+
description: "Input certificate file in PEM format. Files usually have .pem, .crt, or .cer extensions."
11+
default_value: in_cert.pem
12+
- name: in_pem_private_key
13+
description: "Input private key file (in PEM format) which fits in_pem_cert. Files usually have .key extension."
14+
default_value: in_private.key
15+
- name: in_pem_cacert
16+
description: "Input certificate file (or file bundle) of Certification Authority (in PEM format) which signed in_pem_cert file. Files usually have .pem, .crt, or .cer extensions."
17+
default_value: cacert.pem
18+
- name: out_pkcs12_cert
19+
description: "Output file which will be in PKCS#12 container format with private key. Files usually have .pfx or .p12 extensions."
20+
default_value: out_cert.pfx
21+
author: Petr Stepan (Deworn)
22+
author_url: "https://github.com/deworn"
23+
shells: []

0 commit comments

Comments
 (0)