NoFAQ – A tool that corrects your console commands
nofaq.cs.wisc.edu
nofaq.cs.wisc.edu
sudo rm -rf /*
Maybe a little curation might be of value here? --no-preserve-root
;)Also, it seems like it's being a little bit racist about what a "console command" is, because it won't let me suggest...
(dir -rec).FullName
...as a fix for... PS C:\> dir /s/b
dir : Cannot find path 'C:\s\b' because it does not exist. sudo chmod -R a-x /
would work as is.- Suggested `ls` for `sl` despite the fact that the latter [0] is a wonderful utility.
- `chomd` didn't yield any suggestion. Neither did `fskc`.
A similar utility that actually helps is thefuck [1].
It is not reasonable to suggest "ls" for "sl". If we regard this as typo correction, we have to consider that no letter in the command is in the correct position.
For typo correction to be plausible, it has to affect only some reasonable fraction of the command. The command has to be fairly long and the edit required to correct it has to be fairly small. E.g. showmnt -> showmount.
Not sure if this even has an api.. but i want it to. Despite that, my problem with them is that there's no way i'm going to send every failed command or all my code to some random 3rd party. It just isn't happening.
I'd love for this thing to be a local install, and then i can pipe any command failures i have to it locally, and feel semi-secure about them.
Really, i think i just need to bite the bullet and improve my understanding of the math behind ML (i'm terrible at math), and take a course or two on ML. I feel like there are so many opportunities for ML in your local life, that you would never ship off to a 3rd party. Hard to profit from, but seems great for open source projects.
(Note, i didn't mean to imply that this site used ML at all.. the other code suggester service does.. and the two, from a UX perspective, feel similar to me)
Was pretty cool!
$ git pull origin master
Your local changes to the following files would be overwritten by merge: user.abcd.suo
Suggestion:
git rm --cached user.abcd.suoWooaa, no! (Now your local changes are gone.)
Or maybe it isn't.
The main problem with this, as I see it, is the lack of knowledge of the user's intention.
Without that, it's only good for total basics that built-in correction or 'thefuck' would handle.
With that, well.. that's StackOverflow.
Command: ls -l .bla
Error: [ no output ]
Suggestion: ls -lah .bla
Is this real?Which environments have a Unix-like ls which refuses, without -a, to list an explicitly named entry which exists, but starts with a dot?