-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from con/enh-codespell
Add codespell and use it to fix typos
- Loading branch information
Showing
4 changed files
with
35 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[codespell] | ||
# Ref: https://github.com/codespell-project/codespell#using-a-config-file | ||
skip = .git,.codespellrc | ||
check-hidden = true | ||
ignore-regex = \bths=true\b | ||
# ignore-words-list = |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Codespell configuration is within .codespellrc | ||
--- | ||
name: Codespell | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: [main] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
codespell: | ||
name: Check for spelling errors | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Codespell | ||
uses: codespell-project/actions-codespell@v2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,14 +66,14 @@ How much does it cost to run things? | |
$SOME_PORT` | ||
1. login to `typhon`: `ssh -i /path/to/key [email protected] -p | ||
$SOME_PORT` | ||
Note: When loging in from campus (use `eduroam`), SSH does not always work on | ||
Note: When logging in from campus (use `eduroam`), SSH does not always work on | ||
`typhon`. Instead it is recommended to use `ssh-agent` and forward the authentication connection using `-A` | ||
1. (Assuming `ssh-agent` is running) `ssh-add -t 3600 /path/to/key` | ||
1. `ssh-add -l` should now show your fingerprint. | ||
1. SSH into `smaug` with connection forwarding: `ssh -A [email protected] -p $SOME_PORT` | ||
1. Once on `smaug` `ssh-add -l` should now show the same fingerprint. | ||
1. From `smaug`, proceed to `typhon` with `ssh [email protected] -p $SOME_PORT` | ||
1. You might benefit from specifying some details withing your | ||
1. You might benefit from specifying some details within your | ||
`~/.ssh/config` for the given host(s): | ||
1. `SOME_PORT` so you don't need to enter it every time | ||
1. `AgentForward` is equivalent to `-A` | ||
|
@@ -141,7 +141,7 @@ How much does it cost to run things? | |
If are using `xtightvncviewer` which has builtin SSH tunneling, you can connect to | ||
a VNC session directly. | ||
```xtightvncviewer -via <username>@<server name>.dartmouth.edu localhost:<VNC assgined port number>``` | ||
```xtightvncviewer -via <username>@<server name>.dartmouth.edu localhost:<VNC assigned port number>``` | ||
If you are using a VNC client that does not have builtin SSH tunneling, you will | ||
need to create an SSH tunnel to the VNC server and then connect to the VNC session | ||
|
@@ -154,7 +154,7 @@ How much does it cost to run things? | |
2. Connect to the VNC session through the SSH tunnel using the VNC client on your | ||
local machine at `localhost:<local port number>` | ||
Where `<VNC assgined port number>` is the port number assigned to the VNC session | ||
Where `<VNC assigned port number>` is the port number assigned to the VNC session | ||
on the server and `<local port number>` is the port number on your local machine | ||
that you want to use for the SSH tunnel. `<server name>` is the name of the server | ||
where the VNC session is running. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters