Skip to content

Instantly share code, notes, and snippets.

View okelet's full-sized avatar
🎯
Focusing

Juan A. S. okelet

🎯
Focusing
View GitHub Profile
#!/bin/bash
##################################################################################################################################
# https://www.digitalocean.com/community/tutorials/how-to-install-elasticsearch-logstash-and-kibana-elastic-stack-on-ubuntu-20-04
##################################################################################################################################
# Configures a full ELK stack ob Ubuntu 20.04
# - Elasticsearch
# - Kibana
# - nginx
@okelet
okelet / README.md
Last active January 27, 2023 16:31
Calendario Laboral Madrid 2023 (Google/ICS)

Post original: https://blog.okelet.dev/post/2023/01/calendario-laboral-madrid-2023-google-ics/

He estado buscando por toda Internet y no he encontrado un calendario público en formato ICS con los festivos de Madrid, de tal forma que se pueda añadir directamente a Google Calendar o cualquier otra aplicación (Google Calendar ya te muestra los festivos nacionales y de todas las comunidades autónomas, pero no los locales). Así que como tampoco son tantos, me he creado un calendario en mi cuenta y he decidido compartirlo públicamente. Aquí tenéis las direcciones para poder usarlo.

Visualización en el navegador: https://calendar.google.com/calendar/embed?src=6bbcb4bdfed25a4f2444338f51fb8a5a80164c733180487e49698a86f43c4cfe%40group.calendar.google.com&ctz=Africa%2FCeuta

URL ICS (para descargar o añadir directamente en Google Calendar u otras aplicaciones):

@okelet
okelet / poetry_lambda_generate_zip.sh
Created September 16, 2022 14:26
Simple shell script to generate a ZIP package for a script whose dependencies are defined using Poetry
#!/bin/bash
set -e
TMP_DIR=$(mktemp -d --suffix=.poetry-lambda-generate-zip)
APP_DIR=$(pwd)
rm -Rf dist
mkdir dist

Testing Athena partition projection

Moved to the blog.

Testing aws ecs execute-command

Moved to the blog.

My Visual Studio Code extensions

Moved to the blog.

@okelet
okelet / README.md
Last active July 27, 2021 18:37
Graylog Zabbix monitoring

Graylog Zabbix monitoring

The bash script creates a user with the permissions required to monitor the journal and get metrics.

The second file is a template for Zabbix (requires Zabbix 3.4); this template collects the following data:

  • Balancer status for the node
  • Journal: current size
  • Journal: max size