Skip to content

Instantly share code, notes, and snippets.

View rafaelfess's full-sized avatar
🐼
I may be slow to respond.

Rafael rafaelfess

🐼
I may be slow to respond.
View GitHub Profile
@rafaelfess
rafaelfess / portainer-dokku.md
Created February 29, 2020 13:02 — forked from woudsma/portainer-dokku.md
TLS secured TCP exposed Docker daemon on Dokku host - setup

TLS secured TCP exposed Docker daemon on Dokku host - setup

  1. Create certificates
  2. Edit Docker options
  3. Restart Docker
  4. Copy client certificates from host
  5. (optional) Add remote endpoint in Portainer

Tested on a standard $5/mo DigitalOcean VPS running Ubuntu 16.04.


@rafaelfess
rafaelfess / WSL.md
Last active February 22, 2020 00:21
Setting up my personal development environment
@rafaelfess
rafaelfess / gist:d30c4c903d43c9454905821517227e2d
Created February 11, 2020 19:12 — forked from sandsu/gist:084e93b990a5aeb74c12
Using cedilha - ArchLinux Cinnamon
Author: Nilo Dantas - n1lo
Based on: https://bugs.launchpad.net/ubuntu/+source/ibus/+bug/518056 - helio-valente post
How to use Cedilha on US Keyboard on ArchLinux
1) Put: English(US, internacional with dead Keys) on your system keyboard layout.
2) Editing the files:
sudo vim /usr/lib/gtk-3.0/3.0.0/immodules.cache
@rafaelfess
rafaelfess / PIPENV_error.md
Last active April 30, 2018 02:10
Solution to PIPENV error on MacOS

SETUP:

MacOS version: 10.13.4 (High Sierra)

  • Python 3: brew install python
  • pipenv: brew install pipenv

SOLUTION:

Solved by adding the following lines to ~/.bash_profile:

@rafaelfess
rafaelfess / README.md
Last active August 14, 2024 13:27
EdgeOS: Scheduled PPPoE reconnect configuration #EdgeRouter

EdgeOS: Scheduled PPPoE reconnect configuration

It will restart the PPPoE connection every day at 7a.m

The benefit to using the task-scheduler is that your commands get saved in config folder which ensures that they get copied over during firmware upgrades.

Creating the script file

cd /config/user-data && sudo mkdir scripts && sudo chown root scripts && cd scripts