Skip to content

Instantly share code, notes, and snippets.

@theVDude
theVDude / dtv-subtitles.css
Created October 19, 2023 18:46
dropout tv subtitle preferences
@-moz-document regexp(".*vhx.tv.*dropout.*") {
div.vp-captions {
font-family: Consolas, Monoco, "Lucida Console", monospace !important;
font-size: 1.7rem !important;
}
span.vp-captions-line {
background: rgba(0, 0, 0, .6) !important;
}
}
@theVDude
theVDude / minibigscreenblaseball.user.css
Last active March 15, 2021 15:46
big screen blaseball mini mode v0.0.5
/* ==UserStyle==
@name MiniMode for BIG SCREEN Blaseball
@namespace thevdude
@version 0.0.5
@author thevdude (extends BIG SCREEN Blaseball by cepheus https://github.com/holmesmr)
@license Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
==/UserStyle== */
@-moz-document domain("blaseball.com") {
.Main-Body {
@theVDude
theVDude / halltributemonospace.css
Created September 26, 2020 14:23
Adds leading 0 to first 9 hall of flamers and sets the numbers to monospace font
.HallOfFlame-Player-Position, .HallOfFlame-Player-Tributes {
font-family: monospace;
}
.HallOfFlame-Player:nth-child(1) .HallOfFlame-Player-Position::before,
.HallOfFlame-Player:nth-child(2) .HallOfFlame-Player-Position::before,
.HallOfFlame-Player:nth-child(3) .HallOfFlame-Player-Position::before,
.HallOfFlame-Player:nth-child(4) .HallOfFlame-Player-Position::before,
.HallOfFlame-Player:nth-child(5) .HallOfFlame-Player-Position::before,
.HallOfFlame-Player:nth-child(6) .HallOfFlame-Player-Position::before,
.HallOfFlame-Player:nth-child(7) .HallOfFlame-Player-Position::before,
<html>
<head>
<style>
li {
display: inline-block;
width: auto;
color: white;
background-color: red;
}
<html>
<head>
<script type="text/javascript">
let reverseIt = str => {
return str.split('').reverse().join('');
}
let clicked = () => {
alert(reverseIt(document.getElementById('str').value));
}
</script>
void rgblight_effect_breathing_xmas(uint8_t interval) {
static uint16_t current_hue = 0;
static uint8_t pos = 0;
static uint16_t last_timer = 0;
float val;
if (timer_elapsed(last_timer) < pgm_read_byte(&RGBLED_BREATHING_INTERVALS[interval])) {
return;
}
last_timer = timer_read();
@theVDude
theVDude / isuck.c
Last active December 6, 2017 06:36
void rgblight_effect_breathing(uint8_t interval) {
static uint8_t pos = 0;
static uint16_t last_timer = 0;
float val;
if (timer_elapsed(last_timer) < pgm_read_byte(&RGBLED_BREATHING_INTERVALS[interval])) {
return;
}
last_timer = timer_read();
# uncompyle6 version 2.9.8
# Python bytecode 2.6 (62161)
# Decompiled from: Python 3.6.0 (default, Jan 16 2017, 13:35:36)
# [GCC 6.3.1 20170109]
# Embedded file name: ./sublimerge/sublimerge_differ.py
# Compiled at: 2016-10-17 14:46:21
"""Copyright (c) Borys Forytarz. All rights reserved"""
import difflib
import re
import sublime
@theVDude
theVDude / 2014-09-14.log
Created September 14, 2015 15:27
2014-09-14
2014-09-14 00:01:19 --> ThisFrickinSite| (~kvirc@207.144.203.163) has joined #tagpro
2014-09-14 00:01:27 --> MrJoehobo (4c100b56@gateway/web/freenode/ip.76.16.11.86) has joined #tagpro
2014-09-14 00:03:04 <-- Aniball (450669c1@gateway/web/freenode/ip.69.6.105.193) has quit (Quit: Page closed)
2014-09-14 00:03:29 --> Exquisite (180ea501@gateway/web/freenode/ip.24.14.165.1) has joined #tagpro
2014-09-14 00:03:31 Exquisite !test chaos ball
2014-09-14 00:03:32 some_bot Sorry, I cannot find "chaos ball" in my brain! Did you mean one of these: Chaos Arena, BaseBALL ?
2014-09-14 00:03:40 Exquisite !test chaos arena
2014-09-14 00:03:42 some_bot http://tagpro-maptest.koalabeast.com:8002/ (chaos arena)
2014-09-14 00:03:47 +pooppants chaos ball was fun
2014-09-14 00:04:04 <-- ThisFrickinSite (~kvirc@207.144.203.163) has quit (Ping timeout: 256 seconds)
@theVDude
theVDude / tagpro-temp-splats.user.js
Created April 9, 2016 04:05
make all splats fade away in tagpro
// ==UserScript==
// @name TagPro All Temp Splats
// @description Make all splats temporary in tagpro
// @version 1
// @grant none
// @include http://tagpro-*.koalabeast.com:*
// @include http://tangent.jukejuice.com:*
// @include http://*.newcompte.fr:*
// @license 2016
// @author thevdude