Skip to content

Instantly share code, notes, and snippets.

View aledbf's full-sized avatar
🕸️

Manuel Alejandro de Brito Fontes aledbf

🕸️
View GitHub Profile
@aledbf
aledbf / claude-code-prompts.js
Created May 26, 2025 01:43 — forked from transitive-bullshit/claude-code-prompts.js
Unminified prompts and tool definitions for Claude Code
// Claude Code is a Beta product per Anthropic's Commercial Terms of Service.
// By using Claude Code, you agree that all code acceptance or rejection decisions you make,
// and the associated conversations in context, constitute Feedback under Anthropic's Commercial Terms,
// and may be used to improve Anthropic's products, including training models.
// You are responsible for reviewing any code suggestions before use.
// (c) Anthropic PBC. All rights reserved. Use is subject to Anthropic's Commercial Terms of Service (https://www.anthropic.com/legal/commercial-terms).
// Version: 0.2.9
@aledbf
aledbf / contemplative-llms.txt
Created January 10, 2025 15:47 — forked from Maharshi-Pandya/contemplative-llms.txt
"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
@aledbf
aledbf / download-vs-code-server.sh
Created May 16, 2024 18:49 — forked from b01/download-vs-code-server.sh
Linux script to download latest VS Code Server, good for Docker (tested in Alpine).
#!/bin/sh
# Copyright 2023 Khalifah K. Shabazz
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the “Software”),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
curl -s https://raw.githubusercontent.com/grahampugh/erase-install/main/erase-install.sh | \
sudo bash /dev/stdin \
--reinstall \
--erase \
--very-insecure-mode \
--credentials=$(printf "%s:%s" "demo" "demo" | iconv -t ISO-8859-1 | base64 -i -) \
--os=13
@aledbf
aledbf / dev-containers-cloud-native.md
Created December 8, 2023 00:05 — forked from craiglpeters/dev-containers-cloud-native.md
Dev Containers in the Cloud Native Ecosystem

Dev Containers

https://containers.dev an open spec that extends container definition to also include dev environment configuration including:

  • packages
  • lifecycle automation
  • processes
  • IDE configurations
  • remote connection
  • port forwarding
#!/bin/bash
echo "Installing ingress controller..."
echo '
apiVersion: v1
kind: Namespace
metadata:
name: ingress-nginx
labels:
app.kubernetes.io/name: ingress-nginx

Keybase proof

I hereby claim:

  • I am aledbf on github.
  • I am aledbf (https://keybase.io/aledbf) on keybase.
  • I have a public key whose fingerprint is 6AFB C49A 3045 ADC1 6268 A244 7861 3601 6A8B A02A

To claim this, I am signing this object:

https://www.youtube.com/watch?v=p0hDJVRl3o0
@aledbf
aledbf / Transantiago public endpoints.md
Created July 12, 2017 22:36 — forked from radutzan/Transantiago public endpoints.md
APIs REST públicas con data del Transantiago. Respuestas en JSON.

Importante

Transantiago implementó estas APIs para uso interno, por lo que no hay ninguna garantía sobre su funcionalidad, mantenimiento o futura existencia. Úsalas bajo tu propio riesgo. (Probablemente no es aconsejable que las uses para nada crítico.)

Paraderos alrededor de un punto

http://www.transantiago.cl/restservice/rest/getpuntoparada?lat=-33.6089714&lon=-70.5742975&bip=1

Estimación de parada

http://www.transantiago.cl/predictor/prediccion?codsimt=PA420&codser=504 (código de servicio es opcional, pero el parámetro debe estar presente aunque esté vacío)

Lista de servicios

ipconfig | grep -E -i "IP Address" | grep -E -o "[0-9][0-9.]+"