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
| This game pad has been around quite a while, so I thought I would try to use it on the latest version of Windows 11, here is what I found (08/01/2023). | |
| Windows 11 doesn't recognise this device when you plug it in (no Plug'n'Play). | |
| It will work quite well eventually, but I found I needed to do the following. | |
| Before you start, make sure the F710 is in 'X' mode NOT 'D' mode (little switch on the front) | |
| 1. Download the Logitech F710 Connect Utility: | |
| https://download01.logi.com/web/ftp/pub/techsupport/joystick/F710ConnectUtility_2.15.264.exe | |
| 2. Use this utility to get the F710 installed |
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 | |
| # DESCRIPTION | |
| # This script migrates from "apt-key" managed keys to "[signed-by=/usr/share/keyrings/...]": | |
| # - loop through all lists in /etc/apt/sources.list.d | |
| # - read all lines with "deb..." that do not contain "[signed-by=]" | |
| # - download the GPG signature from the URL | |
| # - read the key ID from the signature | |
| # - download and saves the key using gpg | |
| # - add "[signed-by=/usr/share/keyrings/...]" to the "deb..." line |
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 | |
| #Not my script! Found it when searching the web for this kind of option. | |
| #Saved for future reference | |
| #Run with "bash restrictmouse.sh 0 0 1919 1080" to restrict the mouse to your first monitor | |
| #Run inside terminal so it's easier to close the script when done | |
| #Needs xdotool to work | |
| borderxl=$1 | |
| borderyu=$2 |
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 Activate all Itch.io Bundle downloads | |
| // @version 1 | |
| // @include https://itch.io/bundle/download/* | |
| // @include https://*.itch.io/* | |
| // @require https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js | |
| // @grant none | |
| // ==/UserScript== | |
| $(document).ready(function() { |
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 | |
| # DO NOT run the line 167 standalone. It will remove the necessary files besides the junk! | |
| if echo $@|grep -q "\-\-help\|\-help\|\-h\|help\|\-\-h\|\-\-no\-deb\|\-\-no\-install\|\-\-no\-cleaning\|\-\-assume\-debian" | |
| then : | |
| else echo wrong entry\(ies\) ! | |
| help=yes | |
| fi | |
| if echo $@|grep -q "\-\-help\|\-help\|\-h\|help\|\-\-h" || [ "$help" = yes ] |
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 | |
| # A simple script to build 64-bit and 32-bit Mesa and libdrm on amd64 Debian | |
| # stable, Debian testing, Debian unstable, and possibly some Ubuntu versions | |
| # with some tweaks. | |
| # | |
| # libdrm is build too, because often version right now in Debian sid and experimental | |
| # is too old for current mesa git repo. Also it is nice to build debug | |
| # versions of libdrm when troubleshooting some crashes and bugs. | |
| # |
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 | |
| # This script will install AMDGPU-PRO OpenCL and Vulkan support. | |
| # | |
| # For Ubuntu and it's flavor, just install the package using this command | |
| # in extracted driver directory instread. | |
| # | |
| # ./amdgpu-pro-install --opencl=legacy,pal --headless --no-dkms | |
| # | |
| # For Arch Linux or Manjaro, use the opencl-amd or rocm-opencl-runtime on AUR instread. |
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 | |
| # Notes: | |
| # | |
| # 1. Works for tags and specific hash commits too (override mesa_branch variable with needed value). | |
| # | |
| # 2. By default builds for /opt/mesa-<branch> and places the result in ${HOME}/mnt/vmshare/mesa-<branch> | |
| # You can override the build deployment location by setting dest_dir. For example this should put it right away | |
| # in /opt/mesa-<branch> | |
| # |
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 | |
| # Determine if .deb package dependencies are met | |
| if [[ -z "$1" || "$1" == '--help' || "$1" == "-h" ]]; then | |
| echo "Usage $0 file.deb" | |
| exit 0 | |
| fi | |
| if [[ ! -f "$1" ]]; then |