Use these rapid keyboard shortcuts to control the GitHub Atom text editor on macOS.
- ⌘ : Command key
- ⌃ : Control key
- ⌫ : Delete key
- ← : Left arrow key
- → : Right arrow key
- ↑ : Up arrow key
| # Avoid annoying ActionController::UnknownHttpMethod exceptions like: | |
| # | |
| # ActionController::UnknownHttpMethod) "CONNECT, accepted HTTP methods are get, head, put, post, delete, and options" | |
| # | |
| # Install this file in app/metal and these requests will receive a 405 | |
| # "Method Not Allowed" status and will be logged under `info'. | |
| class IgnoreUnknownHttpMethod | |
| def self.call(env) | |
| [ | |
| if ActionController::Request::HTTP_METHODS.include?(env["REQUEST_METHOD"].downcase) |
| { "keys": ["home"], "command": "move_to", "args": {"to": "bol"} }, | |
| { "keys": ["end"], "command": "move_to", "args": {"to": "eol"} } |
| # config/initializers/email.rb | |
| # Monkey-patch to enable ActionMailer to send STMP email over SSL. | |
| # Necessitated by Fastmail mandating SSL by 30 June 2012. | |
| module ActionMailer | |
| class Base | |
| def perform_delivery_smtp(mail) | |
| destinations = mail.destinations | |
| mail.ready_to_send |
Use these rapid keyboard shortcuts to control the GitHub Atom text editor on macOS.
Thank you everybody, Your comments makes it better
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"| """ | |
| 31-round sha256 collision. | |
| Not my research, just a PoC script I put together with numbers plugged in from the slide at | |
| https://twitter.com/jedisct1/status/1772647350554464448 from FSE2024 | |
| SHA256 impl follows FIPS 180-4 | |
| https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.180-4.pdf | |
| """ |
A pattern for building personal knowledge bases using LLMs.
This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.
Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.