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

102 Commits

Author SHA1 Message Date
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
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
Luciano Strika 7201ce4251 clean up colorizer 2018-07-19 18:06:28 -03:00
Luciano Strika e4d7fde7cf replace back color names 2018-07-19 17:59:55 -03:00
Luciano Strika 7d20c45ac5 remove unnecessary boolean assignment 2018-07-19 17:49:48 -03:00
Luciano Strika 35155337c1 refactor reverse palette for legibility and abstraction 2018-07-19 17:49:13 -03:00
Igor Chubin 4d71519138 Merge branch 'master' of https://github.com/chubin/cheat.sh 2018-07-19 09:01:08 +00:00
Igor Chubin 7473c261b6 do not call render_html for empty answers 2018-07-19 09:01:05 +00:00
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
Simon Knott 133008cfcf Use "maybe" instead of "may be", bc grammar 2018-07-18 16:15:18 +02: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