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
| # irm https://gist.githubusercontent.com/Raiu/5eb2d2da1c0cdaf84cba06fdfb8804ac/raw/dell-post-install.ps1 | iex | |
| #Requires -RunAsAdministrator | |
| Set-StrictMode -Version Latest | |
| $ErrorActionPreference = 'SilentlyContinue' | |
| Write-Host "Starting Windows 11 post-install setup..." -ForegroundColor Cyan | |
| Write-Host "`nUpdating winget..." -ForegroundColor Yellow | |
| winget source update |
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/sh | |
| # | |
| # Bash and Vim Environment Setup Script | |
| # ===================================== | |
| # | |
| # Purpose: | |
| # Automates the setup of a Bash environment with practical defaults, adhering | |
| # to XDG Base Directory standards, ensuring clean, isolated, and maintainable configurations. | |
| # | |
| # Features: |
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/sh | |
| # Minimal Linux Package Management Setup Script | |
| # POSIX-compliant and compatible with Ubuntu, Debian, Alpine, Rocky Linux, and Arch. | |
| # | |
| # sudo sh -c "$(curl -fsSL https://gist.githubusercontent.com/Raiu/504e91365e9d6b3b5c47c8752b212858/raw/packages.sh)" | |
| # | |
| DEBIAN_UBUNTU="bash bat btop ca-certificates curl dnsutils du-dust duf eza fd-find fzf git git-delta gnupg hyperfine iproute2 iputils-ping jq lshw mtr nmap p7zip procs python3 python3-pip ripgrep rsync screen ssh sd sudo tmux traceroute tree unzip vim wget zip zoxide zsh" | |
| ALPINE="bash bat btop bind-tools ca-certificates curl doas dog dust duf eza fd fzf git git-delta gnupg hyperfine iproute2 iputils jq lshw mtr nmap openssh p7zip procs python3 py3-pip ripgrep rsync screen sd tmux traceroute tree unzip vim wget zip zoxide zsh" |
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/sh | |
| # | |
| # Zsh and Vim Environment Setup Script | |
| # ==================================== | |
| # | |
| # This script automates the setup of a remote machine with practical defaults | |
| # for Zsh and Vim while adhering to the XDG Base Directory Specification. | |
| # It focuses on minimal system impact, ensuring configurations are clean, | |
| # isolated, and easy to maintain. | |
| # |
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 sh | |
| : ' | |
| This script helps you download your ssh keys from Github while keeping any existing keys. | |
| Usage: | |
| ./add_github_keys.sh [OPTIONS] USERNAME | |
| Without downloading: | |
| curl -fsSL https://gist.githubusercontent.com/Raiu/23418eac4e78856167121b4f02c13db7/raw | sh -s -- USERNAME |
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 | |
| VERBOSE=false | |
| NOACTION=false | |
| while getopts :hvn opt; do | |
| case $opt in | |
| v) | |
| VERBOSE=true | |
| ;; |
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
| ;Lines starting with a ; are comments and are not part of the actual script. | |
| ;If you want to deactivate a flask press(e.g. because it is your hp flask) simply add a ; to the start of the line | |
| ;this line makes the script only work when Path of Exile is the active window | |
| #IfWinActive Path of Exile | |
| #SingleInstance force | |
| #NoEnv | |
| #Warn | |
| #Persistent |
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
| LANG=en_US.UTF-8 | |
| LANGUAGE=en_US:en | |
| LC_CTYPE="en_US.UTF-8" | |
| LC_NUMERIC=sv_SE.utf8 | |
| LC_TIME=sv_SE.utf8 | |
| LC_COLLATE="en_US.UTF-8" | |
| LC_MONETARY=sv_SE.utf8 | |
| LC_MESSAGES="en_US.UTF-8" | |
| LC_PAPER=sv_SE.utf8 | |
| LC_NAME=sv_SE.UTF-8 |
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 | |
| # | |
| # Tested with Debian 9 Stretch | |
| # Autocomplete script for zsh | |
| ## | |
| # Default Settings | |
| ## | |
| NGINX_CONF_FILE="$(awk -F= -v RS=' ' '/conf-path/ {print $2}' <<< $(nginx -V 2>&1))" |