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 September 8, 2025 11:37
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 / 0 - Multiple git identities on one machine.md
Last active September 9, 2026 16:19
Multiple git identities on one machine: config per folder and per provider (personal vs work). Every command verified.

Multiple git identities on one machine

One machine, several git identities (personal vs work, GitHub vs GitLab, two accounts on one provider). Each repository picks its own name, email and credentials. In a hurry: Appendix B, once per rule.

A wrong identity does not fail: git commits and pushes under the wrong author. Part 1 ends with the check that catches it.

Requirements

Feature Minimum git
@rnwolf
rnwolf / spacemacs-keybindings.md
Last active February 6, 2026 20:21 — 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