Commit Graph

443 Commits

Author SHA1 Message Date
Chris Lane
4b7a1110f3 Merge pull request #91 from ImmortalPC/master
Add apparmor
2013-09-13 17:55:58 -07:00
Chris Lane
54547459b2 Merge pull request #84 from maggick/patch-11
Create sort
2013-09-13 17:52:29 -07:00
Chris Lane
dc300f83eb Merge pull request #88 from ABorgna/master
Cheatsheet updates
2013-09-13 17:51:10 -07:00
Chris Lane
dc5dbdbb02 Merge pull request #89 from amitsaha/netstat_update
cheatsheets/netstat: Which process is listening on a port
2013-09-13 17:48:50 -07:00
ImmortalPC
385ac4d484 Add apt-get 2013-09-13 00:34:09 +02:00
ImmortalPC
2c86db1aac Add a description 2013-09-13 00:26:42 +02:00
ImmortalPC
3deb00bb0a Add apparmor 2013-09-13 00:21:50 +02:00
roemer_j
8b8d06f0e1 Added autocomplete for bash 2013-09-12 03:25:10 +02:00
Amit Saha
50fd4c6638 cheatsheets/netstat: Which process is listening on a port 2013-09-12 09:59:25 +10:00
ABorgna
acbd863277 Added ifconfig cheatsheet 2013-09-11 01:00:59 -03:00
ABorgna
60e2e66014 Added chown cheatsheet 2013-09-11 00:33:55 -03:00
ABorgna
a44c824f59 Added at cheatsheet 2013-09-11 00:21:44 -03:00
ABorgna
ba904a2bd6 Update vim
Using same format as 7z and emacs
2013-09-10 23:19:48 -03:00
b_b
eb00ab5d0b add minimal screen cheatsheet 2013-09-10 17:04:40 +02:00
Matthieu Keller
d4a40a9b20 Update sort 2013-09-08 15:43:25 +02:00
Matthieu Keller
acb1a827ec Create sort 2013-09-08 15:23:00 +02:00
Chris Lane
64cba079f9 Merge branch 'master' of https://github.com/ritchielincoln/cheat into ritchielincoln-master
* 'master' of https://github.com/ritchielincoln/cheat:
  give user the option to edit cheatsheet when trying to create an existing cheatsheet
2013-09-07 18:43:13 -04:00
Ritchie Lincoln
ffcafa4480 give user the option to edit cheatsheet when trying to create an existing cheatsheet 2013-09-07 12:41:51 -06:00
Chris Lane
213c7a31e1 Updated the README to describe the -d flag and zsh coordination. 2013-09-07 14:38:13 -04:00
Chris Lane
b107019664 Merge branch 'minus-d-uses-new-line-sep' of https://github.com/a-sk/cheat into a-sk-minus-d-uses-new-line-sep
* 'minus-d-uses-new-line-sep' of https://github.com/a-sk/cheat:
  -d now separates output using a newline
2013-09-07 13:34:45 -04:00
Chris Lane
11b680f49b Merging. 2013-09-07 13:28:10 -04:00
Chris Lane
f0a7362149 Merge branch 'master' of https://github.com/shanahanjrs/cheat into shanahanjrs-master
* 'master' of https://github.com/shanahanjrs/cheat:
  Added 'import argparse' to 'cheat'
  Merge
  Added GPL3 license to top of 'cheat' as required.
2013-09-07 13:23:39 -04:00
Chris Lane
db3fa0f8ad Merge pull request #79 from maggick/patch-9
Update grep
2013-09-07 10:17:37 -07:00
Chris Lane
f51d57499d Merge pull request #82 from adelviscio/patch-7
Removed cat
2013-09-07 10:14:27 -07:00
Chris Lane
3b3f96cfa2 Merge pull request #81 from ritchielincoln/master
added chmod to cheats
2013-09-07 10:12:59 -07:00
adelviscio
93bda9dc20 Removed cat
Piping cat to sed is an extra step.  Sed can handle file arguments.
2013-09-07 00:29:49 -04:00
Ritchie Lincoln
bbabedb3ce added chmod to cheats 2013-09-06 20:55:22 -06:00
Matthieu Keller
dc4846b635 Update grep 2013-09-06 16:53:36 +02:00
Matthieu Keller
948d407b65 Update aptitude 2013-09-06 16:51:31 +02:00
John Shanahan
4fe31ec479 Added 'import argparse' to 'cheat' 2013-09-05 22:50:55 -04:00
a-sk
ebdca118ea -d now separates output using a newline 2013-09-04 09:52:54 +04:00
John Shanahan
139ff6c32e Merge 2013-09-03 23:53:58 -04:00
John Shanahan
68de9655e5 Merge remote-tracking branch 'upstream/master' 2013-09-03 23:53:31 -04:00
Chris Lane
16244be4ea Merge pull request #74 from Chimyx/master
Create Pacman (Arch linux package manager)
2013-09-03 17:11:01 -07:00
Chris Lane
d3e37c07d3 Merge pull request #70 from maggick/patch-4
correct and add vim shortcuts
2013-09-03 17:05:19 -07:00
Chris Lane
b360315298 Merge pull request #76 from thelinuxfr/patch-1
Add set editor to git
2013-09-03 17:02:19 -07:00
Chris Lane
3e05a463b6 Merge pull request #75 from bdien/master
Add tmux cheatfile
2013-09-03 17:01:23 -07:00
Chimyx
253eae2935 Correction in pacman file 2013-09-03 16:01:09 +02:00
LIETART Frederic
a45568ec5f Add set editor to git
Add set editor to git
2013-09-03 13:25:16 +02:00
Benny
00549c1d8e Use lowercase letters 2013-09-03 11:10:20 +02:00
Benny
1599c81e8f Create tmux cheatfile 2013-09-03 11:08:25 +02:00
Manu
837042f718 Added yaourt (Yet AnOther User Repository Tool) cheatsheet 2013-09-03 05:39:24 +02:00
Manu
221c1ce190 Added pacman (archlinux PACkage MANager) cheatsheet 2013-09-03 05:19:43 +02:00
Matthieu Keller
fda6125657 minor spell corrections 2013-09-02 16:09:38 +02:00
Matthieu Keller
e557c26377 Create head 2013-09-02 16:08:09 +02:00
Matthieu Keller
ec5123d21e Create aptitude 2013-09-02 16:05:43 +02:00
Matthieu Keller
d9acba7f14 correct and add vim shortcuts 2013-09-02 16:04:10 +02:00
John Shanahan
9b88afec33 Added GPL3 license to top of 'cheat' as required. 2013-09-02 07:39:43 -04:00
John Shanahan
6c6057563c Added 'GPL3' to setup.py 2013-09-01 22:20:53 -04:00
Chris Lane
79831f81b7 Merge pull request #66 from adelviscio/patch-6
Added diff of two processes/commands
2013-09-01 18:15:48 -07:00
Chris Lane
54e339ef19 Merge pull request #65 from adelviscio/patch-5
View routing table with netstat
2013-09-01 18:15:03 -07:00
Chris Lane
3dbaf5a17f Fixed a minor typo in the grep cheatsheet. 2013-09-01 21:13:35 -04:00
Chris Lane
a2ed76db3f Merge branch 'patch-4' of https://github.com/adelviscio/cheat into adelviscio-patch-4
* 'patch-4' of https://github.com/adelviscio/cheat:
  Removed duplicate example, updated description of another example.
2013-09-01 21:12:49 -04:00
Chris Lane
4abdc34c94 Merge branch 'master' of github.com:chrisallenlane/cheat
* 'master' of github.com:chrisallenlane/cheat:
  Cleaned up the loop
2013-09-01 21:11:06 -04:00
Chris Lane
8fde16689d Fixed a small typo in the openssl cheatsheet. 2013-09-01 21:10:41 -04:00
adelviscio
6d0e99b956 Added diff of two processes/commands
Wraps output of two commands into separate file handles that diff can compare.
2013-09-01 17:48:33 -04:00
adelviscio
b894974dc7 View routing table with netstat 2013-09-01 16:04:17 -04:00
adelviscio
2592e8face Removed duplicate example, updated description of another example.
Removed cat file | grep pattern as cat file is unnecessary.  The command becomes 'grep pattern file' again - which is the same as the first example.

Updated #Advanced description to be more descriptive.
2013-09-01 16:00:18 -04:00
adelviscio
4d6bc270cf Added openssl s_client to view cert expiration 2013-09-01 15:56:15 -04:00
adelviscio
6042b8814a Cleaned up the loop
Otherwise, the loop just prints the words 'file' and 'found' on separate lines.
2013-09-01 15:40:10 -04:00
Chris Lane
14821d424c Minor modifications on the cheat file. Broke the -d option out into its own logical block. 2013-09-01 14:41:29 -04:00
Chris Lane
91d01d9b96 Merge branch 'zsh_completions' of https://github.com/a-sk/cheat into a-sk-zsh_completions
* 'zsh_completions' of https://github.com/a-sk/cheat:
  Install zsh completions
  Add zsh cheats completions
  Add -d/--cheat_directories option to list directories containing cheatsheets
2013-09-01 14:36:02 -04:00
Chris Lane
65c557612e Modified the README. 2013-09-01 13:56:49 -04:00
Chris Lane
e71a3d627d Merge branch 'DEFAULT_CHEAT_DIR' of https://github.com/a-sk/cheat into a-sk-DEFAULT_CHEAT_DIR
* 'DEFAULT_CHEAT_DIR' of https://github.com/a-sk/cheat:
  Add note about DEFAULT_CHEAT_DIR to the README file
  Remove odd new line
  Introduce DEFAULT_CHEAT_DIR environment variable
2013-09-01 13:47:42 -04:00
Chris Lane
760b0e4f78 Merge pull request #56 from shanahanjrs/master
Added 7z cheatsheet
2013-09-01 10:44:59 -07:00
Chris Lane
ddc99f339a Merge pull request #60 from ImmortalPC/master
Add distcc cheatsheets and add git show
2013-09-01 10:44:20 -07:00
Chris Lane
7b627816c1 Rearranged the order of some of the mysql cheats. 2013-09-01 13:43:19 -04:00
Chris Lane
f695290b36 Merge pull request #50 from ponsfrilus/master
Added mysqdump backup and restore and basic connection
2013-09-01 10:42:15 -07:00
Chris Lane
15db9d8011 Resolving a merge-conflict in the 'ssh-keygen' cheatsheet. 2013-09-01 13:40:50 -04:00
Chris Lane
f4be23d407 Merge pull request #44 from maggick/patch-1
To copy a key to a remote host on a non-standard port with non-standard ...
2013-09-01 10:36:55 -07:00
Chris Lane
05ef9989e6 Merge pull request #46 from maggick/patch-3
add ssh on a non-standard port
2013-09-01 10:33:03 -07:00
Chris Lane
9dfefc25aa Merging. 2013-09-01 13:30:44 -04:00
Chris Lane
49ffe30aa9 Merge pull request #41 from DerUser/master
Added youtube-dl cheatsheet
2013-09-01 10:22:37 -07:00
Chris Lane
6bfdcd8f0f Made a minor typographical correction to the 'find' cheatsheet 2013-09-01 13:17:44 -04:00
Chris Lane
ad66169acc Merge pull request #43 from pierrepo/master
find + pdftk + gs
2013-09-01 10:16:27 -07:00
Chris Lane
74eca97b62 Merge pull request #42 from carlosp420/master
fixing typo in cheat git
2013-09-01 10:14:50 -07:00
Chris Lane
abd4f8ca00 Merge pull request #47 from Niichan/master
Cheatsheets added
2013-09-01 10:13:43 -07:00
Chris Lane
29a3fa0254 Merge pull request #48 from gbremer/master
Adding less cheat sheet
2013-09-01 10:12:16 -07:00
Chris Lane
d3de6c71c0 Merge pull request #51 from fuzzgun/master
Added sheets for emacs and gpg
2013-09-01 10:10:22 -07:00
Chris Lane
3f796385de Merge pull request #57 from Toam/master
Added ab cheatsheet
2013-09-01 10:09:00 -07:00
ImmortalPC
337817dad3 Translate tabs to spaces 2013-09-01 15:05:38 +02:00
ImmortalPC
f8531cfea9 Add cheatsheets for distcc 2013-09-01 15:03:54 +02:00
ImmortalPC
e7339b3b57 Change git cheatsheets: add 'git show' 2013-09-01 15:03:36 +02:00
John Shanahan
12e6d83d47 Added some required fields to setup.py 2013-08-31 14:19:03 -04:00
Nicolas Crocfer
3e75a55491 Added diff cheatsheet 2013-08-31 14:18:13 +02:00
Carlos Peña
53a2a616d0 chead sed to remove empty lines 2013-08-31 12:46:33 +03:00
Toam
e38e306b7a Added ab cheatsheet 2013-08-30 17:54:51 +02:00
John Shanahan
b26adf2ca8 Added 7z cheatsheet 2013-08-30 10:58:54 -04:00
Özgür Özdemircili
6abab41aa6 New lsof cheat 2013-08-30 12:16:48 +02:00
Özgür Özdemircili
9e1ea4fae4 New cheats on find 2013-08-30 12:16:39 +02:00
a-sk
702f043ff4 Add note about DEFAULT_CHEAT_DIR to the README file 2013-08-29 19:19:19 +04:00
a-sk
23de32ce50 Remove odd new line 2013-08-29 19:16:01 +04:00
a-sk
a781f6a8f7 Install zsh completions 2013-08-29 19:12:00 +04:00
a-sk
f20c0aba20 Add zsh cheats completions 2013-08-29 19:12:00 +04:00
a-sk
5c51f457a0 Add -d/--cheat_directories option to list directories containing cheatsheets 2013-08-29 19:12:00 +04:00
a-sk
e662862b7b Introduce DEFAULT_CHEAT_DIR environment variable
Now ~/.cheat can be overridden
2013-08-29 18:20:23 +04:00
Bob Mottram
02ab2e7b8d Added sheets for emacs and gpg 2013-08-29 11:38:22 +01:00
Nicolas Borboën
35fccbf9a4 Added mysqdump backup and restore and basic connection 2013-08-29 10:36:52 +02:00
Grant Bremer
49d1daa97b Adding additional ssh-keygen command examples 2013-08-28 23:06:43 -04:00
Grant Bremer
1a1f87e131 Adding less cheat sheet 2013-08-28 22:16:07 -04:00
Sam Dodrill
84b5df508b Cheatsheets added
- apk: Alpine Linux package manager
 - gcc: GNU C Compiler
 - grep: Pattern matcher in files or pipes
 - vim: Vi IMproved
2013-08-28 10:05:46 -07:00
Matthieu Keller
17a2d6871d add ssh on a non-standard port 2013-08-28 14:15:50 +02:00
Matthieu Keller
a84dd27f6b remove ssh-copy-id 2013-08-28 14:11:57 +02:00
Matthieu Keller
e963af111c To copy a key to a remote host on a non-standard port with non-standard ssh key 2013-08-28 14:06:26 +02:00
Pierre Poulain
a66f3d1c15 corrected typo for a better management of files with space in their name 2013-08-28 11:27:44 +01:00
Pierre Poulain
dfc7c98607 added example for the gs command (reduce pdf file) 2013-08-28 11:24:32 +01:00
Pierre Poulain
4f83172647 added examples for pdftk (manipulating pdf files) 2013-08-28 11:22:30 +01:00
Pierre Poulain
79a091a275 added new examples for find 2013-08-28 11:15:59 +01:00
Carlos Peña
4960f45f6f fixing typo in cheat git 2013-08-28 10:30:37 +03:00
Chris Lane
437f191bf7 Trivial change to mount cheatsheet. 2013-08-27 19:44:58 -04:00
Chris Lane
c7c63b42cd Minor changes to the git cheatsheet. 2013-08-27 19:43:24 -04:00
Chris Lane
9e8294b566 Merge branch 'master' of https://github.com/ozdemircili/cheat into ozdemircili-master
* 'master' of https://github.com/ozdemircili/cheat:
  Added git cheats
  Added mount cheatsheet
2013-08-27 19:06:53 -04:00
Philip Molares
9d9916251e Added youtube-dl cheatsheet 2013-08-27 23:36:43 +02:00
Carlos Peña
bcdc3c7f23 cheat awk: sum integers from a file or stdin 2013-08-27 14:06:15 +03:00
Özgür Özdemircili
63bd132a9b Added git cheats 2013-08-27 10:56:53 +02:00
Özgür Özdemircili
dcfc6e60be Added mount cheatsheet 2013-08-27 10:53:49 +02:00
Chris Lane
6990807010 Updated the help command to mention the new create/edit capabilities. Vaguely followed the docopt syntax. 2013-08-26 21:17:55 -04:00
Chris Lane
3e7dcc9b43 Updated the README to mention the new create/edit abilities. 2013-08-26 21:05:05 -04:00
Chris Lane
d183a6fb14 Change to the SSH cheatsheet 2013-08-26 20:37:04 -04:00
Chris Lane
496de6ae89 Integrated cheatsheet contents. 2013-08-26 20:34:36 -04:00
Chris Lane
cdc2b8ee4d Wrapped some more parenthesis around print statements to retain compatibility with Python 3.3. 2013-08-26 20:16:43 -04:00
Chris Lane
63c391f67a When creating a new cheatsheet using the -c option, the program now
first attempts to write to the ~/.cheat directory, or alternatively
create it if it does not already exist. Failing that, it attempts to
write to the python package directory.
2013-08-26 20:12:59 -04:00
Chris Lane
3399b8905d Removed the asterisks denoting the boundaries of the cheatsheets. 2013-08-26 19:45:12 -04:00
Chris Lane
cd1b43118d Merge branch 'master' of https://github.com/bradtse/cheat into bradtse-master
* 'master' of https://github.com/bradtse/cheat:
  Added in a create option also
  Added in an edit option that allows a user to edit the cheatsheet from their default editor. Also made some visual changes to the output of the cheatsheet.
2013-08-26 19:42:40 -04:00
Chris Lane
e757bcc46d Merge branch 'master' of https://github.com/shanahanjrs/cheat into shanahanjrs-master
* 'master' of https://github.com/shanahanjrs/cheat:
  Added Python 3 support.
2013-08-26 19:37:40 -04:00
Chris Lane
67c8436691 Fixed a typo I introduced to the mysqldump cheatsheet. 2013-08-26 19:32:38 -04:00
Chris Lane
2e69eb063c Trivial changes to the mysqldump cheatsheet. 2013-08-26 19:31:21 -04:00
Chris Lane
d0e1f18e52 Merge branch 'master' of https://github.com/codehill/cheat into codehill-master
* 'master' of https://github.com/codehill/cheat:
  More mysqldump commands.
2013-08-26 19:26:40 -04:00
Chris Lane
7886eea791 Renamed mysql.sql to mysql, because the installer doesn't seem to install that cheatsheet when it has the .sql extension. 2013-08-26 19:21:42 -04:00
Chris Lane
bf290ea5b7 Trivial changes. 2013-08-26 19:19:52 -04:00
Chris Lane
37b9e84497 Merge branch 'master' of https://github.com/ozdemircili/cheat into ozdemircili-master
* 'master' of https://github.com/ozdemircili/cheat:
  Added history cheatsheet
  Added history cheatsheet
  History
  Added histroy cheatsheet
  Took out listing of Readme and License file on cheatsheets
  Added mysql cheatsheet
  Added lsof cheatsheet
  Added 2 new cheatsheets
2013-08-26 19:12:54 -04:00
Carlos Peña
9500ca8446 cheat sed, remove leading spaces with regex 2013-08-27 00:06:30 +03:00
Ozdemircili
78fdc09f8c Added history cheatsheet 2013-08-26 18:29:30 +02:00
Ozdemircili
821290b41d Added history cheatsheet 2013-08-26 18:27:54 +02:00
Ozdemircili
62e4b73d2b History 2013-08-26 18:26:52 +02:00
Ozdemircili
cdc512c897 Added histroy cheatsheet 2013-08-26 18:24:14 +02:00
Ozdemircili
e97d73a0e1 Took out listing of Readme and License file on cheatsheets 2013-08-26 18:05:34 +02:00
Ozdemircili
0c027b792d Added mysql cheatsheet 2013-08-26 16:52:09 +02:00
Ozdemircili
24e1c2748f Added lsof cheatsheet 2013-08-26 16:51:57 +02:00
Ozdemircili
c6ba4c79df Added 2 new cheatsheets 2013-08-26 16:44:19 +02:00
John Shanahan
5e4186f426 Added Python 3 support. 2013-08-25 14:29:44 -04:00
Amgad Suliman
6083e2d70b More mysqldump commands.
I also modified the previous commands so passwords don't show in the
history.
2013-08-25 11:48:19 +04:00
Chris Lane
e6d5d9b8dc Merge pull request #32 from albertojacini/ps_cheatsheet
Added ps cheatsheet
2013-08-24 13:48:25 -07:00
Chris Lane
f28a42b030 Merge pull request #33 from albertojacini/fix_readme
Marked comments in the example cheatsheet
2013-08-24 13:47:06 -07:00
Steven Wilson
8d75ee723f add show to apt-cache cheatsheet 2013-08-24 16:16:59 +01:00
Alberto Jacini
1ad972a5cf Marked comments in the example cheatsheet 2013-08-24 17:10:16 +02:00
Alberto Jacini
60ee4818b1 Added ps cheatsheet 2013-08-24 15:46:50 +02:00
Chris Lane
c460bfdb31 Added more cheats to the php cheatsheet. 2013-08-23 23:06:29 -04:00
Chris Lane
bbbe9193e0 Made trivial changes to some of the cheatsheets to make them play more nicely with colorized output. 2013-08-23 19:00:37 -04:00
Chris Lane
b2159662f3 Committed a cheatsheet for 'truncate' 2013-08-23 18:42:26 -04:00
Chris Lane
483a1da08b PHP cheatsheet tweak. 2013-08-23 18:33:15 -04:00
Chris Lane
8ebd96e33b Added a PHP cheatsheet. 2013-08-23 18:32:36 -04:00
Chris Lane
b6a17fac42 Merge pull request #28 from amitsaha/yum_cheat
Yum cheat
2013-08-23 15:20:40 -07:00
Bradley Tse
dc0b793b95 Added in a create option also 2013-08-23 15:25:04 -04:00
Bradley Tse
dcf8e758a8 Added in an edit option that allows a user to edit the cheatsheet from their default editor. Also made some visual changes to the output of the cheatsheet. 2013-08-23 14:30:03 -04:00
Amit Saha
d070a5ef45 More yum commands 2013-08-22 15:34:42 +10:00
Chris Lane
7cfaddf935 Gave a shout-out to the 'cheat' RubyGem after it was brought to my attention per issue #22. 2013-08-21 23:35:04 -04:00
Chris Lane
c9329b2e89 Minor tweak on the last commit. 2013-08-21 23:09:31 -04:00
Chris Lane
43e66c7747 Trivial changes to the README. 2013-08-21 23:02:58 -04:00
Chris Lane
7138a32c4d Updated the README to include instructions for enabling syntax highlighting. 2013-08-21 23:00:22 -04:00
Chris Lane
c15e836268 Made it also necessary to set an environment variable in order to display colors to the terminal (in an effort to avoid an otherwise inevitable holy-war). 2013-08-21 22:56:33 -04:00
Chris Lane
fabd1bc242 Resolved a trivial merge conflcit in cheatsheets/sed. Resolved major merge conflict in ./cheat. Made very minor revision to @larsyencken's patch to prevent __init__.py/c files from being listed as cheatsheets. 2013-08-21 22:49:07 -04:00
Chris Lane
6d456d147d Merge pull request #25 from adelviscio/patch-1
Added global flag, replaced redundant redirection.
2013-08-21 19:32:48 -07:00
Chris Lane
07c49e8540 Minor tweak to @smartboyathome's patch. 2013-08-21 22:28:28 -04:00
Chris Lane
2b9d48c8c4 Merge branch 'master' of https://github.com/smartboyathome/cheat into smartboyathome-master
* 'master' of https://github.com/smartboyathome/cheat:
  Making the default cheats directory Windows-compatible.
2013-08-21 22:24:56 -04:00
Chris Lane
031eeb6a96 Restored the __init__.py file that I stupidly deleted on a previous commit. 2013-08-21 22:17:29 -04:00
Lars Yencken
8245d3f4ec Explicitly mark comment lines in builtin sheets. 2013-08-22 11:34:11 +10:00
Lars Yencken
f89d887c21 Add a check for posix environment for pygments. 2013-08-22 09:19:31 +10:00
Lars Yencken
39a15a669a Make Pygments a soft dependency. 2013-08-21 19:33:09 +10:00
Lars Yencken
c6bb350a13 Colorize output using Pygment lexers. 2013-08-21 17:05:52 +10:00
Lars Yencken
17b2148d6e Reformat to meet PEP8 style. 2013-08-21 16:46:10 +10:00
Lars Yencken
9140d2ebfb Allow suffixes for cheat files (e.g. DataFrames.jl). 2013-08-21 16:35:39 +10:00
Anthony Delviscio
e6e4b1e420 Added global flag, replaced redundant redirection.
Not using the 'g' (global) flag only replaces the first match on a line.  The 'g' flag will replace all matches.
2013-08-21 00:17:52 -04:00
Alex Abbott
b188629b92 Making the default cheats directory Windows-compatible. 2013-08-20 14:56:12 -07:00
Chris Lane
1e26280da7 Added some comments to the cheat file. 2013-08-19 21:35:51 -04:00
Chris Lane
f3c37a37eb Added an openssl cheatsheet. 2013-08-19 21:31:34 -04:00
Chris Lane
e3d6976a03 Merging. 2013-08-19 21:15:02 -04:00
John Shanahan
01b35ab0b7 Added main function and wrapped everything in it. 2013-08-19 15:23:53 -04:00
Louis Taylor
570d05349e No breakage when cheatsheets package isn't found
This means cheat can be installed in only the home directory again.
2013-08-19 09:02:53 +01:00
Louis Taylor
6627b06b1d Add gitignore
Ignores python bytecode files and the build directory created by distutils.
2013-08-19 08:50:40 +01:00
Louis Taylor
16537467f1 Remove python bytecode file 2013-08-19 08:49:09 +01:00
Amit Saha
edb392da7f Add cheatsheet for yum 2013-08-19 15:03:18 +10:00
John Shanahan
84f3105139 Changed lines so none were over 80 columns. 2013-08-18 22:52:35 -04:00
Chris Lane
26e5261713 Did a refactoring to incorporate kragniz's work a little more delicately. 2013-08-18 15:53:40 -04:00
Chris Lane
54f379eda5 Fixed a bug whereby the 'cheatsheet not found' error would always be displayed. 2013-08-18 15:14:19 -04:00
Chris Lane
dbfce8cbd4 Merging new cheatsheets into kragniz's work. 2013-08-18 14:59:49 -04:00
Chris Lane
bef2b22ad6 Merge branch 'master' of https://github.com/kragniz/cheat into kragniz-master
* 'master' of https://github.com/kragniz/cheat:
  Don't split cheatpath for no reason
  Remove duplicates from the list of cheatsheets.
  Change indent level from 2 spaces to 4.
  Change most of the headers to h1's.
  Add a non-root section to the installation guide.
  Don't require the package to be available.
  Remove old install script
  Replace support for user's .cheat directories
  Update readme with setup.py
  Package with distutils
2013-08-18 14:57:55 -04:00
Louis Taylor
9946bab1a9 Don't split cheatpath for no reason 2013-08-18 17:41:32 +01:00
Chris Lane
e105102bb8 Merge pull request #13 from smlance/scp
Added base scp file.
2013-08-18 08:01:36 -07:00
Simnol
c78dc1a236 Update asterisk
Added what 'echo' does in originate command.
2013-08-18 15:34:07 +01:00
Simnol
3b44731819 Create asterisk
Added a few of the more basic commands for interacting with Asterisk from the shell, at the moment this does not cover actually being inside the Asterisk CLI.
2013-08-18 15:33:21 +01:00
Simnol
9be7d1f1a6 Update tar
Added 'To create an uncompressed archive:' for no other reason than it was missing and was annoying me.
2013-08-18 15:31:09 +01:00
Louis Taylor
cdf0aa1926 Remove duplicates from the list of cheatsheets. 2013-08-17 03:16:44 +01:00
Louis Taylor
73d9f0c83d Merge https://github.com/chrisallenlane/cheat
Conflicts:
	README.md
	cheat
	install
2013-08-17 02:38:31 +01:00
ppierson
44a3820f08 modified: install 2013-08-16 13:32:08 -04:00
ppierson
b47c7b2a2d modified: install 2013-08-16 13:29:24 -04:00
ppierson
7c814672a2 modified: install 2013-08-16 13:19:40 -04:00
ppierson
bdf363183c modified: .cheat/git 2013-08-16 13:06:17 -04:00
ppierson
1f5e54f11c modified: .cheat/ssh 2013-08-16 12:52:32 -04:00
ppierson
ec4e8d789c modified: .cheat/ssh 2013-08-16 11:43:15 -04:00
smlance
a4544a25b8 Added base scp file. 2013-08-16 11:09:58 -04:00
Louis Taylor
b38bbceb8a Change indent level from 2 spaces to 4. 2013-08-16 09:47:43 +01:00
Louis Taylor
f10c7fd19b Change most of the headers to h1's.
Makes the subheadings in the installation section look less strange.
2013-08-16 09:26:18 +01:00
Louis Taylor
1944c1a351 Add a non-root section to the installation guide. 2013-08-16 09:25:07 +01:00
Louis Taylor
63b0ffba14 Don't require the package to be available. 2013-08-16 03:02:33 +01:00
Chris Lane
6b8c516599 Fixing a minor typo in the REAMDE. 2013-08-15 18:55:59 -04:00
Chris Lane
07bd1953e7 More changes to the README. 2013-08-15 18:55:22 -04:00
Chris Lane
40d18e01dc Updated the README to document the usage of the $CHEATPATH environment variable. 2013-08-15 18:52:32 -04:00
Chris Lane
b8c42a1b64 Updated the README. 2013-08-15 18:38:13 -04:00
Chris Lane
13c8d60d75 Merging shanahanjrs work into master. 2013-08-15 18:19:02 -04:00
Chris Lane
10cb62fee9 Continuing to merge gbremer's work into master. 2013-08-15 18:03:58 -04:00
Chris Lane
db4f793da2 Merging gbremer's work into master. 2013-08-15 18:01:32 -04:00
John Shanahan
cc47515f41 Added '-help' and 'cheat' to the list of cheat usage arguments. 2013-08-15 17:49:30 -04:00
John Shanahan
7cf6291c8a Changed from 2-spaces per indentation level to 4, per PEP-8 standard. 2013-08-14 10:36:00 -04:00
John Shanahan
b6b416e7ce Added nmap support 2013-08-14 01:41:17 -04:00
Louis Taylor
389d6d5671 Remove old install script 2013-08-13 11:49:37 +01:00
Louis Taylor
3c9136b476 Replace support for user's .cheat directories 2013-08-13 11:42:58 +01:00
Louis Taylor
53b93c00e1 Update readme with setup.py 2013-08-13 11:08:05 +01:00
Louis Taylor
8dda6a9241 Package with distutils
Created cheatsheets package to store the default sheets.
2013-08-13 11:01:06 +01:00
Grant Bremer
8bd5aaad2c Adding support for CHEATPATH variable and multiple cheat locations 2013-08-12 21:59:33 -04:00
Darren Lin
3cc610b2ac added the cut command and extended bash 2013-08-11 19:09:29 -07:00
Chris Lane
15fd673a51 Modified the installer such that it now outputs text on successful installation. 2013-08-11 15:59:03 -04:00
Chris Lane
b2fe140fdb Updated the README. 2013-08-11 15:57:11 -04:00
Chris Lane
431cde776c Modified the installer. 2013-08-11 15:43:51 -04:00
Chris Lane
0f2494726f Modified the installer. 2013-08-11 15:39:36 -04:00
Chris Lane
39b1cf391f Refactored the application per some feedback on reddit. 2013-08-11 15:37:11 -04:00
Chris Lane
11ef3149cd Trivial change to the README. 2013-08-10 19:08:21 -04:00
Chris Lane
ba48816ba1 Made trivial changes to the README. Added the GPL 3 license. 2013-08-10 19:06:01 -04:00
Chris Lane
fa0843c337 Took a first stab at the README. 2013-08-10 18:56:50 -04:00
Chris Lane
58c01320f8 Trivial changes. 2013-08-10 17:14:16 -04:00
Chris Lane
cbbd18e621 Attempting to cheatsheets out of application logic. 2013-08-10 17:08:17 -04:00
Chris Lane
8e9cfc0eb1 Still hacking in cheat sheets. Wrote a trivial python installer. 2013-08-10 16:32:49 -04:00
Chris Lane
1786a57d5e Still adding commands. 2013-08-10 11:26:56 -04:00
Chris Lane
e51fa9b29f Adding more cheat sheets. 2013-08-10 10:16:13 -04:00
Chris Lane
8093424dbd Added some notes. 2013-08-09 23:46:34 -04:00
Chris Lane
66166e3dd4 Still writing cheat sheets. Also made trivial changes to the README. 2013-08-09 23:17:22 -04:00
Chris Lane
50b47445ad On help, the 'Available keyphrases' output is now alphabetized. 2013-08-09 22:24:12 -04:00
Chris Lane
76cce9d584 Added more cheat sheets. 2013-08-09 21:56:42 -04:00
Chris Lane
aca0900430 Tweaks. 2013-07-30 23:57:04 -04:00
Chris Lane
87f1fe13b6 Cleaned up some python. Added support for subcommands. 2013-07-30 23:33:31 -04:00
Chris Lane
9681886409 Hacking in some refinements. 2013-07-30 23:25:36 -04:00
Chris Lane
1188238381 Got a working version. 2013-07-30 22:48:07 -04:00
Chris Lane
2a178b53f9 Initial commit. 2013-07-29 21:34:41 -04:00