Skip to content

Instantly share code, notes, and snippets.

@tiagogbarbosa
tiagogbarbosa / cybree-debian-upgrade-script.md
Last active December 6, 2025 20:41 — forked from Bonveio/cybree-debian-upgrade-script.md
Cybree upgrade script (10 >> 11 >> 12 >> 13)

download script:

wget -O upgrade.sh 'https://gist.github.com/Bonveio/bb40b778b33ef06868c14c0240f25967/raw/upgrade.sh'

usage:

  • Debian 10 to 11 bash upgrade.sh 11
  • Debian 11 to 12 bash upgrade.sh 12
  • Debian 12 to 13 bash upgrade.sh 13
@tiagogbarbosa
tiagogbarbosa / wsl-info.md
Created August 25, 2024 08:22 — forked from WillianTomaz/wsl-info.md
Instruções do WSL (Instalação, Backup e Restauração)

Instruções para Instalação, Backup e Restauração do WSL 2

  • Observação:

    • Sempre buscar pela documentação oficial, este documento é um tutorial
      que pode não te atender conforme tenha novas atualizações do processo de instalação.
    • As referências estão no final do documento.
  • Foi utilizado:

    • Windows 10
@tiagogbarbosa
tiagogbarbosa / raspbian-bookworm-minimal-kiosk.md
Created June 15, 2024 01:44 — forked from seffs/raspbian-bookworm-minimal-kiosk.md
Raspbian Bookworm - Ultra Minimal Kiosk Setup

This was tested on a fresh Raspbian Bookworm Lite installation. Proceed with caution.

EDIT 23/12/2023: Removed dead download link and added own release

EDIT 09/06/2024: Force wayland after install


First Steps

Update your system

@tiagogbarbosa
tiagogbarbosa / zfsbench
Created May 2, 2024 08:28 — forked from mergwyn/zfsbench
ZFS benchmarking using fio
#!/usr/bin/env bash
set -o errexit
echo $(date):Random read
fio --filename=test --sync=1 --rw=randread --bs=4k --numjobs=1 \
--iodepth=4 --group_reporting --name=test --filesize=10G --runtime=300 && rm test
echo $(date):Random write
fio --filename=test --sync=1 --rw=randwrite --bs=4k --numjobs=1 \
@tiagogbarbosa
tiagogbarbosa / proxmox_lxc_pct_provisioner.sh
Created April 18, 2024 05:49 — forked from tinoji/proxmox_lxc_pct_provisioner.sh
Create and provision Proxmox LXC by pct command
pct create <id> /var/lib/vz/template/cache/centos-7-default_20170504_amd64.tar.xz \
-arch amd64 \
-ostype <centos|ubuntu|etc> \
-hostname <hostname> \
-cores <cores> \
-memory <memory(MB)> \
-swap <swap(MB)> \
-storage local-lvm \
-password \
-net0 name=eth0,bridge=<bridge>,gw=<gateway>,ip=<cidr>,type=veth &&\
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCex711i4cPpmtO366GL6EBD5njVOKE+Kf4ZsQuj/lsGlA5xYypa/ITZ/x5fkLcLQI+Qo7q3D7x6scmpaTaT9xFJI8qnVZRSulkzxgFeDn1JMUJO3dvr7Cxs+tyKyYFYt6/hmFT4aGDShCJBAmo3IBMmQdeMQX5Nd8e9Vx2Rubj2AYSRRzGJF9TQXqlg92wu85fsi2VrC6mWWKrsRnFfINZ+P+jnosXNRSZeLdz/OSLF5IO4H80hE7hO3bm2otnJR3mOJsFmBtJCM0TaOky6B18JUiDaWsxFgMvg0TJKnHMpgYqBU9UbvHJ7D93h2iZBD9nyr69MqXh1+OqVM1ENiKb
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKMGR0UwikZrdMlRZlvnDdwQ88F2wTBc+c9WknoBEujQUtCnqYyxW84BPN4f89JAyWOaiiWfRi2PVg5wFyshCoUminyB35Ip4R/wtjp6YmtfgS7cymMxta1cvi6qOw/cTMTJWMEYvGpoWsohhsFiRRLHwCD8Jn6DybmHAnqcohWfiNwFZfU3hEpkKA0NDzkJKMhuI14ET1ZbSzExaWp42bbNJKAi2W3cYaZGNXk9a1eRKo+NS8Zf/0EFkCMPIPSWYwudKpm2hEElLiC+5xYzFiszpXjBSmKr5sb6AFRIWYTsHfyEsYkQPa5VDP3IPWWHUBlBfEqC2gpP0XIQhFZICz
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC/jx0T5KbSmQi29axjSQeDAMUUoJ/BVlk4RsRpwt7kDzEc1jpZK4Lzts5UVuGMH/+5GJigJ0GYCg4DjVcNSyt3xaIMhf8nZjX6XMPfKJGChq595QYCybDg1orqL3Zx5a/Ik7CyXVtIQksfvaYbr2i+3U1wpOyhUbJHJv4L+s3I86Aw3fpxdKLWs17MbNqsbBBifM75BjytLGJopjTUy8mtRHZUpquvGu
@tiagogbarbosa
tiagogbarbosa / sources.list
Created February 21, 2024 20:44 — forked from h0bbel/sources.list
/etc/apt/sources.list for Ubuntu 18.04.1 LTS Bionic Beaver
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
@tiagogbarbosa
tiagogbarbosa / AdBlockPlusWhiteList.txt
Last active May 22, 2024 10:21
Whitelist - Combinated from AdBlockHome to AdBlockPlus
@@||activate.adobe.com^$important
@@||assets.adobedtm.com^$important
@@||entitlement.auth.adobe.com^$important
@@||fpdownload.adobe.com^$important
@@||lm.licenses.adobe.com^$important
@@||akadns.net^$important
@@||akamai.net^$important
@@||akamaihd.net^$important
@@||akamaitechnologies.com^$important
@@||akamaized.net^$important
@tiagogbarbosa
tiagogbarbosa / README.md
Created September 23, 2023 16:17 — forked from woblerr/README.md
Docker containers logs clearing script

Docker containers logs clearing script

chmod +x ./clear_docker_container_logs.sh

Usage

Usage: ../clear_docker_container_logs.sh [-c ""]