Skip to content

Instantly share code, notes, and snippets.

View madalozzo's full-sized avatar
🐊

Saulo Madalozzo madalozzo

🐊
View GitHub Profile
@renato-zannon
renato-zannon / README.md
Last active October 1, 2021 21:05
Verify if host will have Let's encrypt certificate validation problems

Running the script inside a docker container

If you wish to test whether your docker container won't have issues when the old Root certificate expires, you can run the script inside the container itself.

In order to do this, follow these steps:

  1. Download the verify-lets-encrypt.sh script from the gist
  2. Bring up your application container as you usually do - with docker-compose up, docker run, via VS Code etc
  3. Run docker ps, and look for any application containers that are up; the NAMES column is the easiest for that
  4. From the same folder where you've downloaded the script, run docker exec -i /bin/sh < verify-lets-encrypt.sh; this will run the script inside the container
@reginadiana
reginadiana / README-TEMPLATE.md
Last active May 22, 2024 23:23
Template sugestivo para documentação de projetos

Titulo ou Arte do Projeto

@noahp
noahp / dell-D6000-dock-ubuntu.md
Last active May 7, 2024 05:13
Dell Universal Dock D6000 on ubuntu
@obedmhg
obedmhg / showProjectId.user.js
Last active November 30, 2016 11:31
It willShow ProjectId on BCC, TamperMonkey Script
// ==UserScript==
// @name Append ProjectId BCC
// @description It will appen the project Id to the project name.
// @version 0.0.1
// @include /atg/
// @author Obed Murillo
// @require http://code.jquery.com/jquery-latest.js
// @grant none
// ==/UserScript==
@eznj
eznj / star_wars.ino
Last active September 26, 2023 18:24
Arduino Star Wars Song
const int c = 261;
const int d = 294;
const int e = 329;
const int f = 349;
const int g = 391;
const int gS = 415;
const int a = 440;
const int aS = 455;
const int b = 466;
const int cH = 523;