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
DO $$ | |
DECLARE | |
kc record; | |
ik record; | |
BEGIN | |
RAISE NOTICE 'inicio...'; | |
FOR kc IN SELECT * FROM kit_correios kc WHERE id_ref in (12, 45) LOOP | |
RAISE NOTICE 'Verificando kit id = % id_ref % volumes %', kc.id_kit_correio, kc.id_ref, kc.qt_volumes; | |
FOR ik IN SELECT * FROM informacoes_kit ik WHERE id_kit_correio = kc.id_kit_correio LOOP |
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
DO $$ | |
DECLARE | |
kc record; | |
ik record; | |
BEGIN | |
RAISE NOTICE 'inicio...'; | |
FOR kc IN SELECT * FROM kit_correios kc WHERE id_ref in (12, 45) LOOP | |
RAISE NOTICE 'Verificando kit id = % id_ref % volumes %', kc.id_kit_correio, kc.id_ref, kc.qt_volumes; | |
FOR ik IN SELECT * FROM informacoes_kit ik WHERE id_kit_correio = kc.id_kit_correio LOOP |
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
update | |
ordens_trabalho | |
set | |
id_modelo_checklist = modelos_checklist.id_modelo_checklist | |
from | |
detalhes_servico, | |
modelos_checklist | |
where | |
detalhes_servico.id_detalhe_servico = ordens_trabalho.id_detalhe_servico | |
and modelos_checklist.id_detalhe_servico = detalhes_servico.id_detalhe_servico |
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
sudo apt update; | |
sudo apt install git zsh -y; | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"; | |
cd ~/Downloads | |
git clone https://github.com/denysdovhan/spaceship-prompt.git "$ZSH_CUSTOM/themes/spaceship-prompt" | |
ln -s "$ZSH_CUSTOM/themes/spaceship-prompt/spaceship.zsh-theme" "$ZSH_CUSTOM/themes/spaceship.zsh-theme" | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/zdharma/zinit/master/doc/install.sh)" | |
```code | |
sudo apt-get update | |
sudo apt upgrade |
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
Update and Upgrade | |
```code | |
sudo apt-get update | |
sudo apt upgrade | |
``` | |
Install everything | |
```code |
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 ~/.config/xfce4/xfconf/xfce-perchannel-xml/displays.xml ~/.config/xfce4/xfconf/xfce-perchannel-xml/displays.xml.bkp; | |
echo $(xrandr | sed -nr '/(\S+) connected (primary )?([0-9]+x[0-9]+)(\+\S+).*/{ s//\1: \3 \4 { ForceFullCompositionPipeline = On }, /; H}; ${ g; s/\n//g; s/, $//; p }'); | |
# add this to Section "Device" | |
Option "NoLogo" "1" | |
Option "RenderAccel" "1" | |
Option "TripleBuffer" "true" | |
Option "MigrationHeuristic" "greedy" | |
Option "AccelMethod" "sna" |
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
sudo add-apt-repository "deb http://us.archive.ubuntu.com/ubuntu/ artful-updates main" | |
sudo apt-get update | |
sudo apt-get install libfreetype6=2.8-0.2ubuntu2.1 | |
sudo apt-mark hold libfreetype6 |
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
sudo add-apt-repository "deb http://us.archive.ubuntu.com/ubuntu/ artful-updates main" | |
sudo apt-get update | |
sudo apt-get install libfreetype6=2.8-0.2ubuntu2.1 | |
sudo apt-mark hold libfreetype6 |
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
sudo add-apt-repository "deb http://us.archive.ubuntu.com/ubuntu/ artful-updates main" | |
sudo apt-get update | |
sudo apt-get install libfreetype6=2.8-0.2ubuntu2.1 | |
sudo apt-mark hold libfreetype6 |
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
sudo add-apt-repository "deb http://us.archive.ubuntu.com/ubuntu/ artful-updates main" | |
sudo apt-get update | |
sudo apt-get install libfreetype6=2.8-0.2ubuntu2.1 | |
sudo apt-mark hold libfreetype6 |