Skip to content

Instantly share code, notes, and snippets.

@thomas4f
thomas4f / Fixing Connection Timeout Issues in MX Bikes.md
Last active September 29, 2025 21:01
Fixing Connection Timeout Issues in MX Bikes

Fixing Connection Timeout Issues in MX Bikes

TL;DR

  • Can’t see the server list? Restart your PC (and router if needed).
  • Can see servers but can’t join? Forward 54210/UDP (host should do it, but players can as fallback).

Background

When you play MX Bikes online, your game needs to exchange data with two different things:

@thomas4f
thomas4f / genmon-update-notifier.sh
Created April 13, 2022 09:26
genmon-update-notifier.sh
#!/bin/bash
# genmon-update-notifier.sh - A GenMon script that displays a notification when there are available package updates.
# The script is similar to checkupdates, but focuses on integration with xfce4-genmon-plugin.
#
# https://github.com/thomasedoff/genmon-update-notifier.sh
dbpath_tmp="/tmp/genmon-update-notifier"
date=$(date +%T)
genmon_id=$(head -n1 "/proc/$PPID/status" | cut -d- -f2)
@thomas4f
thomas4f / raspberry-pi-digital-picture-frame.md
Last active November 10, 2022 15:02
Raspberry Pi Digital Picture Frame

Raspberry Pi Digital Picture Frame

This gist describes how to setup a Raspberry Pi in order to be used as a digital picture frame.

IMG_0050

Specifically, it covers how to install and configure Raspberry Pi OS and PictureFrame on a Raspberry Pi, using the bare minimum software components along with some quality of life improvements.

The setup has been tested with:

  • Raspberry Pi 2 Model B Rev 1.1
@thomas4f
thomas4f / cookie-clicker.js
Last active October 7, 2021 07:20
cookie-clicker.js