- Add this vars to the env in the deployment
- name: REGISTRY_AUTH_HTPASSWD_REALM
value: Registry Realm
- name: REGISTRY_AUTH_HTPASSWD_PATH
value: /var/lib/registry/registry.auth
#!/bin/bash | |
# This script cycle throug all email users and try to find an email with a particular subject and erase it | |
# Author: [email protected] circa 2024 | |
# usage | |
if [ -z "$1" ]; then | |
echo "Goal: search for an emails with a subject and erase them" | |
echo "usage: Delete-mails <subject_simple_pattern> [option]" | |
echo "Option is:" |
#!/bin/bash | |
## Author: Pavel Milanes <[email protected]> / Telegram: @pavelmc | |
## Goal: mirror ubuntu repos | |
## Last Mod: Tue Mar 26 07:22:45 PM EST 2024 | |
# This script use the terms described on the ubuntu base docs | |
# https://ubuntu.com/landscape/docs/explanation-about-repository-mirroring | |
# Archs, you can set more than one, comma separated no space [a,b,c,d] |
#!/bin/bash | |
# Author: Pavel Milanes <[email protected]> | |
# Goal: Prune the microk8s registry from unused images | |
# Date: May 2023 | |
# force install needed tools: git, python3-pip, jq, curl... | |
apt-get install git python3-pip curl jq -y | |
# get the list of runing container images, install the soft if not there |
Tested on Gnome 40.x/41.x/42.x (Ubuntu) but must work on 38.x and grater.
The code is arranged to easy [human] inspection, read it before proceed; be aware that copy & pasting code on the internet is a bad pactice.
Copy the code below and paste it on your terminal + enter, no sudo is needed.
{"version":1,"resource":"file:///home/pavel/Documentos/ChagodTours/shago_website/docker/develop/postgres/backup.sh","entries":[{"id":"oJRg.sh","timestamp":1655934982623},{"id":"M5V9.sh","timestamp":1656571835313}]} |
Quizás tu usas un proveedor de telefonía que tiene entre sus ofertas una tarifa plana, o una bien generosa y que te alcanza, pero en Cuba no existe tarifa plana y tendemos a exprimir cada byte de la conexión de datos.
Puede que te hayas topado con este caso: usas los datos móviles del celular compartidos por WiFi con la PC/Laptop de trabajo y no hay nada malo con eso, o si?
Maybe you has a plain data plan with your cell carrier and this don't care to you, but in Cuba the data plans are expensive and we need to squeeze even the last byte of data from it
Some times you face this scenario: You connect your Cell Phone to the mobile data and set it up as a WiFi hostspot to share the internet with your work PC or Laptop; this is Ok, but then you have a dual waste of bandwidth; yes, think about it:
#!/bin/sh | |
###################################################################### | |
# Convert Youtube AV1 video files, Gnome nautilus script | |
# | |
# You need ffmped, mencoder and aom video encoder/decoder for AV1 video | |
# | |
# Goal here is to convert it as fast as it can with so-so resolution | |
# and playable in any embedded device, specs follows | |
# |
#!/bin/sh | |
###################################################################### | |
# Convert Youtube AV1 video files, Gnome nautilus script | |
# | |
# You need ffmped, mencoder and aom video encoder/decoder for AV1 video | |
# | |
# Goal here is to convert it as fast as it can with so-so resolution | |
# and playable in any embedded device, specs follows | |
# |