Skip to content

Instantly share code, notes, and snippets.

@CGamesPlay
CGamesPlay / ARCHITECTURE.md
Created April 4, 2024 10:31
Plandex LLM Usage

Based on analyzing the code, here is a high-level overview of the main prompts used in this project and how they fit into the overall flow:

The core prompts are defined in the model/prompts package:

  1. SysCreate (create.go) - This is the main system prompt that defines the AI's identity as Plandex, an AI programming assistant. It provides detailed instructions on how to collaboratively create a 'plan' with the user to complete a programming task. The prompt covers things like assessing if there is a clear task, breaking down large tasks into subtasks, generating code blocks, using open source libraries, and ending responses.

  2. ListReplacementsFn (build.go) - Used when building code files from a plan. It analyzes proposed code updates and produces a structured list of changes to make.

  3. SysDescribe (describe.go) - Used to generate a commit message summarizing the changes made in a plan.

@veekaybee
veekaybee / normcore-llm.md
Last active March 1, 2025 11:12
Normcore LLM Reads

Anti-hype LLM reading list

Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts of models in prod eagerly sought.

Foundational Concepts

Screenshot 2023-12-18 at 10 40 27 PM

Pre-Transformer Models

@alexhwoods
alexhwoods / localhost.md
Created May 26, 2023 13:43
Route *.localhost traffic to localhost

Route *.localhost traffic to localhost

Inspired and adjusted from this gist.

  1. Install dnsmasq
brew install dnsmasq
  1. Setup
@findmory
findmory / README.md
Last active October 3, 2024 06:36
Send Trackpad gestures over Barrier/Synergy using BetterTouchTool

Problem: Controlling a remote Mac desktop using a tool like Barrier or Synergy doesn't allow for trackpad gestures to be sent to the client machine.

Solution: Use Better Touch Tool on host machine to handle the gestures and send a remote command to the client machine.

Steps to setup:

[1] On the CLIENT machine in BTT setup these Named triggers:

@andyrbell
andyrbell / scanner.sh
Last active February 14, 2025 11:03
Make a pdf look scanned using ImageMagick
# use ImageMagick convert
# the order is important. the density argument applies to input.pdf and resize and rotate to output.pdf
convert -density 90 input.pdf -rotate 0.5 -attenuate 0.2 +noise Multiplicative -colorspace Gray output.pdf
@connorshea
connorshea / pygameinstall.md
Last active December 23, 2024 17:24
Installing Homebrew, Python, and Pygame on OS X
  1. Open the Terminal.
  2. Install Homebrew.
  1. Install Python 2.7 with brew install python
  • Optionally you can also install Python 3 with brew install python3
  • Installing either of these with install pip and pip3 respectively, a package manager for Python.
  1. Install prerequisites for pygame: brew install sdl sdl_image sdl_mixer sdl_ttf portmidi mercurial
  2. Install pygame using pip with pip install hg+http://bitbucket.org/pygame/pygame
@freeskys
freeskys / devise.id.yml
Created January 26, 2015 22:36
A translation for devise 3.4.1+ in indonesia
# Additional translations at https://github.com/plataformatec/devise/wiki/I18n
id:
devise:
confirmations:
confirmed: "Email anda telah berhasil dikonfirmasi."
send_instructions: "Anda akan menerima sebuah email dengan instruksi bagaimana cara untuk mengkonfirmasikan email anda."
send_paranoid_instructions: "Jika email anda telah terdaftar, anda akan menerima email dengan instruksi bagaimana cara untuk mengkonfirmasikan email anda."
failure:
already_authenticated: "Anda telah masuk."
# Additional translations at https://github.com/plataformatec/devise/wiki/I18n
id:
devise:
confirmations:
confirmed: 'Akun anda telah berhasil dikonfirmasi. Anda telah login.'
send_instructions: 'Anda akan menerima e-mail berisi instruksi untuk melakukan konfirmasi akun dalam beberapa menit lagi.'
send_paranoid_instructions: "Jika email anda benar-benar terdaftar, anda akan menerima email untuk mengkonfirmasi akun anda dalam beberapa menit lagi."
failure:
already_authenticated: "Anda telah login."
@justinweiss
justinweiss / filterable.rb
Last active January 30, 2025 13:06
Filterable
# Call scopes directly from your URL params:
#
# @products = Product.filter(params.slice(:status, :location, :starts_with))
module Filterable
extend ActiveSupport::Concern
module ClassMethods
# Call the class methods with names based on the keys in <tt>filtering_params</tt>
# with their associated values. For example, "{ status: 'delayed' }" would call
@gitaarik
gitaarik / git_submodules.md
Last active March 5, 2025 08:14
Git Submodules basic explanation

Git Submodules basic explanation

Why submodules?

In Git you can add a submodule to a repository. This is basically a repository embedded in your main repository. This can be very useful. A couple of usecases of submodules:

  • Separate big codebases into multiple repositories.