Skip to content

Instantly share code, notes, and snippets.

View ivorpad's full-sized avatar
🇪🇸
Working from Spain

Ivor ivorpad

🇪🇸
Working from Spain
View GitHub Profile
@provencher
provencher / gist:5f76fe0472fbe8be01ff40f8337dd626
Last active February 2, 2026 12:09
Sentry Issue triage + RP-CLI planning
#!/usr/bin/env python3
"""
Sentry Triage Script - Template
================================
A script for triaging Sentry issues and optionally generating fix plans
using AI-assisted code analysis.
Usage: ./sentry-triage-template.py [version...] [--output-dir DIR] [--plan] [--plan-only]
@kieranklaassen
kieranklaassen / SKILL.md
Last active February 7, 2026 10:38
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.


@disler
disler / README.md
Last active February 3, 2026 13:41
Use Meta Prompting to rapidly generate results in the GenAI Age

Meta Prompting

In the Generative AI Age your ability to generate prompts is your ability to generate results.

Guide

Claude 3.5 Sonnet and o1 series models are recommended for meta prompting.

Replace {{user-input}} with your own input to generate prompts.

Use mp_*.txt as example user-inputs to see how to generate high quality prompts.

@goranculibrk
goranculibrk / MigrateDatabaseServers.php
Last active December 16, 2025 16:19
Synchronize Production and Local Postgres Databases.
<?php
namespace App\Console\Commands\Maintenance;
use Illuminate\Console\Command;
use Symfony\Component\Process\Process;
class MigrateDatabaseServers extends Command
{
/**
@trvswgnr
trvswgnr / compress_video
Last active February 6, 2026 07:17
portable shell script to compress videos with ffmpeg
#!/bin/sh
print_usage() {
echo "usage: compress_video <input_file>"
echo "supported formats: mp4, webm, mkv, mov, avi, flv"
}
get_extension() {
f="${1##*/}"
case "$f" in
<?
//
// AUTO KEYWORD-BASED FOLLOWER CURATION BOT (by @levelsio)
//
// File: twitterFollowerCuratorBot.php
//
// Created: May 2021
// License: MIT
//
@ivorpad
ivorpad / .md
Last active June 5, 2019 13:18
Renew Certificate with Certbot
  1. sudo service nginx-sp stop
  2. Uncomment ssl lines from /etc/nginx-sp/vhosts.d/<domain>-ssl.conf
  3. cd opt/letsencrypt
  4. sudo -H ./letsencrypt-auto certonly --standalone -d <domain>.com
  5. sudo service nginx-sp start
cd /etc/nginx-sp/vhosts.d/
@ateucher
ateucher / setup-gh-cli-auth-2fa.md
Last active May 3, 2024 11:06
Setup git on the CLI to use 2FA with GitHub

These are instructions for setting up git to authenticate with GitHub when you have 2-factor authentication set up. This authentication should be inherited by any GUI client you are using. These are intentionally brief instructions, with links to more detail in the appropriate places.

  1. Download and install the git command-line client (if required).

  2. Open the git bash window and introduce yourself to git (if required):

    git config --global user.name 'Firstname Lastname'
    git config --global user.email 'firstname.lastname@gov.bc.ca'
    
@mihow
mihow / load_dotenv.sh
Last active February 4, 2026 14:50
Load environment variables from dotenv / .env file in Bash
# The initial version
if [ ! -f .env ]
then
export $(cat .env | xargs)
fi
# My favorite from the comments. Thanks @richarddewit & others!
set -a && source .env && set +a
@tylermakin
tylermakin / Multipart MIME Email.md
Last active November 7, 2025 01:16
Multipart MIME Email Guide

Multipart MIME Email Guide

This is a guide on how to send a properly formatted multipart email. Multipart email strings are MIME encoded, raw text email templates. This method of structuring an email allows for multiple versions of the same email to support different email clients.

// Example Multipart Email:
From: sender@example.com
To: recipient@example.com
Subject: Multipart Email Example
Content-Type: multipart/alternative; boundary="boundary-string"