1
0
mirror of https://github.com/chubin/cheat.sh.git synced 2026-06-20 13:16:44 +02:00
Commit Graph

269 Commits

Author SHA1 Message Date
fedeb 73e4e46e3e Fixed readme & style, removed special cases from random pool. 2020-11-09 18:39:52 +01:00
fedeb f4cd21e4e0 Another check if a given topic has just the :list and rosetta/ 2020-11-07 21:15:26 +01:00
fedeb f788f238a4 Minor fix on checking if is a random request 2020-11-07 20:48:38 +01:00
fedeb cb75302567 Fixed typo 2020-11-07 20:25:23 +01:00
fedeb e3ab4eafcb Fixed comments regarding :random 2020-11-07 20:15:54 +01:00
fedeb 417f7f9e69 removed rosetta/ and '' from possible random choices 2020-11-07 20:15:20 +01:00
fedeb bfa25504f3 Remved /:list from the possible random choice 2020-11-05 14:32:34 +01:00
fedeb b62bb9118c Added a check on get_answer_dict that identifies random requests 2020-11-05 14:15:18 +01:00
Igor Chubin ce8484fc2d fix: show integer weights for "Unknown topic" suggestions 2020-08-06 07:55:39 +02:00
Igor Chubin b45af37fba Merge branch 'master' of https://github.com/chubin/cheat.sh 2020-08-06 04:35:22 +00:00
Igor Chubin 318541c8ae regression fix 2020-08-06 04:35:14 +00:00
Igor Chubin 18e851ce80 Merge branch 'master' into run-tests 2020-08-06 06:27:05 +02:00
Igor Chubin 80ded6938c fixed search (#147, #225) 2020-08-05 09:46:36 +02:00
Anatoli Babenia b74707a109 Redis doesn't need to be Strict
https://github.com/andymccurdy/redis-py#client-classes-redis-and-strictredis
2020-08-01 06:10:03 +03:00
Anatoli Babenia 96cc3f64bd Install bash and fix Python3 subprocess bytes
File "/app/lib/globals.py", line 25, in error
        if not text.startswith("Too many queries"):
    TypeError: startswith first arg must be bytes or a tuple of bytes, not str
2020-07-29 12:02:02 +03:00
Anatoli Babenia dd00fa4188 Print full cmd when bash is not found 2020-07-29 10:49:21 +03:00
Anatoli Babenia c022613313 Use shallow copy for sheat clones -34MB 2020-07-28 11:47:59 +03:00
Anatoli Babenia 20e371c575 Fetch cheat sheets without installing cht.sh.txt 2020-07-27 11:03:46 +03:00
Igor Chubin 2e6ed2d0cc added filetype handling for adapters (#187) 2020-06-15 22:14:12 +00:00
Igor Chubin 33d692cb0a activated comments,syntax highlighting (#187) 2020-06-15 19:25:09 +00:00
Igor Chubin b5a1e12d66 remove : only in /:list (#212) 2020-06-15 19:13:24 +00:00
Your Name 47176f1ad2 cmd.py: oeisAdapter argparser no longer removes ':' this enables :list 2020-06-15 14:49:58 -04:00
Igor Chubin b24b45ce7c oeis: replace groups of non-alpha with spaces (#187) 2020-06-11 13:17:16 +00:00
Igor Chubin 1a29870d92 temprorary disabled hyperlinks processing 2020-06-11 13:16:28 +00:00
Your Name 9e7e7794f4 Merge branch 'master' of https://github.com/chubin/cheat.sh 2020-06-09 23:56:54 -04:00
Igor Chubin a15563e145 chmod/ output colorization (by iivån) (#197) 2020-06-10 03:13:48 +00:00
Your Name f3cbd539dc cmd.py AdapterOeis topic parse Replace all non (alphanumeric, '-') chars with Spaces 2020-06-07 14:57:57 -04:00
Igor Chubin 598e5dfb11 minor fix (#208) 2020-06-07 17:27:09 +00:00
Your Name 078411223d Fixed chmod arg parse issue, formating/comments better 2020-06-05 10:04:35 -04:00
Your Name eeee79c787 more resilliant cmd.py oerisAdapter parsing 2020-06-04 15:27:48 -04:00
Your Name 28ce919865 Hopefully fixed arg passing issue between cmd.py and oeis.sh 2020-06-03 16:17:23 -04:00
Your Name b9d48a3905 oeis topic string and code segment update 2020-05-30 23:37:45 -04:00
Igor Chubin 54ab2ca3bb minor chmod adapter fixes (#197) 2020-05-29 17:54:25 +00:00
Igor Chubin 9d41d6c390 minor fix 2020-05-29 17:43:49 +00:00
Your Name 6c14dc98da Integrated chmod.sh 2020-05-29 12:39:16 -04:00
Your Name cd5600271a AdapterOeis class added to lib/adapter/cmd.py 2020-05-28 22:39:19 -04:00
Your Name 083dbe2eef added oeis to lib/config.py 2020-05-28 22:37:18 -04:00
Igor Chubin 882438b1b7 rfc/keyword: show matched rfcs (#167) 2020-04-19 15:57:48 +02:00
Igor Chubin b512c215c2 added adapter: rfc/ (#167) 2020-04-18 20:10:44 +02:00
Igor Chubin ad0fca045d use fuzzywuzzy instead of rapidfuzz for python2 (#157, #184) 2020-04-14 22:43:03 +02:00
maxbachmann d9edefd23e use rapidfuzz instead of fuzzywuzzy 2020-03-27 00:34:20 +01:00
Rohan Kumar 4a2a6193f6 Fix: Py3: don't use str.decode()
`str.decode('utf-8')` is obsolete, and `str.decode` has been removed
since Python 3 makes everything Unicode by default. This commit avoids
receiving the following error for the TLDR adapter:
`AttributeError: 'str' object has no attribute 'decode'`
2020-03-19 13:22:14 -07:00
Waldir Pimenta fad7543c4d Fix various typos 2020-01-23 14:08:26 +00:00
Igor Chubin a3bd7a1dc0 chrisallenlane/cheat was splitted into cheat and cheatsheets (#127)(fixes #162) 2019-10-21 16:43:46 +00:00
Igor Chubin d8ec06bd1f minifix: use print() instead of print (#157) (#159) 2019-09-06 14:12:01 +02:00
Igor Chubin 3f5084e8c0 lib/languages_data.py: Vim name for Latex: tex (#151) 2019-08-02 17:40:07 +00:00
Igor Chubin d6364fa665 initial latex support (#151) 2019-08-02 13:03:35 +00:00
Igor Chubin 0404fad5c1 added cmake support 2019-07-07 11:33:06 +00:00
Igor Chubin 2a450b5c34 added support for flask and django (#145) 2019-07-07 11:23:43 +00:00
Igor Chubin ea055559c4 added Git support 2019-07-07 11:16:48 +00:00