vim ${ZSH}/themes/${ZSH_THEME}.zsh-theme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
An example is | |
Code: | |
echo "\033[1;31m Hello \033[0m" | |
The '31' and the '1' are the things you change. The '31' is the color code, and the '1' is where you put whatever you want to color. The rest of it is the same for every color coding; the beginning starts coloring, and the stuff afterwards stops coloring ('0' switches it back to default text color). You can use the following color codes: | |
Code: | |
30 - black |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
log ssh | |
run | |
vendor/bin/ece-tools cron:kill |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sincronizar id do usuáiro do container com o do computdor | |
sudo chown -R $(id -u):$(id -g) . | |
--> Mostrar todos os container executando | |
docker ps | |
--> Parar todos os containers | |
docker stop $(docker ps -a -q) | |
--> Executar bash de um container |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MAC os | |
open -n -a "Google Chrome" --args --user-data-dir=/tmp/temp_chrome_user_data_dir http://localhost:8100/ --disable-web-security |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##Sync google drive to local: | |
### This command will copy all files from google drive to local drive, if you delete a file from Google Drive, the file on your local will be deleted. | |
``` | |
rclone sync GoogleDrive:/ /mnt/7B40D3947E61F989/GoogleDrive/ | |
``` | |
### [DANGEROUS!!!] This command will copy all files from your local and move to your Google Drive. If the file does't exist on your local, the file will be delted on your google drive!!!! | |
``` | |
rclone sync /mnt/7B40D3947E61F989/GoogleDrive/ GoogleDrive:/ | |
``` |
/opt/rh/rh-php71/root/usr/bin/php -d memory_limit=-1 bin/magento admin:user:create --admin-user="redstage3" --admin-password="@123123q" --admin-email="test@redstage.com" --admin-firstname="Admin" --admin-lastname="Admin"
admin:user:create --admin-user="admin2" --admin-password="@123123q" --admin-email="test@admin.com" --admin-firstname="Admin" --admin-lastname="Admin"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://www.vivaolinux.com.br/dica/APT-Corrigir-erro-de-chave-publica-W-Erro-GPG | |
APT - CORRIGIR ERRO DE CHAVE PÚBLICA (W: ERRO GPG) | |
NOTA: dica válida só para Debian e derivadas. | |
Muitos usuários novatos não se atentam ao fato de que quando um novo repositório é adicionado, a instalação de sua chave pública (GPG) é obrigatória e tem que ser instalada manualmente (salvo em caso de comandos com a instalação da GPG prevista). | |
Quando isso não acontece, temos erros no update do sistema como o emulado abaixo. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://ulauncher.io/ | |
https://github.com/beajeanm/ulauncher-windows-switcher |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mv .zsh_history .zsh_history_bad | |
strings .zsh_history_bad > .zsh_history | |
fc -R .zsh_history |
NewerOlder