Skip to content

Commit

Permalink
add cover images
Browse files Browse the repository at this point in the history
  • Loading branch information
tobyscott25 committed Mar 20, 2024
1 parent 84e0943 commit eb40bce
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ params:
Content: Software Engineer, Greater Melbourne Area | Currently working on [Safety Beacon (NFP)](https://github.com/safetybeacon) and [Study Score](https://studyscore.app)

profileMode:
enabled: true # Disable this to change to "home info" mode
enabled: false # Disable this to change to "home info" mode
title: Toby Scott # optional, default will be site title
subtitle: Software Engineer, Greater Melbourne Area
imageUrl: "/avatar.png" # optional
Expand Down
Binary file added content/posts/auth-github-cli-over-ssh/cover.webp
Binary file not shown.
18 changes: 16 additions & 2 deletions content/posts/auth-github-cli-over-ssh/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,23 @@ tags:
"Shell",
"ed25519",
"Identity",
"Security"
"Security",
]
# author: ["Toby Scott", "Other example contributor"]
hidden: false
draft: false
cover:
image: "cover.webp"
alt: "GitHub"
relative: false # To use relative path for cover image, used in hugo Page-bundles
---

### Prerequisites

Install GitHub CLI if you haven't already

```bash
sudo apt install gh
brew install gh
```

Check that you are logged out.
Expand Down Expand Up @@ -146,9 +150,19 @@ eval $(ssh-agent -s)
That command will start it if it's not already running. Now let's add your private key to the agent.

```bash
# Add the key to the agent
ssh-add $HOME/.ssh/id_ed25519
```

If you're on macOS you can optionally use Apple's custom options (`--apple-use-keychain` and `--apple-load-keychain`) that allow you to interact with the [OS keychain](https://support.apple.com/en-gb/guide/keychain-access/kyca1083/mac).

> As of macOS Monterey, the short-hand flags (`-K` and `-A`) have been deprecated and the long form flags are preferred
```bash
# Add the key to the agent and store the passphrase in the keychain
ssh-add --apple-use-keychain $HOME/.ssh/id_ed25519
```

You may need to update the path to match the correct path to your SSH private key. Finally, you'll be prompted for your passphrase, and it will be added to the SSH agent. You can confirm that it has been added by running the following command to list all keys that have been added:

```bash
Expand Down
Binary file added content/posts/configuring-kubuntu/cover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions content/posts/configuring-kubuntu/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ tags:
# author: ["Toby Scott", "Other example contributor"]
hidden: false
draft: false
cover:
image: "cover.png"
alt: "Kubuntu desktop screenshot"
relative: false # To use relative path for cover image, used in hugo Page-bundles
---

Until recently, Arch Linux has been my daily driver. I love the rolling release model and you really can't fault the AUR. But always getting the latest features and patches is a double edged sword because along with those benefits come the latest bugs and issues. I considered the benefits to outweigh the short comings up until one dreadful day...
Expand Down

0 comments on commit eb40bce

Please sign in to comment.