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

224 Commits

Author SHA1 Message Date
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 e0badb274f Merge branch 'master' of https://github.com/chubin/cheat.sh 2018-07-14 18:49:12 +00: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 54f83fd747 Merge pull request #55 from lkylych/master
Update README.md
2018-07-14 01:40:25 +02:00
lkylych 4da5558596 Update README.md
Made a description of the ideal cheat sheet more concise and coherent.
2018-07-13 16:24:39 -07:00
Igor Chubin 91176634bc typo fixed 2018-07-13 23:22:38 +00:00
Igor Chubin 1cc9a4f3bf Merge pull request #54 from md2perpe/simplify-logic
Simplify logic
2018-07-14 01:06:29 +02:00
Igor Chubin 2169f4fd07 Merge pull request #53 from johnnadratowski/zsh-completions (fixes #2)
Add ZSH completion support
2018-07-14 00:55:12 +02: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
Per Persson b8ab35db77 Move 'not'
I think that this small change makes the code somewhat more readable.
Logic: not any([ b1, b2, b3, ... ]) == all([ not b1, not b2, not b3, ... ])
2018-07-13 21:33:08 +02:00
Per Persson 6f36a5a360 Simplify logic
if <condition>:
    return False
return True

is equivalent to

return not <condition>
2018-07-13 21:31:45 +02:00
johnnadratowski cc68c7cb9e Fix issue in readme 2018-07-13 12:50:18 -04:00
johnnadratowski 9af8e6294b Add ZSH completion support 2018-07-13 10:51:25 -04:00
Igor Chubin 5d56fca13e Merge branch 'master' of https://github.com/chubin/cheat.sh 2018-07-13 10:30:21 +00:00
Igor Chubin f7ee7c7837 fixed logo 2018-07-13 10:30:17 +00:00
Igor Chubin b154cb5923 added share/static/big-logo-v2-fixed.png 2018-07-13 10:30:04 +00: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 4e27ac2715 Merge pull request #48 from joerho/master
Fixed a few typos in the README.md
2018-07-13 00:00:07 +02:00
joerho 901f4b31e2 Update README.md 2018-07-12 14:46:25 -07:00
Igor Chubin 03a313ddc4 Merge branch 'master' of https://github.com/chubin/cheat.sh 2018-07-12 20:49:52 +00:00
Igor Chubin 4e288f9c88 use malformed-response.html instead of high load failure 2018-07-12 20:40:39 +00:00
Igor Chubin 402f5d0aad added share/static/malformed-response.html 2018-07-12 20:39:42 +00:00
Igor Chubin 93904d0a6a Merge pull request #43 from Kishan08/master
fix typo
2018-07-12 08:51:06 +02:00
Kishan deea09800b fix typo 2018-07-12 12:12:37 +05:30
Igor Chubin 019105438d Merge pull request #42 from StrikingLoo/master
Fix grammar and punctuation in README.md
2018-07-12 08:18:13 +02:00
Luciano Strika aeeef1c978 add uppercase where it seemed fit 2018-07-12 00:50:00 -03:00
Luciano Strika 5edf7fda28 fix grammar and punctuation a bit 2018-07-12 00:48:08 -03:00
Igor Chubin 23818f71fa Merge pull request #38 from EdwardBetts/spelling
Correct spelling mistake.
2018-07-11 19:18:13 +02:00
Edward Betts 3ce21e7d6b Correct spelling mistake. 2018-07-11 17:18:20 +01:00
Igor Chubin 453753497e Merge pull request #37 from jporsay/master
Using pbcopy/pbpaste in macOS instead of xsel
2018-07-11 17:22:30 +02:00
Juan Pablo Orsay d8e48d38c4 Using pbcopy/pbpaste in macOS instead 2018-07-11 10:57:47 -03:00
Igor Chubin 25049a6e60 Merge pull request #35 from lauripiisang/patch-1
remove unnecessary recursive flag
2018-07-11 15:03:07 +02:00