Skip to content

Instantly share code, notes, and snippets.

Avatar

Renato Zannon renato-zannon

View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am renato-zannon on github.
  • I am renato_zannon (https://keybase.io/renato_zannon) on keybase.
  • I have a public key whose fingerprint is 723E BFA3 0EBE 26C6 4310 5364 6C26 8AF6 75E7 D62E

To claim this, I am signing this object:

View controllers.application.js
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle',
store: Ember.inject.service(),
actions: {
createClosing() {
const closing = this.get('store').createRecord('closing');
this.set('closing', closing);
@renato-zannon
renato-zannon / README.md
Last active Oct 1, 2021
Verify if host will have Let's encrypt certificate validation problems
View README.md

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