Skip to content

Instantly share code, notes, and snippets.

View FabianUntermoser's full-sized avatar
🤔

Fabian Untermoser FabianUntermoser

🤔
View GitHub Profile
@TfTHacker
TfTHacker / FastStart-GenerateListOfInstalledPlugins.js
Last active April 1, 2024 06:47
Creates a list of all plugins installed in an Obsidian vault
<% Object.values(app.plugins.manifests).map(p=>p.id).sort((a,b)=>a.localeCompare(b)).join('\n') %>
@TfTHacker
TfTHacker / FastStart-StartupScript.js
Last active April 1, 2024 06:39
FastStart Script for Obsidian - makes it easy to delay the startup of plugins
<%*
fastStart = async (filename, delayInSecond) => {
if (tp.file.exists(filename)) {
const f = tp.file.find_tfile(filename);
let plugins = (await app.vault.read(f)).split(/\r?\n/);
setTimeout(async () => {
plugins.forEach(async (p) => await app.plugins.enablePlugin(p))
}, delayInSecond * 1000)
}
}
@bgauduch
bgauduch / multiple-repository-and-identities-git-configuration.md
Last active June 18, 2024 15:14
Git config with multiple identities and multiple repositories

Setup multiple git identities & git user informations

/!\ Be very carrefull in your setup : any misconfiguration make all the git config to fail silently ! Go trought this guide step by step and it should be fine 😉

Setup multiple git ssh identities for git

  • Generate your SSH keys as per your git provider documentation.
  • Add each public SSH keys to your git providers acounts.
  • In your ~/.ssh/config, set each ssh key for each repository as in this exemple: