Skip to content

Instantly share code, notes, and snippets.

@gfcleao
Last active May 4, 2024 13:29
Show Gist options
  • Save gfcleao/f1a3958523fb2ace29add208ca87ad32 to your computer and use it in GitHub Desktop.
Save gfcleao/f1a3958523fb2ace29add208ca87ad32 to your computer and use it in GitHub Desktop.
Diversos comandos que uso constantemente em minhas máquinas.
Remover pacotes orfãos (Arch Linux)
$ pacman -Qtdq | sudo pacman -Rns -
Scripts (Raspberry Pi)
■ CasaOS
$ wget -qO- https://get.casaos.io | sudo bash
■ PiKiss
$ curl -sSL https://git.io/JfAPE | bash
■ Pi-Apps
$ wget -qO- https://raw.githubusercontent.com/Botspot/pi-apps/master/install | bash
Reiniciar as estatísticas da bateria (Android)
$ dumpsys batterystats --reset
Corrigir download lento da Steam (Linux)
$ nano ~/.steam/steam/steam_dev.cfg
@nClientDownloadEnableHTTP2PlatformLinux 0
@fDownloadRateImprovementToAddAnotherConnection 1.0
Script para instalar programas, otimizar/modificar o sistema (Windows)
> iwr -useb https://christitus.com/win | iex
Ativador (Windows/Office)
> irm https://massgrave.dev/get | iex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment