I hereby claim:
- I am felipealfonsog on github.
- I am felipealfonsog (https://keybase.io/felipealfonsog) on keybase.
- I have a public key ASDo6wD-QmniHwAHF7--HdLHSNv6kJ3UIg4I9PCFC3CC-go
To claim this, I am signing this object:
| #!/usr/bin/env bash | |
| set -e | |
| echo "=== Clean and safe Flutter-Bin installation ===" | |
| # Function to remove packages if installed | |
| remove_if_installed() { | |
| for pkg in "$@"; do | |
| if pacman -Qi "$pkg" &>/dev/null || yay -Qi "$pkg" &>/dev/null; then | |
| echo "-> Removing conflicting package: $pkg" |
| #!/bin/bash | |
| # Detect the package manager | |
| if command -v pacman &> /dev/null; then | |
| PACKAGE_MANAGER="pacman" | |
| INSTALL_CMD="sudo pacman -S --noconfirm" | |
| elif command -v apt &> /dev/null; then | |
| PACKAGE_MANAGER="apt" | |
| INSTALL_CMD="sudo apt install -y" | |
| elif command -v dnf &> /dev/null; then |
| #!/bin/bash | |
| set -e | |
| PACMAN_CONF="/etc/pacman.conf" | |
| REPO_NAME="gnlz" | |
| REPO_URL="https://gnlz.cl/repo/\$arch" | |
| if grep -q "^\[$REPO_NAME\]" "$PACMAN_CONF"; then | |
| echo ">> Repository [$REPO_NAME] already exists in $PACMAN_CONF" | |
| else |
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| # Actualizar sistema | |
| sudo pacman -Syu --noconfirm | |
| # Instalar Apache, PHP, módulos PHP y MariaDB | |
| sudo pacman -S --noconfirm apache php php-apache mariadb | |
| # Configurar Apache para PHP | |
| sudo sed -i '/#LoadModule mpm_event_module modules\/mod_mpm_event.so/s/^#//' /etc/httpd/conf/httpd.conf |
| #!/bin/bash | |
| set -e | |
| echo "ð§ Disabling zram swap..." | |
| # 1. Turn off zram if active | |
| if swapon --summary | grep -q zram0; then | |
| echo "ð Turning off /dev/zram0 swap..." | |
| sudo swapoff /dev/zram0 || echo "â ï¸ Failed to swapoff /dev/zram0" | |
| fi |
| #!/bin/bash | |
| echo "ð§ Verificando conexión a Internet..." | |
| if ping -c 1 archlinux.org &>/dev/null; then | |
| echo "â Conexión detectada." | |
| else | |
| echo "â No hay conexión a Internet. Conecta un cable Ethernet y vuelve a intentarlo." | |
| exit 1 | |
| fi |
| #!/usr/bin/env bash | |
| # Enable native Wayland support for Chromium-based browsers | |
| # Tested on Arch Linux | |
| set -e | |
| FLAGS=( | |
| "--enable-features=UseOzonePlatform" | |
| "--ozone-platform=wayland" | |
| "--enable-features=WebRTCPipeWireCapturer" |
| #!/bin/bash | |
| # Script definitivo para lanzar Chrome/Chromium en Arch KDE | |
| # Detecta Wayland y conflictos tÃpicos, fuerza X11 si es necesario | |
| echo "Which browser do you want to run?" | |
| echo "1) Google Chrome" | |
| echo "2) Chromium" | |
| read -rp "Enter 1 or 2: " choice |