Giter VIP home page Giter VIP logo

problems-ive-had's Introduction

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

problems-ive-had's People

Contributors

rickgorman avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.