Skip to content

Instantly share code, notes, and snippets.

View rlunar's full-sized avatar

Roberto Luna-Rojas rlunar

View GitHub Profile
@rlunar
rlunar / bedrock-chatbot-history.py
Created July 31, 2024 13:58
Amazon Bedrock Chatbot with History
import boto3
import json
import pprint
# Create a client for the 'bedrock' service
bedrock = boto3.client(service_name='bedrock', region_name='us-east-1')
# Create a separate client for the 'bedrock-runtime' service
bedrock_runtime = boto3.client(service_name='bedrock-runtime', region_name='us-east-1')
@rlunar
rlunar / affirmation
Created January 26, 2016 21:31
MuleSoft Contributor Agreement Acceptance by Roberto Luna Rojas
I, Roberto Luna Rojas, have read and do accept the MuleSoft Contributor Agreement
at http://www.mulesoft.org/legal/contributor-agreement.html
Accepted on Tue Jan 26 2016 16:31:34 GMT-0500 (EST)
@rlunar
rlunar / install.sh
Last active August 29, 2015 14:09 — forked from fideloper/install.sh
#!/usr/bin/env bash
echo ">>> Starting Install Script"
# Update
sudo apt-get update
# Install MySQL without prompt
sudo debconf-set-selections <<< 'mysql-server mysql-server/root_password password root'
sudo debconf-set-selections <<< 'mysql-server mysql-server/root_password_again password root'