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 |
|
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 |
|
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 |
|