Skip to content

Instantly share code, notes, and snippets.

@pycckuu
pycckuu / pass.md
Last active April 24, 2023 15:51 — forked from abtrout/pass.md
Using password-store with git repository synching

Password-store keeps your passwords (or any other sensitive information) saved in GnuPG encrypted files organized in ~/.password-store. For more information about GPG, consult the GNU Privacy Handbook.

Getting started

To get started, install pass and generate a keypair.

$ brew install pass
$ gpg --gen-key
$ gpg --list-keys
@pycckuu
pycckuu / passgitgpg.md
Created May 29, 2022 20:45 — forked from flbuddymooreiv/passgitgpg.md
Setting up pass on git with a gpg key

The following shell transcript shows how to:

  • Create a GPG key
  • Create a pass database
  • Add git support to the pass database
  • Create a remote git repository
  • Push the pass database to the remote git repository
  • Fetch and display your passwords from another host

It is assumed that the pass package has been installed on both the first and second computers.

@pycckuu
pycckuu / golang-tls.md
Created June 15, 2020 13:50 — forked from denji/golang-tls.md
Simple Golang HTTPS/TLS Examples

Moved to git repository: https://github.com/denji/golang-tls

Generate private key (.key)
# Key considerations for algorithm "RSA" ≥ 2048-bit
openssl genrsa -out server.key 2048

# Key considerations for algorithm "ECDSA" ≥ secp384r1
# List ECDSA the supported curves (openssl ecparam -list_curves)
@pycckuu
pycckuu / trilinos.rb
Last active August 29, 2015 14:09 — forked from davydden/trilinos.rb
require 'formula'
# brew install --without-suite-sparse --without-tbb --without-python --with-mpi
class Trilinos < Formula
homepage 'http://trilinos.sandia.gov'
url 'http://trilinos.sandia.gov/download/files/trilinos-11.10.2-Source.tar.gz'
sha1 'f7442cef35c4dea4f3535e0859deda88f68e72fc'
head 'https://software.sandia.gov/trilinos/repositories/publicTrilinos', :using => :git
option "with-teko", "Enable the Teko secondary-stable package"