Skip to content

Instantly share code, notes, and snippets.

@DragRedSim
DragRedSim / locklights_instructions.txt
Last active December 19, 2022 09:10
Information on how to set up Arduino-powered lock lights in SimHub
OK, so you're looking to have your LEDs act as lock lights. The first
bit of warning I'll give you is that these are not always accurate to
the lights in the virtual car, as we don't always get the same
information used to calculate those lights. If you're OK with them not
always matching up, read on... This also assumes you're using discrete
LEDs; if you'd rather use a dashboard overlay or other displays, the
same principle applies to creating an output channel from ShakeIt, and
then calling it from another plugin. This is left as an exercise to the
reader (mainly because I don't use those functions).
@DragRedSim
DragRedSim / indiegala_warning.user.js
Last active January 19, 2017 10:50
Disable IndieGala warning on viewing keys
// ==UserScript==
// @name Disable IndieGala warning on viewing keys
// @namespace *://www.indiegala.com/profile*
// @version 0.3
// @description Disable that annoying message warning you can't share a key you've viewed. Also lets you load multiple keys at once.
// @author redion1992
// @match *://www.indiegala.com/profile*
// @grant none
// @run-at document-idle
// @downloadURL https://gist.github.com/redion1992/df68ca1f3c8494388b86eaffcd855148/raw/indiegala_warning.user.js