Skip to content

Instantly share code, notes, and snippets.

View LuizHGodoy's full-sized avatar
:atom:
light speed learning

Luiz_Godoy LuizHGodoy

:atom:
light speed learning
  • Dourados-MS
View GitHub Profile
@LuizHGodoy
LuizHGodoy / BDLinux.md
Created December 12, 2022 11:54 — forked from ObserverOfTime/BDLinux.md
Install BetterDiscord on Linux
View BDLinux.md

Install BetterDiscord on Linux

This Gist contains simple instructions on how to install, update, and uninstall BetterDiscord on Linux.

For more thorough documentation, take a look at betterdiscordctl's README.

Do NOT submit issues here as I don't check the comments. You should submit them here instead.

@LuizHGodoy
LuizHGodoy / commands-docker-composer.md
Created February 18, 2022 12:15
Resolução de erros e comandos do docker e docker-composer
View commands-docker-composer.md

Atualize as dependências do PHP

composer install

Build das imagens do Docker

docker-compose up

Caso queira executar o container em segundo plano acrescente o atributo -d

docker-compose up -d

Para memover o volume

@LuizHGodoy
LuizHGodoy / config-linux.md
Created February 18, 2022 12:14 — forked from IgorM-Oliveira/config-linux.md
Configuração de máquinas Linux baseadas em .deb
View config-linux.md

Obs.:

  • Todos que tem um " ~ " é para baixar o programa direto no seu desktop logo apos, executar os comandos referentes
  • Lembrando que essas configurações são para Ubuntu 20.04 ou superior

Definir senhas se root

  • sudo passwd root

Desktop updating

  • sudo apt update && sudo apt upgrade -y
@LuizHGodoy
LuizHGodoy / dump_restore_mysql_docker.md
Created February 18, 2022 12:12
Dump o Restore MySQL Docker
View dump_restore_mysql_docker.md

Criando Backup

Criando Dump Remoto

Entrar via ssh

  ssh root@legis.genesis.tec.br

Criar o arquivo sql do banco: