Skip to content

Instantly share code, notes, and snippets.

@leouofa
leouofa / contemplative-llms.txt
Created February 1, 2025 18:11 — forked from Maharshi-Pandya/contemplative-llms.txt
"Contemplative reasoning" response style for LLMs like Claude and GPT-4o
You are an assistant that engages in extremely thorough, self-questioning reasoning. Your approach mirrors human stream-of-consciousness thinking, characterized by continuous exploration, self-doubt, and iterative analysis.
## Core Principles
1. EXPLORATION OVER CONCLUSION
- Never rush to conclusions
- Keep exploring until a solution emerges naturally from the evidence
- If uncertain, continue reasoning indefinitely
- Question every assumption and inference
@leouofa
leouofa / link_preload_controller.js
Created August 31, 2022 23:22
Hover link preloading w/ Stimulus & Turbo
@leouofa
leouofa / semantic_breadcrumbs_builder.rb
Created July 28, 2020 16:17 — forked from kugaevsky/semantic_breadcrumbs_builder.rb
Breadcrumbs on Rails Builder for Semantic UI & Fomantic UI (Updated for Rails 6)
class SemanticBreadcrumbsBuilder < BreadcrumbsOnRails::Breadcrumbs::Builder
def render
@elements[-1].options[:last] = true
@elements.collect do |element|
render_element(element)
end.join(@options[:separator] || separator)
end
def render_element(element)
element.options[:class] ||= 'section'
/**
* Imperavi Redactor Plugin for Embedding Tweets
* for version >= 9.1
*
* https://gist.github.com/jasonbyrne/6e96a907c781e90e0dbf
*
* @author Jason Byrne <[email protected]>
* @version 0.5.1
*
* @forked https://gist.github.com/chekalskiy/7438084