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
Editar | |
sudo gedit /usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules.cache | |
sudo gedit /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules.cache | |
Adicionar :en na linha "cedilla" | |
sudo gedit /usr/share/X11/locale/en_US.UTF-8/Compose | |
substituir "ć" por "ç" e "Ć" por "Ç". |
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
#atualizado para mint 17.1 | |
sudo apt-get update | |
sudo apt-get upgrade -y | |
sudo apt-get install -y git curl zsh terminator ruby1.9.3 ant vim coffeescript libcurl4-openssl-dev exuberant-ctags imagemagick | |
sudo locale-gen pt_BR.UTF-8 | |
#postgres | |
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main" > /etc/apt/sources.list.d/pgdg.list' |
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
-- pg disk usage | |
-- https://wiki.postgresql.org/wiki/Disk_Usage | |
SELECT *, pg_size_pretty(total_bytes) AS total | |
, pg_size_pretty(index_bytes) AS INDEX | |
, pg_size_pretty(toast_bytes) AS toast | |
, pg_size_pretty(table_bytes) AS TABLE | |
FROM ( | |
SELECT *, total_bytes-index_bytes-COALESCE(toast_bytes,0) AS table_bytes FROM ( | |
SELECT c.oid,nspname AS table_schema, relname AS TABLE_NAME | |
, c.reltuples AS row_estimate |
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
# Paste this into: | |
# /usr/lib/systemd/system/crashplan.service | |
# | |
# Then: | |
# sudo systemctl enable crashplan.service | |
# sudo systemctl start crashplan.service | |
[Unit] | |
Description=CrashPlan Backup Engine | |
After=network.target |
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
# Não esquecer de olhar os hidden files | |
mkdir backup | |
sudo cp .gitconfig backup | |
sudo cp .ssh/config --parents backup | |
sudo cp .ssh/known_hosts --parents backup | |
sudo cp .ssh/id_rsa.pub --parents backup | |
sudo cp .ssh/id_rsa --parents backup | |
sudo cp -avr .DataGrip2019.3 --parents backup | |
sudo cp .pgpass --parents backup | |
sudo cp .zshrc --parents backup |
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
Current Version: 2110 - Cosmic | |
Date: 2021-12-18 | |
# Troca shortcut: | |
Contrl + alt + T = Terminal | |
Contrl + E = File Manager | |
# Muda navegacao de janelas para padrao win | |
Settings -> Shortcuts -> Navigation -> Move Window One Monitor to Right / Left = Super+Shift+Right / Super+Shift+Left |
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 install imwheel | |
Rodar o script mousewhell.sh | |
No startup, colocar ou na munheca: | |
imwheel --kill --buttons "4 5" | |
criar o arquivo em ~/.config/autostart/imwheel.desktop | |
[Desktop Entry] |
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
# Version: 39 | |
# Muda hostname | |
hostnamectl set-hostname opikdev | |
sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm | |
sudo dnf install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm | |
sudo dnf install google-chrome-stable dropbox obs-studio vlc -y | |
# Depois de logar no dropbox, quitar e: |
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
# Renomear User folder para remover acento do nome do AD | |
# Choco - no powershell com admin | |
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) | |
choco install googlechrome -y | |
choco install firefox -y | |
choco install 7zip.install -y | |
choco install jetbrainstoolbox |
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
# Instala o basico | |
sudo apt update && sudo apt upgrade -y | |
sudo locale-gen pt_BR.UTF-8 | |
/usr/lib/apt/apt-helper download-file https://debian.sur5r.net/i3/pool/main/s/sur5r-keyring/sur5r-keyring_2021.02.02_all.deb keyring.deb | |
dpkg -i ./keyring.deb | |
echo "deb http://debian.sur5r.net/i3/ $(lsb_release -c -s) universe" | sudo tee /etc/apt/sources.list.d/i3.list | |
sudo apt update | |
sudo apt install i3 |
OlderNewer