Commit Graph

477 Commits

Author SHA1 Message Date
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
Chris Lane
eff1b8136c Merge pull request #38 from carlosp420/master
cheat sed, remove leading spaces with regex
2013-08-26 16:06:22 -07: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
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