Skip to content

Instantly share code, notes, and snippets.

@yutsuku
yutsuku / comfy_twat_tv.user.css
Last active July 3, 2021 16:05
User CSS for twitch.tv, formerly "Comfy twat tv" (userstyles.org/styles/127399)
/* ==UserStyle==
@name Comfy twat tv
@description User CSS for twitch.tv, formerly "Comfy twat tv" (userstyles.org/styles/127399)
@namespace github.com/openstyles/stylus
@version 1.0.1
@author moh@yutsuku.net
==/UserStyle== */
@-moz-document domain("www.twitch.tv") {
:root {
// ==UserScript==
// @name Black Desert Forum - Navigation tweak
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Brings back proper anchor links in the forum
// @author moh@yutsuku.net
// @match https://*.playblackdesert.com/*/Community*
// @grant none
// @run-at document-end
// @updateURL https://gist.github.com/yutsuku/d931f39c8b426b79b930c402596eedb9/raw/a724dcb8556e9992708a254944cf945355593899/Black%2520Desert%2520Forum%2520-%2520Navigation%2520tweak.user.js
@yutsuku
yutsuku / roll20.user.css
Last active December 29, 2020 01:48
Lame attempt at creating dark mode for roll20.net
/* ==UserStyle==
@name roll20.net dark mode
@namespace github.com/openstyles/stylus
@version 1.0.3
@description Lame attempt at creating dark mode
@author moh@yutsuku.net
==/UserStyle== */
@-moz-document domain("app.roll20.net") {
:root
@yutsuku
yutsuku / main.py
Created September 1, 2020 16:15
Netgear R6220 Router Traffic meter scrapper
#
# Netgear R6220 Router Traffic meter scrapper
#
# This script will login into the router webpage in order to obtain last month
# download/upload statistics and save it as CSV file.
# See --help for details
#
# The script assumes that you have:
# - enabled traffic meter,
# - set reset counter to 1st day of each month
// ==UserScript==
// @name Allegro.pl - lepsze oceny
// @namespace http://tampermonkey.net/
// @version 0.2
// @description Usuwa wszystkie oceny sprzedaży które nie mają komentarza i mają wszędzie 5 gwiazdek
// @author moh@yutsuku.net
// @match https://allegro.pl/uzytkownik/*/oceny*
// @grant none
// @run-at document-end
// @downloadURL https://gist.github.com/yutsuku/6f47a7d5c0e1f6e115e43e08319dfbf0/raw/d579a82a4f39b276a65958da40053683395d2044/Allegro.pl_-_lepsze_oceny.user.js
// ==UserScript==
// @name Watch2Gether Band-aid
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Adds some attributes to make writing custom CSS themes easier
// @author moh@yutsuku.net
// @match https://www.watch2gether.com/rooms/*
// @downloadURL https://gist.githubusercontent.com/yutsuku/1f13e94744ae1e9b648d36a6efee64b4/raw/772a91678554dec2cffda9aa477ac3fae7fdefe8/Watch2Gether_Band_aid.user.js
// @updateURL https://gist.githubusercontent.com/yutsuku/1f13e94744ae1e9b648d36a6efee64b4/raw/772a91678554dec2cffda9aa477ac3fae7fdefe8/Watch2Gether_Band_aid.user.js
// @grant none
@yutsuku
yutsuku / gist:188e131df222e65374fc046945e1df44
Created November 4, 2019 01:17
sort digital camera photos and videos by date using exiftool
# sort mp4 video files
exiftool -o . -P -progress -r -ext 'mp4' -if 'not $DateTimeOriginal' '-FileName<FileModifyDate' '-DateTimeOriginal<FileModifyDate' -d "%Y/%m/%Y%m%d-%H%M%S%%-c.%%e" .
# everything else
exiftool -o . -P -r '-FileName<DateTimeOriginal' '-FileCreateDate<DateTimeOriginal' -d "%Y/%m/%Y%m%d-%H%M%S%%-c.%%e" .
@yutsuku
yutsuku / mpv.conf
Created August 10, 2019 10:53
mpv media player config
--screenshot-directory="E:\Images\snapshots"
--screenshot-template="%f_snapshot_%p_[%tY.%tm.%td]"
--volume-max=100.0
--keep-open=yes
--no-border
--sub-font="Noto Sans Bold"
--sub-font-size=36
--sub-use-margins=no
--sub-color="#FFFFFFFF"
ytdl-format=bestvideo[height<=1080]+bestaudio/best[height<=1080]
// ==UserScript==
// @name WoW Object exporter
// @namespace net.yutsuku.userjs
// @version 0.1
// @description Very simple object exporter helper to be used with TomTom
// @author moh
// @include https://db.rising-gods.de/?object=*
// @include https://db.rising-gods.de/?quest=*
// @include https://db.rising-gods.de/?npc=*
// @include https://db.excalibur.ws/?object=*
@yutsuku
yutsuku / TomTom.lua
Last active April 7, 2019 16:04
World of Warcraft AddOn Plugin for Routes, enables making up routes from TomTom waypoints
local Routes = LibStub("AceAddon-3.0"):GetAddon("Routes", 1)
if not Routes then return end
local SourceName = "TomTom"
local L = LibStub("AceLocale-3.0"):GetLocale("Routes")
L['Waypoint'] = 'Waypoint'
------------------------------------------
-- setup
Routes.plugins[SourceName] = {}