Skip to content

Instantly share code, notes, and snippets.

View Seklfreak's full-sized avatar
💕
Spread love!

Sebastian Winkler Seklfreak

💕
Spread love!
View GitHub Profile
@Seklfreak
Seklfreak / iclfm.js
Created January 30, 2016 19:33 — forked from blha303/iclfm.js
IRCCloud last.fm now-playing bookmarklet - Change the 'e' variable to your own last.fm username.
javascript: (function () { var jB = document.createElement('script'); jB.setAttribute('type', 'text/javascript'); jB.setAttribute('src', 'https://gist.github.com/Seklfreak/f3deb0f9a5fab3894fe1/raw/e59607b52f4f963b75a140426885a24c074658d0/irccloudlastfm.js'); document.body.appendChild(jB); document.body.appendChild(jB); }());
@Seklfreak
Seklfreak / tistory-downloader.user.js
Last active January 18, 2018 15:42
tistory fixes
// ==UserScript==
// @name tistory fixes
// @namespace https://slmn.de
// @version 1.3
// @description various fixes for tistory blogs
// @author Sebastian Winkler
// @match http://*.tistory.com/*
// @match http://19951218.net/*
// @match http://www.wikplayer.com/*
// @exclude http://cfile*.uf.tistory.com/*

Keybase proof

I hereby claim:

  • I am Seklfreak on github.
  • I am seklfreak (https://keybase.io/seklfreak) on keybase.
  • I have a public key whose fingerprint is C513 7223 FB34 85A2 82A2 FB10 6E5F 12DD 2110 7C1D

To claim this, I am signing this object:

@Seklfreak
Seklfreak / discord-status.py
Created July 29, 2017 14:29
Discord Last.FM status
#!/usr/bin/env python3
import discord
import asyncio
import logging
import pylast
import urllib.request
import json
import sys
@Seklfreak
Seklfreak / webhook.php
Last active November 28, 2023 14:47
statuspage.io webhooks to discord
<?php
$KEY = ''; // option key to prevent unauthenticated password, should be transfered as the get parameter "key"
$DISCORD_WEBHOOK_URL = ''; // the discord webhook
if ($_SERVER['REQUEST_METHOD'] != 'POST') {
header('HTTP/1.0 405 Method Not Allowed');
echo "Only POST requests allowed\n";
exit();
}
@Seklfreak
Seklfreak / statusline.go
Last active September 24, 2026 15:33
Claude statusline
package main
import (
"encoding/json"
"fmt"
"io"
"os"
"os/exec"
"path/filepath"
"strings"
@Seklfreak
Seklfreak / cleanup-worktrees.sh
Last active October 1, 2026 16:24 — forked from dviersel/cleanup-worktrees.sh
Git worktree cleanup script - Safely removes worktrees with finished work using worktrunk.
#!/bin/bash
# Cleans up finished git worktrees across one or more repositories.
# Uses worktrunk (wt) for worktree management.
#
# For each non-main worktree, this script checks:
# - Open PRs: skipped (worktree is still in use)
# - Uncommitted changes: skipped (would lose work)
# - Unpushed commits: skipped (would lose work)
# - Merged/closed PRs: noted, then evaluated for removal
@Seklfreak
Seklfreak / analyze_claude_cost.go
Last active February 27, 2026 19:44
Analyze claude cost
package main
import (
"encoding/csv"
"fmt"
"io"
"os"
"sort"
"strconv"
"strings"