1
0
mirror of https://github.com/cheat/cheat.git synced 2025-07-06 05:41:58 +02:00

987 Commits

Author SHA1 Message Date
307c4e6ad6 Merge pull request from asamarin/master
Add: sqlite3 - describe table schema
2019-10-16 06:13:40 -04:00
1333703a49 Merge pull request from thezeroalpha/master
ssh-keygen: add commands to print the fingerprint
2019-10-16 06:09:44 -04:00
184c200936 Merge pull request 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
77d0f6d9a0 Add: sqlite3 - describe table schema 2019-10-14 09:54:38 +01:00
5b2518b3fe ssh-keygen: add commands to print the fingerprint 2019-09-08 23:32:13 -04:00
60bf61c82f Merge branch 'TomasKorbar-installation-issues' 2019-09-03 12:48:51 -04:00
b1dabec129 Merge pull request from FlorianKempenich/master
Add cheatsheet for `z`
2019-08-28 08:39:47 -04:00
d10290541d Add cheatsheet for z 2019-08-03 13:29:18 +01:00
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
ea07b6ad0e Merge pull request from rengoo/patch-1
Update zip
2019-07-01 18:54:53 -04:00
c50b236b80 Merge pull request from Asta1986/master
improved command to export query result to csv file
2019-07-01 18:53:44 -04:00
42a39449b3 Merge pull request from rafaelbernard/vim-multiple-windows
Add: vim - multiple windows
2019-07-01 18:51:56 -04:00
087a076f74 Merge pull request from santosomar/patch-1
Addition additional nmap options
2019-07-01 18:50:31 -04:00
a15ea7fc3e Merge pull request from shanahanjrs/issue-334-emacs-fix
Emacs sheet now uses the proper prefix
2019-07-01 18:47:24 -04:00
f33e6cd602 Merge pull request from dogsleg/patch-1
Fix typo, action (-I -> -l)
2019-07-01 18:38:57 -04:00
95f648cc2d Merge pull request from jellymann/patch-1
fix: typo in vagrant sheet
2019-07-01 18:33:16 -04:00
0db660347b Merge pull request from sullivant/patch-1
Updated tmux cheat to include swapping windows
2019-07-01 18:32:47 -04:00
432461a075 Updated tmux cheat to include swapping windows
Because I always forget.
2019-06-13 07:36:11 -05:00
93df3b3f20 Update nmap
Added Nmap Scripting Engine Categories
2019-06-02 18:56:31 -04:00
c548ded02d Addition additional nmap options
Added "Port Status Information" and Additional Scan Types
2019-06-02 18:53:03 -04:00
4c12d66546 Add: vim - multiple windows 2019-05-04 20:43:26 -03:00
6ce53370e7 fix: typo in vagrant sheet 2019-04-16 13:50:58 +02:00
bde74c701f Update zip
added command for creating a zip archive from a folder/directory
2019-04-13 20:59:08 +02:00
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
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
c1fceb5f0d Merge branch 'installation-issues' of github.com:cheat/cheat into installation-issues 2019-02-13 12:55:30 -05:00
d0faf1a3e3 Included appdirs in project
The prior attempt to resolve  and  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
fdddedb8bd Installation issues
Resolves the following:

-  (use of `sudo` when installing)
-  (failure to install on Windows)
-  (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
5487314676 Version bump: 2.5.1 2.5.1 2019-02-13 12:42:58 -05:00
ec360ccddd Merge pull request from roachsinai/master
Expand ~ for 'CHEAT_USER_DIR', 'CHEAT_DEFAULT_DIR' and 'DEFAULT_CHEAT…
2019-02-13 12:40:25 -05:00
bb7dfd1028 Merge pull request from avsej/patch-1
Fix typo in gcc sheet
2019-02-13 12:31:31 -05:00
b348724082 Update gcc 2019-02-13 13:52:33 +00:00
5053f07fd8 Expand ~ for 'CHEAT_USER_DIR', 'CHEAT_DEFAULT_DIR' and 'DEFAULT_CHEAT_DIR'. 2019-02-12 15:16:59 +08:00
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
89bb9aaf13 Included appdirs in project
The prior attempt to resolve  and  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
574deeabc0 Emacs sheet now uses the proper prefix 2019-02-07 14:16:08 -05:00
482161f8e9 Installation issues
Resolves the following:

-  (use of `sudo` when installing)
-  (failure to install on Windows)
-  (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
4dd55105d2 Merge pull request from aroonav/master
Enable starting the cheat python script on windows.
2019-02-06 10:25:29 -05:00
6148d64599 Merge pull request from movd/rename
Update rename
2019-02-05 08:59:06 -05:00
cde8bcaa1d Update rename
Add cheat for mass rename with search and replace
2019-02-05 10:57:43 +01:00
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
da92421948 Merge remote-tracking branch 'upstream/master' 2019-02-05 10:14:39 +05:30
d6c7863573 Merge pull request from dufferzafar/patch-2
ssh: Improve SOCKS command
2019-02-04 14:54:52 -05:00
5812bca6b7 ssh: Improve SOCKS command
This doesn't give an SSH shell, but just forwards the ports - which is what one usually requires when setting up a SOCKS proxy.

The -q is to suppress messages etc.
2019-02-04 23:45:16 +05:30
074dba6e99 v2.5.0
`minor` version bump to `2.5.0`.
2.5.0
2019-02-04 12:04:52 -05:00
9d1dd15387 Merge pull request from cheat/issue-349
Issue 
2019-02-04 11:57:35 -05:00
caf355f142 Issue
Implements support for terminals with light backgrounds via a new
`CHEAT_COLORSCHEME` envvar.
2019-02-04 11:56:00 -05:00
2728ce4757 Merge pull request from cheat/vagrant
Updated Vagrantfile
2019-02-04 11:54:06 -05:00
6ae76799f7 Updated Vagrantfile
Modified `Vagrantfile` to build an Ubuntu environment rather than
Alpine, after the latter exhibited weird behavior.
2019-02-04 11:50:25 -05:00