Skip to content

A collection of problems I've run into, some with solutions.

License

Notifications You must be signed in to change notification settings

rickgorman/problems-ive-had

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 

Repository files navigation

problems-ive-had

A collection of problems I've run into, some with solutions.

Environment

Terminal emulator

Shell

  • 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.

CLI tools

  • I want to see realtime performance metrics for my Apple Silicon laptop.

Package management

Git

AI Tools

Copilot

  • 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.

Notifications

  • I want to know when someone on my team needs a code review.

Browser

  • 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

Css

Rails

  • I want to know how many things are in a collection and I don't want to remember how 3 different methods work.
  • 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
  • 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.

RSpec

MacOS

  • I want super-fast access to a set of files (for instance, to run a test suite's db from).

Design

  • I want a simple set of design rules to work with.

Clothing

Keto

About

A collection of problems I've run into, some with solutions.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published