<commit_before>Terminal program to search for commands (using google?)(using bultin dict.?)
- ex. 'how to change directory'
-     'found: cd - change directory'
- ex. 'how to auto complete'
-     'found: use: tab'
- inspired by http://www.reddit.com/r/Lightbulb/comments/336hkl/google_terminal_for_linux_for_newbies_that_dont/ 

----------------------------------------------------------------------------------------------------

more: http://www.reddit.com/message/messages/3c3ljs :

Instead of using google as the default utility, use the man pages. Set up a way to use them as a dictionary that people can search through. Similar to man -k except more user friendly and targeted to a beginner. I imagine it something like this:

$ howto change directory 
    found: cd - change directory 
$ howto auto complete 
    found: use: tab 
$ howto write to a file 
    nothing found: google it? (y or n) 
$ y 
    firefox google.com/#q=write+to+a+file+ubuntu+terminal

In addition to something like that, add direct google search terminal functionality:

$ ghow beginners guide to ubuntu 
    link: https://www.google.com/#q=beginners+guide+to+ubuntu 
    Search Results:

Ubuntu: A Beginner's Guide - MakeUseOf
www.makeuseof.com/tag/ubuntu-an-absolute-beginners-guide/

Jan 20, 2012 - Curious about Ubuntu, but not sure where to start? Start here: “Ubuntu: An Absolute Beginner's Guide” will teach you everything you need to ...
25 Ubuntu tips for beginners | TechRadar
www.techradar.com/.../25-ubuntu-tips-for-beginners-906002
TechRadar
Nov 7, 2010 - 25 Ubuntu tips for beginners | Break into Linux with our expert Ubuntu ... running with some interesting and helpful tools by following this guide.

Possibly include some convenient aliases for relevant things..?

----------------------------------------------------------------------------------------------------

typical man page: http://man7.org/linux/man-pages/man7/man-pages.7.html 

----------------------------------------------------------------------------------------------------

features: 
-broad search of man pages returning multiple options
-guided search of man pages returning a specific page or suggestions on a page
-google search of queries that returned 'nothing found' option
-direct search of google returning potential help/solutions and links to pages

implementation:
-?????????????
<commit_msg>update ideas.txt<commit_after>Terminal program to search for commands (using google?)(using bultin dict.?)
- ex. 'how to change directory'
-     'found: cd - change directory'
- ex. 'how to auto complete'
-     'found: use: tab'
- inspired by http://www.reddit.com/r/Lightbulb/comments/336hkl/google_terminal_for_linux_for_newbies_that_dont/ 

----------------------------------------------------------------------------------------------------

more: http://www.reddit.com/message/messages/3c3ljs :

Instead of using google as the default utility, use the man pages. Set up a way to use them as a dictionary that people can search through. Similar to man -k except more user friendly and targeted to a beginner. I imagine it something like this:

$ howto change directory 
    found: cd - change directory 
$ howto auto complete 
    found: use: tab 
$ howto write to a file 
    nothing found: google it? (y or n) 
$ y 
    firefox google.com/#q=write+to+a+file+ubuntu+terminal

In addition to something like that, add direct google search terminal functionality:

$ ghow beginners guide to ubuntu 
    link: https://www.google.com/#q=beginners+guide+to+ubuntu 
    Search Results:

Ubuntu: A Beginner's Guide - MakeUseOf
www.makeuseof.com/tag/ubuntu-an-absolute-beginners-guide/

Jan 20, 2012 - Curious about Ubuntu, but not sure where to start? Start here: “Ubuntu: An Absolute Beginner's Guide” will teach you everything you need to ...
25 Ubuntu tips for beginners | TechRadar
www.techradar.com/.../25-ubuntu-tips-for-beginners-906002
TechRadar
Nov 7, 2010 - 25 Ubuntu tips for beginners | Break into Linux with our expert Ubuntu ... running with some interesting and helpful tools by following this guide.

Possibly include some convenient aliases for relevant things..?

----------------------------------------------------------------------------------------------------

typical man page: http://man7.org/linux/man-pages/man7/man-pages.7.html 

----------------------------------------------------------------------------------------------------

features: 
-broad search of man pages returning multiple options
-guided search of man pages returning a specific page or suggestions on a page
-google search of queries that returned 'nothing found' option
-direct search of google returning potential help/solutions and links to pages

implementation:
----howto

----googlehowto
-alias 'ghow'

--function: get_page(query)
-argument= a string of text to use as a search query
-translate query into a url

--function: get_results(page)
-argument= a url (html file) to parse
-parse a search page with beautiful soup --expand on this
  --function: print_results(???)
  -output directly to stdin (formatted nicely (use printf?))
{'fraction_non_alphanumeric': 0.19282774838330394, 'fraction_numerical': 0.012149715853419557, 'mean_word_length': 2.36231884057971, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 10, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7601718', 'n_tokens_mistral': 1427, 'n_tokens_neox': 1284, 'n_words': 550}