Skip to content

Instantly share code, notes, and snippets.

View Tunjidir's full-sized avatar
🎯
Focusing

Tunjidir

🎯
Focusing
View GitHub Profile
@dblevins
dblevins / Dates.java
Last active May 28, 2022 20:02
Works for Java 8 and above. For Java 7 and before, see this legacy version https://gist.github.com/dblevins/03df3cd5eb12f2da05997eef80ac4eca
import java.time.LocalDate;
import java.time.ZoneId;
import java.time.format.DateTimeFormatter;
import java.util.Date;
/**
* This pattern has the following benefits:
*
* - Date formats are referenced as a strong type
* - Code completion on patterns

Kubernetes 1.17 on AWS with Cilium and Falco from scratch

Use these kubeadm configs and watch the live stream for more information on how to set up Kubernetes 1.17 on AWS with Cilium and Falco.

Master node

Kubeadm config

@byrnedo
byrnedo / .BuildDockerfile
Last active January 27, 2024 17:25
Go project Makefile with build done in docker
FROM golang:1.9-alpine
# vi: ft=dockerfile
RUN apk update && apk add curl \
git \
protobuf \
bash \
make \
openssh-client && \
rm -rf /var/cache/apk/*
@hanikesn
hanikesn / dashboard.yaml
Last active April 6, 2020 22:35
OpenID Connect Kubernetes Dashboard
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: kubernetes-dashboard
namespace: kube-system
labels:
k8s-app: kubernetes-dashboard
kubernetes.io/cluster-service: "true"
spec:
replicas: 1
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active May 3, 2024 19:09
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname