Commit Graph

694 Commits

Author SHA1 Message Date
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
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
Chris Lane
191949b45a Merge pull request #16 from Simnol/master
Added 'asterisk' and minor update to 'tar'
2013-08-18 07:59:54 -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