Skip to content

Commit

Permalink
Merge branch 'main' into specs/vs-code-insiders
Browse files Browse the repository at this point in the history
  • Loading branch information
elvis kahoro authored Sep 6, 2023
2 parents 5e99950 + 3ef2e22 commit 7ab7446
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 2 deletions.
13 changes: 13 additions & 0 deletions specs/code-insiders/open_a_path_in_vs_code_insiders.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
name: Open a path in VS Code (Insiders)
command: "code-insiders {{path}}"
tags: ["code-insiders"]
description: This workflow opens the current or the specified folder in VS Code.
arguments:
- name: path
description: The file or directory for VS Code to open. The default is the current directory.
default_value: "."
source_url: https://code.visualstudio.com/docs/setup/mac#_launching-from-the-command-line
author: pan93412
author_url: "https://github.com/pan93412"
shells: []
13 changes: 13 additions & 0 deletions specs/code/open_a_path_in_vs_code.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
name: Open a path in VS Code
command: "code {{path}}"
tags: ["code"]
description: This workflow opens the current or the specified folder in VS Code.
arguments:
- name: path
description: The file or directory where VS Code opens. The default is the current directory.
default_value: "."
source_url: https://code.visualstudio.com/docs/setup/mac#_launching-from-the-command-line
author: pan93412
author_url: "https://github.com/pan93412"
shells: []
15 changes: 15 additions & 0 deletions specs/kubernetes/list_pod_images_by_app.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
name: List all Kubernetes pods by app label
command: >
kubectl get pods -l app={{app}} -o jsonpath='{range .items[*]}{"\n"}{range .spec.containers[*]}{.name}{"\t"}{.image}{"\n"}{end}{end}' | sort | uniq
tags:
- kubernetes
description: Lists the images of pods fetched by app label
arguments:
- name: app
description: The value of the app label
default_value: ~
source_url: "https://kubernetes.io/docs/reference/kubectl/jsonpath/"
author: pkaramol
author_url: "https://www.linkedin.com/in/pkaramol/"
shells: []
4 changes: 2 additions & 2 deletions specs/nextjs/create_next_app.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: Create Next.JS app
name: Create Next.js App
command: npx create-next-app {{project_name}} --use-{{package_manager}}
tags:
- react
Expand All @@ -12,7 +12,7 @@ arguments:
description: The package manager to use for the application
default_value: npm
source_url: https://nextjs.org/docs/api-reference/create-next-app
description: Create Next.JS application
description: Create a new Next.js application
author: Lukas Varkalis
author_url: https://github.com/lukasvarkalis
shells: []

0 comments on commit 7ab7446

Please sign in to comment.