Skip to content

Instantly share code, notes, and snippets.

View membrive's full-sized avatar

Fernando Membrive Guillén membrive

View GitHub Profile
@membrive
membrive / check_ssl_expiration.py
Created January 3, 2024 12:03
Check the remaining days for the expiration of a domain's SSL certificate.
#!/usr/bin/python3
# -*- coding: utf-8 -*-
"""Check the remaining days for the expiration of a domain's SSL certificate."""
from datetime import datetime
import argparse
import socket
import ssl
CA_CERTS = './cacert.pem'
@membrive
membrive / update_zsh.sh
Created January 3, 2024 12:16
Update my ZSH setup
#!/bin/sh
echo 'Updating Oh-My-ZSH...'
cd ~/.oh-my-zsh
git pull
echo ''
echo 'Updating spaceship-prompt...'
cd ~/.oh-my-zsh/custom/themes/spaceship-prompt
git pull
@membrive
membrive / .wezterm.lua
Created August 7, 2024 07:36
My WezTerm config
local wezterm = require 'wezterm'
local config = wezterm.config_builder()
config.initial_rows = 26
config.initial_cols = 100
config.window_background_opacity = 0.80
config.macos_window_background_blur = 10
config.font = wezterm.font {