chubin / chubin/cheat.sh

Get more, or next stackoverflow answer.

Open
#148 9 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
41.7k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

**use case and feature request**

1. I'm in my editor and I want instructions for root mean squared error in python, so I press my keystroke to package my selected string: `rmse` to the cht.sh servers like this:

curl cht.sh/python/rmse?T

2. It responds with the selected answer from here: https://stackoverflow.com/questions/17197492/is-there-a-library-function-for-root-mean-square-error-rmse-in-python

3. That's fine, now this selected answer is kind of trash (not your fault) and the next highest-upvoted but not-selected answer is great: https://stackoverflow.com/a/37861832/445131

4. Is there a way I can tell your server to: "Get N more stackoverflow answers on this page?" or "Get the next stackoverflow answer on this stackoverflow page"? I could even give you search term like the: `so/q/17197492`

Attempting to solve my own problem my way, I saw: https://github.com/dbeniamine/cheat.sh-vim has a `KAN Next Answer` keystroke, but that's not the next stackoverflow answer, that's the last/next query.

What I have to do now is take my hand off the keyboard and visit stackoverflow by that questionid, and then use the mouse to scroll down, which is doubleplusungood.

How would you do this so I can keep my fingers on home row; my right hand not taking the thousand-year journey to the GUI-land.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.