Commit Graph

1194 Commits

Author SHA1 Message Date
Chris Lane
0f9861f825 Merge branch 'gomod' of github.com:dawidd6/cheat into dawidd6-gomod 2019-10-27 09:35:13 -04:00
Chris Lane
36960fc164 chore: adds license and contributing file 2019-10-26 16:13:46 -04:00
James Zhu
749173f1f6 remove the title as cheat -l lists the title as well. 2019-10-22 11:58:51 +08:00
Dawid Dziurla
217566efc5
Use Go modules 2019-10-21 12:51:56 +02:00
James Zhu
33e33dc7b7 adding the autocompletion back 2019-10-21 18:07:26 +08:00
James Zhu
201cd1d629 integrate with bash complete for autocompletion 2019-10-21 15:18:47 +08:00
Chris Lane
e5114a3e76 Re-wrote from scratch in Golang
- Re-implemented the project in Golang, and deprecated Python entirely
- Implemented several new, long-requested features
- Refactored cheatsheets into a separate repository
2019-10-20 10:02:28 -04:00
Chris Allen Lane
307c4e6ad6
Merge pull request #472 from asamarin/master
Add: sqlite3 - describe table schema
2019-10-16 06:13:40 -04:00
Chris Allen Lane
1333703a49
Merge pull request #471 from thezeroalpha/master
ssh-keygen: add commands to print the fingerprint
2019-10-16 06:09:44 -04:00
Chris Allen Lane
184c200936
Merge pull request #473 from extend1994/Fix-netstat
Add missing spaces for netstat command comment
2019-10-16 06:06:13 -04:00
Ann
f1837b4c59
Add missing spaces for netstat command comment 2019-10-15 13:58:57 +08:00
Alex Samarin
77d0f6d9a0 Add: sqlite3 - describe table schema 2019-10-14 09:54:38 +01:00
Alex Balgavy
5b2518b3fe ssh-keygen: add commands to print the fingerprint 2019-09-08 23:32:13 -04:00
Chris Lane
60bf61c82f Merge branch 'TomasKorbar-installation-issues' 2019-09-03 12:48:51 -04:00
Chris Allen Lane
b1dabec129
Merge pull request #468 from FlorianKempenich/master
Add cheatsheet for `z`
2019-08-28 08:39:47 -04:00
Florian Kempenich
d10290541d Add cheatsheet for z 2019-08-03 13:29:18 +01:00
Tomas Korbar
12e8059025 Edit appdirs site_config_dir function
This change causes site_config_dir function to return
/etc/cheat on linux systems. This is right because most
linux distributions follow FHS where /etc is a directory
which contains system-wide configuration files.
2019-07-24 14:23:46 +02:00
Chris Allen Lane
ea07b6ad0e
Merge pull request #455 from rengoo/patch-1
Update zip
2019-07-01 18:54:53 -04:00
Chris Allen Lane
c50b236b80
Merge pull request #366 from Asta1986/master
improved command to export query result to csv file
2019-07-01 18:53:44 -04:00
Chris Allen Lane
42a39449b3
Merge pull request #459 from rafaelbernard/vim-multiple-windows
Add: vim - multiple windows
2019-07-01 18:51:56 -04:00
Chris Allen Lane
087a076f74
Merge pull request #462 from santosomar/patch-1
Addition additional nmap options
2019-07-01 18:50:31 -04:00
Chris Allen Lane
a15ea7fc3e
Merge pull request #433 from shanahanjrs/issue-334-emacs-fix
Emacs sheet now uses the proper prefix
2019-07-01 18:47:24 -04:00
Chris Allen Lane
f33e6cd602
Merge pull request #444 from dogsleg/patch-1
Fix typo, action (-I -> -l)
2019-07-01 18:38:57 -04:00
Chris Allen Lane
95f648cc2d
Merge pull request #456 from jellymann/patch-1
fix: typo in vagrant sheet
2019-07-01 18:33:16 -04:00
Chris Allen Lane
0db660347b
Merge pull request #463 from sullivant/patch-1
Updated tmux cheat to include swapping windows
2019-07-01 18:32:47 -04:00
Thomas
432461a075
Updated tmux cheat to include swapping windows
Because I always forget.
2019-06-13 07:36:11 -05:00
Omar Santos
93df3b3f20
Update nmap
Added Nmap Scripting Engine Categories
2019-06-02 18:56:31 -04:00
Omar Santos
c548ded02d
Addition additional nmap options
Added "Port Status Information" and Additional Scan Types
2019-06-02 18:53:03 -04:00
Rafael Araujo
4c12d66546 Add: vim - multiple windows 2019-05-04 20:43:26 -03:00
Daniel Smith
6ce53370e7
fix: typo in vagrant sheet 2019-04-16 13:50:58 +02:00
rengoo
bde74c701f
Update zip
added command for creating a zip archive from a folder/directory
2019-04-13 20:59:08 +02:00
Tomas Korbar
fdc414ede3 Fix import of appdirs in Configuration class
Import of appdirs without reference to cheat module caused
ModuleNotFoundError
2019-03-21 16:47:51 +01:00
Lev Lamberov
5c23f374e4
Fix action (-I -> -l)
dpkg -I (capital i) is for showing information about a package.
dpkg -l (lowercase l) is for listing packages matching given pattern.

So, here is a fix for the typo.
2019-03-09 10:17:46 +05:00
Chris Lane
c1fceb5f0d Merge branch 'installation-issues' of github.com:cheat/cheat into installation-issues 2019-02-13 12:55:30 -05:00
Chris Lane
d0faf1a3e3 Included appdirs in project
The prior attempt to resolve #420 and #431 relied on `appdirs` to
determine the appropriate directories into which to install files.
Previously, `setup.py` dynamically attempted to install `appdirs` via
`pip` during installation if necessary.

This attempt to failed on multiple platforms, however, due to
backwards-incompatible `pip` interfaces.

As a workaround, I have now directly included `appdirs` (a small module)
within `cheat` itself. This approach is explicitly supported per the
`appdirs` documentation:

https://pypi.org/project/appdirs/
2019-02-13 12:53:19 -05:00
Chris Lane
fdddedb8bd Installation issues
Resolves the following:

- #351 (use of `sudo` when installing)
- #420 (failure to install on Windows)
- #431 (failure to install on MacOS)

Application now relies on `appdirs` module to identify the appropriate
locations for storing configuration and data, both during installation
and runtime.
2019-02-13 12:51:18 -05:00
Chris Lane
5487314676 Version bump: 2.5.1 2019-02-13 12:42:58 -05:00
Chris Allen Lane
ec360ccddd
Merge pull request #435 from roachsinai/master
Expand ~ for 'CHEAT_USER_DIR', 'CHEAT_DEFAULT_DIR' and 'DEFAULT_CHEAT…
2019-02-13 12:40:25 -05:00
Chris Allen Lane
bb7dfd1028
Merge pull request #436 from avsej/patch-1
Fix typo in gcc sheet
2019-02-13 12:31:31 -05:00
Sergey Avseyev
b348724082
Update gcc 2019-02-13 13:52:33 +00:00
raochsinai
5053f07fd8 Expand ~ for 'CHEAT_USER_DIR', 'CHEAT_DEFAULT_DIR' and 'DEFAULT_CHEAT_DIR'. 2019-02-12 15:16:59 +08:00
Chris Lane
f692c8e1d8 Addressing cross-platform installation issues
Attempted to address various cross-platform installation issues:

- Removed all hard-coded references to file-paths, and replaced them
  with paths provided by `appdirs`.

- Removed (erroneously inserted) default file paths which would never be
  checked due to application logic.

- Modified `setup.py` to no longer install a configuration file. The
  mechanics are still in place to **read** a configuration file, but
  after examination, I've concluded that the installation of that file
  is best left to package maintainers rather than `cheat` itself.
2019-02-09 13:27:58 -05:00
Chris Lane
89bb9aaf13 Included appdirs in project
The prior attempt to resolve #420 and #431 relied on `appdirs` to
determine the appropriate directories into which to install files.
Previously, `setup.py` dynamically attempted to install `appdirs` via
`pip` during installation if necessary.

This attempt to failed on multiple platforms, however, due to
backwards-incompatible `pip` interfaces.

As a workaround, I have now directly included `appdirs` (a small module)
within `cheat` itself. This approach is explicitly supported per the
`appdirs` documentation:

https://pypi.org/project/appdirs/
2019-02-08 11:21:09 -05:00
John Shanahan
574deeabc0 Emacs sheet now uses the proper prefix 2019-02-07 14:16:08 -05:00
Chris Lane
482161f8e9 Installation issues
Resolves the following:

- #351 (use of `sudo` when installing)
- #420 (failure to install on Windows)
- #431 (failure to install on MacOS)

Application now relies on `appdirs` module to identify the appropriate
locations for storing configuration and data, both during installation
and runtime.
2019-02-07 13:34:20 -05:00
Chris Allen Lane
4dd55105d2
Merge pull request #361 from aroonav/master
Enable starting the cheat python script on windows.
2019-02-06 10:25:29 -05:00
Chris Allen Lane
6148d64599
Merge pull request #430 from movd/rename
Update rename
2019-02-05 08:59:06 -05:00
Moritz
cde8bcaa1d
Update rename
Add cheat for mass rename with search and replace
2019-02-05 10:57:43 +01:00
Aroonav Mishra
fcb82778e4 * Corrected the logic to execute the cheat script.
* Check VISUAL, CHEAT_EDITOR, EDITOR environment variables before falling
back to wordpad as the default editor.
2019-02-05 12:18:26 +05:30
Aroonav Mishra
da92421948 Merge remote-tracking branch 'upstream/master' 2019-02-05 10:14:39 +05:30