Skip to content

Instantly share code, notes, and snippets.

@Gelmo
Gelmo / nowplaying.html
Last active April 19, 2022 14:09
Now Playing overlay for Pretzel | Single file
<!DOCTYPE html>
<!-- Notes:
- This is a slight adjustment to Zyphen's Now Playing overlay, available at https://obsproject.com/forum/resources/zyphens-now-playing-overlay.1026/
- Save this Gist anywhere you like, in a file with the extension ".html"
- In Pretzel, go to Settings > FILE OUTPUT
- Enable "Save Album Cover to file" and save the file in the same directory as the html file you saved saved earlier
- The file name must be album.jpg
- Enable "Save Now Playing JSON Data to file" and save the file in the same directory as the html file you saved saved earlier
- The file name must be nowplaying.json
@Gelmo
Gelmo / Song.html
Last active February 16, 2021 11:21
Now Playing overlay for Pretzel
<!DOCTYPE html>
<!-- Notes:
- This is a slight adjustment to Zyphen's Now Playing overlay, available at https://obsproject.com/forum/resources/zyphens-now-playing-overlay.1026/
- Download Zyphen's Now Playing overlay and save the files wherever you would like
- Replace the contents of the Song.html file with this Gist
- In Pretzel, go to Settings > FILE OUTPUT
- Enable "Save Album Cover to file" and save the file in the same directory as the other files you downloaded
- The file name must be album.jpg
- Enable "Save Now Playing JSON Data to file" and save the file in the same directory as the other files you downloaded
@Gelmo
Gelmo / keep-tourneys.md
Last active May 1, 2020 21:26
The Keep Tournament Outline

The Keep Tournament Outline

This is an outline we should use to ensure we provide high-quality experiences for participants and viewers.

@Gelmo
Gelmo / PKGBUILD
Last active March 13, 2020 02:10
asix-ax88179-dkms PKGBUILD fix
# Maintainer: William Gathoye <william + aur at gathoye dot be> (4.17-now)
# Contributor: Moritz Lipp <mlq at pwmt dot org>
pkgname=asix-ax88179-dkms
pkgver=1.19.0
pkgrel=4
pkgdesc="A kernel module for ASIX AX88178A AX88179 USB 3.0 network adapters"
arch=('i686' 'x86_64')
_filename="AX88179_178A_LINUX_DRIVER_v${pkgver}_SOURCE"
@Gelmo
Gelmo / gist:7b118403bacd4dcb26b46a513b5cd5a4
Created March 5, 2020 01:39
Adem's HUD for Diabotical
hud_definition = {"elements":[{"t":"misc_settings","x":0,"y":0,"fl":"1","dirhint":"1","hudaspect":"default","film":"4|ML|3?4?ML?3"},{"t":"chat","x":6,"y":82,"height":30,"width":50,"fontSize":"1.6","align":"left","color":"white","pivot":"bottom-left"},{"t":"hp","x":48,"y":92,"width":9.5,"fontSize":"11","scaleOnPickup":"1","color":"#2CD86B","threshold":"100","thresholdColor":"#2CD86B","shadow":1,"pivot":"right-edge","gid":-1,"font":"montserrat"},{"t":"armor","x":52,"y":92,"width":9.5,"fontSize":"11","scaleOnPickup":"1","color":"#C0C231","threshold":"100","thresholdColor":"#FFFFFF","shadow":1,"pivot":"left-edge","hideIf0":"0","gid":-1,"font":"montserrat"},{"t":"item_picked","x":50,"y":71,"fontSize":"2.2","shadow":1,"icon":1,"owner":"1","pivot":"center","iconWidth":3.5,"gid":-1,"font":"montserrat"},{"t":"you_fragged","x":50,"y":24,"fontSize":"4","font":"veneer-italic","color":"#BDBDBDBF","pivot":"center","align":"center"},{"t":"my_team_score","x":25,"y":"6","sWidth":"7","nWidth":"20","height":4.5,"align":"center"
@Gelmo
Gelmo / gokz.sh
Last active May 1, 2018 13:44
How to setup a GOKZ server on Ubuntu
### https://bitbucket.org/kztimerglobalteam/gokz/
### Please read the readme section in the above link and the wiki there before proceeding. You should probably read this entire tutorial before doing anything.
### I know the extension is .sh, but please do not try to execute this as a script - I added the extension to make it easier to read on GitHub.
### This tutorial does NOT cover security. You need to do your own research. At the ufw section, you should consider whether or not you need to restrict these to specific IPs.
### All of these steps are done via SSH (most likely). First section assumes you're logged in as root - When you do "su gokz" (later in the tutorial) you then are working as the user "gokz".
### Make sure you check for the latest versions of the urls below before blindly copy/pasting.
### I started with Ubuntu Server 14.04 x64 and used these steps to get to 18.04
### apt update && apt upgrade
### do-release-upgrade
### reboot