Skip to content

Instantly share code, notes, and snippets.

View guim4dev's full-sized avatar
👾

Thiago Guimarães guim4dev

👾
View GitHub Profile
### Keybase proof
I hereby claim:
* I am guim4dev on github.
* I am guim4 (https://keybase.io/guim4) on keybase.
* I have a public key ASANL2TKEPhQiKpZTKTuUCSCOF7zsx6gOBivfg6DRBGQ1go
To claim this, I am signing this object:
@guim4dev
guim4dev / mentalup.svg
Created April 19, 2021 14:57
mental up svg image
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@guim4dev
guim4dev / README.md
Created November 1, 2022 23:53 — forked from arikfr/README.md
Setting up HTTPS with LetsEncrypt for Redash Docker Deployment
  1. Make sure the domain you picked points at the IP of your Redash server.
  2. Switch to the root user (sudo su).
  3. Create a folder named nginx in /opt/redash.
  4. Create in the nginx folder two additional folders: certs and certs-data.
  5. Create the file /opt/redash/nginx/nginx.conf and place the following in it: (replace example.redashapp.com with your domain name)
    upstream redash {
        server redash:5000;
    }
    
@guim4dev
guim4dev / repos-reclone.sh
Created October 31, 2023 19:03
Auto Reclone repos inside current folder
#!/bin/bash
# Specify the directory where your Git repositories are located
repo_dir="."
# Function to delete a Git repository if it exists
delete_repo() {
local repo_dir="$1"
if [ -d "$repo_dir" ]; then
echo "Deleting existing repository: $repo_dir"