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
# 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
# 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
-- 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
#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
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 "Ç". |
NewerOlder