Skip to content

Instantly share code, notes, and snippets.

View xocasdashdash's full-sized avatar
💭
Potatoes and eggs, that's the secret to the world.

Joaquín Fernández Campo xocasdashdash

💭
Potatoes and eggs, that's the secret to the world.
View GitHub Profile
@xocasdashdash
xocasdashdash / project_doc.md
Created February 9, 2026 19:59 — forked from nombiezinja/project_doc.md
Project Doc Template

Meta

EPIC

Link to Project Epic on project management tool

MAIN OWNER

This should be someone is comfortable acting as a product manager for this work. It doesn't have to be a PM, and could be an Eng manager or IC. This person will be responsible for ensuring projects are on track, raising awareness with Eng leadership when they encounter changes or increase risk.

BRIEF DESCRIPTION

@xocasdashdash
xocasdashdash / prompt
Created November 29, 2025 10:59
Extractor de menus infantiles
Actúa como un experto nutricionista familiar y planificador de menús. He subido un archivo con el menú escolar. Necesito que generes un plan semanal detallado siguiendo estas instrucciones paso a paso:
1. RANGO DE FECHAS:
Analiza y extrae el menú escolar únicamente para la semana del [FECHA INICIO] al [FECHA FIN].
2. OBJETIVOS Y RESTRICCIONES (Personalización):
Genera un menú de cenas complementarias para esos días teniendo en cuenta lo siguiente:
- Equilibrio Nutricional: Si comen carbohidratos (arroz/pasta) al mediodía, la cena debe ser ligera y basada en verduras/proteína. Si el almuerzo es ligero, la cena puede ser más contundente. Evita repetir la misma proteína (pollo, pescado, cerdo, huevo) en el mismo día.
- Estrategia de Cocina: [ELIGE UNA: Batch Cooking Fin de Semana / Cocinar día a día / Cena rápida de 15 mins].
- Ingredientes Preferidos: [EJ: Pollo, Merluza, Huevos...].
@xocasdashdash
xocasdashdash / main.go
Created September 26, 2022 08:19
Generate a presigned URL for AWS IAM
package main
import (
"context"
"fmt"
"github.com/aws/aws-sdk-go-v2/config"
"github.com/aws/aws-sdk-go-v2/service/sts"
smithyhttp "github.com/aws/smithy-go/transport/http"
)
{
// Place your adventofcode workspace snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and
// description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope
// is left empty or omitted, the snippet gets applied to all languages. The prefix is what is
// used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders.
// Placeholders with the same ids are connected.
// Example:
// "Print to console": {
// "scope": "javascript,typescript",
@xocasdashdash
xocasdashdash / Ansible Dockerfile
Created February 9, 2020 18:26
With Openstack and Python Consul
FROM python:3.7-slim as BUILDER
RUN apt-get update && apt-get install -y --no-install-recommends gcc python-dev && \
pip install netifaces==0.10.9
FROM python:3.7-slim as RUNNER
# Set Workdir
WORKDIR /ansible
# Define volumes
VOLUME [ "/ansible" ]

Keybase proof

I hereby claim:

  • I am xocasdashdash on github.
  • I am xocas (https://keybase.io/xocas) on keybase.
  • I have a public key ASD8OegguXkXOI83aWU0TuHgLWMgkoPABja8TPXWToyn0wo

To claim this, I am signing this object:

04156120f9466712bf7eeae7d486e5ce4673a1ca3d4947c53c2cd7fe478add700c44eeeeba255cb22f44931ecee13d7842adfc09b87b6aac35d591dd3235d5a7dc
@xocasdashdash
xocasdashdash / boxstarter.ps1
Last active October 22, 2017 20:45 — forked from jessfraz/boxstarter.ps1
Boxstarter Commands for a new Windows box.
# Description: Boxstarter Script
# Author: Jess Frazelle <jess@linux.com>
# Last Updated: 2017-10-12
#
# Install boxstarter:
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force
#
# You might need to set: Set-ExecutionPolicy RemoteSigned
#
# Run this boxstarter by calling the following from an **elevated** command-prompt:
pipeline {
agent any
parameters {
string(defaultValue: '', description: 'The name of the organization working on this repository.', name: 'orgName')
}
stages{
stage("Create Repo Piplines") {
steps {
@xocasdashdash
xocasdashdash / iterm2-solarized.md
Created April 2, 2017 10:44 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Meslo powerline font + [Powerlevel9k] - (macOS)

Default

Default

Powerlevel9k

Powerlevel9k