Skip to content

Instantly share code, notes, and snippets.

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

Joao Witor JoaoWitorFelipe

🏠
Working from home
  • Innova Connect
  • Tubarão SC
View GitHub Profile
@JoaoWitorFelipe
JoaoWitorFelipe / check_certificate_expiration_and_send_email.sh
Last active October 24, 2023 19:39
check certificate expiration and send email
#!/bin/bash
# Diretório onde os certificados SSL estão armazenados
cert_directory="path/to/certificates"
# Quantos dias antes do vencimento considerar para notificação
dias_aviso=30
# Obtenha a data atual em formato UNIX timestamp
data_atual=$(date +%s)
@JoaoWitorFelipe
JoaoWitorFelipe / clean-up-arch-linux.md
Created May 4, 2022 11:47 — forked from rumansaleem/clean-up-arch-linux.md
Instructions to clean up Arch Linux (Manjaro)

Contents

  • Clean pkg cache
  • Remove unused packages (orphans)
  • Clean cache in /home
  • remove old config files
  • Find and Remove
    • duplicates
    • empty files
    • empty directories
  • broken symlinks
@JoaoWitorFelipe
JoaoWitorFelipe / .zshrc
Last active May 19, 2021 23:30
zsh configuration
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="/home/joaowf/.oh-my-zsh"
# Path flutter project
export PATH="$PATH:/home/joaowf/flutter/bin"
# Set default VIM editor
@JoaoWitorFelipe
JoaoWitorFelipe / .vimrc
Last active May 19, 2021 23:27
vimrc configuration with vundle
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
" let Vundle manage Vundle, required