Skip to content

Instantly share code, notes, and snippets.

View rickselby's full-sized avatar

Rick Selby rickselby

View GitHub Profile
@rickselby
rickselby / curl_install.sh
Last active April 23, 2025 19:56
Auto disable steam deck controller when bluetooth controller is connected
#!/bin/bash
#Steam Deck Auto Disable Steam Controller by scawp
#License: DBAD: https://github.com/scawp/Steam-Deck.Auto-Disable-Steam-Controller/blob/main/LICENSE.md
#Source: https://github.com/scawp/Steam-Deck.Auto-Disable-Steam-Controller
# Use at own Risk!
# Modified to skip questions and install as I want it
#curl -sSL https://raw.githubusercontent.com/scawp/Auto-Disable-Steam-Controller/curl_install.sh | bash
@rickselby
rickselby / JMRI.desktop
Last active June 19, 2024 12:11
JMRI Raspberry Pi setup
[Desktop Entry]
Version=1.1
Name=JMRI
Comment=JMRI PanelPro
Exec=/opt/JMRI/PanelPro
Type=Application
Encoding=UTF-8
Terminal=false
Categories=None
@rickselby
rickselby / artifacts.js
Created June 19, 2020 15:27
Stardew Artifact finder
// Inspired by the brilliant https://github.com/MouseyPounds/stardew-checkup
import { CSRandom } from './cs-random';
import { getMapName, getMapReference, getMarkerPositionStyle } from './maps.js';
$(document).ready(function() {
// Check for required File API support.
if (!(window.File && window.FileReader)) {
@rickselby
rickselby / assetto-server.sh
Last active January 5, 2017 08:47
ACSR files
#/bin/bash
ASSETTO_DIR="/home/steam/assetto/"
PIDFILE="$ASSETTO_DIR/acServer.pid"
LOGFILE="$ASSETTO_DIR/acServer.log"
DAEMON="$ASSETTO_DIR/acServer"
case $1 in
start)
# Startas bash and pass an bash exec
# this allows the log output to be captured