A collection of problems I've run into, some with solutions.
- I want to know what different terminal fonts looks like.
- I want to run a command based on the exit code of the previous command.
- I want my shell history available across multiple terminal sessions at the same time.
- I want to see realtime performance metrics for my Apple Silicon laptop.
- I want a reproducible set of brew packages.
- I want fzf to help me pick a branch to checkout.
- see dotfiles
- I accidentally force-pushed into a branch that others are working on.
- Force-push again from the previous head pointer.
- I want to understand how Copilot fills its context window.
- Lots of ways including current file contents, open tabs, imports, top-level file comments, etc.
- I want to know when someone on my team needs a code review.
- github slack integration
/github subscribe OrganzationName/RepoName pulls
-
I want to use keyboard navigation whenever possible. Unfinished LLM prompt:
0. build a function that will do the following: 1. when a user hovers over an element with an onclick handler, the element will be visually highlighted in some way 2. when the visual highlight is visible, if the user presses the '!' key on the keyboard, a menu will show up and ask if the user wants to set a hotkey to activate that element. 3. if the user say yes, then the user will be prompted to press a key combination with the 'alt' modifier, such as 'alt-a' or 'alt-5'. the user will then be notified that this choice has been remembered, which it will be. the ux described here will then go away. 4. additionally, when the user presses the alt key on its own, small hover texts will appear over each visual element that has had an onclick handler set by this function. 5. additionally, when the user presses a keyboard shortcut that was set earlier, such as 'alt-a', the element that the keyboard shortcut corresponds to will be triggered by a simulated 'onclick' event.
-
I want to programatially hide the cursor.
-
I want to edit any random webpage in-line.
-
I want to access the element I just inspected.
- type $0 in the console
- I want to know how all the
flex justify-content
options work.- cheat sheet and original
- I want a reference for css flex, grid, and selection.
- I want a reference for some of the more obscure parts of flex.
- cheat sheet and original
- I want to use a frosted glass effect.
- I want to know how many things are in a collection and I don't want to remember how 3 different methods work.
- Use #size
- I want to quickly navigate through things on a page via a command palette.
- I want to know which code paths are used most frequently.
- I have different roles accessing a controller action and I want to scope access to resources accordingly.
- I want to guard against N+1's
- On a per-spec basis, use prosopite
- For the entire app, use strict_loading! - blog article
- I want to run a bunch of queries in the same action, some potentially more than once, but I don't want to run the same query twice.
- rails query cache does that by default
- I want to see the entire error message, no matter how long it is.
- Adjust the maximum message length
- I want a general set of testing guidelines.
- I want a guide for testing ActiveJob.
- I want to speed up a slow test suite
- Start with Evil Martian's TestProf
- I want super-fast access to a set of files (for instance, to run a test suite's db from).
- Use a ramdisk
- I want a simple set of design rules to work with.
- I want boots that will stand the test of time.
- I want mac and cheese but I can't have carbs.