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

79 Commits

Author SHA1 Message Date
Igor Chubin 99399c1d8a show empty list for empty sections 2018-07-19 08:58:59 +00:00
Igor Chubin 271d5bde8a vim answers syntax highlighting 2018-07-19 08:58:27 +00:00
Igor Chubin e0fd79de4d add / to the section names in :list (fixes #73, fixes #77) 2018-07-19 08:57:39 +00:00
Igor Chubin abaea063b6 added lib/colorize_internal.py 2018-07-14 21:03:05 +00:00
Igor Chubin 10209437bf minfor fixes 2018-07-14 20:53:58 +00:00
Igor Chubin 0ae85c4d67 added COLORIZED_INTERNAL_TOPICS 2018-07-14 20:53:34 +00:00
Igor Chubin 96b752ba2d disabled unused langdetect 2018-07-14 20:18:48 +00:00
Igor Chubin b24381c740 Merge branch 'master' of https://github.com/chubin/cheat.sh 2018-07-14 20:04:11 +00:00
Igor Chubin f32a902339 fixed problem with wrong syntax highlighting for lang aliases 2018-07-14 20:03:43 +00:00
Igor Chubin f75b38fa1f Merge pull request #57 from StrikingLoo/master
Refactor get_answer.py
2018-07-14 22:00:29 +02:00
Igor Chubin 912e77faa3 Merge pull request #58 from md2perpe/fix-mydir
Fix incorrect MYDIR
2018-07-14 21:35:17 +02:00
Igor Chubin 6e190adbcf sanitizing query 2018-07-14 08:22:58 +00:00
Luciano Strika e38f68f8bd end refactor of isdir 2018-07-14 01:39:00 -03:00
Luciano Strika 1b7c80f229 rename function after privacy convention. 2018-07-14 01:32:29 -03:00
Luciano Strika 3331608e98 big refactor of update_cheat_sheets_topics to make it more readable and maintainable. 2018-07-14 01:31:36 -03:00
Luciano Strika c47c7eead4 refactor first half of update_cheat_sheets_topics for clarity and maintainability 2018-07-14 01:08:09 -03:00
Luciano Strika ec6f7d1337 saw a common pattern and cleaned the code for cheat topics updater function 2018-07-14 00:45:35 -03:00
Luciano Strika 575054760f refactor tldr_update so it fits in two lines. abrstracted logic away into a function. 2018-07-14 00:42:30 -03:00
Igor Chubin 7d244565d8 Merge pull request #49 from StrikingLoo/master
Refactors in beautifier.py
2018-07-14 00:50:27 +02:00
Per Persson 251256d418 Fix incorrect MYDIR 2018-07-13 23:59:01 +02:00
Luciano Strika fa95f843a3 correct my linting 2018-07-12 21:57:05 -03:00
Luciano Strika 3a111580e0 make code here a bit cleaner. 2018-07-12 21:45:45 -03:00
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
Igor Chubin 4e288f9c88 use malformed-response.html instead of high load failure 2018-07-12 20:40:39 +00: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