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

56 Commits

Author SHA1 Message Date
Luciano Strika defd1e397a use constant names to reaplce number. It is easier to understand what the code does now, and future refactors will be less error prone. 2018-07-12 21:40:16 -03:00
Luciano Strika 28fb2bfec6 abstract functions away for improved readibility and maintainability 2018-07-12 21:39:22 -03:00
Luciano Strika da28771646 add constants for improved readibility of code. 2018-07-12 21:37:29 -03:00
Edward Betts 3ce21e7d6b Correct spelling mistake. 2018-07-11 17:18:20 +01:00
Igor Chubin 82f1a20714 added pt_* and zh_* to supported langs 2018-07-10 13:02:47 +00:00
cclauss ae9004bff2 Modernize Python 2 code to get ready for Python 3 2018-07-03 22:09:51 +02:00
Igor Chubin c862a4a552 human language detection 2018-07-03 10:47:44 +00:00
Igor Chubin 0ad3f3e128 fixed minor bug in lib/cheat_wrapper.py 2018-06-03 19:43:39 +00:00
Igor Chubin 5911ea030f initial support of foreign human languages in queries 2018-06-03 18:46:19 +00:00
Igor Chubin 5ed0e75424 do not use sexy comments for ruby (ruby is sexy enough even without it) 2018-06-03 18:44:54 +00:00
Igor Chubin 7324910ead renamed /:bash => /:cht.sh 2018-06-02 21:40:50 +00:00
Igor Chubin 9ccfca2556 removed lib/panela/.panela_colors.py.swp 2018-05-21 20:43:38 +00:00
Igor Chubin 70e06280a1 added panela/ (currently used to generate firstpage-v2) 2018-05-21 20:43:17 +00:00
Igor Chubin ec73ad8482 added :intro and :firstpage-v2 2018-05-21 20:42:40 +00:00
Igor Chubin 9a8678ad3f do not show _info.yaml 2018-05-19 21:04:09 +00:00
Igor Chubin dc14962f91 stateful queries support (/:last) 2018-05-19 21:03:16 +00:00
Igor Chubin 7ed62a1cfb lang names normalization 2018-05-14 23:04:09 +00:00
Igor Chubin c182d9674c added :learn for more than 10 new languages; all popular languages from learnxiny are covered 2018-05-14 23:03:40 +00:00
Igor Chubin b1105b8c20 added go/:learn (fixes #23) 2018-05-13 14:31:10 +00:00
Igor Chubin 500fcf5770 major lib/adapter_learnxiny.py refactoring (not yet finished) 2018-05-06 17:43:54 +00:00
Igor Chubin 554b97f39b comment by default; do not highlight text, highlight only code 2018-05-06 17:38:09 +00:00
Igor Chubin 45965b8582 lib/get_answer.py: minor bugs fixed + added /:vim 2018-05-06 17:37:05 +00:00
Igor Chubin 92e226a9c6 new function: code_blocks() 2018-05-06 17:36:21 +00:00
Igor Chubin b4e7a19187 fixed cpp lexer name 2018-05-06 17:35:43 +00:00
Igor Chubin 1308e97535 new options: c, C, Q; default options 2018-05-06 17:35:01 +00:00
Igor Chubin 2333ed21bc refactored lib/cheat_wrapper.py (splitted it into lib/cheat_wrapper.py and lib/get_answer.py) 2018-05-05 20:38:31 +00:00
Igor Chubin eb9ff7a39f lib/cheat_wrapper.py cleanup 2018-05-05 12:51:06 +00:00
Igor Chubin ab54268581 several language aliases added 2018-05-05 12:07:09 +00:00
Igor Chubin 3646d517a5 lib/beautifier.py: start subprocess using gevent 2018-05-05 12:06:31 +00:00
Igor Chubin 7a0feb5dcd moved POSTed cheat sheets processing to lib/post.py 2018-05-05 12:05:45 +00:00
Igor Chubin 20c63913ee connections limits support 2018-05-05 12:04:30 +00:00
Igor Chubin 4782436462 moved args parsers to lib/options.py 2018-05-05 12:04:06 +00:00
Igor Chubin 09e6a4558f code cleanup lib/cheat_wrapper.py 2018-05-04 22:59:47 +00:00
Igor Chubin b5cc36e5b7 lib/adapter_learnxiny.py: use cpp as canonical name for C++ 2018-05-04 22:59:07 +00:00
Igor Chubin c710e7aef0 lib/globals.py clean up 2018-05-04 22:58:21 +00:00
Igor Chubin e792e19a21 added lib/languages_data.py 2018-05-04 22:55:55 +00:00
Igor Chubin 105de02085 added lib/beautifier.py 2018-05-04 22:55:36 +00:00
Igor Chubin 0dc2746240 lib/cheat_wrapper.py cleanup 2018-04-10 21:44:25 +00:00
Igor Chubin 020cdacbb2 Merge branch 'master' of https://github.com/chubin/cheat.sh 2018-01-07 00:12:39 +00:00
Igor Chubin 9adf5056d4 use javascript lexer mongo 2018-01-07 00:12:34 +00:00
Apoorv Anand 43682deca0 Update topic names with '_' when editing content
For topics which are directories, name starts with an  '_'
2018-01-07 01:04:49 +05:30
Igor Chubin 7c4c85df7c c++: minifix 2017-07-25 21:30:04 +00:00
Igor Chubin 3602f2bde2 added c++ support 2017-07-25 17:41:22 +00:00
Igor Chubin 444f91260a added 7 new languages: clojure, elixir, elm, haskell, julia, haskell, ocaml 2017-06-15 19:48:28 +00:00
Igor Chubin dea35b20e8 javascript support + initial kotlin/ruby support 2017-06-11 11:52:26 +00:00
Igor Chubin 21bf353265 fixes #7 2017-06-02 15:55:27 +00:00
Igor Chubin aa0d688109 learxiny for x in [lua, perl] 2017-06-02 15:53:19 +00:00
Igor Chubin 95c48b60f8 minor fixes 2017-05-30 19:02:32 +00:00
Igor Chubin ea32116c27 ignore unkown color styles + :styles-demo 2017-05-29 19:35:08 +00:00
Igor Chubin 6b17e9667c do not show :first page in the search results (fixes #6) 2017-05-29 10:35:54 +00:00