github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

breily / cheat

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 2
    • 0
  • Source
  • Commits
  • Network (0)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

easily create and view help/reminder files — Read more

  cancel

http://brianreily.com/projects/cheat

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

* Added git-tag notes 
breily (author)
Sat Mar 14 04:21:13 -0700 2009
commit  d54869276e4fec2121821f8394d7370d888e5d4e
tree    298d083f29df152b0d8ea7d31d6c76df2ccf620e
parent  b27d097aaee8bbc7d38027586f0902a41bc72b84
cheat /
name age
history
message
file README Loading commit data...
file TODO
file cheat.py
directory cheat_sheets/
file setup.rb
README
cheat - command line access to oft forgotten syntax/apis/arguments
==================================================================

    ] by:   brian reily
    ] url:  brianreily.com/projects/cheat/
    ] url:  github.com/breily/cheat/tree/master/

description
-----------

    ] i created cheat because man pages are great for learning
      about things but horrible for quick reference.  If you need
      to remember a custom flag for gcc, you have to search through
      the huge man page for it, or use cheat and make a gcc cheatsheet
      that references that one command.
    
    ] cheat also lets you easily add your own sheets for stuff that
      doesn't go in man pages.
    
    ] why not just use http://cheat.errtheblog.com?  first, i didn't know
      it existed when I wrote the first version of this.  second, that
      cheat only lets you use one name for each sheet - the filename.  my
      cheat allows multiple search terms for each sheet.

install
-------

    ] if you don't want cheat installed in /usr/bin/cheat,
      change BIN_DIR in setup.rb

    ] run 'sudo ruby setup.rb'

    ] run 'cheat' to make sure everything worked

editing cheat.py or adding sheets
---------------------------------

    ] run 'sudo ruby setup.rb', this will recopy all cheat sheets, as well as
      cheat.py.  Existing files will be overwritten, so be careful.

commands
--------

    ] 'cheat -h|--help'                  <- Show help information.

    ] 'cheat -l|--list [ -v|--verbose ]' <- List all available cheat sheets.

    ] 'cheat -e|--edit sheet'            <- Edit a cheat sheet.

    ] 'cheat sheet'                      <- View a cheat sheet.

cheatsheets
-----------

    ] a description of how to make cheatsheets is displayed
      by running 'cheat'

    ] also, see included examples

    ] the filename does not matter, only the terms list in the file

    ] if you want cheatsheets someplace besides ~/.cheat,
      change CHEAT_DIR in setup.rb.  also change or add to
      CHEAT_DIRS in cheat.py.

    ] if you have a good cheat sheet, let me know so i can add it to the
      repository
 
notes
-----

    ] i won't be added any features to cheat anytime soon, mainly just
      adding sheets as i need them
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server