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
| # Unzip everything to its own folder | |
| ls | grep BeMusicSeeker | xargs -I @ sh -c ' | |
| echo; echo $0; echo; | |
| SRC_DIR="$(realpath "$0")"; | |
| TARGET_DIR="$(realpath "unpack/$0")"; | |
| mkdir -p "$TARGET_DIR" && cd "$TARGET_DIR" && \ | |
| find -O3 "$SRC_DIR" -type f -name "*.rar" \ | |
| -print -exec unrar x -inul -o+ -y {} \; | |
| ' @ |
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
| [Unit] | |
| Description="eGPU Xorg configuration" | |
| Before=display-manager.service | |
| [Service] | |
| Type=oneshot | |
| RemainAfterExit=yes | |
| ExecStart=/usr/local/bin/egpu-detect | |
| [Install] |
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 | |
| MAIN_MODEL="D32L251" | |
| SUB_MODEL="T2454pA" | |
| INTERNAL_MODEL="LP140WU4-SPK1" | |
| WLR_RANDR=$(wlr-randr) | |
| MAIN_PORT=$(printf "$WLR_RANDR" | grep $MAIN_MODEL | grep -o '^[^ ]*') | |
| SUB_PORT=$(printf "$WLR_RANDR" | grep $SUB_MODEL | grep -o '^[^ ]*') |
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 | |
| while true; do | |
| swaybg -m fill -i $(find ~/orangestar/4x_esrgan -type f -name "*.png" -or -name "*.jpg" | shuf -n 1) & | |
| sleep 3; | |
| kill $PIDTOKILL; | |
| sleep 300; | |
| PIDTOKILL=$(pidof swaybg); | |
| done |
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
| diff --git a/x-mingw.sh b/x-mingw.sh | |
| index 45d5a1f..23b1b5a 100755 | |
| --- a/x-mingw.sh | |
| +++ b/x-mingw.sh | |
| @@ -40,8 +40,8 @@ | |
| ### influential environment variables | |
| -: ${MAKEFLAGS=-j4} | |
| -: ${STACKCFLAGS="-O2 -g"} |
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
| #include <Arduino.h> | |
| #include <PN532.h> | |
| #include <PN532_SPI.h> | |
| #include <PN532_debug.h> | |
| #include <esp_adc/adc_oneshot.h> | |
| // #define DEBUG | |
| #define CARD_RESET_INTERVAL 1000 |
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
| name: deluge-pia | |
| services: | |
| pia: | |
| image: thrnz/docker-wireguard-pia | |
| cap_add: | |
| - NET_ADMIN | |
| - SYS_MODULE | |
| env_file: .env | |
| environment: |
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
| net user administrator /active:yes | |
| dism /online /enable-feature /featureName:Client-EmbeddedLogon /all | |
| bcdedit.exe -set {globalsettings} advancedoptions false | |
| bcdedit.exe -set {globalsettings} optionsedit false | |
| bcdedit.exe -set {globalsettings} bootuxdisabled on |
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
| echo off | |
| :: BatchGotAdmin | |
| :------------------------------------- | |
| REM --> Check for permissions | |
| IF "%PROCESSOR_ARCHITECTURE%" EQU "amd64" ( | |
| >nul 2>&1 "%SYSTEMROOT%\SysWOW64\cacls.exe" "%SYSTEMROOT%\SysWOW64\config\system" | |
| ) ELSE ( | |
| >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" | |
| ) |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <link rel="preconnect" href="https://fonts.googleapis.com"> | |
| <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | |
| <link href="https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet"> | |
| <style> | |
| body {margin: 0; padding: 0;} | |
| * * {margin: 0; padding: 0;} | |
| p#text { |
NewerOlder