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
// ==UserScript== | |
// @name Warframe Wiki Redirect | |
// @namespace http://tampermonkey.net/ | |
// @version 1.0 | |
// @description Automatically redirects from old Warframe Wiki to new Warframe Wiki | |
// @author PhoenixAceVFX | |
// @match https://warframe.fandom.com/wiki/* | |
// @grant none | |
// @run-at document-start | |
// ==/UserScript== |
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 | |
# Pi-hole installation script for Arch Linux | |
# This script must be run as root | |
# Check if script is run as root | |
if [ "$(id -u)" -ne 0 ]; then | |
echo "This script must be run as root" >&2 | |
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
#!/bin/bash | |
set -euox pipefail | |
APP_NAME="GeForceNOW" | |
APP_ID="geforcenow" | |
APP_DIR="$HOME/.local/share/$APP_ID" | |
LAUNCHER_PATH="$HOME/.local/bin/$APP_ID" | |
DESKTOP_FILE="$HOME/.local/share/applications/$APP_ID.desktop" | |
ICON_DIR="$HOME/.local/share/icons" |
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 | |
# Function to detect package manager | |
detect_package_manager() { | |
if command -v paru &>/dev/null; then | |
echo "paru" | |
elif command -v yay &>/dev/null; then | |
echo "yay" | |
elif command -v pacman &>/dev/null; then | |
echo "pacman" |