1
1
mirror of https://github.com/chubin/cheat.sh.git synced 2024-11-29 23:36:40 +03:00
Commit Graph

105 Commits

Author SHA1 Message Date
Igor Chubin
90d24ebbdc cht.sh: use master, do not checkout offline_usage 2019-09-06 14:14:49 +02:00
greenchili
2281902c83 Corrected typo. ceparated -> separated 2019-08-18 22:17:32 +01:00
Igor Chubin
1aa550bf93 added share/static/stealth-mode.gif 2019-07-13 18:34:25 +00:00
Igor Chubin
17f38b3326 restored image "when-you-lie-in-your-job-interview" (#143) 2019-07-13 18:29:22 +00:00
Igor Chubin
515c2c43b7 cht.sh: force bash usage 2019-07-07 11:04:40 +00:00
Igor Chubin
3a69809000 cht.sh: minor fixes 2019-05-18 09:31:05 +00:00
Igor Chubin
adcac9bfeb support for python3 2019-05-11 18:26:10 +02:00
Igor Chubin
ae120b232b cht.sh new version: standalone mode support 2019-05-11 16:55:09 +02:00
Igor Chubin
884161c4c7 switched back to bash, because local is not posix anyway + cleanup 2019-05-11 07:47:24 +02:00
Igor Chubin
d11b215279 removed deprecated share/scripts/get-sheets.sh 2019-05-11 07:28:21 +02:00
Anatoli Babenia
0c7cd330a1
Add installation hint for cht.sh (fixes #141) 2019-03-10 13:08:47 +03:00
Szymon Przebierowski
fba43e6e72 add information about idea plugin 2019-02-05 09:22:55 +01:00
Igor Chubin
9595805ac6 do not return when ignoring stealth queries (#115) 2018-11-02 22:00:36 +00:00
Ray Guo
e7162518f5
Fix: Missing args in Sub-commands 2018-09-02 09:32:54 +08:00
Vadim Zhukov
7f2f7347e6 The eval call is not needed, actually. 2018-08-27 19:02:27 +03:00
Vadim Zhukov
9e1e12b222 Whitespace-only tweaks. 2018-08-27 18:23:57 +03:00
Vadim Zhukov
e796a08e68 Convert huge case inside main loop in calls to functions.
Minimum code and whitestpace changes in this commit, to make reviewing
easier. Cleanup will come in next commits.
2018-08-27 18:23:57 +03:00
Igor Chubin
6c447dc1ef cht.sh: xsel uses -bi (instead of -i) now (fixes #78) 2018-08-19 09:31:41 +00:00
Igor Chubin
8e89907c28 new config option: CHTSH_CURL_OPTIONS (fixes #80) 2018-08-18 13:42:39 +00:00
Igor Chubin
8d12aabe56 configurable cheat.sh server in the cht.sh client (#98) 2018-08-18 09:33:25 +00:00
Igor Chubin
c7a39d0804 CHTSH_CONF specifies location of cht.sh.conf (fixes #59) 2018-08-18 09:16:33 +00:00
Igor Chubin
29f839eb78
Merge pull request #101 from grayed/openbsd
Use in-base ftp(1) on OpenBSD instead of cURL
2018-08-16 14:53:22 +03:00
Vadim Zhukov
ff15f88334 No need for OpenBSD ftp(1) to mimic cURL after a8348037ac . 2018-08-16 14:43:30 +03:00
Vadim Zhukov
4dcc3606a8 Use in-base ftp(1) on OpenBSD instead of cURL. 2018-08-16 13:34:39 +03:00
Vadim Zhukov
0334d8ad27 Use uname(1) instead of bash-specific $OSTYPE 2018-08-16 13:33:42 +03:00
Igor Chubin
0f3a1e0057 replaced cht.sh with cht.sh-posix 2018-08-16 09:48:24 +00:00
Igor Chubin
eaf7e335e8 removed cht.sh-posix 2018-08-16 08:11:59 +00:00
Vadim Zhukov
cc5310e91c Fix stealth mode. 2018-08-14 01:51:57 +03: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
Vadim Zhukov
bcebc69087 Fix ksh93 hack that breaks dash.
The dash shell fails to implement local command properly, and errors
out in case such simple as "if ! local foo; then ..."
2018-08-08 01:05:23 +03: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
Igor Chubin
fa89d1a7ca reverted a08f130562 (cht.sh posix compatibility) 2018-08-03 09:14:17 +00:00
Igor Chubin
9b1fc60a71 moved POSIX version of cht.sh to share/cht.sh-posix.txt 2018-08-03 09:13:26 +00:00
Igor Chubin
a08f130562
Merge pull request #51 from grayed/posix_sh
Make cht.sh work under POSIX sh
2018-08-03 11:02:41 +02:00
Igor Chubin
365c69dc19 fixed typo in intro.txt (fixes #63) 2018-08-02 07:27:50 +00: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
17fad757db moved get-sheets.sh to share/scripts/ 2018-07-29 21:11:08 +00:00
Igor Chubin
fdb5da6359 added share/static/cht.sh-url-structure.png 2018-07-26 22:05:26 +00:00
Igor Chubin
d0c7c220d2 added submilme demo 2018-07-24 22:28:12 +00:00
Vadim Zhukov
ada9252730 ls -T isn't portable as well, as pointed out by pickfire@.
Since we don't really use timestamp for anything except direct display,
just extract fields 6-8 from "ls -l" output and be done with it.
2018-07-19 16:48:50 +03:00
Igor Chubin
1ce9ae71b0 added vscode-snippet-demo.gif (by @mre) 2018-07-17 15:48:16 +00:00
johnnadratowski
9af8e6294b Add ZSH completion support 2018-07-13 10:51:25 -04:00
Vadim Zhukov
417f911190 Make zsh happy as well (in sh mode). 2018-07-13 16:07:05 +03:00
Vadim Zhukov
3f16075d89 The ksh93 shell doesn't have "local", but "typeset" could be used instead. 2018-07-13 16:07:05 +03:00
Vadim Zhukov
56b28daf4a Missed non-POSIX array expansion. 2018-07-13 16:06:49 +03:00
Vadim Zhukov
c67fb61662 Make cht.sh work under POSIX environment.
There are a few corner cases still, but normal desktop users should be
satisfied on almost any *nix now.

Verified with bash, ksh (OpenBSD) and dash.
2018-07-13 16:06:49 +03:00
Igor Chubin
b154cb5923 added share/static/big-logo-v2-fixed.png 2018-07-13 10:30:04 +00:00
Igor Chubin
402f5d0aad added share/static/malformed-response.html 2018-07-12 20:39:42 +00:00
Edward Betts
3ce21e7d6b Correct spelling mistake. 2018-07-11 17:18:20 +01:00
Juan Pablo Orsay
d8e48d38c4 Using pbcopy/pbpaste in macOS instead 2018-07-11 10:57:47 -03:00