This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Updating default profile (~/.aws/config) with values from $1" | |
region=$(aws configure get $1.region) | |
credential_process=$(aws configure get $1.credential_process) | |
aws configure set default.region "$region" | |
aws configure set default.credential_process "$credential_process" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
claude mcp add strands -s local "uvx" "strands-agents-mcp-server" | |
claude mcp add aws-api -s user -e AWS_REGION="us-west-2" "uvx" "awslabs.aws-api-mcp-server@latest" | |
claude mcp add aws-documentation -s project -e FASTMCP_LOG_LEVEL="ERROR" -e AWS_DOCUMENTATION_PARTITION="aws" "uvx" "awslabs.aws-documentation-mcp-server@latest" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REPO_URL="github url" | |
REPO_NAME="local folder name defaults to repo name" | |
SUBFOLDER_PATH_NO_LEADING_SLASH="path to the folder with no leading slash, but ending with a slash" | |
git clone --depth 1 --no-checkout $REPO_URL | |
cd $REPO_NAME | |
git sparse-checkout set $SUBFOLDER_PATH_NO_LEADING_SLASH |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Show line numbers | |
set number | |
" Load plugins and indent according to detected file type | |
filetype on | |
filetype plugin on | |
filetype indent on | |
" Turn on syntax highlighting | |
syntax on |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var request = require("request"); | |
var fs = require("fs"); | |
request("https://github.com/favicon.ico").pipe(fs.createWriteStream('favicon.ico')); |