Skip to content

Instantly share code, notes, and snippets.

View damiancolaneri's full-sized avatar
🏠
Working from home

Damian Colaneri damiancolaneri

🏠
Working from home
View GitHub Profile
@damiancolaneri
damiancolaneri / components.yaml
Created June 13, 2023 00:57
Install metrics-server in docker-desktop
apiVersion: v1
kind: ServiceAccount
metadata:
labels:
k8s-app: metrics-server
name: metrics-server
namespace: kube-system
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
@damiancolaneri
damiancolaneri / .zshrc
Created February 2, 2023 17:58 — forked from bashbunni/.zshrc
CLI Pomodoro for Linux
# study stream aliases
# Requires https://github.com/caarlos0/timer to be installed. spd-say should ship with your distro
declare -A pomo_options
pomo_options["work"]="45"
pomo_options["break"]="10"
pomodoro () {
if [ -n "$1" -a -n "${pomo_options["$1"]}" ]; then
val=$1
@damiancolaneri
damiancolaneri / k8s-pi.md
Created March 21, 2021 20:05 — forked from alexellis/k8s-pi.md
K8s on Raspbian
@damiancolaneri
damiancolaneri / useForm.js
Created January 31, 2021 18:11
Custom Hook para manejo de formularios
import { useState } from 'react';
/*
Ejemplo de eso del custom hook:
const initialForm = {
name: "",
email: ""
};
const [ formValues, handleImputChange, reset ] = useForm(initialForm);