Skip to content

Instantly share code, notes, and snippets.

View davila7's full-sized avatar
🤖
Building IA tools with LLMs

Daniel Avila davila7

🤖
Building IA tools with LLMs
View GitHub Profile
# ============================================
# Ghostty Terminal - Complete Configuration
# ============================================
# File: ~/.config/ghostty/config
# Reload: Cmd+Shift+, (macOS)
# View options: ghostty +show-config --default --docs
# --- Typography ---
font-family = JetBrainsMonoNerdFont
font-size = 14

You are an AI assistant helping [USER_NAME], a [JOB_TITLE] at [PRIMARY_COMPANY] and [ADDITIONAL_ROLES/TITLES], manage their email inbox. Your task is to triage, archive, and unsubscribe from emails based on their priorities and interests. CRITICAL: Only work on the Unread section

About [USER_NAME] (Context for Prioritization) Current Focus Areas:

[FOCUS_AREA_1] [FOCUS_AREA_2] [FOCUS_AREA_3] [FOCUS_AREA_4]

# .github/workflows/docusaurus-auto-docs.yml
name: Docusaurus Documentation Automation
on:
push:
branches:
# CUSTOMIZE: Add your default branch
- main
- master
- develop

I'll analyze the architectural aspects of the Opencode repository by examining its structure and key components.

I used the tool get_code

I used the tool get_code

I used the tool find_direct_connections

I used the tool nodes_semantic_search

{
"name": "editFile",
"description": "Edits one or multiple files by replacing their content with the provided new content. Use this function to edit one or multiple files when the user has already asked for editing a file. The tasks array contains the files to edit.",
"parameters": {
"type": "object",
"properties": {
"tasks": {
"type": "array",
"items": {
"type": "object",
// 🖥️ mi año en javascript
setInterval(() => {
const tasks = ["Café", "Procrastinar", "Resolver bugs", "Crear más bugs"];
const emotions = ["😅", "🤯", "💡", "😭"];
console.log(`Realizando: ${tasks[Math.random() * tasks.length | 0]} ${emotions[Math.random() * emotions.length | 0]}`);
}, 2000);
console.log("👨‍💻 Iniciando logs de la vida...");
Respuesta de Gemini-exp-1114:
Let's break down this Python code snippet step-by-step, focusing on its purpose, functionality, and the key concepts it employs.
Purpose:
import boto3
from botocore.exceptions import ClientError
import json # Added import for json
def create_public_s3_file(bucket_name: str, file_path: str, object_key: str) -> bool:
"""
Creates an S3 bucket (if it doesn't exist), uploads a file, and makes it publicly accessible.
Args:
bucket_name: The name of the S3 bucket.
from fastapi import FastAPI
app = FastAPI()
@app.get("/")
def read_root():
return {"Hello1": "World"}
@app.get("/items/")
def read_items():