Skip to content

Instantly share code, notes, and snippets.

View matricce's full-sized avatar
🐢
Studying

Ruvian S. matricce

🐢
Studying
View GitHub Profile

Oh my zsh.

Oh My Zsh

Install ZSH.

sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh

Install Oh my ZSH.

cd ${XDG_RUNTIME_DIR} \
&& wget -q https://github.com/directvt/vtm/releases/download/v0.9.99.15/vtm_linux_x86_64.zip \
&& tar xzf vtm_linux_x86_64.zip \
&& rm vtm_linux_x86_64* \
&& chmod +x vtm \
&& ./vtm \
&& rm -rf ./vtm
  • No shell do projeto no replit:
    $ curl -Lk 'https://code.visualstudio.com/sha/download?build=stable&os=cli-alpine-x64' --output vscode_cli.tar.gz && tar -xvf vscode_cli.tar.gz && rm vscode_cli.tar.gz && ./code tunnel
    • Fazer o passo a passo que aparecer, pra cadastrar a máquina (é só na 1ª vez)

No VSCode:

  • Requisitos:
    • Ter a Extensão Remote - Tunnels instalada
  1. Tecla F1, depois pesquisar por Remote-Tunnels: Connect to Tunnel
  1. Instalar o Termux (Não instalar pela Play Store)

  2. Instalar o Andronix pela Play Store

  3. No Andronix, selecionar o Ubuntu e depois CLI Only

  4. Copiar e colar o comando no Termux

  5. Preparando para as instalações nos próximos passos:

    • Atualizar a lista de pacotes disponíveis nos repositórios configurados no sistema.
    root@localhost/~# apt update
cd ${XDG_RUNTIME_DIR} \
&& curl -sL https://github.com/jesseduffield/lazydocker/releases/download/v0.21.1/lazydocker_0.21.1_Linux_x86_64.tar.gz \
| tar xz lazydocker \
&& chmod +x lazydocker \
&& ./lazydocker \
&& rm -f lazydocker
$ docker run -d -t --network=host --name alma-asterisk almalinux:8
$ docker exec -ti alma-asterisk bash

Instalação do Asterisk

cd ~ && \
dnf update -y && dnf upgrade -y && \