Skip to content

Instantly share code, notes, and snippets.

View ship13's full-sized avatar

John S ship13

  • CCA
View GitHub Profile
@oblinger
oblinger / HYPER-L Insert Obsidian web LINK from Safari.kmmacros
Last active October 19, 2022 12:35
Obsidian URL link capture from Browser (using MacOS and Keyboard Maestro)
@nicolevanderhoeven
nicolevanderhoeven / returnStudyOptions.js
Created January 14, 2022 11:16
Script for use with the Obsidian Dataview and Templater plugins to return activity options given an amount of time available
/*
This script returns a list of activity options you could do (each defined by a Markdown file),
depending on how much time you have available.
REQUIRES:
- Obsidian: https://obsidian.md
- Obsidian Dataview plugin: https://blacksmithgu.github.io/obsidian-dataview/
- Obsidian Templater plugin: https://silentvoid13.github.io/Templater/
- this folder structure:
@oanhnn
oanhnn / using-multiple-github-accounts-with-ssh-keys.md
Last active October 28, 2025 16:56
Using multiple github accounts with ssh keys

Problem

I have two Github accounts: oanhnn (personal) and superman (for work). I want to use both accounts on same computer (without typing password everytime, when doing git push or pull).

Solution

Use ssh keys and define host aliases in ssh config file (each alias for an account).

How to?

  1. Generate ssh key pairs for accounts and add them to GitHub accounts.