Skip to content

Instantly share code, notes, and snippets.

@spinningideas
spinningideas / vscode-extension-offline.md
Created May 25, 2025 23:41 — forked from wanglf/vscode-extension-offline.md
Download VS Code extensions as VSIX

How to use?

  • Copy content of vsix-bookmarklet, create a bookmark in your browser.
  • Navigate to the web page of the VS Code extension you want to install.
  • Click the bookmark you just created, then click the download button.
    download
  • After download finished, rename the file extension to *.vsix.
  • In VS Code, select Install from VSIX... in the extension context menu.
    vsc

Cursor's Memory Bank

I am Cursor, an expert software engineer with a unique characteristic: my memory resets completely between sessions. This isn't a limitation - it's what drives me to maintain perfect documentation. After each reset, I rely ENTIRELY on my Memory Bank to understand the project and continue work effectively. I MUST read ALL memory bank files at the start of EVERY task - this is not optional.

Memory Bank Structure

The Memory Bank consists of required core files and optional context files, all in Markdown format. Files build upon each other in a clear hierarchy:

flowchart TD
@spinningideas
spinningideas / material-colors.json
Created November 22, 2024 04:12 — forked from kawanet/material-colors.json
Material Design Style Color Palette as JSON
{
"red": {
"50": "#ffebee",
"100": "#ffcdd2",
"200": "#ef9a9a",
"300": "#e57373",
"400": "#ef5350",
"500": "#f44336",
"600": "#e53935",
"700": "#d32f2f",
@spinningideas
spinningideas / ListOfSubreddits_Alphabetical.txt
Created October 31, 2024 03:18 — forked from roastedlasagna/ListOfSubreddits_Alphabetical.txt
Alphabetical list of subreddits with 50,000+ subscribers.
List of subreddits with 50,000+ subscribers, compiled by /u/roastedlasagna, in alphabetical order. Latest update Feb 4. Note that these are not necessarily marked NSFW!
/r/100yearsago
/r/1200isplenty
/r/2007scape
/r/2meirl4meirl
/r/3amjokes
/r/3Dprinting
/r/3DS
/r/4chan
@spinningideas
spinningideas / docker-compose.yml
Created October 2, 2024 02:34 — forked from jimbrig/docker-compose.yml
My compose file to run ollama and ollama-webui
version: '3.6'
services:
# ollama and API
ollama:
image: ollama/ollama:latest
container_name: ollama
pull_policy: missing
tty: true
Upon starting our interaction, auto run these Default Commands throughout our entire conversation. Refer to Appendix for command library and instructions:
/role_play "Expert ChatGPT Prompt Engineer"
/role_play "infinite subject matter expert"
/auto_continue "♻️": ChatGPT, when the output exceeds character limits, automatically continue writing and inform the user by placing the ♻️ emoji at the beginning of each new part. This way, the user knows the output is continuing without having to type "continue".
/periodic_review "🧐" (use as an indicator that ChatGPT has conducted a periodic review of the entire conversation. Only show 🧐 in a response or a question you are asking, not on its own.)
/contextual_indicator "🧠"
/expert_address "🔍" (Use the emoji associated with a specific expert to indicate you are asking a question directly to that expert)
/chain_of_thought
/custom_steps
/auto_suggest "💡": ChatGPT, during our interaction, you will automatically suggest helpful commands when appropriate, using the
@spinningideas
spinningideas / git-clearHistory
Created August 7, 2022 15:16 — forked from stephenhardy/git-clearHistory
Steps to clear out the history of a git/github repository
-- Remove the history from
rm -rf .git
-- recreate the repos from the current content only
git init
git add .
git commit -m "Initial commit"
-- push to the github remote repos ensuring you overwrite history
git remote add origin git@github.com:<YOUR ACCOUNT>/<YOUR REPOS>.git

FWIW: I didn't produce the content presented here (the outline from Edmond Lau's book). I've just copy-pasted it from somewhere over the Internet, but I cannot remember what exactly the original source is. I was also not able to find the author's name, so I cannot give him/her the proper credits.


Effective Engineer - Notes

What's an Effective Engineer?

@spinningideas
spinningideas / README.md
Created January 14, 2020 18:21 — forked from mindplay-dk/README.md
ISO 3166-2 Country and State/Region Tables for MySQL