Commit Graph

441 Commits

Author SHA1 Message Date
Chris Lane
aa57371819 Trivial whitespace changes to pgrep cheatsheet. 2017-09-04 20:01:25 -04:00
Chris Lane
921db35400 Merge branch 'pgrep' of git://github.com/shigemk2/cheat into shigemk2-pgrep 2017-09-04 20:00:38 -04:00
Chris Lane
852db958a4 Merge branch 'develop' 2017-09-04 19:57:28 -04:00
Chris Allen Lane
d58bbba1f8 Merge pull request #333 from npit/master
Update emacs cheatsheet
2017-09-04 19:55:33 -04:00
Chris Allen Lane
e5ffcf65e4 Merge pull request #328 from fpob/master
Add zsh cheatsheet
2017-09-04 19:54:49 -04:00
Chris Allen Lane
f4f8592933 Merge pull request #344 from Daoctor/master
fix crontab command
2017-09-04 19:50:45 -04:00
Chris Allen Lane
c540a600b2 Merge pull request #343 from Mic92/patch-13
openssl: add fingerprint method
2017-09-04 19:47:49 -04:00
Chris Allen Lane
9224216581 Merge pull request #330 from shigemk2/curl-ip
Get your global IP with curl
2017-09-04 19:45:15 -04:00
Chris Allen Lane
2da5c2b710 Merge pull request #327 from Mic92/patch-12
add cryptsetup cheatsheat
2017-09-04 19:41:03 -04:00
Chris Allen Lane
e468f8d0a0 Merge pull request #323 from henrikq/patch-1
Add install to Cheatsheet/deb
2017-09-04 19:39:58 -04:00
Daoctor
efcd687070 fix crontab command 2017-08-30 00:15:53 +08:00
Jörg Thalheim
ae309c7dc4 openssl: add fingerprint method 2017-07-30 09:26:56 +01:00
Astaroth
86ba22e7b8 +html output 2017-06-30 21:34:32 -03:00
Astaroth
2a6ec9cef5 added psql commands 2017-06-29 20:23:47 -03:00
shigemk2
2d59026b0d Add f option 2017-06-10 01:43:11 +09:00
VHarisop
bcb0d71dd3 Updated pip sheet with an upgrade option for newer versions 2017-06-02 13:09:48 +03:00
yafp
d1526ede16 Adding a first version of a pkill cheatsheet 2017-06-01 21:31:27 +02:00
npit
374d381c00 Update emacs 2017-05-28 23:46:22 +03:00
shigemk2
1f3f9828c3 Add pgrep cheatsheat 2017-05-15 23:14:30 +09:00
shigemk2
5d3f89924c Get your global IP with curl 2017-05-15 23:08:21 +09:00
Filip Pobořil
74808845a5 Add zsh cheatsheet 2017-04-07 14:41:10 +02:00
Jörg Thalheim
517bf9599b add cryptsetup cheatsheat 2017-04-04 09:05:49 +02:00
Neal DeBuhr
7716827dfc Minor fixes and additions to emacs 2017-03-12 10:19:47 -04:00
daiyue
c65fde1b3a Update tar
Add extract a .tar in specified Directory
2017-03-09 18:50:36 +08:00
Henrik Qvigstad
bb3c4105cb Add install to Cheatsheet/deb 2017-03-07 09:50:37 +01:00
Chris Lane
edd7b5e806 Minor revisions on #244
- When using GFM code fences, strip the last line in addition to the
  first
- Updated `README.md` to mention the new feature
- `minor` version-bump to `2.2.0`.
2017-02-28 18:59:27 -05:00
Chris Lane
7abb663bf4 Merge branch 'more_lexers' of git://github.com/cnicolov/cheat into cnicolov-more_lexers 2017-02-28 18:22:58 -05:00
Chris Allen Lane
d00bd87dd1 Merge pull request #312 from shanahanjrs/feature-cheat-cheat
Added a cheatsheet for cheat itself
2017-02-27 19:36:45 -05:00
Chris Allen Lane
dd8b20a17a Merge pull request #317 from shanahanjrs/fix-7z-typo
Fixed typo in 7z cheatsheet
2017-02-27 19:29:58 -05:00
Chris Allen Lane
84e42e7f2f Merge pull request #314 from shanahanjrs/pushd-popd
Added cheatsheets for pushd and popd commands
2017-02-27 19:29:12 -05:00
Tulio Leao
f495a4dfd9 Add cheatsheet for su
Useful for running commands as another user.
2017-02-16 01:25:24 -02:00
Tulio Leao
10dd0e9a8b Add cheatsheet for shutdown
Adding help for shutdown, useful for rebooting the system,
2017-02-16 01:22:45 -02:00
Tulio Leao
d06e5bab6f Add cheatsheet for hg
Mercurial is extensively used as a version control system, as an option to Git, so I'm adding its cheatsheet.
2017-02-16 00:04:18 -02:00
shanahanjrs
aa9403d432 Created cheatsheets for alias, cat, cp, export, kill, mv, pwd, and wc 2017-02-12 22:11:45 -05:00
shanahanjrs
75b2555710 Fixed typo in 7z cheatsheet 2017-01-25 18:52:25 -05:00
shanahanjrs
632da2024a Added cheatsheets for pushd and popd commands 2017-01-08 17:11:51 -05:00
shanahanjrs
1baa6d39c0 Added a cheatsheet for cheat itself 2017-01-01 22:44:48 -05:00
Romanos Skiadas
a6ec02c296 Support multi-word EDITOR values
When the value of EDITOR was more than one words (e.g. emacsclient -c),
it wasn't properly split in an array for subprocess.call and cheat would
fail to launch it.
This commit fixes that.

Closes #301
2016-11-27 10:53:10 -05:00
Chris Lane
7392787e31 Merge branch 'patch-1' of https://github.com/brutus/cheat into brutus-patch-1 2016-11-27 10:42:46 -05:00
Chris Lane
208dd24a0c Minor cheatsheet edits. 2016-11-27 10:31:49 -05:00
Chris Lane
df34774a7a Merge branch 'master' of https://github.com/notklaatu/cheat into notklaatu-master 2016-11-27 08:57:54 -05:00
Chris Lane
597acec6ac cheat now honors CHEAT_EDITOR and VISUAL environment variables in
addition to `EDITOR`.
2016-11-27 08:54:33 -05:00
Chris Allen Lane
5df5b1ab49 Merge pull request #299 from jonlabelle/patch-1
Fix uninstall typo.
2016-11-27 08:46:55 -05:00
Brutus
05400a92ed Added support for ~ and environment variables in DEFAULT_CHEAT_DIR
If the `DEFAULT_CHEAT_DIR` environment variable contains the `~` — as shortcut for the users home directory — or environment variables like `$HOME`, the program bails. This change allows the usage of both.
2016-11-24 16:14:37 +01:00
Shadab Zafar
034c1a2415 Add aria2c sheet 2016-10-15 00:02:45 +05:30
Jon LaBelle
dab8645394 Fix uninstall type. 2016-10-02 16:23:42 -05:00
Chris Lane
403d715127 Merge pull request #292 from rahulkavale/master
Add stash, cherry-pick, revert in git cheat
2016-09-30 20:40:20 -04:00
Chris Lane
0edd1450dc Merge pull request #293 from nagromc/npm-cheat
Add npm cheatsheet
2016-09-30 20:38:15 -04:00
Shadab Zafar
cdf240b70e Fix grammar of lsof 2016-09-27 22:43:54 +05:30
Shadab Zafar
809c6d77bc Update lsof sheet 2016-09-27 21:23:39 +05:30
Klaatu
9889d77adb xmlto cheatsheet 2016-09-21 22:24:47 +12:00
Morgan Courbet
d82eee726c Add npm cheatsheet 2016-09-09 10:05:22 +02:00
Klaatu
9a23458a2d ffmpeg combine, add sqlite3 2016-09-09 12:05:08 +12:00
Klaatu
32802c2907 patch cheat 2016-09-04 09:48:01 +12:00
Klaatu
2a6d34de35 diff addition 2016-09-02 09:44:19 +12:00
Klaatu
f1253031f2 bzip2 2016-09-01 22:28:28 +12:00
Klaatu
76fa9cfc23 urpm* mageia open mandriva 2016-09-01 22:01:01 +12:00
Klaatu
0a54b2a2ff updated emacs, ffmpeg. branched org-mode. added slack. 2016-09-01 12:10:21 +12:00
rahul
6a1742984c Add cheery-pick to git cheat 2016-08-28 08:26:55 +05:30
rahul
80d2a09456 Add revert in git cheat 2016-08-28 08:19:20 +05:30
rahul
5121fece91 Add git stash cheat 2016-08-28 08:13:08 +05:30
Chris Lane
f000756f2c Resolved merge-conflict. 2016-08-05 15:15:22 -04:00
Chris Lane
ef1dfb2168 Merge pull request #286 from poohzrn/master
Fix #281: Consistent description styles
2016-08-05 15:03:49 -04:00
Chris Lane
3c1b5c5860 Merge pull request #274 from ImmortalPC/master
[CHANGE] Add cheats for DD and SSH
2016-08-05 15:01:14 -04:00
Chris Lane
3494827403 Merge pull request #288 from rski/remove_prompt_function
Remove prompt_yes_or_no
2016-08-05 14:58:27 -04:00
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