1
1
mirror of https://github.com/chubin/cheat.sh.git synced 2024-12-02 07:50:04 +03:00
Commit Graph

87 Commits

Author SHA1 Message Date
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
Lauri Piisang
591d85c00e
remove unnecessary recursive flag
You are dealing with files, not directories, so using recursive flag for removal can only create potential disaster scenarios (in case variable is blank for example).

Most likely, you don't need the `-f` flag either.
2018-07-11 14:24:46 +03:00
Igor Chubin
1125f13f89 added config file support (can be used in #5) 2018-07-08 19:18:16 +00:00
Igor Chubin
7b03f2be55 Merge branch 'master' of https://github.com/chubin/cheat.sh 2018-07-03 10:49:49 +00:00
Igor Chubin
e6723a6e30 added share/static/vim-demo.gif 2018-07-03 10:48:55 +00:00
Igor Chubin
b3c987832c cht.sh enchancements 2018-07-03 10:48:30 +00:00
Igor Chubin
b997b342d7 minor fixes in intro.txt 2018-07-03 10:33:49 +00:00
ET
e5925a6c09
Update cht.sh.txt
Change shebang for (Free,Open,Net etc.)BSD compatibility.
2018-07-03 10:26:36 +03:00
Igor Chubin
fc2ae6c6d2 added share/static/demo-curl.gif 2018-07-01 19:46:34 +00:00
Igor Chubin
f353a7976b fixes #24 2018-06-09 11:34:15 +00:00
Igor Chubin
bfb159e9a2 added intro.txt 2018-06-03 19:48:32 +00:00
Igor Chubin
ad559624ce cht.sh: TMP2 was not removed properly 2018-06-03 19:44:41 +00:00
Igor Chubin
129bcf0029 s/Ultrafast/Unified/ on the firstpage 2018-06-03 19:44:20 +00:00
Igor Chubin
3ef06026cb activated firstpage-v2 2018-06-03 18:43:40 +00:00
Igor Chubin
7324910ead renamed /:bash => /:cht.sh 2018-06-02 21:40:50 +00:00
Igor Chubin
e94417233e cht.sh: new mode: stealth 2018-06-02 21:34:37 +00:00
Igor Chubin
529166c169 updated firstpage-v2.txt from firstpage-v2.pnl 2018-05-21 20:42:10 +00:00
Igor Chubin
5fcf9b7552 minor updates to firstpage-v2.pnl 2018-05-21 20:41:45 +00:00
Igor Chubin
ddb8c4768c added panela file for firstpage-v2 2018-05-21 20:34:08 +00:00