Skip to content

Instantly share code, notes, and snippets.

View mauriballes's full-sized avatar
😄
Doing Amazing Stuffs!

Mauricio Ballesteros mauriballes

😄
Doing Amazing Stuffs!
View GitHub Profile
@svx
svx / delete-evicted-pods-all-namespaces.sh
Created August 15, 2018 12:45 — forked from psxvoid/delete-evicted-pods-all-namespaces.sh
Delete evicted pods from all namespaces (also ImagePullBackOff and ErrImagePull)
#!/bin/sh
# based on https://gist.github.com/ipedrazas/9c622404fb41f2343a0db85b3821275d
# delete all evicted pods from all namespaces
kubectl get pods --all-namespaces | grep Evicted | awk '{print $2 " --namespace=" $1}' | xargs kubectl delete pod
# delete all containers in ImagePullBackOff state from all namespaces
kubectl get pods --all-namespaces | grep 'ImagePullBackOff' | awk '{print $2 " --namespace=" $1}' | xargs kubectl delete pod
# delete all containers in ImagePullBackOff or ErrImagePull or Evicted state from all namespaces
@rigwild
rigwild / README.md
Last active March 7, 2025 15:26
Red Hat free repositories

Red Hat free repositories

You need a subscription to access Red Hat sources servers.

Fortunately, you can access most of the packages freely with other sources.

Note: Edit scripts to match your RHEL version! You can view it with hostnamectl.

EPEL repository

EPEL is a repository targetted at Fedora users. It can be used with the following systems:

@danirod
danirod / full_height.css
Last active May 24, 2022 15:57
Como posicionar el footer al fondo -- gracias a twitch.tv/manuelv3g4 por la ayuda
/* Primero declaras tu página como flex y le das una altura mínima */
body {
min-height: 100vh;
display: flex;
flex-direction: column;
}
/* En tu elemento principal pones esto para expandirlo si fuese necesario.
Con esto si la pagina no es lo suficientemente alta, al menos se expande
verticalmente para rellenar el hueco que queda. */