Skip to content

Instantly share code, notes, and snippets.

@wmudge
wmudge / openssl_commands.md
Created May 16, 2025 13:42 — forked from Hakky54/openssl_commands.md
OpenSSL Cheat Sheet

OpenSSL Cheat Sheet ๐Ÿ”

Install

Install the OpenSSL on Debian based systems

sudo apt-get install openssl
@wmudge
wmudge / README.md
Last active January 21, 2025 16:15 — forked from mrgrain/pinentry-1password.sh
1Password CLI pinentry for gpg-agent

GPG-to-1Password

Connect your gpg-agent to 1Password so you can unlock your GPG key from the password manager.

Prerequisites

  • 1Password CLI
  • GnuPG

Instructions

/*
** 1. You should use hider plugin and hide additional items to look like whats in my reddit post
** 2. i also hided elements in settings which i dont remember what
** 3. enjoy!
*/
body {
--background-primary: #000;
[localhost] TASK: install package (debug)> from jinja2 import Environment
[localhost] TASK: install package (debug)> e = Environment()
[localhost] TASK: install package (debug)> t = e.from_string(task.args['msg'])
[localhost] TASK: install package (debug)> t.render(task_vars)
'foo'
or
@wmudge
wmudge / RenewExpiredGPGkey.md
Created February 27, 2023 14:39 — forked from TheSherlockHomie/RenewExpiredGPGkey.md
Updating expired GPG keys and backing them up ๐Ÿ”‘๐Ÿ”๐Ÿ’ป

Updating expired GPG keys and their backup ๐Ÿ”‘๐Ÿ”๐Ÿ’ป

I use a GPG key to sign my git commits.

An error like this one might be a sign of an expired GPG key.

error: gpg failed to sign the data fatal: failed to write commit object
@wmudge
wmudge / gitflow-breakdown.md
Created February 1, 2023 17:06 — forked from JamesMGreene/gitflow-breakdown.md
`git flow` vs. `git`: A comparison of using `git flow` commands versus raw `git` commands.

Initialize

gitflow git
git flow init git init
ย  git commit --allow-empty -m "Initial commit"
ย  git checkout -b develop master

Connect to the remote repository

@wmudge
wmudge / github_gpg_key.md
Last active June 18, 2022 18:39 — forked from ankurk91/github_gpg_key.md
Signing git commits using GPG (Ubuntu/Mac)

Signing commits using GPG (Ubuntu/Mac) ๐Ÿ”

  • Do you have an Github account ? If not create one.
  • Install required tools
  • Latest Git Client
  • gpg tools
# Ubuntu
sudo apt-get install gpa seahorse