Commit Graph

376 Commits

Author SHA1 Message Date
Chris Lane f0879831c5 Merge pull request #284 from dufferzafar/ansi
Add ANSI Color Chart
2016-08-05 14:57:18 -04:00
Chris Lane 8c056d09e9 Merge pull request #285 from dufferzafar/less
Update less cheatsheet
2016-08-05 14:56:14 -04:00
Chris Lane dd8d0ae58b Merge pull request #282 from dufferzafar/master
Update git cheatsheet
2016-08-05 14:54:24 -04:00
Shadab Zafar 70ad22c12e git: Undo parts of last commit
Added from: http://stackoverflow.com/a/4248269/2043048
2016-07-20 14:34:29 +05:30
Romanos Skiadas b28e6a84ac Remove prompt_yes_or_no
This function is not used anywhere in the code.
2016-07-19 15:16:12 +03:00
Romanos Skiadas bf4f1c80ca Style fixes
Don't use * imports, fix indentations, other small fixes
2016-07-19 14:50:51 +03:00
Lasse Nielsen 9cf1a5761d Fix #281: Consistent description styles 2016-07-18 17:25:06 +02:00
Shadab Zafar 13fdcec332 Add cheat on how to dump content of less to file 2016-07-16 18:47:19 +05:30
Shadab Zafar b2feeab4e8 Add ANSI Color Chart 2016-07-16 18:41:17 +05:30
Shadab Zafar c4b7fd507f Add cpdf cheatsheet
cpdf is a tool to slice and dice PDFs

I created this sheet on a boring day by copying text from
[here](http://www.coherentpdf.com/usage-examples.html) and then
cleaning things up a bit.
2016-07-16 18:37:12 +05:30
Shadab Zafar b77aa0974b Update git cheatsheet 2016-07-16 18:21:07 +05:30
Chris Lane bb324e94a4 Issue #278
Fixed a technical innacuracy in the `crontab` cheatsheet.
2016-05-29 21:03:58 -04:00
Chris Lane 7084ce2f45 Merge pull request #277 from caorong/master
origin Convert Unix timestamp to Date only works on Linux, add cheat which works on Mac
2016-05-29 21:00:57 -04:00
Chris Lane 905006f09c Merge pull request #280 from ybudimirov/ncdu
Ncdu cheatsheet
2016-05-29 20:59:16 -04:00
Yuriy Budimirov 6a9422502a Ncdu cheatsheet 2016-05-26 13:21:20 +03:00
caorong 41332f1d8a update timestamp convert cheat 2016-04-27 10:57:44 +08:00
ImmortalPC b6d54b135c [CHANGE & ADD] Removing typo from SSH. Adding tip for emacs and ssh. Adding cheat for xxd 2016-04-19 13:45:47 +02:00
Oliver Kurmis a3c682729e add cheatsheet for subversion (svn) 2016-04-13 17:27:37 +02:00
ImmortalPC f38da23741 [CHANGE] Add cheats for DD and SSH 2016-04-05 17:09:49 +02:00
Pierre Poulain c0585ee55c Append virtualenvwrapper commands 2016-03-15 17:34:28 +01:00
Pierre Poulain c0d755e102 Add virtualenv 2016-03-15 17:28:07 +01:00
Pierre Poulain 49e1fc46f4 Add --user and --upgrade options 2016-03-15 17:15:06 +01:00
Chris Lane 3d90b26b04 Merge pull request #266 from MinimaxHeadroom/add-tree-mod-dd-vim-find
Add cheatsheet for command `tree`. Edits or command additions to existing cheatsheets `dd`, `find`, `vim`.
2016-03-14 14:21:55 -04:00
Chris Lane 3b73b9b06b Merge pull request #264 from JindrichPilar/master
Added xrandr cheat
2016-03-14 14:17:14 -04:00
Chris Lane 74d1bc1ec7 Merge pull request #263 from omsobliga/master
Add examples for tmux
2016-03-14 14:14:55 -04:00
VHarisop f204ed66e1 Added WiFi-specific commands 2016-03-11 03:41:26 +02:00
VHarisop 29c53b754d Added nmcli cheatsheet 2016-03-08 04:06:44 +02:00
mheadroom 5a7fdfcca7 Add `tree` cheatsheet. Small edits to improve clarity of, plus addition of some new commands to, `dd`, `find`, `vim`. 2016-03-04 04:35:41 -05:00
Jindrich Pilar c3f082eccf Added xrandr cheat 2016-02-22 20:59:05 +01:00
lih 808a2585ef Add example for tmux 2016-02-20 11:09:02 +08:00
Chris Lane 35c38be120 Merge pull request #253 from groig/master
Updated dd cheatsheet with the built-in progress functionality
2016-02-15 13:18:49 -05:00
Chris Lane cc86f23dba Merge pull request #256 from Mic92/patch-11
mount: mount iso
2016-02-15 13:17:47 -05:00
Chris Lane 54086bf8d6 Minor formatting changes to the nkf cheatsheet. 2016-02-15 13:15:53 -05:00
Chris Lane 429ed25aba Merge branch 'add-nkf-plugin' of https://github.com/shigemk2/cheat into shigemk2-add-nkf-plugin
* 'add-nkf-plugin' of https://github.com/shigemk2/cheat:
  Add nkf plugin
2016-02-15 13:14:58 -05:00
Chris Lane 128f28ac99 Merge pull request #254 from dufferzafar/sheets
Add httpie cheatsheet
2016-02-15 13:13:09 -05:00
Chris Lane 420a320839 Merge pull request #257 from cedric-dufour/master
New Sheet Added: MDADM (Linux RAID)
2016-02-15 13:11:56 -05:00
Cédric Dufour e3f435a78a New Sheet Added: MDADM (Linux RAID) 2016-01-26 08:55:36 +01:00
Jörg Thalheim dcc01bb980 mount: mount iso 2016-01-21 19:01:48 +01:00
Shadab Zafar 6f27a3e614 Add httpie cheatsheet
Converted from it's Readme: https://github.com/jkbrzt/httpie
2016-01-13 18:18:43 +05:30
Roig 36b078c9f6 Updated dd cheatsheet with the built-in progress functionality 2016-01-12 09:27:37 -05:00
shigemk2 73c1842866 Add nkf plugin 2016-01-11 13:28:25 +09:00
Chris Lane ceb3707d28 Trivial whitespace change 2016-01-04 21:54:38 -05:00
Chris Lane b59e83e706 Merge pull request #245 from shigemk2/add-mysql-statements
Add Basic MySQL Statements
2016-01-04 20:17:22 -05:00
Chris Lane bfa813a0b8 Merge pull request #246 from rognan/master
Add cheat for lowercasing files and folders in current directory
2016-01-04 20:15:58 -05:00
shigemk2 70ef6239fe Add for plugin 2016-01-01 00:15:51 +09:00
Thor Andreas Rognan 1b55a238df Add cheat for lowercasing files and folders in current directory 2015-12-15 14:57:37 +01:00
shigemk2 eeb2c92576 Add Basic MySQL Statements 2015-12-06 15:11:42 +09:00
Kristiyan Nikolov c1fbeffde5 Adds support for more lexers
If you use cheat to save some programming snippets this might be useful.

For example if you have a long list of SQL Query cheats, you can do the
following:

Enter ```sql in the beginning of the file containing the cheats content.

Example file: sql
```sql

SELECT 17 & 16 = 16;
SELECT 2+4+8+16 & 1 = 0;
2015-12-02 14:47:13 +02:00
Chris Lane 711fd02195 Trivial edit to cheatsheet 2015-11-22 11:26:15 -05:00
Chris Lane 248f5a0526 Merge branch 'master' of https://github.com/yafp/cheat into yafp-master
* 'master' of https://github.com/yafp/cheat:
  20151102 - Added 3 more cheats into the new apt cheatsheet
  20151102 - Adding a cheatsheet for at (apt vs apt-get)
2015-11-22 11:25:47 -05:00
Chris Lane 8e7ce511bd Merge pull request #242 from vyorkin/patch-1
Update docker cheat
2015-11-22 11:23:59 -05:00
Vasiliy Yorkin 6670785a2a Update docker 2015-11-17 15:35:03 +03:00
Jörg Thalheim aabaab1185 ping: MTU check 2015-11-11 21:21:24 +01:00
Florian Pöck 22eb1f2df4 20151102 - Added 3 more cheats into the new apt cheatsheet 2015-11-02 14:51:37 +01:00
Florian Pöck a519ea163e 20151102 - Adding a cheatsheet for at (apt vs apt-get) 2015-11-02 14:28:30 +01:00
Chris Lane 20d52376f9 Undid packaging refactoring. 2015-10-15 18:56:34 -04:00
Chris Lane 3b2848668a patch version bump. 2015-10-15 18:40:18 -04:00
Chris Lane e0adbbc5b9 Merge branch 'setup-improvements' of https://github.com/youtux/cheat into youtux-setup-improvements
* 'setup-improvements' of https://github.com/youtux/cheat:
  Use entry_points instead of scripts in setup.py
  Improve setup.py description
  Exploit setuptools package_data to include cheats
  Use find_packages from setuptools to identify packages
  Use setuptools insted of distutils.
2015-10-15 18:33:02 -04:00
Chris Lane 0c24bbbaaf Merge pull request #236 from bmaca/master
Added one more MySql cheat
2015-10-15 18:27:20 -04:00
Chris Lane baa782b8ce Merge pull request #238 from summer-wu/master
create tr cheatsheet
2015-10-15 18:26:04 -04:00
thor andreas 2ebc8c9fac Add two cheats for ls-command
Display directories only
2015-10-07 20:21:01 +02:00
summer-wu f3ecf76239 Update tr 2015-10-07 21:20:06 +08:00
summer-wu 84df17a0f6 fix some typo 2015-10-07 21:14:45 +08:00
summer-wu 91c28712e6 Update tr 2015-10-07 11:39:27 +08:00
summer-wu 8eda2266bc Create tr 2015-10-07 11:34:01 +08:00
bmaca 47fd7c90f4 Added one more MySql cheat 2015-09-22 01:42:40 -05:00
Chris Lane 9c31ba5102 Merge pull request #233 from cedric-dufour/master
A few additional cheats
2015-09-09 17:58:58 -04:00
t-stark e1aec49ed6 modified cheatsheets 2015-09-07 20:57:17 -05:00
Blake Huber ab86ac970d new cheatsheets 2015-09-07 20:56:09 -05:00
Cedric Dufour 90f66ccaf3 (fixed typo) 2015-09-04 11:16:18 +02:00
Cedric Dufour f63406bc3e Lock file 2015-09-04 11:09:39 +02:00
Cedric Dufour b3a93bc128 Retrieve N-th piped command exit status 2015-09-04 10:16:54 +02:00
Cedric Dufour 8f0d2e9fc3 Specify output separator character 2015-09-04 10:12:46 +02:00
Cedric Dufour 4c2d0d2d8e Generate Diffie-Hellman parameters 2015-09-04 10:10:32 +02:00
Cedric Dufour ac445388d9 Keep old configuration during update 2015-09-04 10:08:42 +02:00
Cedric Dufour 705601f0b1 Added parallel (multi-threaded) processing 2015-09-04 10:06:37 +02:00
Aravinth Panchadcharam 4512a61086 New Sheet Added: Vagrant - A portable development environment 2015-08-24 21:07:55 +02:00
Josef Glatz 511c57f582 [DOCUMENTATION] Cmd 'ssh' copy files with gzipped on the fly 2015-08-06 14:46:21 +02:00
Josef Glatz 6ca4b6c8e7 [DOCUMENTATION] Cmd 'du' cumulative size cheat 2015-08-06 14:39:22 +02:00
Shadab Zafar af354ba6a3 New Sheet: ffmpeg - fast audio video encoder 2015-08-03 17:51:52 +05:30
Shadab Zafar 196875a828 Git cheats: Shallow clones & Submodule update 2015-08-03 17:50:23 +05:30
Shadab Zafar 6cf69bc190 Git cheats: Change date of existing commit 2015-08-03 17:50:12 +05:30
Shadab Zafar b477df20b2 New Sheet: man - an interface to reference manuals 2015-07-24 18:54:41 +05:30
Shadab Zafar 6304a65399 New Sheet: numfmt - convert numbers from/to human-readable strings 2015-07-24 18:53:50 +05:30
Shadab Zafar bc40ced2c1 New Sheet: csplit - used to split a file into parts 2015-07-24 18:51:55 +05:30
Chris Lane 51b0b12663 Minor addition to git cheatsheet 2015-07-09 18:41:00 -04:00
Shadab Zafar ae45265317 Two new cheats in date and ln sheets 2015-06-19 23:18:59 +05:30
Shadab Zafar 97dd037538 Fixup grammar in grep cheatsheet 2015-06-19 23:18:27 +05:30
Shadab Zafar 402d15e8d8 More git cheats 2015-06-19 23:11:48 +05:30
Chris Lane aa9b3e8bb4 Merge pull request #225 from Mic92/master
add zip/unzip
2015-06-18 18:19:53 -04:00
Chris Lane 9db66dbaeb Merge pull request #217 from agxcul/master
add command [more] and some more example for command [awk]
2015-06-18 18:18:56 -04:00
Chris Lane c906a394cc Merge pull request #221 from laomaiweng/cheatsheet-rpm-enhancements
`rpm` cheatsheet: small enhancements
2015-06-18 18:15:51 -04:00
Chris Lane 6ca560c1b7 Merge pull request #220 from dufferzafar/sheets
Added jq, jrnl sheets. Updated Git and Markdown.
2015-06-18 18:14:59 -04:00
Chris Lane e75e9bb211 Whitespace edit 2015-06-18 18:06:25 -04:00
Chris Lane dd93473464 Merge pull request #216 from salvorapi/master
First version of nova cheat
2015-06-18 18:05:39 -04:00
Chris Lane 0d6de64fc0 Merge pull request #224 from Mic92/patch-9
Add weechat
2015-06-18 18:02:43 -04:00
Chris Lane 26991977fd Merge pull request #222 from myfavouritekk/pip
Add the cheat sheet for pip.
2015-06-18 18:02:00 -04:00
Chris Lane 878e266f5b Merge pull request #223 from Raizo62/master
remove useless blank
2015-06-18 18:00:47 -04:00
Jörg Thalheim 59accc64f7 add zip/unzip 2015-06-13 09:40:59 +02:00
Jörg Thalheim c18e475fd1 Add weechat 2015-06-08 21:03:33 +02:00
raizo62 2166a57ccd remove useless blank 2015-06-04 17:53:48 +00:00
Kai KANG b2e1400bb6 Update pip: dealing with requirement files
add `pip freeze > requirements.txt` and `pip install -r requirements.txt`.
2015-06-02 07:30:34 +08:00
Kai KANG 30a49d3596 Add the cheat sheet for pip. 2015-05-28 13:46:28 +08:00
quentin 86ba1ad9e6 cheat/cheatsheets/rpm: small enhancements 2015-05-21 23:17:34 +02:00
Shadab Zafar 820de5dba8 Add Image syntax to markdown 2015-05-20 01:46:03 +05:30
Shadab Zafar 33f0dc346b jrnl is an application to store your life journal
...in plain text files

https://github.com/maebert/jrnl
2015-05-20 01:46:03 +05:30
Shadab Zafar 889c8ef8fe Added two funky git cheats! 2015-05-20 01:46:03 +05:30
Shadab Zafar 434802341e jq is a command line json processor
Here is the awesome manual: http://stedolan.github.io/jq/manual/
2015-05-20 01:45:52 +05:30
Daniel D. Zhang aba6fe5043 fix typo
reference: 
-O file
--output-document=file
    The documents will not be written to the appropriate files, but all will be concatenated together and
    written to file.  If - is used as file, documents will be printed to standard output, disabling link
    conversion.  (Use ./- to print to a file literally named -.)

    Use of -O is not intended to mean simply "use the name file instead of the one in the URL;" rather,
    it is analogous to shell redirection: wget -O file http://foo is intended to work like wget -O -
    http://foo > file; file will be truncated immediately, and all downloaded content will be written
    there.

    For this reason, -N (for timestamp-checking) is not supported in combination with -O: since file is
    always newly created, it will always have a very new timestamp. A warning will be issued if this
    combination is used.

    Similarly, using -r or -p with -O may not work as you expect: Wget won't just download the first file
    to file and then download the rest to their normal names: all downloaded content will be placed in
    file. This was disabled in version 1.11, but has been reinstated (with a warning) in 1.11.2, as there
    are some cases where this behavior can actually have some use.

    Note that a combination with -k is only permitted when downloading a single document, as in that case
    it will just convert all relative URIs to external ones; -k makes no sense for multiple URIs when
    they're all being downloaded to a single file; -k can be used only when the output is a regular file.
2015-05-10 13:54:49 +08:00
agxcul 86d1ce58a9 add command [more] and some more example for command [awk] 2015-05-06 15:14:49 +08:00
Salvo Rapisarda fd7f31bf16 First version of nova cheat 2015-05-04 15:14:07 +02:00
Chris Lane f39fad1324 Merge pull request #212 from myfavouritekk/paste
Add a cheatsheet for paste.
2015-04-15 16:40:43 -04:00
Chris Lane 4cf03c5363 Merge pull request #211 from Aayush-Kasurde/master
Added yum list command cheat
2015-04-15 16:38:52 -04:00
Kai KANG afcd74c8bf Add cheatsheet for paste. 2015-03-31 17:52:08 +08:00
Aayush Kasurde e27ce3f1f9 Added yum list command cheat 2015-03-10 08:04:47 +05:30
Chris Lane e9b8f04c24 Bug fix
A bug was introduced in 2.1.6 that would prevent user-defined
cheatsheets from being edited more than once.
2015-02-11 21:45:32 -05:00
Chris Lane c70dc002fa Issue #180
Now, whenever a cheatsheet is to be edited, if that cheatsheet does not
exist on the `DEFAULT_SHEET_PATH`, it is first copied there before being
opened for editing. This prevents system-wide cheatsheets from being
edited when using `cheat` as `root`.
2015-02-11 21:02:45 -05:00
Chris Lane 718ec4f685 Resolves #207
- Solves issue whereby global cheatsheets fail to save after editing

- `cheat` no longer asks a user if a global cheatsheet should be copied
  locally before editing, and instead just silently does so.
2015-02-10 19:35:14 -05:00
Chris Lane a5352ad9e5 Trivial edits to uniq cheatsheet 2015-02-09 18:07:17 -05:00
Chris Lane f5ee3d5e29 Merge branch 'master' of https://github.com/shigemk2/cheat into shigemk2-master
* 'master' of https://github.com/shigemk2/cheat:
  Refer sort -u
  Fix dc option
  uniq: add examples
2015-02-09 18:06:20 -05:00
Chris Lane e64babc972 Trivial edits to cheatsheets. 2015-02-09 18:05:13 -05:00
Chris Lane cd465ef84f Merge branch 'master' of https://github.com/Aayush-Kasurde/cheat into Aayush-Kasurde-master
* 'master' of https://github.com/Aayush-Kasurde/cheat:
  Added perforce commands
  Added udisksctl
  Added Journalctl commands
  Added zoneadm commands
2015-02-09 18:03:28 -05:00
Chris Lane 96e26a38d4 Added newline to end of dnf file. 2015-02-09 18:01:40 -05:00
Chris Lane 998ed00424 Merge branch 'dnf' of https://github.com/amitsaha/cheat into amitsaha-dnf
* 'dnf' of https://github.com/amitsaha/cheat:
  Add cheatsheet for dnf
2015-02-09 18:00:38 -05:00
Chris Lane 1fd03d3305 Merge pull request #205 from thylong/dpkg
Add cheat for dpkg
2015-02-09 17:58:24 -05:00
Chris Lane 77cba58599 Merge pull request #203 from amitsaha/docker_update
docker: add 'docker exec'
2015-02-09 17:57:39 -05:00
Chris Lane c5a738a8b1 Merge pull request #199 from Mic92/patch-8
ip: better route example
2015-02-09 17:56:57 -05:00
Aayush Kasurde 250a265b25 Added perforce commands 2015-01-27 22:07:43 +05:30
Amit Saha c232721119 Add cheatsheet for dnf 2015-01-22 16:30:49 +10:00
Aayush Kasurde 55492c50ac Added udisksctl 2015-01-20 21:34:11 +05:30
Théotime Lévêque d9df28e3f2 Update dpkg 2015-01-20 12:22:47 +01:00
Theotime LEVEQUE 710c7bcf70 Add cheat for dpkg 2015-01-20 01:42:26 +01:00
Aayush Kasurde efba736aee Added Journalctl commands 2015-01-18 20:03:42 +05:30
Aayush Kasurde 95774db7c5 Added zoneadm commands 2015-01-14 21:12:23 +05:30
Amit Saha da63c5d27f docker: add 'docker exec' 2015-01-13 13:51:35 +10:00
shigemk2 2e1cda114a Refer sort -u 2015-01-12 21:29:35 +09:00
shigemk2 353fe48d60 Fix dc option 2015-01-12 21:17:55 +09:00
shigemk2 a96bd229a6 uniq: add examples 2015-01-10 00:28:18 +09:00
Alessio Bogon 4d57f529c9 Use entry_points instead of scripts in setup.py
This allows a fine-grained control of the dependencies, because it generates a wrapper script
that calls the specifiend function (i.e., main inside cheat/app.py)
2015-01-09 00:36:49 +01:00
Chris Lane be2cb6e632 Version 2.1.3
- Added new cheatsheets
- Appended to `.gitignore`
2015-01-05 20:44:25 -05:00
Chris Lane 426b0aaa0d Merge pull request #197 from thylong/gzip
Add cheat for gzip
2015-01-05 20:39:35 -05:00
Chris Lane 9041c57d21 Merge pull request #200 from poliveira89/new_cheatsheets
New cheatsheets
2015-01-05 20:38:19 -05:00
thylong 1dd9d85509 Merge branch 'gzip' of github.com:thylong/cheat into gzip
Conflicts:
	cheat/cheatsheets/gzip
2015-01-04 13:24:52 +01:00
thylong 9506167af8 Add cheat for gzip 2015-01-04 13:23:47 +01:00
Jörg Thalheim 27482cbabd ip: better route example
Assigning a subnet is already covered in the example below. Setting a default route via a router is the most common use case of ip route IMHO.
2014-12-30 10:07:13 +01:00
Chris Lane c4a5ca3900 Merge pull request #198 from thylong/ssh_forward
Update cheat ssh
2014-12-29 21:37:39 -05:00
Chris Lane 03b587f538 Merge pull request #196 from Mic92/patch-7
ss
2014-12-29 21:36:59 -05:00
Chris Lane e4d7722476 Merge pull request #195 from Mic92/master
ping6
2014-12-29 21:36:18 -05:00
thylong 956ce7fadd Update cheat ssh 2014-12-26 15:57:01 -05:00
thylong 57876ed0e7 Add cheat for gzip 2014-12-26 15:46:48 -05:00