cheat

Posted by Matt Williams

cheat is a useful too which provides "cheatsheets" for a variety of topics. To install it, type:
sudo gem install cheat
(this assumes you have ruby and gems installed)

To use it, simply type cheat topic. To see a cheatsheet on cheat, you can do: matt@codex:~$ cheat Looking for help? Try http://cheat.errtheblog.com or `$ cheat cheat' matt@codex:~$ cheat cheat cheat: Hey, welcome to cheat. Thanks for trying it out. Here are a few commands to get you started. Installation: $ gem install cheat Recently added cheat sheets: $ cheat recent All cheat sheets: $ cheat sheets The `strftime' cheat sheet: $ cheat strftime View a cheat sheet in TextMate: $ cheat strftime | mate Or less, for scrolly terminal: $ cheat strftime | less Print a cheat sheet $ cheat strftime | lpr Sheets are cached locally in ~/.cheat. To clear your cache, pass --new to cheat. You won't get updates unless you do this. $ cheat --new $ cheat strftime --new That's it! More soon. A current list of cheats (as of today) is:

matt@codex:~$ cheat sheets
All Cheat Sheets:
  acts_as_authenticated
  acts_as_state_machine
  agile
  ambition
  ansi
  arts
  as3_formulas
  ascii
  assertions
  assert_select
  association_methods
  awk
  balloon
  bash
  bash_scripting
  belongs_to
  benchmark
  blogs
  blow
  bug
  callbacks
  capazon
  capistrano
  cap_bare
  ccrb
  cheat
  chmod
  conkeror
  console
  cool_options
  cpio
  cron
  curl
  cut
  darcs
  darcs_record
  database_yml
  date
  deprec
  deprecated
  diakonos
  e
  emacs
  emacs_basics
  emacs_psvn
  emacs_slime
  environments
  exceptions
  fela
  find
  firebug
  form_for
  gem
  git
  gitsvn
  git_buildpackage
  git_collaboration
  git_submodule
  git_usage
  globals
  gmail
  grails
  greader
  grep
  groovy_sql
  gruff
  gtd
  has_and_belongs_to_many
  has_many
  has_one
  help
  highline
  history
  hobo_template
  hpricot
  htaccess
  http_status_codes
  iana_port_list
  iomodes
  irb
  jedit_ruby_editor_plugin
  kenzu_ryu
  kill
  less
  link_to_remote
  lsof
  mac_glyphs
  markaby
  markdown
  mate
  matz_bot
  mercurial
  microformats_helper
  migrations
  mktime
  mocha
  mysql
  nginx
  nonsense
  number_lines
  openssl
  oracle
  paste
  pastie_vim
  permalink_fu
  phonetic
  piston
  police
  predefined_variables
  prototype
  radrails
  radrails_rhtml
  radrails_ruby
  rails
  rails_console
  rails_edge
  rails_environment
  rails_migrations
  rails_plugin_creation
  rails_rake_tasks
  rails_request_object
  rails_reserved_words
  rails_routes
  rails_svn
  rails_tasks
  rails_tips
  rails_to_s
  rails_vim
  ratpoison
  rdebug
  rdoc
  readline
  readme
  redirect
  regex
  regexp
  regex_lib
  rest
  rjs
  rope
  rspec
  rspec_formats
  rtorrent
  ruby
  rubydebug
  ruby_keywords
  runescape
  s3sync
  scaffold_resource
  scp
  scrapi
  screen
  sed
  sed_delete
  sed_numbering
  sed_print
  sed_spacing
  selenium
  selenium_on_rails
  semweb
  sequel
  sh
  shoes
  solaris_smf
  sort
  spc
  sprintf
  sqlite
  ssh
  status_codes
  sti
  strftime
  string
  string_unpack
  svn
  svnmerge
  syntax
  tar
  tempfile
  terminal
  test_spec
  test_spec_rails
  test_unit
  textile
  textmate_rails
  textmate_ruby
  tld
  unix_text
  vi
  vim
  vim_folding
  vim_goodies
  watir_ie
  win32_sc
  wmii3
  word
  xmonad
  xpath_result_type
  xslt
  yaml
  yui_fonts
  yui_grids
  zsh_array
  zsh_bang
  zsh_case
  zsh_ftp
  zsh_glob
  zsh_if
  zsh_keys
  zsh_loop
  zsh_modifiers
  zsh_param
  zsh_ranges
  zsh_rename
Comments

Leave a response