Skip to content

Instantly share code, notes, and snippets.

View HammoTime's full-sized avatar

Adam Hammond HammoTime

View GitHub Profile
@HammoTime
HammoTime / keybase.md
Created December 30, 2023 13:33
Keybase GitHub Proof

Keybase proof

I hereby claim:

  • I am hammotime on github.
  • I am hammo (https://keybase.io/hammo) on keybase.
  • I have a public key ASBysVWChzY9k37PJvHubmINxEQjijjArZm9UXWcLcbw_wo

To claim this, I am signing this object:

@HammoTime
HammoTime / CLA.md
Last active November 22, 2020 06:34

Fiduciary License Agreement 2.0 based on the Individual Contributor Exclusive License Agreement (including the TRADITIONAL PATENT LICENSE OPTION)

Thank you for your interest in contributing toTest CLA Project Pty Ltd's test-cla-project ("We" or "Us"). The purpose of this contributor agreement ("Agreement") is to clarify and document the rights granted by contributors to Us. To make this document effective, please follow the instructions at https://github.com/HammoTime/test-claproject/blob/main/CONTRIBUTING.

0. Preamble

Software is deeply embedded in all aspects of our lives and it is important that it empower, rather than restrict us. Free Software gives everybody the rights to use, understand, adapt and share software. These rights help support other

# Ubuntu
sudo apt-get install ruby-full build-essential zlib1g-dev
echo '# Install Ruby Gems to ~/gems' >> ~/.bashrc
echo 'export GEM_HOME="$HOME/gems"' >> ~/.bashrc
echo 'export PATH="$HOME/gems/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc
# Fedora
sudo dnf install ruby ruby-devel @development-tools
xcode-select --install
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install ruby
echo 'export PATH="/usr/local/opt/ruby/bin:$PATH"' >> ~/.bash_profile
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: fluentd
namespace: monitoring
labels:
k8s-app: fluentd-logging
spec:
template:
spec:
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: monitoring
resources:
- fluentd-daemonset-elasticsearch-rbac.yaml
patchesStrategicMerge:
- custom.yaml
apiVersion: v1
kind: Secret
metadata:
name: monitoring-secrets
namespace: monitoring
data:
loggly_token: <LOGGLY_TOKEN>
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
# snip #
annotations:
# Add our annotation
cert-manager.io/cluster-issuer: letsencrypt-production
# end snip #
spec:
# snip #
@HammoTime
HammoTime / gist:57733b1e63eb01e91a12554e6876dc35
Created July 18, 2020 09:12
production_do_dns_issuer.yaml
apiVersion: cert-manager.io/v1alpha2
kind: ClusterIssuer
metadata:
name: do-issuer-production
namespace: cert-manger-issuer
spec:
acme:
# The ACME server URL
server: https://acme-v02.api.letsencrypt.org/directory
# Email address used for ACME registration
apiVersion: v1
kind: Secret
metadata:
name: digitalocean-dns
namespace: cert-manger-issuer
data:
access-token: <DIGITAL_OCEAN_API_KEY>