-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Posix sh #237
base: master
Are you sure you want to change the base?
Posix sh #237
Commits on Oct 3, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 4ee91e6 - Browse repository at this point
Copy the full SHA 4ee91e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for de8bea6 - Browse repository at this point
Copy the full SHA de8bea6View commit details -
Configuration menu - View commit details
-
Copy full SHA for e840c39 - Browse repository at this point
Copy the full SHA e840c39View commit details -
Configuration menu - View commit details
-
Copy full SHA for 23c7e84 - Browse repository at this point
Copy the full SHA 23c7e84View commit details -
Configuration menu - View commit details
-
Copy full SHA for fbe85fe - Browse repository at this point
Copy the full SHA fbe85feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 202d031 - Browse repository at this point
Copy the full SHA 202d031View commit details
Commits on Nov 17, 2021
-
Configuration menu - View commit details
-
Copy full SHA for c14e8d7 - Browse repository at this point
Copy the full SHA c14e8d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b3dc33 - Browse repository at this point
Copy the full SHA 2b3dc33View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c68eaf - Browse repository at this point
Copy the full SHA 4c68eafView commit details -
fix: replaced hardcoded paths '$HOME/.cht.sh' on $CHTSH_HOME, to prop…
…erly handle CHTSH environment variable, which override default CHTSH_HOME path
Configuration menu - View commit details
-
Copy full SHA for c601c61 - Browse repository at this point
Copy the full SHA c601c61View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9283d17 - Browse repository at this point
Copy the full SHA 9283d17View commit details -
.travis.yml Use
curl
with connection timeoutThis should fix current build failure with timeout https://travis-ci.org/github/chubin/cheat.sh/builds/741308362#L402
Configuration menu - View commit details
-
Copy full SHA for 5714240 - Browse repository at this point
Copy the full SHA 5714240View commit details -
Use
curl
retry flags for waiting for service`--connect-timeout` didn't work, because Docker allows it, but breaks, because nothing is listening on the other side, giving this error. $ curl --connect-timeout 10 http://localhost:8002 curl: (56) Recv failure: Connection reset by peer The command "curl --connect-timeout 10 http://localhost:8002" exited with 56. https://travis-ci.org/github/chubin/cheat.sh/builds/741348053#L401 `--retry-all` makes `curl` retry on all errors, including connection resets.
Configuration menu - View commit details
-
Copy full SHA for fa8ad4d - Browse repository at this point
Copy the full SHA fa8ad4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 77b4369 - Browse repository at this point
Copy the full SHA 77b4369View commit details -
Use
wget
instead ofcurl
to wait for containerBecause even Ubuntu 20.04 version of `curl` is outdated
Configuration menu - View commit details
-
Copy full SHA for 14d6ef0 - Browse repository at this point
Copy the full SHA 14d6ef0View commit details -
Use
flask run
server for debuggingBecause at least live reloading doesn't seem to work with `gevent`
Configuration menu - View commit details
-
Copy full SHA for 4bc39db - Browse repository at this point
Copy the full SHA 4bc39dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b8aeaf - Browse repository at this point
Copy the full SHA 6b8aeafView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4401bc3 - Browse repository at this point
Copy the full SHA 4401bc3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 803b8e1 - Browse repository at this point
Copy the full SHA 803b8e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for cd6e386 - Browse repository at this point
Copy the full SHA cd6e386View commit details -
Co-authored-by: Anatoli Babenia <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 286ae8e - Browse repository at this point
Copy the full SHA 286ae8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6309536 - Browse repository at this point
Copy the full SHA 6309536View commit details -
Configuration menu - View commit details
-
Copy full SHA for 45e7ce0 - Browse repository at this point
Copy the full SHA 45e7ce0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 260b672 - Browse repository at this point
Copy the full SHA 260b672View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a8896f - Browse repository at this point
Copy the full SHA 6a8896fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 38f3b69 - Browse repository at this point
Copy the full SHA 38f3b69View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4639d68 - Browse repository at this point
Copy the full SHA 4639d68View commit details -
Configuration menu - View commit details
-
Copy full SHA for e01333b - Browse repository at this point
Copy the full SHA e01333bView commit details -
Configuration menu - View commit details
-
Copy full SHA for cba1884 - Browse repository at this point
Copy the full SHA cba1884View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a4d5b6 - Browse repository at this point
Copy the full SHA 5a4d5b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2040c57 - Browse repository at this point
Copy the full SHA 2040c57View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e65fc4 - Browse repository at this point
Copy the full SHA 0e65fc4View commit details -
Configuration menu - View commit details
-
Copy full SHA for f20a71f - Browse repository at this point
Copy the full SHA f20a71fView commit details -
Configuration menu - View commit details
-
Copy full SHA for fbe956c - Browse repository at this point
Copy the full SHA fbe956cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e1c3d8 - Browse repository at this point
Copy the full SHA 6e1c3d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8942d41 - Browse repository at this point
Copy the full SHA 8942d41View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c88b52 - Browse repository at this point
Copy the full SHA 3c88b52View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1056ac9 - Browse repository at this point
Copy the full SHA 1056ac9View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf892b4 - Browse repository at this point
Copy the full SHA cf892b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f0ce07 - Browse repository at this point
Copy the full SHA 1f0ce07View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ce75de - Browse repository at this point
Copy the full SHA 1ce75deView commit details -
Configuration menu - View commit details
-
Copy full SHA for 485614f - Browse repository at this point
Copy the full SHA 485614fView commit details -
Configuration menu - View commit details
-
Copy full SHA for e8e26bc - Browse repository at this point
Copy the full SHA e8e26bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for e59502b - Browse repository at this point
Copy the full SHA e59502bView commit details -
Configuration menu - View commit details
-
Copy full SHA for a924774 - Browse repository at this point
Copy the full SHA a924774View commit details -
Configuration menu - View commit details
-
Copy full SHA for c097a43 - Browse repository at this point
Copy the full SHA c097a43View commit details -
Configuration menu - View commit details
-
Copy full SHA for 89f04f7 - Browse repository at this point
Copy the full SHA 89f04f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e61d2b - Browse repository at this point
Copy the full SHA 2e61d2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ae25b7e - Browse repository at this point
Copy the full SHA ae25b7eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3da4aea - Browse repository at this point
Copy the full SHA 3da4aeaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f425f7 - Browse repository at this point
Copy the full SHA 5f425f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 27d3720 - Browse repository at this point
Copy the full SHA 27d3720View commit details -
Configuration menu - View commit details
-
Copy full SHA for e2e24f8 - Browse repository at this point
Copy the full SHA e2e24f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7eee26a - Browse repository at this point
Copy the full SHA 7eee26aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0593f32 - Browse repository at this point
Copy the full SHA 0593f32View commit details -
Remove explicit
gevent
importsIt is enough to monkey patch one time at the top level, which is done in `bin/srv.py` web server script.
Configuration menu - View commit details
-
Copy full SHA for 9970ee3 - Browse repository at this point
Copy the full SHA 9970ee3View commit details -
Properly setup Flask logging to stderr
Sometimes there is nothing, sometimes lines are duplicated. Duplicated lines problem appears, because Python root logger handler and Flask's `werkzeug` logger handler both write the same message. `cheat.sh` is hit, because it sets this root logging handler. Normally `werkzeug` doesn't setup its own handler if it sees that there are some handlers that process its messages. This in case of `cheat.sh` resulted in no stderr logging at all. No Exceptions either. Because `werkzeug` catches the exceptions and logs them. Hovewer, sometimes `werkzeug` starts too early, befora app is imported (pallets/werkzeug#1969) and sets its logger anyway, before the app itself, resulting in duplicating lines. In that case app root handler needs to skip lines from `werkzeug`. Kudos to @brandon-rhodes for `logging_tree` awesomeness
Configuration menu - View commit details
-
Copy full SHA for 6f7c87b - Browse repository at this point
Copy the full SHA 6f7c87bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e4a5fe - Browse repository at this point
Copy the full SHA 9e4a5feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 667edab - Browse repository at this point
Copy the full SHA 667edabView commit details -
Configuration menu - View commit details
-
Copy full SHA for efc8308 - Browse repository at this point
Copy the full SHA efc8308View commit details -
Configuration menu - View commit details
-
Copy full SHA for 880ef6f - Browse repository at this point
Copy the full SHA 880ef6fView commit details -
Co-authored-by: Anatoli Babenia <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 382f0ee - Browse repository at this point
Copy the full SHA 382f0eeView commit details -
Hotfix unicode processing for Python 3 (fixes chubin#265)
This fix is temprorary, and must be implemented properly, after Python 2 support will be fully dropped.
Configuration menu - View commit details
-
Copy full SHA for 3313b06 - Browse repository at this point
Copy the full SHA 3313b06View commit details -
Configuration menu - View commit details
-
Copy full SHA for d5ae133 - Browse repository at this point
Copy the full SHA d5ae133View commit details -
Add OpenSearch description format file
See https://github.com/dewitt/opensearch and https://developer.mozilla.org/en-US/docs/Web/OpenSearch for more info.
Configuration menu - View commit details
-
Copy full SHA for 322ce4c - Browse repository at this point
Copy the full SHA 322ce4cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2de4672 - Browse repository at this point
Copy the full SHA 2de4672View commit details -
Configuration menu - View commit details
-
Copy full SHA for a8871b2 - Browse repository at this point
Copy the full SHA a8871b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3407b6b - Browse repository at this point
Copy the full SHA 3407b6bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ffb7c1 - Browse repository at this point
Copy the full SHA 8ffb7c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for f3ede89 - Browse repository at this point
Copy the full SHA f3ede89View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6bc8c62 - Browse repository at this point
Copy the full SHA 6bc8c62View commit details -
Configuration menu - View commit details
-
Copy full SHA for d2190d2 - Browse repository at this point
Copy the full SHA d2190d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7168f98 - Browse repository at this point
Copy the full SHA 7168f98View commit details -
Help text: remove outdated info, fix spelling
Many more languages are supported than listed in the help file.
Configuration menu - View commit details
-
Copy full SHA for d014f0e - Browse repository at this point
Copy the full SHA d014f0eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 810947b - Browse repository at this point
Copy the full SHA 810947bView commit details -
- Add link to jump to installation section - Add link to jump to installing tab completion. Named this link "auto-complete" so that "auto" and "complete" (ending with an -e rather than -ion) would both show up when grepped/ ⌘+F Why: - Less intimidating to newcomers — I've just observed that friends/colleagues adopt tldr rather than cheat.sh soley because they didn't see the "get started" stuff up top. So they missed it. - Faster to "just install it" when you know you're going to do that anyways. i.e. from a friend recommending. or on a new machine.
Configuration menu - View commit details
-
Copy full SHA for 8a650a7 - Browse repository at this point
Copy the full SHA 8a650a7View commit details -
README - small changes - add some horizontal-rules
Helps with visual scannability when scrolling down the page
Configuration menu - View commit details
-
Copy full SHA for 7a8d5e9 - Browse repository at this point
Copy the full SHA 7a8d5e9View commit details -
README - small changes - for those newer to sh
This is something we take for granted but newcomers to sh, Linux, and so on.
Configuration menu - View commit details
-
Copy full SHA for 404fe65 - Browse repository at this point
Copy the full SHA 404fe65View commit details -
Use live badge for source repos' users/stars
Also updates Stackoverflow user count from 9m to 14m. See https://stackexchange.com/leagues/1/alltime/stackoverflow
Configuration menu - View commit details
-
Copy full SHA for c3676f4 - Browse repository at this point
Copy the full SHA c3676f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 979b2ad - Browse repository at this point
Copy the full SHA 979b2adView commit details -
Configuration menu - View commit details
-
Copy full SHA for 96464a2 - Browse repository at this point
Copy the full SHA 96464a2View commit details -
Fix syntax highlight in README
- Specific bash in some code blocks - Specific zsh in zshrc config - Fix unclosed `code` markup
Configuration menu - View commit details
-
Copy full SHA for deb508c - Browse repository at this point
Copy the full SHA deb508cView commit details -
Co-authored-by: Anatoli Babenia <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f3b77b0 - Browse repository at this point
Copy the full SHA f3b77b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3973cc8 - Browse repository at this point
Copy the full SHA 3973cc8View commit details -
Configuration menu - View commit details
-
Copy full SHA for c2892a8 - Browse repository at this point
Copy the full SHA c2892a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f7a6e8 - Browse repository at this point
Copy the full SHA 7f7a6e8View commit details -
Ran doctoc to generate a table of contents (toc) https://github.com/t…
…hlorenz/doctoc The documentation was so nice, I couldn't help but adding a toc.
Configuration menu - View commit details
-
Copy full SHA for 04744cf - Browse repository at this point
Copy the full SHA 04744cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 250b115 - Browse repository at this point
Copy the full SHA 250b115View commit details -
Configuration menu - View commit details
-
Copy full SHA for 219f372 - Browse repository at this point
Copy the full SHA 219f372View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3042e4b - Browse repository at this point
Copy the full SHA 3042e4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c7b60c - Browse repository at this point
Copy the full SHA 9c7b60cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 55046c7 - Browse repository at this point
Copy the full SHA 55046c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f4bcfe - Browse repository at this point
Copy the full SHA 4f4bcfeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 77caf7e - Browse repository at this point
Copy the full SHA 77caf7eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f17d6e - Browse repository at this point
Copy the full SHA 5f17d6eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 358dd5f - Browse repository at this point
Copy the full SHA 358dd5fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 92dc89e - Browse repository at this point
Copy the full SHA 92dc89eView commit details -
CHEATSH_UPDATE_TESTS_RESULTS=YES bash run-tests.sh
Configuration menu - View commit details
-
Copy full SHA for 4f8e4da - Browse repository at this point
Copy the full SHA 4f8e4daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 03078d6 - Browse repository at this point
Copy the full SHA 03078d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 14b4930 - Browse repository at this point
Copy the full SHA 14b4930View commit details -
Downgrade
colored
to fix tests`colored` became smarter in patch version to avoid coloring if running without TTY https://gitlab.com/dslackw/colored/-/issues/21
Configuration menu - View commit details
-
Copy full SHA for a1c2958 - Browse repository at this point
Copy the full SHA a1c2958View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a274f2 - Browse repository at this point
Copy the full SHA 5a274f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 88007ee - Browse repository at this point
Copy the full SHA 88007eeView commit details -
Simplify handling of query with multiple spaces
A followup to chubin#312
Configuration menu - View commit details
-
Copy full SHA for bb0af51 - Browse repository at this point
Copy the full SHA bb0af51View commit details -
g++
workaround could still strip ++ if more ++ were encounteredThis replaces cycle logic in chubin#312 with regex.
Configuration menu - View commit details
-
Copy full SHA for 69c95ca - Browse repository at this point
Copy the full SHA 69c95caView commit details -
Configuration menu - View commit details
-
Copy full SHA for f8e27bc - Browse repository at this point
Copy the full SHA f8e27bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for f7f5d6f - Browse repository at this point
Copy the full SHA f7f5d6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 549389d - Browse repository at this point
Copy the full SHA 549389dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ad8818 - Browse repository at this point
Copy the full SHA 6ad8818View commit details -
docker: setuptools is needed by gevent
Temporary fix until this is merged https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/27419
Configuration menu - View commit details
-
Copy full SHA for cb4cf74 - Browse repository at this point
Copy the full SHA cb4cf74View commit details -
Configuration menu - View commit details
-
Copy full SHA for 57604e5 - Browse repository at this point
Copy the full SHA 57604e5View commit details -
Better fix for chubin#307 is to return text stream from Popen
`universal_newlines` make this in compatible way with older Python.
Configuration menu - View commit details
-
Copy full SHA for 8ae2a25 - Browse repository at this point
Copy the full SHA 8ae2a25View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8182550 - Browse repository at this point
Copy the full SHA 8182550View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6de51bc - Browse repository at this point
Copy the full SHA 6de51bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 43da9fc - Browse repository at this point
Copy the full SHA 43da9fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for cb0439b - Browse repository at this point
Copy the full SHA cb0439bView commit details