Skip to content

Instantly share code, notes, and snippets.

View ABeltramo's full-sized avatar

ABeltramo

View GitHub Profile
@barraIhsan
barraIhsan / 8BitDoUltimate2Wireless.md
Last active December 7, 2025 20:21
8BitDo Ultimate 2 Wireless on GNU/Linux, SteamOS, and Windows

Most of the source comes from: Steam Beta Forum

Thank you so much to everyone in the forum for contributing, for reaching out to 8BitDo to request switching between XInput/DInput/Switch mode on the dongle, to Valve for adding support on DInput mode, to the SDL developers (and 8bitdo) for adding support on DInput mode, and finally, to the Linux kernel developers for adding support on XInput mode.

This gist summarizes everything from that forum.

Switching Mode

So after the latest firmware update (as the time of writing: Controller 1.06, Adapter 1.04), its now possible to switch to DInput and Switch mode by holding B (DInput) or Y (Switch) while turning on t

@genhack
genhack / gist:0b528e0351c27b1cb96f
Last active September 30, 2021 20:48
Readame.libi.sh
RED='\033[0;31m'
NC='\033[0m' # No Color
OUT="/tmp/libimobiledeviceinstallation.log"
#1: Scarico dipendenze
echo "${RED} Downlaod Dipendenze & installazione ... ${NC}"
apt-get install -y --force-yes automake autoconf-archive libtool libssl-dev libgcrypt11-dev libp11-kit-dev libcurl4-gnutls-dev libusb-1.0 libzip-dev libfuse-dev clutter-1.0 clutter-gtk-1.0
#1.2: Cython
echo "${RED} Cython ${NC}"
@vor0nwe
vor0nwe / transmission-torrent-done.sh
Last active July 23, 2022 19:43
Send a PushBullet notification when Transmission has finished a download.
#!/bin/bash
curl -u YOUR_ACCESS_TOKEN: \
-X POST https://api.pushbullet.com/v2/pushes \
--header 'Content-Type: application/json' \
--data-binary "{\"type\":\"note\",\"title\":\"Downloaded\",\"body\":\"$TR_TORRENT_NAME: $TR_TIME_LOCALTIME\"}"
#
# Get YOUR_ACCESS_TOKEN from your account page at https://www.pushbullet.com/account
#