Skip to content

Instantly share code, notes, and snippets.

View GRMrGecko's full-sized avatar

James Coleman GRMrGecko

View GitHub Profile
@GRMrGecko
GRMrGecko / xteve-xmltv-search.js
Created April 6, 2024 18:03
xTeVe XML TV Channel Search
// ==UserScript==
// @name xTeVe XML TV Channel Search
// @namespace com.mrgeckosmedia.xteve-xml-search
// @version 2024-04-06
// @description Adds a search box for XMLTV channel selection
// @author GRMrGecko
// @match http://xteve.local:34400/web/
// @icon https://www.google.com/s2/favicons?sz=64&domain=0.35
// @license MIT
// @grant none
@GRMrGecko
GRMrGecko / x11vnc.service
Last active April 6, 2024 18:05
x11vnc systemd service for HedgeHog4/Hog4OS to allow remote control of the light board.
[Unit]
Description=Start x11vnc at startup.
After=multi-user.target
[Service]
Type=simple
ExecStart=/usr/bin/x11vnc -display :0 -norc -forever -loop -noxdamage -repeat -rfbauth /etc/x11vnc.pwd -rfbport 5900 -shared -o /var/log/x11vnc.log
[Install]
WantedBy=multi-user.target
@GRMrGecko
GRMrGecko / shortID.php
Last active August 29, 2015 14:25
Sort ID generator for things such as short URLs using the Bijection algorithm.
<?
/*
Copyright (c) 2015 Mr. Gecko's Media (James Coleman). http://mrgeckosmedia.com/
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.