Skip to content

Instantly share code, notes, and snippets.

@hepto
hepto / tvheadend-freesat-setup.md
Last active March 11, 2026 18:30
How to set up TVHeadend for Freesat with a SAT>IP server. Creates a channel list with all and only those from the Freesat bouquets. Based on the Digibit Twin but should work for any SAT>IP server. Additionally, configure Channels DVR to use this channel list.

Once you have TVH going, go to its web interface on http://x.x.x.x:9981. Then these are the steps:

  1. Enable the Advanced or Expert UI in Configuration > General > Base

    This enables some menu items that are needed for future steps.

  2. Go to Configuration > Channels / EPG > EPG Grabber Modules and ensure that ONLY Freesat and Freesat EIT are enabled.

    This setting does grab the EPG that is embedded in the streams, but it's not actually used in the end. It is required later to get the Freesat bouquets which are the sets of regional Freesat only channels, which are important later.

@ozgursar
ozgursar / image-sizes-manager.php
Last active March 11, 2026 18:30
Image Sizes Manager
/**
* Image Sizes Manager
* Paste into functions.php or add via Code Snippets.
* Goes to Tools > Image Sizes in your WordPress admin.
*/
class Image_Sizes_Manager {
/** Option key for persisting disabled size slugs. */
const OPTION_KEY = 'ism_disabled_sizes';
@rxaviers
rxaviers / gist:7360908
Last active March 11, 2026 18:30
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@mewset
mewset / playwright-arch-linux-fix.md
Created January 5, 2026 19:59
Playwright on Arch Linux - use system Chromium instead of bundled

Playwright on Arch Linux - just use system Chromium

So you're on Arch and Playwright is being a pain? Yeah, same. Here's what happens:

$ npm init playwright@latest
BEWARE: your OS is not officially supported by Playwright; installing dependencies for ubuntu24.04-x64 as a fallback.
Installing dependencies...
sh: line 1: apt-get: command not found
Failed to install browsers
@kieranklaassen
kieranklaassen / SKILL.md
Last active March 11, 2026 18:24
Claude Code Swarm Orchestration Skill - Complete guide to multi-agent coordination with TeammateTool, Task system, and all patterns
name description
orchestrating-swarms
Master multi-agent orchestration using Claude Code's TeammateTool and Task system. Use when coordinating multiple agents, running parallel code reviews, creating pipeline workflows with dependencies, building self-organizing task queues, or any task benefiting from divide-and-conquer patterns.

Claude Code Swarm Orchestration

Master multi-agent orchestration using Claude Code's TeammateTool and Task system.


@mfd
mfd / teams.sh
Last active March 11, 2026 18:23
Download any video from Microsoft Teams, SharePoint and OneDrive
2teams() {
NOW=$(date +"%Y-%m-%d_%H%M")
if [ ! -z $2 ] ; then
echo $NOW"_"$2.mp4
ffmpeg -i $1 -codec copy $NOW"_"$2.mp4
else
echo $NOW"_teamsvid".mp4
ffmpeg -i $1 -codec copy $NOW"_teamsvideo".mp4
fi
}
@XielQs
XielQs / Get_Discord_Token.md
Last active March 11, 2026 18:20
Get self discord token using console

How to get your discord token using browser console

  1. Open developer tools in browser (if you using desktop app use Ctrl+Shift+I shortcut)
  2. Switch current tab to Console
  3. Write this code and press enter
window.webpackChunkdiscord_app.push([[Symbol()],{},o=>{for(let e of Object.values(o.c))try{if(!e.exports||e.exports===window)continue;e.exports?.getToken&&(token=e.exports.getToken());for(let o in e.exports)e.exports?.[o]?.getToken&&"IntlMessagesProxy"!==e.exports[o][Symbol.toStringTag]&&(token=e.exports[o].getToken())}catch{}}]),window.webpackChunkdiscord_app.pop(),token;

It will return your Discord token!

# Prompt Para Replicar A Arquitetura Da SPA
Você é um arquiteto sênior de frontend. Sua tarefa é criar uma nova single page application com uma arquitetura **praticamente idêntica** à arquitetura descrita abaixo, mas **sem copiar nenhuma regra de negócio**, nomenclatura de domínio, fluxos específicos do produto original ou qualquer texto/fonte do projeto de origem.
O objetivo é reproduzir somente o **blueprint técnico e organizacional**:
- stack
- estrutura de pastas
- camadas
- convenções
@docularxu
docularxu / blog-claude-code-china-zh.md
Last active March 11, 2026 18:16
在中国使用 Claude Code 解决 403 错误 - 完整指南(中文版)

在中国使用 Claude Code 解决 403 错误 - 完整指南(中文版)

在中国使用 Claude Code 解决 403 错误

2026 年 2 月 12 日

如果你在中国尝试使用 Claude Code,大概率会撞上 403 错误。本文覆盖三种使用场景的解决方案:

  • macOS 终端 (shell) - 在终端里直接使用 claude 命令行
  • VS Code 终端 - 在 VS Code 内置终端里使用 claude 命令行
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active March 11, 2026 18:14
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for quests which require you to play a game! Use the desktop app to complete those.

How to use this script:

  1. Accept a quest under the Quests tab
  2. Press Ctrl+Shift+I to open DevTools
  3. Go to the Console tab
  4. Paste the following code and hit enter: