Skip to content

Instantly share code, notes, and snippets.

View RobertKielty's full-sized avatar
🌎
🏠

Robert Kielty RobertKielty

🌎
🏠
View GitHub Profile
@aojea
aojea / Dockerfile
Last active April 3, 2025 11:17
Using crio runtime in KIND
ARG IMAGE=kindest/node
ARG VERSION=1.19
ARG MINOR=1
ARG OS=xUbuntu_20.04
FROM ${IMAGE}:v${VERSION}.${MINOR}
ARG VERSION
ARG OS
#!/bin/bash
DEST_REPO=${DEST_REPO:-"gcr.io/k8s-staging-csi/"}
images=(
quay.io/k8scsi/csi-attacher:v2.2.0
quay.io/k8scsi/csi-attacher:v3.0.0-rc1
quay.io/k8scsi/csi-node-driver-registrar:v1.2.0
quay.io/k8scsi/csi-node-driver-registrar:v1.3.0
quay.io/k8scsi/csi-provisioner:v1.6.0
import { useReducer, useCallback } from 'react';
// Usage
function App() {
const { state, set, undo, redo, clear, canUndo, canRedo } = useHistory({});
return (
<div className="container">
<div className="controls">
<div className="title">👩‍🎨 Click squares to draw</div>
@ConorSheehan1
ConorSheehan1 / standup.sh
Last active July 7, 2023 14:17
bash script to show git commits for a standup.
# show commits from all branches for current git user.
function my-commits-since() {
git log --all --author=$(git config user.email) --since=$@
}
# show commits from yesterday.
# if none were found, assume it's Monday and show commits from Friday.
function standup() {
if [ -z "$(my-commits-since yesterday)" ]; then
my-commits-since last.friday.midnight $@;
@TT--
TT-- / github-wiki-how-to-image-links.md
Created November 3, 2018 03:06 — forked from subfuzion/github-wiki-how-to.md
GitHub Wiki How-To for Image and File links
@bgauduch
bgauduch / multiple-repository-and-identities-git-configuration.md
Last active April 26, 2025 18:37
Git config with multiple identities and multiple repositories

Setup multiple git identities & git user informations

/!\ Be very carrefull in your setup : any misconfiguration make all the git config to fail silently ! Go trought this guide step by step and it should be fine 😉

Setup multiple git ssh identities for git

  • Generate your SSH keys as per your git provider documentation.
  • Add each public SSH keys to your git providers acounts.
  • In your ~/.ssh/config, set each ssh key for each repository as in this exemple:
@rnwolf
rnwolf / spacemacs-keybindings.md
Last active October 28, 2024 02:30 — forked from kiambogo/spacemacs-keybindings
spacemacs keybindings that i need to learn
# This tells kubecfg to read its config from the local directory
export KUBECONFIG=./kubeconfig
# Looking at the cluster
kubectl get nodes
kubectl get pods --namespace=kube-system
# Running a single pod
kubectl run --generator=run-pod/v1 --image=gcr.io/kuar-demo/kuard-amd64:1 kuard
kubectl get pods