This file contains hidden or 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
#!/usr/bin/env bash | |
# post_install_k.sh - Fedora 42 | |
# Script pós-instalação otimizado para Fedora 42 com UX aprimorada | |
set -e | |
# Cores para mensagens | |
RED='\033[0;31m' | |
GREEN='\033[0;32m' | |
YELLOW='\033[1;33m' |
This file contains hidden or 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
#!/usr/bin/env bash | |
# Script de instalação/atualização do Windsurf Editor (anteriormente Codeium) para Fedora | |
# Criado para uso com Fedora 42+ | |
# Versão: 1.0 | |
set -e | |
# Cores para mensagens | |
RED='\033[0;31m' | |
GREEN='\033[0;32m' |
This file contains hidden or 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 upgrade -y | |
sudo apt install -y qtchooser zsh ssh curl nfs-common zenity gnome-keyring git cmake g++ build-essential vim libcurl4-openssl-dev htop iotop libmagickwand-dev imagemagick fonts-firacode imwheel tmux rustc libyaml-dev gawk zsh-antigen vorta | |
mkdir -p ~/.local/share/fonts | |
cd ~/Downloads | |
wget https://github.com/ryanoasis/nerd-fonts/releases/latest/download/CascadiaMono.zip | |
unzip CascadiaMono.zip -d CascadiaFont | |
cp CascadiaFont/*.ttf ~/.local/share/fonts | |
rm -rf CascadiaMono.zip CascadiaFont |
This file contains hidden or 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
#( KUbuntu 25.04 ) | |
# como usar: | |
# Clique ali em cima no botão raw | |
# salve o arquivo no seu disco. | |
# abra o terminal na pasta onde vc baixou o arquivo. | |
# de permissão de execução chmod +x post_install.sh | |
# rode: | |
# ./post_install_k.sh | |
# coloque sua senha |
This file contains hidden or 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
https://herold.space/proxmox-lxc-intel-quick-sync-for-plex/ | |
nano /etc/pve/lxc/<container id>.conf | |
lxc.cgroup2.devices.allow: c 226:0 rwm | |
lxc.cgroup2.devices.allow: c 226:128 rwm | |
lxc.cgroup2.devices.allow: c 29:0 rwm | |
lxc.mount.entry: /dev/dri dev/dri none bind,optional,create=dir | |
lxc.mount.entry: /dev/fb0 dev/fb0 none bind,optional,create=file |
This file contains hidden or 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
require: | |
- rubocop-rspec | |
- rubocop-performance | |
- rubocop-rails | |
AllCops: | |
NewCops: enable | |
Exclude: | |
- 'vendor/**/*' | |
- 'spec/fixtures/**/*' |
This file contains hidden or 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
# http://askubuntu.com/questions/505446/how-to-install-ubuntu-14-04-with-raid-1-using-desktop-installer | |
# http://askubuntu.com/questions/660023/how-to-install-ubuntu-14-04-64-bit-with-a-dual-boot-raid-1-partition-on-an-uefi%5D | |
sudo -s | |
apt-get -y install mdadm | |
apt-get -y install grub-efi-amd64 | |
sgdisk -z /dev/nvme0n1 | |
sgdisk -z /dev/nvme1n1 | |
sgdisk -n 1:0:+100M -t 1:ef00 -c 1:"EFI System" /dev/nvme0n1 | |
sgdisk -n 2:0:+8G -t 2:fd00 -c 2:"Linux RAID" /dev/nvme0n1 |
This file contains hidden or 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
# remember to remove old dbs, old extensions and stuff like that, it all adds up to the time it's going to take | |
# this works fine for 15 also | |
sudo apt-get install postgresql-16 postgresql-server-dev-16 | |
# mine neededs hypopg | |
cd /tmp | |
curl -L https://github.com/HypoPG/hypopg/archive/1.1.4.tar.gz | tar xz | |
cd hypopg-1.1.4 |
This file contains hidden or 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
{'2017-05-13': 2, '2017-05-14': 5} |
This file contains hidden or 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
https://hadler.me/linux/openfortigui/ |
NewerOlder