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
| /* enable binary checks ***/ | |
| user_pref("browser.safebrowsing.malware.enabled", true); // 0401 | |
| user_pref("browser.safebrowsing.phishing.enabled", true); | |
| user_pref("browser.safebrowsing.downloads.remote.enabled", true); // 0403 | |
| /* enable search in address bar ***/ | |
| user_pref("keyword.enabled", true); // 0801 | |
| /* override recipe: enable DRM and let me watch videos ***/ | |
| user_pref("media.gmp-widevinecdm.enabled", 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
| #!/usr/bin/env bash | |
| ################ | |
| # protongup - a small bash script for updating proton-ge | |
| ################ | |
| ## constants | |
| _REPO="GloriousEggroll/proton-ge-custom" | |
| _STEAMPATH="$HOME/.steam/root/compatibilitytools.d" |
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 | |
| ## get all packages explicitly installed outside of base-devel and your installed desktop environment | |
| if [ -z "$1" ] | |
| then | |
| echo -e 'please use a desktop environment group as an argument\nexample:' | |
| echo ' $ get-extra-pkgs gnome ' | |
| exit | |
| 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 | |
| # gif.sh - turn videos into gifs with gifski | |
| # original code by hurricanepootis (https://github.com/HurricanePootis) | |
| # shellcheck disable=SC2199 | |
| if [[ "$@" =~ '.*help.*']] | |
| then | |
| echo "============================================================================================================================================" | |
| echo "Welcome to my script!" | |
| echo "By default, gif.sh uses 100% quality, which can lead to large file sizes. Using the -s flag will alow you to control quality, as shown below: " |
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
| <# | |
| .SYNOPSIS | |
| post-install script for my windows machines | |
| .DESCRIPTION | |
| sets up apps via winget and scoop, removes default apps, and sets some services to manual | |
| .NOTES | |
| inspired by https://gist.github.com/mikepruett3/7ca6518051383ee14f9cf8ae63ba18a7 | |
| #> | |
| $VerbosePreference = "Continue" |
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 python3 | |
| import os | |
| import requests | |
| import re | |
| import toml | |
| PKGDIR = os.getenv("HOME") + "/pkgbuilds" | |
| REGEX_VER = r'pkgver=(.+)' | |
| REGEX_REL = r'pkgrel=(.+)' | |
| API_HEADER = { 'Authorization': 'Bearer ' } # put your github key here |
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 | |
| ## SPDX-License-Identifier: MIT | |
| ## a small posix sh script for updating PKGBUILDs | |
| ## this uses files named `update.sh` in the same directory as a PKGBUILD | |
| ## they can be configured like this: | |
| ## | |
| ## ``` | |
| ## name="foo" | |
| ## link='https://api.github.com/repos/bar/foo/releases/latest' |
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 | |
| # getchoo's fedora install script | |
| set -e | |
| dnf() { | |
| command sudo dnf -y "$@" | |
| } | |
| # initial cleanup/setup | |
| dnf groupremove 'Container Management' 'LibreOffice' |
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
| <# | |
| .SYNOPSIS | |
| symlink files from a retail Team Fortress 2 build to a patched build | |
| #> | |
| param ( | |
| [Parameter(Mandatory=$true)] | |
| [string]$TF2Dir | |
| ) | |
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 | |
| # fardfetch: a posix information tool | |
| echo "$(id -un)@$(uname -n)" && printf "distro: " && grep -E '^NAME=' /etc/os-release | sed "s/NAME=//;s/\(\"\|'\)//g" && printf "kernel: " && uname -r && printf "uptime: " && uptime | cut -d" " -f 2 && printf "installed packages: " && opkg list-installed | wc -l && echo "shell: $SHELL" && printf "cpu model: " && grep -m 1 'cpu model' /proc/cpuinfo | awk '{for (i = 4; i <= NF; i++) printf "%s ",$i}' && printf "\n" && printf "memory: " && free -h | awk '{print $3,"/"$2}' | sed '1d;3d' && printf "\n" || exit 1 |
OlderNewer