Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions specs/npm/find_and_delete_node_modules_in_a_folder.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
name: Find and delete node_modules in a folder
command: find . -name 'node_modules' -type d -prune -print -exec rm -rf '{}' \;
tags:
- npm
description: Finds and deletes all node_modules in a folder
arguments: []
source_url: "https://medium.com/@tomlarge/how-to-delete-all-node-modules-folders-from-your-mac-60b5ce9949cf"
author: Tim Smith
author_url: "https://timsmith.tech"
shells: []
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
name: Finds all node_modules in a folder
command: find . -name "node_modules" -type d -prune -print | xargs du -chs
tags:
- npm
description: Finds and all node_modules in a folder and displays information about them
arguments: []
source_url: "https://medium.com/@tomlarge/how-to-delete-all-node-modules-folders-from-your-mac-60b5ce9949cf"
author: Tim Smith
author_url: "https://timsmith.tech"
shells: []
14 changes: 14 additions & 0 deletions specs/ssh/copy_ssh_key_for_github.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: Copy SSH key for GitHub
command: "pbcopy < ~/.ssh/id_ed25519.pub"
tags:
- github
description: "Copies the SSH key for GitHub to the clipboard. This is useful for adding the SSH key to GitHub."
arguments:
- name: email
description: "Your email address. This is used to identify the key."
default_value: ~
source_url: "https://docs.github.com/en/github/authenticating-to-github/adding-a-new-ssh-key-to-your-github-account"
author: Tim Smith
author_url: "https://timsmith.tech"
shells: []
14 changes: 14 additions & 0 deletions specs/ssh/generate_new_ssh_key_for_github.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: Generate new SSH key for GitHub
command: "ssh-keygen -t ed25519 -C \"{{email}}\""
tags:
- github
description: "Generates a new SSH key for GitHub. The email address is optional. If you don't specify an email address, you'll be prompted to enter one."
arguments:
- name: email
description: "Your email address. This is used to identify the key."
default_value: ~
source_url: "https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent"
author: Tim Smith
author_url: "https://timsmith.tech"
shells: []