Skip to content

Instantly share code, notes, and snippets.

Italian Text
Nessun dorma! Nessun dorma!
Tu pure, o, Principessa,
nella tua fredda stanza,
guardi le stelle
che tremano d'amore
e di speranza.
Ma il mio mistero è chiuso in me,
il nome mio nessun saprà!
No, no, sulla tua bocca lo dirò
edit
/etc/yum.repos.d/kubernetes.repo
[kubernetes]
name=Kubernetes
baseurl=http://yum.kubernetes.io/repos/kubernetes-el7-x86_64
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://packages.cloud.google.com/yum/doc/yum-key.gpg https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg
@seanrclayton
seanrclayton / signing-git-commits.md
Created November 30, 2022 22:55 — forked from phortuin/signing-git-commits.md
Set up a GPG key for signing Git commits on MacOS (M1)

Based on this blogpost.

To sign Git commits, you need a gpg key. GPG stands for GNU Privacy Guard and is the de facto implementation of the OpenPGP message format. PGP stands for ‘Pretty Good Privacy’ and is a standard to sign and encrypt messages.

Setting up

Install with Homebrew:

$ brew install gpg
@seanrclayton
seanrclayton / util.go
Created December 9, 2022 00:23 — forked from schwarzeni/util.go
[golang] get specific network interface's IPv4 address
package util
import (
"errors"
"fmt"
"net"
)
// useful links:
// https://stackoverflow.com/questions/27410764/dial-with-a-specific-address-interface-golang