Skip to content

Instantly share code, notes, and snippets.

Git-crypt Setup Guide for Secure Repositories

For developers using git with sensitive data who need better security than just a private repository. Here's a guide to transparent git encryption with git-crypt that ensures data-at-rest and data-in-transit encryption. Perfect for use with note taking apps like Obsidian and Logseq.

Key Benefits

  • Transparent encryption: Files are automatically encrypted when pushed, decrypted when pulled
  • Selective encryption: Choose which files or directories to encrypt
  • Cloud-provider agnostic: Works with any git host (GitHub, GitLab, Bitbucket, etc.)
  • Perfect for note-taking apps: Seamlessly encrypt Obsidian vaults, Logseq graphs, or any markdown-based notes
@nomicode
nomicode / README.md
Last active April 28, 2024 20:14
Windows 11 Pro (Redux)

Windows 11 Pro (Redux)

-Install from bootable USB drive

  • Set up new user
    • Unable to proceed without signing in to Microsoft
    • New user has autogenerated username
    • Create admin user (local account)
    • Delete original user account
    • Create a new local user account and specify the username nomi
  • Delete admin account
@nomicode
nomicode / docusaurus-admonitions.md
Last active April 27, 2024 18:36
Docusaurus-style admonitions with GitHub Flavored Markdown and GitHub Emoji shortcodes
@nomicode
nomicode / .markdownlint.yaml
Last active April 27, 2024 14:06
My defaults for markdownlint
# My defaults for markdownlint
# https://gist.github.com/nomicode/fecf294dd1e1abdefc8ea31bb9b57eb9/
default: true
# Disables rules that may conflict with Prettier
# https://github.com/DavidAnson/markdownlint/blob/main/style/prettier.json
extends: markdownlint/style/prettier
# Line length
@nomicode
nomicode / .editorconfig
Last active April 27, 2024 14:12
Defaults for EditorConfig
# My defaults for EditorConfig
# https://gist.github.com/nomicode/8ac796041f358dd42c638dfe4c93ed2
# See also:
# - https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties
root = true
[*]
charset = utf-8
@nomicode
nomicode / README.md
Last active April 23, 2024 16:40
VS Code keybindings
@nomicode
nomicode / btSignal.sh
Created March 31, 2024 17:18 — forked from mikerr/btSignal.sh
Bluetooth RSSI signal strength
# install bluetooth tools
sudo apt-get install --no-install-recommends bluetooth
# find MAC address (needs to be discoverable)
hcitool scan
# ping it
sudo l2ping -c 1 12:34:56:78:90
# Connect by MAC
@nomicode
nomicode / cspell.md
Last active November 9, 2023 01:15
Linters

‎‎​

@nomicode
nomicode / setdate.py
Last active April 17, 2023 15:16
setdate
#!/usr/bin/env python3
def main():
pass
if __name__ == "__main__":
main()
@nomicode
nomicode / keybase.md
Created November 8, 2022 17:51
Keybase

Keybase proof

I hereby claim:

  • I am nomirose on github.
  • I am nomirose (https://keybase.io/nomirose) on keybase.
  • I have a public key ASDXHQwTX6CwxbN43nQH12_e-FXBGMzypjnJyrcPO6cAUAo

To claim this, I am signing this object: