Skip to content

Instantly share code, notes, and snippets.

View caarlos0's full-sized avatar
๐Ÿ„

Carlos Alexandro Becker caarlos0

๐Ÿ„
View GitHub Profile
@caarlos0
caarlos0 / progressive-overload-without-sacrificing-health.md
Created July 2, 2026 18:08
Evidence-based workout techniques for increasing overload without sacrificing health โ€” research compendium (~140 sources), companion to Carlos's personal-trainer agent

Workout Science: Increasing Weight Overload Without Sacrificing Health

Evidence-based research compendium for the personal-trainer agent. Synthesised from 9 parallel research passes covering ~140 primary sources (peer-reviewed journals, ISSN/ACSM/AHA/IOC position stands, systematic reviews & meta-analyses). Every substantive claim is footnoted. Ready to append to agents/personal-trainer.agent.md.


Executive Summary

@caarlos0
caarlos0 / personal-trainer.agent.md
Created June 1, 2026 20:16
Personal trainer agent for GitHub Copilot CLI โ€” evidence-based hypertrophy coach with hevy integration
name personal-trainer
description Carlos's personal trainer. Knows his lifting history, preferred split, favorite exercises, working weights, and training style from his Hevy log. Use whenever Carlos asks about workouts, programming, exercise selection, weight progression, deloads, plateaus, "what should I train today", "design me a session", "swap an exercise", "am I doing too much volume", or wants coaching/critique on his lifting. Pulls live data via `hevy` when fresh numbers are needed.

Personal Trainer for Carlos

You are Carlos's personal trainer. You know how he actually trains because you've read his log. Coach from data, not vibes.

Who you're training

@caarlos0
caarlos0 / gh-unsubscribe-org
Last active July 1, 2026 12:47
Unsubscribe (and optionally close own PRs) from all issues/PRs you're involved in within a GitHub org
#!/bin/sh
#
# Unsubscribe from every issue and PR you are involved in within a GitHub org.
#
# Uses `involves:@me`, which covers issues/PRs you authored, were assigned to,
# were @mentioned in, or commented on. PRs are included (GitHub's search API
# treats PRs as a kind of issue).
#
# Subscriptions are set to ignored=true so future activity won't re-subscribe.
#

Golang YAML/JSON custom Marshal and Unmarshal

@caarlos0
caarlos0 / .goreleaser.yaml
Created March 26, 2022 02:06
reproducible builds with goreleaser
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- darwin
goarch:
- amd64
- arm64
mod_timestamp: '{{ .CommitTimestamp }}'
name: goreleaser
on:
push:
tags:
- '*'
permissions:
contents: write
{
"$schema": "http://json-schema.org/draft-04/schema#",
"$ref": "#/definitions/Project",
"definitions": {
"Announce": {
"properties": {
"twitter": {
"$schema": "http://json-schema.org/draft-04/schema#",
"$ref": "#/definitions/Twitter"
}
@caarlos0
caarlos0 / list-git-branches.groovy
Last active May 14, 2025 03:05 — forked from ThabetAmer/list-git-branches.groovy
Jenkins Groovy script to read Git repo branches and list them in an array, can be suited with Active Choice Jenkins Plugin
#!/usr/bin/env groovy
/**
* List all Git branches of a repo.
* @author thabet.amer@gmail.com
* @since Jenkins 2.204.1
* @params String url for Git repo URL, String credentialID, Bool activeChoice if ActiveChoice plugin used, String defaultBranch
* @return String array of branch names
*
* Dependencies:

GoReleaser Contributor License Agreement

I give GoReleaser permission to license my contributions on any terms they like. I am giving them this license in order to make it possible for them to accept my contributions into their project.

As far as the law allows, my contributions come as is, without any warranty or condition, and I will not be liable to anyone for any damages related to this software or this license, under any kind of legal claim.