Skip to content

Instantly share code, notes, and snippets.

View stefan-karger's full-sized avatar

Stefan stefan-karger

View GitHub Profile
@sullyo
sullyo / collect_code.sh
Created September 22, 2024 18:49
Clones a github repo and puts all the code into a single text file perfect for LLMs
#!/bin/bash
# Check if a GitHub URL is provided as an argument
if [ -z "$1" ]; then
echo "Usage: $0 <github_url>"
exit 1
fi
# Store the GitHub URL
GIT_URL="$1"
@Makisuo
Makisuo / Combopicker.tsx
Created May 6, 2023 21:54
Shadcn Combopicker
"use client";
import { useState } from "react";
import { format } from "date-fns";
import { CalendarIcon, Check } from "lucide-react";
import {
Select,
SelectContent,
SelectItem,
@aileftech
aileftech / hex-colors.txt
Created October 1, 2022 18:10
A Bash one-liner to produce a list of HEX color codes that read like (supposedly) valid English words
$ grep -P "^[ABCDEFabcdefOoIi]{6,6}$" /usr/share/dict/words | tr 'OoIi' '0011' | tr '[:lower:]' '[:upper:]' | awk '{print "#" $0}'
#ACAD1A
#B0BB1E
#DEBB1E
#AB1DED
#ACAC1A
#ACCEDE
#AC1D1C
#BAB1ED
#BA0BAB
@Zhendryk
Zhendryk / The Ultimate Windows Development Environment.md
Last active February 21, 2025 02:16
How to set up the ultimate Windows development environment