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

163 Commits

Author SHA1 Message Date
Igor Chubin c160017593 use yaml.SafeLoader 2019-04-29 20:08:16 +02:00
Igor Chubin caf32b7c55 globals.py: added fatal() function 2019-04-29 20:05:13 +02:00
Igor Chubin 7a05dc88e0 ignore non-existent learnxiny pages 2019-04-29 20:04:31 +02:00
Igor Chubin 1f8b2bdbb3 new adapter class: GitRepositoryAdapter 2019-04-29 20:01:43 +02:00
Igor Chubin 868a78e38c added repositories urls to adapters 2019-04-29 19:50:14 +02:00
Igor Chubin 259c9bea8d new cache method: delete(key) 2019-04-29 19:25:37 +02:00
Igor Chubin ab24b7951b Merge branch 'master' of https://github.com/chubin/cheat.sh 2019-02-23 22:22:16 +00:00
Igor Chubin 78649904e0 fixed minor bug in lib/cache.py 2019-02-23 22:22:13 +00:00
Igor Chubin 90631847ab renamed languages_data into fmt.comments in ansi.py 2019-02-23 22:21:30 +00:00
Igor Chubin 4fff68bfcb Merge branch 'master' of https://github.com/chubin/cheat.sh 2019-02-23 21:49:56 +00:00
Igor Chubin 6d74567209 updated cheat paths 2019-02-23 21:45:18 +00:00
Igor Chubin 1d99037284 added lib/postprocessing.py 2019-02-23 20:57:36 +00:00
Igor Chubin 7f2bf6cd2a minor html related fix 2019-02-23 20:51:23 +00:00
Igor Chubin e83fd89c8a routing refactoring (get_answer.py => routing.py + postprocessing.py) 2019-02-17 14:12:08 +01:00
Igor Chubin f70b13ac34 frontent/ansi.py minor fix 2019-02-17 14:10:43 +01:00
Igor Chubin 94870b8192 searching separated into search.py 2019-02-17 14:10:00 +01:00
Igor Chubin 50f4abacb0 caching separated into cache.py 2019-02-17 14:07:02 +01:00
Igor Chubin f3f3e6cf99 moved beautifier.py to fmt/comments.py 2019-02-17 00:54:29 +01:00
Igor Chubin fa3382bff7 routing further refactoring 2019-02-17 00:34:03 +01:00
Igor Chubin 56ec2a8221 parametrizing REDIS 2019-02-17 00:33:37 +01:00
Igor Chubin 7d37b8cc1f rosetta output format fixed 2019-02-16 21:12:52 +01:00
Igor Chubin 941136f357 removed hanging spaces 2019-02-16 21:12:21 +01:00
Igor Chubin c59bdab2f2 cheat_wrapper.py splitted into fmt/ and frontend/ 2019-02-16 20:11:34 +01:00
Igor Chubin 8fcb4ddd4e initial octave support (#121) 2019-02-08 22:22:07 +00:00
Igor Chubin b02a8ff4ad adapter refactoring: separated superclass 2019-02-08 18:08:51 +00:00
Igor Chubin f5740599d8 new adapter: rosetta (#112) 2019-02-08 18:08:17 +00:00
Igor Chubin b0e7ac46a8 adapters refactoring 2019-02-08 18:04:45 +00:00
Igor Chubin 4d044c0456 initial support for rosettacode integration (#112) 2019-02-08 18:03:58 +00:00
Igor Chubin bd05ce4193 refactored lib/adapter/cmd.py 2019-01-31 14:32:35 +00:00
Igor Chubin 3172318e73 minor cleanup 2019-01-31 00:38:19 +00:00
Igor Chubin 5ba30548d7 big routing refactoring 2019-01-31 00:37:23 +00:00
Igor Chubin b404a29e10 added initial support for multilingual answers 2019-01-31 00:36:14 +00:00
Igor Chubin 7dfbd50d95 debug starting mode (with env variables) 2019-01-31 00:32:09 +00:00
Igor Chubin 394d9ddf87 fixed bug with :learn highlight 2018-10-13 14:51:19 +00:00
Igor Chubin 24af2326e1 removed some debug output 2018-10-13 14:50:47 +00:00
Igor Chubin debb7177a8 added new language: c 2018-10-13 14:48:32 +00:00
Igor Chubin 9e7ea4c05e dutch lang support 2018-09-23 19:13:27 +00:00
Igor Chubin 036f620731 dashes in the query 2018-09-23 19:13:13 +00:00
Igor Chubin 660c55b7b6 moved rep names in globals.py 2018-09-23 19:10:35 +00:00
Igor Chubin c3728020e6 added late.nz support (/latencies) 2018-09-23 19:10:04 +00:00
Igor Chubin cc09c3f7a3 configuration file initial support 2018-08-16 19:44:01 +00:00
Igor Chubin eaf7e335e8 removed cht.sh-posix 2018-08-16 08:11:59 +00:00
Igor Chubin 252731e75b minor config fixes 2018-08-13 20:42:37 +00:00
Igor Chubin f953cbfa6b Merge pull request #89 from bglopez/master
Bring up to date with upstream
2018-08-12 14:51:26 +02:00
Brandon Lopez 91c0fcf2d5 Merge branch 'master' of github.com:bglopez/cheat.sh
* 'master' of github.com:bglopez/cheat.sh:
  Update README.md
  minor fixes after refactoring (#79)
  cheat.sh plugins table fixed
  cheat.sh editors features list
  added new section notation: /EDITOR:filetype/
  reverted a08f130562 (cht.sh posix compatibility)
  moved POSIX version of cht.sh to share/cht.sh-posix.txt
  added initial tests
  fixed typo in intro.txt (fixes #63)
  import os to access os.path.join()
  clean up colorizer
  replace back color names
  remove unnecessary boolean assignment
  refactor reverse palette for legibility and abstraction
  ls -T isn't portable as well, as pointed out by pickfire@.
  Make zsh happy as well (in sh mode).
  The ksh93 shell doesn't have "local", but "typeset" could be used instead.
  Missed non-POSIX array expansion.
  Make cht.sh work under POSIX environment.
2018-08-07 13:17:44 -07:00
Brandon Lopez 9fcd941087 Remove some code smells per Sonarcloud 2018-08-07 13:17:28 -07:00
Igor Chubin 199f4bfbe5 minor fixes after refactoring (#90) 2018-08-06 22:03:20 +00:00
Luciano Strika 5e82da17d7 correct variable names 2018-08-06 18:55:18 -03:00
Luciano Strika 680ff4ae77 Merge branch 'master' of https://github.com/chubin/cheat.sh 2018-08-06 18:26:44 -03:00
Luciano Strika 058cf454b5 replace / with // 2018-08-06 18:26:18 -03:00