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

80 Commits

Author SHA1 Message Date
Anatoli Babenia 9bfd23ae67 Remove explicit gevent imports
It is enough to monkey patch one time at the top level,
which is done in `bin/srv.py` web server script.
2020-11-17 17:23:33 +03:00
Igor Chubin 426d251dcd Return 'cache' property in answer_dict 2020-11-16 23:58:57 +00:00
Igor Chubin b8df31004c Disable caching for UpstreamAdapter 2020-11-16 22:54:18 +00:00
Igor Chubin ce8484fc2d fix: show integer weights for "Unknown topic" suggestions 2020-08-06 07:55:39 +02:00
Anatoli Babenia c022613313 Use shallow copy for sheat clones -34MB 2020-07-28 11:47:59 +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
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
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 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 ea055559c4 added Git support 2019-07-07 11:16:48 +00:00
Igor Chubin eced83f011 nim support 2019-07-06 19:58:34 +00:00
Igor Chubin 03bae9e5da queries may contain spaces; first word is the section 2019-05-19 19:00:30 +00:00
Igor Chubin f44b58d8ac connect stdin to /dev/null when starting subprocesses 2019-05-18 20:30:11 +00:00
Igor Chubin adcac9bfeb support for python3 2019-05-11 18:26:10 +02:00
Igor Chubin 465a18270b lib/adapter/rosetta.py: minor cleanup 2019-05-11 16:54:17 +02:00
Igor Chubin 4c12ec701d lib/adapter/question.py: minor fix 2019-05-11 16:53:13 +02:00
Igor Chubin 33dafa92f7 lib/adapter/upstream.py: minor text style improvements 2019-05-11 12:36:38 +02:00
Igor Chubin b91e0f5da6 upstream queries support 2019-05-09 23:03:05 +02:00
Igor Chubin fed0b15aa4 various fixes 2019-05-09 22:58:47 +02:00
Igor Chubin 8882613f07 lib/adapter/rosetta.py: initial rosetta support 2019-05-09 22:20:46 +02:00
Igor Chubin bc957ac342 fetch/update works now 2019-05-09 22:20:04 +02:00
Igor Chubin 34f072e8dd latenz adapter minor fixes 2019-05-09 22:18:33 +02:00
Igor Chubin 426dbb9be4 fixed the bug with cheat sheets in subdirs 2019-05-09 10:04:16 +02:00
Igor Chubin 4baf2c3fb1 adapter.internal minor cleanup 2019-05-03 08:14:40 +02:00
Igor Chubin b7ba222cb8 learnxiny.py: use local_repository_location() 2019-05-01 20:56:00 +02:00
Igor Chubin d94ca8458f switched to new configuration interface 2019-05-01 20:48:05 +02:00
Igor Chubin 857daf3455 rosetta.py: use local_repository_locaion() 2019-05-01 10:32:59 +02:00
Igor Chubin 2bf84e07a2 removed a reference to unused page /:share 2019-05-01 10:14:18 +02:00
Igor Chubin 857b07b3c5 adapter/latenz.py refactoring 2019-05-01 10:13:48 +02:00
Igor Chubin acbb260e9c adapter/adapter.py: identify/find adapter by name 2019-05-01 09:31:57 +02:00