Skip to content

Instantly share code, notes, and snippets.

@jsoref
Last active January 12, 2024 01:52

Revisions

  1. jsoref renamed this gist Jan 12, 2024. 1 changed file with 4 additions and 3 deletions.
    7 changes: 4 additions & 3 deletions gistfile1.txt → gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -1,8 +1,9 @@
    check-spelling should be able to work with anything.
    # Premise
    * check-spelling should be able to work with anything.

    macOS has some file system character constraints that have proven to be a bit problematic.
    * macOS has some file system character constraints that have proven to be a bit problematic.

    You can use Docker (or an equivalent) to run Alpine Linux:
    # Use Docker (or an equivalent) to run Alpine Linux

    ## Set up an alpine environment
    `docker run -it alpine`
  2. jsoref created this gist Jan 12, 2024.
    25 changes: 25 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,25 @@
    check-spelling should be able to work with anything.

    macOS has some file system character constraints that have proven to be a bit problematic.

    You can use Docker (or an equivalent) to run Alpine Linux:

    ## Set up an alpine environment
    `docker run -it alpine`

    ## Add required tools
    `apk add curl git github-cli perl`

    ## Connect to GitHub
    `gh auth login`

    ```
    ? What account do you want to log into? GitHub.com
    ? What is your preferred protocol for Git operations? HTTPS
    ? Authenticate Git with your GitHub credentials? No
    ? How would you like to authenticate GitHub CLI? Login with a web browser
    ```

    ## Set up git so it can push
    `gh auth setup-git`