Commit Graph

659 Commits

Author SHA1 Message Date
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
Chris Lane
f96fc89c0a Merge pull request #34 from stvnwlsn/mychanges
add show to apt-cache cheatsheet
2013-08-24 13:46:33 -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
Chris Lane
dc754295ac Merge pull request #19 from shanahanjrs/master
Changed lines so none were over 80 columns.
2013-08-19 18:08:29 -07: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