Skip to content

Instantly share code, notes, and snippets.

View Benjaminhu's full-sized avatar
🚀
To infinity and beyond.

Simon Benjámin Benjaminhu

🚀
To infinity and beyond.
View GitHub Profile
@CodeFocusChannel
CodeFocusChannel / YT-Processing.json
Created December 3, 2025 14:20
Turn any YouTuber into an AI agent
{
"name": "YT Processing UPDATED",
"nodes": [
{
"parameters": {
"assignments": {
"assignments": [
{
"id": "eb0d7330-0198-43fa-9a74-6d69d84635b8",
"name": "channel_handle",
@gamer191
gamer191 / Install Deno for yt-dlp.md
Last active January 2, 2026 08:14
Install Deno for yt-dlp

Due to recent changes by YouTube, yt-dlp now requires Deno (not Denort) to be installed in order to download YouTube videos in maximum quality. If you don't plan on downloading youtube videos, or don't care about video quality, you can ignore this tutorial:

Option 1: install Deno system-wide

Windows users should run powershell "irm https://deno.land/install.ps1 | iex"

MacOS and Linux users should run curl -fsSL https://deno.land/install.sh | sh

Option 2: install Deno for yt-dlp only

#!/bin/bash
# A script root jogosultságot igényel. Ellenőrizzük, hogy a felhasználó root-ként futtatja-e.
if [ "$EUID" -ne 0 ]; then
echo "Kérjük, futtassa a scriptet root jogosultsággal (sudo)."
exit
fi
echo "--- Interaktív Cloudflare Tunnel telepítő script ---"
echo ""
@a-c-m
a-c-m / reflection.md
Last active January 4, 2026 14:57
reflection.md - a way to have claude-code self improve its context.

You are an expert in prompt engineering, specializing in optimizing AI code assistant instructions. Your task is to analyze and improve the instructions for Claude Code. Follow these steps carefully:

  1. Analysis Phase: Review the chat history in your context window.

Then, examine the current Claude instructions, commands and config <claude_instructions> /CLAUDE.md /.claude/commands/*

@hopeseekr
hopeseekr / StackOverflow Stats.md
Last active December 25, 2025 23:35
StackOverflow Dec 2024 stats

Disclaimer: I'm in the Top 1% of StackOverflow contributors with 23,315 rep points.

I asked 1 high-quality question in 2024, and it was closed almost immediately, and I haven't engaged with the site since.

If someone with 20,000+ karma has their nicely-formatted questions closed so quickly, what must the newbies and rank-in-file encounter? This is probably a big reason why it's declining.


@Maharshi-Pandya
Maharshi-Pandya / contemplative-llms.txt
Last active December 29, 2025 12:07
"Contemplative reasoning" response style for LLMs like Claude and GPT-4o
You are an assistant that engages in extremely thorough, self-questioning reasoning. Your approach mirrors human stream-of-consciousness thinking, characterized by continuous exploration, self-doubt, and iterative analysis.
## Core Principles
1. EXPLORATION OVER CONCLUSION
- Never rush to conclusions
- Keep exploring until a solution emerges naturally from the evidence
- If uncertain, continue reasoning indefinitely
- Question every assumption and inference
# SETUP #
DOMAIN=example.com
PROJECT_REPO="[email protected]:example.com/app.git"
AMOUNT_KEEP_RELEASES=5
RELEASE_NAME=$(date +%s--%Y_%m_%d--%H_%M_%S)
RELEASES_DIRECTORY=~/$DOMAIN/releases
DEPLOYMENT_DIRECTORY=$RELEASES_DIRECTORY/$RELEASE_NAME
# stop script on error signal (-e) and undefined variables (-u)
@adammyhre
adammyhre / InspectorLock.cs
Last active January 4, 2026 22:50
Lock Inspector Icon and Transform Constrain Proportion Icon in Unity
using System.Reflection;
using UnityEditor;
using UnityEngine;
/// <summary>
/// Toggles the Inspector lock state and the Constrain Proportions lock state.
/// </summary>
public static class LockInspector {
static readonly MethodInfo flipLocked;
static readonly PropertyInfo constrainProportions;
@benoit-cty
benoit-cty / slack_backup.py
Last active August 25, 2023 16:32
Script to archive Slack messages from a channel list.
'''
Script to archive Slack messages from a channel list.
You have to create a Slack Bot and invite him to private channels.
View https://github.com/docmarionum1/slack-archive-bot for how to configure your account.
Then provide the bot token to this script with the list of channels.
'''
TOKEN='xoxb-xxxxx-xxxxxx-xxxxxxxxxxx'
channels = {
@lorisleiva
lorisleiva / toSqlWithBindings.php
Last active November 12, 2024 12:14
A little macro to get the SQL from a query builder without the annoying "?".
<?php
use Illuminate\Database\Eloquent\Builder;
Builder::macro('toSqlWithBindings', function () {
$bindings = array_map(
fn ($value) => is_numeric($value) ? $value : "'{$value}'",
$this->getBindings()
);