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

136 Commits

Author SHA1 Message Date
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
Luciano Strika cdb253b2a0 refactor functions into methods 2018-08-06 18:26:04 -03:00
Igor Chubin 1bc167ab38 typo fixed 2018-08-06 21:12:35 +00:00
Dave Pearson 8dca10ede4 Emacs: visual-basic-mode is for vb
See https://www.emacswiki.org/emacs/visual-basic-mode.el
2018-08-06 22:00:35 +01:00
Dave Pearson fa4d5b8263 Emacs: perl6-mode is for perl6
See https://github.com/hinrik/perl6-mode
2018-08-06 21:58:19 +01:00
Dave Pearson 1b0eef22be Emacs: delphi-mode is for delphi
See https://www.emacswiki.org/emacs/DelphiMode
2018-08-06 21:57:05 +01:00
Dave Pearson 2b1fbfe9cc Emacs: looks like forth is forth-mode
See https://www.emacswiki.org/emacs/Forth-mode
2018-08-06 21:56:08 +01:00
Dave Pearson 50f2a0949c Emacs: lua-mode is the mode for lua
No surprises there!
2018-08-06 21:54:37 +01:00
Dave Pearson 9864d88735 Get the Emacs to language mapping list up and going
I've put this together by going though LEXER and looking for the mode that
matches. Where there isn't one I've left a comment as a reminder for someone
to fill in that blank.

I've also included a reminder for hylang.org as it might be nice to have it
in here too.
2018-08-06 21:31:17 +01:00
Brandon Lopez 635b272e31 Merge pull request #2 from chubin/master
Bring up to date with upstream
2018-08-06 09:50:52 -07:00
Luciano Strika 3a2cb573f6 correct typo in comment, and make wording a bit better 2018-08-05 20:52:15 -03:00
Luciano Strika 9ac2ede034 create function that generates dictionaries of intervals and quantities 2018-08-05 20:50:49 -03:00
Luciano Strika 5a195d9ce9 abstract logic of ip_check to separate functions- 2018-08-05 20:50:18 -03:00
Igor Chubin cdadd3c0c9 minor fixes after refactoring (#79) 2018-08-05 18:56:42 +00:00
Igor Chubin 36c2543821 Merge pull request #79 from StrikingLoo/master
refactor colorize_internal.py
2018-08-05 20:41:51 +02:00
Igor Chubin 75c8878956 added new section notation: /EDITOR:filetype/ 2018-08-05 17:14:34 +00:00
cclauss 604edfb7f7 import os to access os.path.join()
flake8 testing of https://github.com/chubin/cheat.sh on Python 3.7.0

$ __flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics__
```
./lib/panela/panela_colors.py:636:16: F821 undefined name 'os'
    pagepath = os.join.path(MYDIR, "share/firstpage-v2.pnl")
               ^
1     F821 undefined name 'os'
1
```
2018-07-31 00:04:15 +02:00
Brandon Lopez 22953bb109 Can now build a Docker image of the app with cheatsheets pulled in at build time and use Docker Compose to get it running with Redis 2018-07-29 23:51:41 -07:00
Igor Chubin 3910cfe6eb parametrized PATH_LEARNXINY 2018-07-29 21:16:30 +00:00
Igor Chubin 3356ac1db6 Merge branch 'master' of https://github.com/chubin/cheat.sh 2018-07-29 21:10:30 +00:00
Igor Chubin 998f23ed36 rewriting queries (VIM_NAMES) 2018-07-29 21:10:24 +00:00
Igor Chubin 93a6f9ed52 wolfram support 2018-07-29 21:05:43 +00:00
Igor Chubin 90c1b97acf Use OS packages 2018-07-29 22:31:01 +02:00
Brandon Lopez 65cf18ca95 panela_colors not using hardcoded path 2018-07-27 16:17:21 -07:00
Brandon Lopez fe5046d481 Replaced hardcoded paths with something kept local to the cheat.sh folder 2018-07-27 16:17:11 -07:00
Brandon Lopez 6862a7a1f9 get_answer.py updated to not use hard coded path 2018-07-27 16:16:51 -07:00
Brandon Lopez 2a56f02751 adapter_learnxiny updated to not use hardcoded path 2018-07-27 16:16:31 -07:00
Igor Chubin 7ef67a384f added new language: solidity 2018-07-27 17:31:36 +00:00