Skip to content

Instantly share code, notes, and snippets.

View pambram's full-sized avatar

Pablo Ambram pambram

View GitHub Profile
@pambram
pambram / cursor-windsurf-rules.mdc
Created July 2, 2025 13:01
Cursor rules to emulate Windsurf planning capabilities
---
description:
globs:
alwaysApply: true
---
# Cursor Rules – Planning Expert Mode (v3)
## 1. Purpose
Embed a **Planning Expert** within the AI IDE that _maintains and enforces_ an up‑to‑date plan **without restricting the IDE’s normal creativity**.
The plan **drives** execution: every significant action _must_ correspond to an open Task and advance the **Current Goal** until all tasks are completed.
@pambram
pambram / devowel.py
Created February 23, 2024 03:34
Devowel a text
SOME_TEXT = """
May 2021There's one kind of opinion I'd be very afraid to express publicly.
If someone I knew to be both a domain expert and a reasonable person
proposed an idea that sounded preposterous, I'd be very reluctant
to say "That will never work."Anyone who has studied the history of ideas, and especially the
history of science, knows that's how big things start. Someone
proposes an idea that sounds crazy, most people dismiss it, then
it gradually takes over the world.Most implausible-sounding ideas are in fact bad and could be safely
dismissed. But not when they're proposed by reasonable domain
experts. If the person proposing the idea is reasonable, then they
@pambram
pambram / gist:6087c2c1f8af246bca88ee5331062434
Created January 28, 2024 23:44
Privacy Policy for Custom GPT Model with Google Sheets Integration (i.e. Trilogy AWS Account Oracle)
Privacy Policy for Custom GPT Model with Google Sheets Integration (i.e. Trilogy AWS Account Oracle)
Last Updated: Jan 28th, 2024
1. Introduction
This Privacy Policy applies to the use of our custom GPT model which integrates with Google Sheets through an external API. It describes how we collect, use, and protect the data retrieved from Google Sheets.
2. Data Collection
We collect data exclusively from the Google Sheets that the user provides access to. This may include text, numbers, and other information contained in the sheets. The collection is done automatically via an API connection.
@pambram
pambram / node-and-npm-in-30-seconds.sh
Created June 7, 2011 12:09 — forked from isaacs/node-and-npm-in-30-seconds.sh
Use one of these techniques to install node and npm without having to sudo. Discussed in more detail at http://joyeur.com/2010/12/10/installing-node-and-npm/ Note: npm >=0.3 is *safer* when using sudo.
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc
. ~/.bashrc
mkdir ~/local
mkdir ~/node-latest-install
cd ~/node-latest-install
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1
./configure --prefix=~/local
make install # ok, fine, this step probably takes more than 30 seconds...
curl http://npmjs.org/install.sh | sh