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
| #!/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 |
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
| #!/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 |
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
| #!/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 |
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 | |
| # Enable native Wayland support for Chromium-based browsers | |
| # Tested on Arch Linux | |
| set -e | |
| FLAGS=( | |
| "--enable-features=UseOzonePlatform" | |
| "--ozone-platform=wayland" | |
| "--enable-features=WebRTCPipeWireCapturer" |
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
| #!/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 |
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 | |
| echo "──────────────────────────────────────────────" | |
| echo " Removing Python's EXTERNALLY-MANAGED lock " | |
| echo "──────────────────────────────────────────────" | |
| echo "* Developed and engineered by:" | |
| echo "* Felipe Alfonso Gonzalez <f.alfonso@res-ear.ch>" | |
| echo "* Computer Science Engineer" | |
| echo "* Chile" | |
| echo "------------------------------------------------" |
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
| #!/bin/bash | |
| # Lista de paquetes desactualizados | |
| outdated=$(brew outdated --formula | awk '{print $1}') | |
| echo "Starting safe upgrade for each outdated package..." | |
| for pkg in $outdated; do | |
| echo "-----------------------------" | |
| echo "Upgrading: $pkg" |
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
| #!/bin/bash | |
| set -e | |
| echo "🔧 Installing battery hibernate script..." | |
| # Crear script seguro | |
| sudo tee /usr/local/bin/battery-hibernate.sh > /dev/null <<'EOF' | |
| #!/bin/bash |
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
| #!/bin/bash | |
| # Ensure the script is run as root | |
| if [[ "$EUID" -ne 0 ]]; then | |
| echo "Please run as root" | |
| exit 1 | |
| fi | |
| echo "1. Mark all WiFi services as autoconnect..." | |
| for service in $(connmanctl services | awk '/^\*/{print $3}'); do |
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
| #!/bin/bash | |
| # Program: IntelOptimizer | |
| # Description: Optimizes thermal management, power efficiency, and performance for Intel processors (i1 to i9). | |
| # Author: Felipe Alfonso Gonzalez - github.com/felipealfonsog | |
| # Check if the script is run as root | |
| if [[ $EUID -ne 0 ]]; then | |
| echo "This script must be run as root (sudo)." >&2 | |
| exit 1 |