Skip to content

Instantly share code, notes, and snippets.

View jimmypocock's full-sized avatar
:shipit:
shippin'

Jimmy Pocock jimmypocock

:shipit:
shippin'
View GitHub Profile
@jimmypocock
jimmypocock / obytes-template-setup.md
Created May 21, 2025 17:46
Obytes React Native Template Setup Guide

Obytes React Native Template Setup Guide

This guide covers the essential commands needed to set up and fix common issues when starting a new React Native Expo app using the Obytes template.

Getting Started

Download the Template

Get the Obytes React Native starter template from: https://starter.obytes.com/getting-started/create-new-app/

@jimmypocock
jimmypocock / prompt_template_create_an_mcp
Created May 2, 2025 20:41
[PROMPT TEMPLATE] Create an MCP
You are an experienced software architect tasked with creating a Model Context Protocol (MCP) for an AI assistant that interacts with an existing API. This MCP will be open to the public, so security is a critical concern. Your goal is to provide a solid foundation for building this MCP while ensuring it adheres to security best practices and doesn't expose sensitive information.
Here is the relevant information for creating the MCP:
4. API Documentation:
<api_documentation>{{API_DOCUMENTATION}}</api_documentation>
1. API Type:
<api_type>{{JSON_OR_GRAPHQL}}</api_type>
@jimmypocock
jimmypocock / gist:4302a69fbc371d2878af842fb09bc38d
Created April 28, 2025 18:02
Songwriting.AI Assistant App [Claude Prompt]
# Songwriting Assistant App - Project Request
I need your help to design and implement a Songwriting Assistant App on AWS using generative AI. This application should help artists write better songs, generate lyrics, suggest rhymes, provide creative inspiration based on popular music trends, and offer melody/chord progression suggestions.
Please think through the architecture, user experience, and technical implementation in detail, including:
- Create a detailed project outline that includes:
- User personas and their needs
- Key features and capabilities of the songwriting assistant
- Technical architecture using AWS services
@jimmypocock
jimmypocock / prompt_claude_serverless_stripe_api.txt
Last active April 10, 2025 18:43
Used some of the Takeoff codegen prompt found here: https://www.jointakeoff.com/prompts/o1-pro-template-system-codegen-prompt as well as Anthropic's prompt generator tool, found in the Anthropic console: https://console.anthropic.com/dashboard.
You are the leading project manager for a team that is architecting and building a (mostly) serverless eCommerce application in AWS. The goal is to provide detailed, step-by-step instructions on how to implement the necessary features in AWS in a secure, globally scalable, and cost-effective manner.
You should utilize the most updated AWS documentation found online, as well as the most updated documentation for all other tools used in the project, to determine the best way to set this up.
Now, follow these steps to create your implementation plan:
1. Serverless Architecture Design:
a. Outline the overall architecture using AWS serverless services.
b. Explain how each component will interact with others.
c. Justify your choices for each service.
@jimmypocock
jimmypocock / nancys_secrets.js
Created February 21, 2021 03:21
Nancy's Secrets
//----------------------------//
// GLOBAL CONSTANTS
//----------------------------//
var UPPERS = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'];
var LOWERS = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'];
var NUMS = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'];
var SPECIALS = ['!', '#', '$', '%', '&', '(', ')', '*', '+', '-', '.', '/', ':', ';', '<', '=', '>', '?', '@'];
var OPTIONS = [
{
@jimmypocock
jimmypocock / gist:be7767e80e0d864d8781eb1cf5666cec
Last active June 21, 2018 19:45
Set up a new rails app on Digital Ocean. No DB...
# TODO: Build this out...
Follow this:
https://www.digitalocean.com/community/tutorials/how-to-install-ruby-on-rails-with-rbenv-on-ubuntu-16-04
Update versions of packages/gems as necessary.
@jimmypocock
jimmypocock / roverpass_recruitment_exercise.rb
Last active March 12, 2018 17:50
The purpose of this exercise is to generate discussion of application design patterns as they apply to Ruby on Rails.
#-------------------
# Description
#-------------------
# This exercise is broken into 5 Rails-based tasks. Each task utilizes the
# type of files you would operate within an average Rails application.
# Keep in mind, if one file asks for something that requires an alteration in a file
# from a different task, please complete these tasks as if you were in a production
# application. Alter as necessary.
@jimmypocock
jimmypocock / successful-rails-nginx-production-deployment.txt
Created September 9, 2015 16:04
Ruby on Rails / Postgres / Nginx / Passenger / Capistrano / Ubuntu 14.04 / AWS
#####################################
# 0. SET UP AWS (ASSUMING YOU HAVE ALREADY SET UP AN ACCOUNT)
# CREATE SECURITY GROUP
• In the EC2 Dashboard, click Security Groups, then Create Security Group.
• Enter Name
• Enter Description
• Rules to add:
- HTTP
- SSH