From 1212615e7b908952cd0d695ee314879d21859471 Mon Sep 17 00:00:00 2001 From: Kian-Meng Ang Date: Tue, 22 Nov 2022 09:34:38 +0800 Subject: [PATCH] Fix typos Found via `typos --format brief` --- .../android/push_deeplink_onto_android_device.yaml | 2 +- specs/android/send_firebase_push_notification.yaml | 2 +- ...l_a_specific_version_of_a_homebrew_formula.yaml | 4 ++-- ...sively_find_and_replace_within_a_directory.yaml | 2 +- .../sort_a_file_by_line_length.yaml | 2 +- .../git/modify_the_most_recent_commit_message.yaml | 2 +- specs/git/squash_last_n_commits_together.yaml | 2 +- specs/git/undo_git_add.yaml | 2 +- specs/shell/chain_commands_together_pipe.yaml | 2 +- ...rom-mysql-database-to-postgresql-database.yaml} | 14 +++++++------- .../generate_a_self_signed_ssl_certificate.yaml | 2 +- 11 files changed, 18 insertions(+), 18 deletions(-) rename specs/sql/{migrate-from-mysql-database-to-postgressql-database.yaml => migrate-from-mysql-database-to-postgresql-database.yaml} (72%) diff --git a/specs/android/push_deeplink_onto_android_device.yaml b/specs/android/push_deeplink_onto_android_device.yaml index fce660c..0969de1 100644 --- a/specs/android/push_deeplink_onto_android_device.yaml +++ b/specs/android/push_deeplink_onto_android_device.yaml @@ -9,7 +9,7 @@ tags: description: Uses adb to push a deeplink onto an Android device. arguments: - name: your_app_package_name - description: The package name of the app that you want to recieve the deeplink. + description: The package name of the app that you want to receive the deeplink. default_value: com.my.app.package - name: deeplink description: The deeplink you want to send (eg. `app://open.my.app`) diff --git a/specs/android/send_firebase_push_notification.yaml b/specs/android/send_firebase_push_notification.yaml index ff1f2c4..94934dc 100644 --- a/specs/android/send_firebase_push_notification.yaml +++ b/specs/android/send_firebase_push_notification.yaml @@ -13,7 +13,7 @@ tags: description: Uses adb to push a Firebase push notification to your local emulator arguments: - name: your_app_package_name - description: The package name of the app that you want to recieve the notification. It has to have implemented the reciever for it to work. + description: The package name of the app that you want to receive the notification. It has to have implemented the receiver for it to work. default_value: com.my.app.package - name: notification_title description: The title of the notification diff --git a/specs/brew/install_a_specific_version_of_a_homebrew_formula.yaml b/specs/brew/install_a_specific_version_of_a_homebrew_formula.yaml index 9d864c3..c5d2485 100644 --- a/specs/brew/install_a_specific_version_of_a_homebrew_formula.yaml +++ b/specs/brew/install_a_specific_version_of_a_homebrew_formula.yaml @@ -6,10 +6,10 @@ tags: description: "Install a specific version of a formula using Homebrew. To list all available versions, you can run `brew search {{formula_name}}@`." arguments: - name: formula_name - description: The fomula to install + description: The formula to install default_value: ~ - name: version_name - description: "The version of the formula to install. You can ensure this version is availalble on homebrew by running `brew search {{formula_name}}`" + description: "The version of the formula to install. You can ensure this version is available on homebrew by running `brew search {{formula_name}}`" default_value: ~ source_url: "https://stackoverflow.com/questions/3987683/homebrew-install-specific-version-of-formula" author: Debilski diff --git a/specs/file_manipulation/recursively_find_and_replace_within_a_directory.yaml b/specs/file_manipulation/recursively_find_and_replace_within_a_directory.yaml index 53c81a8..cc7014d 100644 --- a/specs/file_manipulation/recursively_find_and_replace_within_a_directory.yaml +++ b/specs/file_manipulation/recursively_find_and_replace_within_a_directory.yaml @@ -5,7 +5,7 @@ tags: - file manipulation - sed - grep -description: Replaces all occurences of a string recursively within a directory +description: Replaces all occurrences of a string recursively within a directory arguments: - name: old_text description: The text that should be replaced diff --git a/specs/file_manipulation/sort_a_file_by_line_length.yaml b/specs/file_manipulation/sort_a_file_by_line_length.yaml index 6b763f5..bf6de73 100644 --- a/specs/file_manipulation/sort_a_file_by_line_length.yaml +++ b/specs/file_manipulation/sort_a_file_by_line_length.yaml @@ -4,7 +4,7 @@ command: "cat {{file_name}} | awk '{ print length, $0 }' | sort -n -s | cut -d\" tags: - file manipulation - awk -description: "Sorts a text file by line length (including spaces). The `-s` flag indicates that any lines that are the same length are kept in the relative order that they ocurred in the input." +description: "Sorts a text file by line length (including spaces). The `-s` flag indicates that any lines that are the same length are kept in the relative order that they occurred in the input." arguments: - name: file_name description: The name of the file to sort. diff --git a/specs/git/modify_the_most_recent_commit_message.yaml b/specs/git/modify_the_most_recent_commit_message.yaml index 2ba675e..4f55a29 100644 --- a/specs/git/modify_the_most_recent_commit_message.yaml +++ b/specs/git/modify_the_most_recent_commit_message.yaml @@ -3,7 +3,7 @@ name: Modify the most recent commit message command: "git commit --amend -m \"{{new_commit_message}}\"" tags: - git -description: "Ammends the most recent git commit with a new message. This will not update the commit on a remote branch unless you force push the branch," +description: "Amends the most recent git commit with a new message. This will not update the commit on a remote branch unless you force push the branch," arguments: - name: new_commit_message description: The new commit message diff --git a/specs/git/squash_last_n_commits_together.yaml b/specs/git/squash_last_n_commits_together.yaml index 7efa700..e39d8f3 100644 --- a/specs/git/squash_last_n_commits_together.yaml +++ b/specs/git/squash_last_n_commits_together.yaml @@ -3,7 +3,7 @@ name: Squash last n commits together command: "git reset --soft HEAD~{{num_commits}} && git commit" tags: - git -description: "Squashes the last n commits together. This approach requires rewriting a commit message for the new sqashed changes, unlike running `git rebase`." +description: "Squashes the last n commits together. This approach requires rewriting a commit message for the new squashed changes, unlike running `git rebase`." arguments: - name: num_commits description: The number of commits that should be squashed together diff --git a/specs/git/undo_git_add.yaml b/specs/git/undo_git_add.yaml index 76f5df5..1acd214 100644 --- a/specs/git/undo_git_add.yaml +++ b/specs/git/undo_git_add.yaml @@ -3,7 +3,7 @@ name: Undo git add command: "git reset {{file}}" tags: - git -description: "Removes a file that was staged for commit by `git add`. Executing `git reset` withou any file name will unstage all changes." +description: "Removes a file that was staged for commit by `git add`. Executing `git reset` without any file name will unstage all changes." arguments: - name: file description: The file to unstage diff --git a/specs/shell/chain_commands_together_pipe.yaml b/specs/shell/chain_commands_together_pipe.yaml index acbd503..4cb793d 100644 --- a/specs/shell/chain_commands_together_pipe.yaml +++ b/specs/shell/chain_commands_together_pipe.yaml @@ -3,7 +3,7 @@ name: Chain commands together by forwarding output as input to the next command command: "{{command_1}} | {{command_2}}" tags: - shell -description: Executs command_1 and passes the output as input to command_2 +description: Executes command_1 and passes the output as input to command_2 arguments: - name: command_1 description: The first command to run (whose output will be passed to the second command) diff --git a/specs/sql/migrate-from-mysql-database-to-postgressql-database.yaml b/specs/sql/migrate-from-mysql-database-to-postgresql-database.yaml similarity index 72% rename from specs/sql/migrate-from-mysql-database-to-postgressql-database.yaml rename to specs/sql/migrate-from-mysql-database-to-postgresql-database.yaml index 97c1366..1ce24cc 100644 --- a/specs/sql/migrate-from-mysql-database-to-postgressql-database.yaml +++ b/specs/sql/migrate-from-mysql-database-to-postgresql-database.yaml @@ -4,7 +4,7 @@ command: "pgloader mysql://{{mysql_username}}:{{mysql_password}}@{{mysql_hostnam tags: - postgresql - mysql -description: Loads data from the MySQL database, transforms it to PostgresSQL compatible format and uploads it to the PostgresSQL database. Note - it requires pgloader to be installed and both PostgresSQL and MySQL hosts are accessible from the machine running this script. +description: Loads data from the MySQL database, transforms it to PostgreSQL compatible format and uploads it to the PostgreSQL database. Note - it requires pgloader to be installed and both PostgreSQL and MySQL hosts are accessible from the machine running this script. arguments: - name: mysql_username description: The username for the MySQL database. @@ -22,21 +22,21 @@ arguments: description: The name of the MySQL database. default_value: ~ - name: postgres_username - description: The username for the Postgres database. + description: The username for the PostgreSQL database. default_value: ~ - name: postgres_password - description: The password for the Postgres database. + description: The password for the PostgreSQL database. default_value: ~ - name: postgres_hostname - description: The hostname for the Postgres database. + description: The hostname for the PostgreSQL database. default_value: ~ - name: postgres_port - description: The port for the Postgres database. + description: The port for the PostgreSQL database. default_value: 5432 - name: postgres_database_name - description: The name of the Postgres database. + description: The name of the PostgreSQL database. default_value: ~ source_url: "https://docs.dipak.tech/database/postgres/postgres-migration" author: Dipak Parmar author_url: "https://github.com/dipakparmar" -shells: [] \ No newline at end of file +shells: [] diff --git a/specs/ssl/generate_a_self_signed_ssl_certificate.yaml b/specs/ssl/generate_a_self_signed_ssl_certificate.yaml index 4c7ab93..12375f8 100644 --- a/specs/ssl/generate_a_self_signed_ssl_certificate.yaml +++ b/specs/ssl/generate_a_self_signed_ssl_certificate.yaml @@ -4,7 +4,7 @@ command: "openssl req -x509 -newkey rsa:4096 -keyout {{key_file}} -out {{cert_fi tags: - ssl - openssl -description: "Generates a self-signed SSL certificate using OpenSSL. Beware, self-signed certificates are typically not validated with any third party. It's recommended to use a certificate signed by a certifiate authority." +description: "Generates a self-signed SSL certificate using OpenSSL. Beware, self-signed certificates are typically not validated with any third party. It's recommended to use a certificate signed by a certificate authority." arguments: - name: key_file description: ~