Skip to content

Instantly share code, notes, and snippets.

View joulgs's full-sized avatar

Jonathas Soares joulgs

View GitHub Profile
joulgs /
Created May 11, 2024 07:29
How install libssl1.1 on debian 11

Installing libssl1.1 on Debian

To install libssl1.1 on Debian, follow these steps:

  1. Access the Download Page: Visit the download page at: libssl1.1 - Debian Bullseye

  2. Choose Your CPU Architecture:


Select your CPU architecture. In most cases, the amd64 architecture is used.

joulgs /
Last active April 6, 2024 09:04
How to reference an issue from another repository in an issue


  • To reference an issue from another repository, use the following structure

- [ ] user-name/repor-name#issue_number


joulgs /
Created March 24, 2024 11:36 — forked from tfield/

sdkman vs jenv

Jenv is great, but the JDKs have to be manually installed. If you need more than just a couple of them, you'll want to be able to install them via command line, and sdkman provides this capability very cleanly for java. So... is it possible to work with both sdkman and jenv? Yes and no. Some tricks will allow you to tell jenv about the java versions that are managed by sdkman, but setting defaults (using jenv local 17.0 for instance) does not work very well. Time for a cleaner solution. Sdkman provides all of the same functionality, with more power and a slightly different (but equally simple) syntax. I've switched from jenv to sdkman. Here's my cheat sheet.


Download and install sdkman. Follow the required instructions after installing. Then, run the config command to enable auto_env support.

echo “Installing SDKMAN"
curl -s | bash
joulgs / gist:23ab216017840294973c25177e76cc00
Created December 14, 2023 18:21
check folder sizer unix system
Listar o tamanho de cada subdiretório no diretório raiz em ordem decrescente:
sudo du -h --max-depth=1 / | sort -rh
Se preferir uma saída mais concisa, você pode listar apenas os diretórios e seus tamanhos:
sudo du -h --max-depth=1 --separate-dirs /
joulgs /
Created October 2, 2023 13:56
How install phpmyadmin in debian/ubuntu whit nginx

need install:

  • php-fpm
  • nginx

sudo apt install phpmyadmin

create into /etc/nginx/snippets the file phpmyadmin.conf

add in file:

joulgs / gist:7add5f36fe04437a31dadfb5be0cd8d9
Created October 2, 2023 11:31
How enable remote access to MariaDB on Ubuntu/Debian
access the file ´/etc/mysql/my.cnf´ or ´/etc/mysql/mariadb.conf.d/50-server.cnf´ and find the line `bind-address =
and change to
joulgs /
Created March 31, 2023 14:11
Complete Reset VSCode (ubuntu/mac)
rm -rfv "$HOME/.vscode"
rm -rfv "$HOME/Library/Application Support/Code"
rm -rfv "$HOME/Library/Caches/"
rm -rfv "$HOME/Library/Saved Application State/"
joulgs / terminal.txt
Last active June 15, 2024 19:18
How install libssl1.1 on ubuntu 22.04
sudo dpkg -i libssl1.1_1.1.0g-2ubuntu4_amd64.deb
joulgs / configurar_git_remote.txt
Last active December 20, 2023 16:47
Configurar git remote num servidor
# Criar e entrar no repositorio .git
mkdir ~/git/meu_projeto.git
cd ~/git/meu_projeto.git
# Iniciar um novo repositorio git bare
git init --bare
# Com o repositorio criado voce navega até hooks e criar um arquivo post-receive
joulgs / gist:4f38f45a65ace2aa758d542a0c49c3cd
Created September 20, 2021 19:32
reiniciar nginx em conteiner docker
sudo docker exec -it container nginx -s reload