Skip to content

Instantly share code, notes, and snippets.

View jumoog's full-sized avatar

Kilian von Pflugk jumoog

View GitHub Profile
import Extension from '@mui/icons-material/Extension';
import Folder from '@mui/icons-material/Folder';
import List from '@mui/material/List';
import ListItemIcon from '@mui/material/ListItemIcon';
import ListItemText from '@mui/material/ListItemText';
import ListSubheader from '@mui/material/ListSubheader';
import React, { useEffect, useState } from 'react';
import ListItemLink from 'components/ListItemLink';
import globalize from 'lib/globalize';
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>MKV Chapter Extractor (XML)</title>
<style>
body {
font-family: sans-serif;
max-width: 700px;
margin: 40px auto;
[
{
"guid": "c83d86bb-a1e0-4c35-a113-e2101cf4ee6b",
"name": "Intro Skipper",
"overview": "Automatically detect and skip intros in television episodes",
"description": "Analyzes the audio of television episodes and detects introduction sequences.",
"owner": "AbandonedCart, rlauuzo, jumoog (forked from ConfusedPolarBear)",
"category": "MoviesAndShows",
"imageUrl": "https://cdn.jsdelivr.net/gh/intro-skipper/manifest@a434e00edba70493794e25917cc8d3326d5a85c6/images/intro-skipper/logo.png",
"versions": [
@jumoog
jumoog / Modhelper.js
Last active November 22, 2025 22:21
Listen for new chat messages on the chat and make them clickable
// ==UserScript==
// @name Chloe Cam Modhelper++
// @namespace http://tampermonkey.net/
// @version 1.5
// @description Listen for new chat messages on the chat and make them clickable
// @author You
// @match https://www.chloe.cam/*
// @grant none
// ==/UserScript==
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.Json.Serialization;
using MediaBrowser.Controller.Entities; // For BaseItem
using MediaBrowser.Controller.Providers; // For MetadataProvider
namespace IntroSkipper.Api.Models
{
public class SeasonExportData
@jumoog
jumoog / Dockerfile
Last active September 6, 2025 19:25
uBO Lite (uBOL) Layer for puppeteer with full permissions and no setup screen
FROM alpine:latest AS ublock
# Install required tools: curl, jq, and unzip
RUN apk --no-cache add curl jq unzip
# Set environment variables
ENV REPO_API "https://api.github.com/repos/uBlockOrigin/uBOL-home/releases/latest"
ENV FILE_PATTERN "chromium.zip"
# Create a working directory
@jumoog
jumoog / gist:2418fcc60fb1b8c28f05ae4f910dd0b1
Last active September 6, 2025 19:29
regex for put lines into an string array
(.+)(\r\n)
"\1",
func (app *application) checkExpirationDate() {
// Read the certificate file
certPEM, err := os.ReadFile(app.ssl.crt)
if err != nil {
app.logger.Fatal("failed to read certificate file", zap.Error(err))
}
// Decode the PEM encoded certificate
block, _ := pem.Decode(certPEM)
if block == nil || block.Type != "CERTIFICATE" {
@jumoog
jumoog / rename_files.go
Last active August 1, 2024 22:59
rename all files in folder; split "_" the filename and remove the last part
// go build rename_files.go
package main
import (
"fmt"
"os"
"path/filepath"
"strings"
)
@jumoog
jumoog / rclone_move.go
Created March 8, 2024 13:00
rclone move srcPath destPath --ignore-checksum --delete-empty-src-dirs --ignore-existing --quiet
package main
import (
"context"
// add the backend that you need
_ "github.com/rclone/rclone/backend/local"
"github.com/rclone/rclone/cmd"
"github.com/rclone/rclone/fs"
"github.com/rclone/rclone/fs/sync"