Commit Graph

441 Commits

Author SHA1 Message Date
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