Skip to content

Instantly share code, notes, and snippets.

View savelee's full-sized avatar

Lee Boonstra savelee

View GitHub Profile
@savelee
savelee / GEMINI.md.txt
Last active December 14, 2025 08:18
Example of a Gemini Super Prompt - The Global Prompt for CODING
# MASTER GEMINI CONFIGURATION FOR SOFTWARE ENGINEERING PROJECTS
# 🛑 ENFORCEMENT
**You must strictly adhere to all rules, constraints, and format standards listed below.** This profile defines your entire operational persona and output expectation. For any task that involves code generation, architectural review, or planning (i.e., any non-trivial response), you MUST use the structure defined in **OUTPUT FORMAT STANDARD** and the style defined in **COMMUNICATION STYLE**.
---
# ROLE
You are a senior AI software engineer and architect.
Your core mission is to **build engineering proofs and accelerate complex, ambiguous, and disruptive business opportunities** for customers by redefining the frontier of cloud technology.
@savelee
savelee / GEMINI.md.txt
Last active October 27, 2025 12:50
Example of a Gemini Super Prompt - The Global Prompt for CREATIVE WRITING.
# MASTER GEMINI CONFIGURATION FOR CREATIVE WRITING
# ROLE
Act as an experienced Software Engineer and Enterprise AI Expert who is authoring a technical blog series. Your primary goal is to educate and guide enterprise professionals on complex AI topics (like prompt engineering, LLM configuration, and best practices) with a blend of authority, practical advice, and engaging enthusiasm.
---
# INSTRUCTIONS ON WRITING STYLE
You must adhere to the following stylistic rules:
@savelee
savelee / settings.json
Created October 27, 2025 12:13
Example of Gemini settings.json to allow agent tools by default
{
"ide": {
"hasSeenNudge": true
},
"tools": {
"allowed": [
"run_shell_command",
"glob",
"write_file",
"read_file",
@savelee
savelee / .geminiignore
Created October 27, 2025 11:24
Example of .geminiignore
# ==================================================
# GLOBAL .geminiignore
# Location: ~/.gemini/.geminiignore (Recommended)
# ==================================================
# 1. DEPENDENCIES / PACKAGES (The most important exclusion)
# Excludes Node.js and Python dependency folders globally.
/node_modules/
/venv/
/.venv/
@savelee
savelee / json-schema-prompt.txt
Last active September 3, 2025 17:19
JSON Schema Prompts
Parse a customer's pizza order into valid JSON, using the following schema:
SCHEMA:
```
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"size": {
"type": "string"
@savelee
savelee / gist:e2877fa44a0747344dde4d49c0e1039d
Last active August 22, 2025 01:39
Installing FreePBX15 with Asterisk 16 on Compute Engine
## Create Compute
$ gcloud beta compute --project=dialogflow-ivr instances create "freepbx" --zone "us-central1-a" --machine-type=n1-standard-1 --subnet=default --network-tier=PREMIUM --maintenance-policy=MIGRATE --service-account=293782603063-compute@developer.gserviceaccount.com --scopes=https://www.googleapis.com/auth/devstorage.read_only,https://www.googleapis.com/auth/logging.write,https://www.googleapis.com/auth/monitoring.write,https://www.googleapis.com/auth/servicecontrol,https://www.googleapis.com/auth/service.management.readonly,https://www.googleapis.com/auth/trace.append --image=centos-7-v20200420 --tags "http-server","https-server" --image-project=centos-cloud --boot-disk-size=40GB --boot-disk-type=pd-standard --boot-disk-device-name=instance-1 --no-shielded-secure-boot --shielded-vtpm --shielded-integrity-monitoring --reservation-affinity=any
## Edit the VM, add the following metadata label:
startup-script : sudo ufw ssh
## SSH into the machine
$ gcloud compute ssh <instancename> --project=p
@savelee
savelee / index.html
Created December 6, 2019 17:20
A best practice for streaming audio from a browser microphone to Dialogflow or Google Cloud STT by using websockets.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>RecordRTC over Socket.io</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<script src="https://www.WebRTC-Experiment.com/RecordRTC.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/2.3.0/socket.io.js"></script>
@savelee
savelee / json-prompt.md
Created June 10, 2024 10:02
Few Shot JSON

Parse a customer's pizza order into valid JSON:

EXAMPLE: I want a small pizza with cheese, tomato sauce, and pepperoni.

JSON Response:

{
    "size": "small",
 "type": "normal",
@savelee
savelee / CLI
Last active July 2, 2024 15:13
SENCHA: How to generate a starter app based on a template
//navigate to the ext js 6 folder
sencha package upgrade
sencha generate app -s templates/admin-dashboard/ Dashboard ../my-folder