cheatsheets | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
cheatsheets.png | ||
languages.yml | ||
LICENSE | ||
README.md |
Cheatsheets
This repository contains personal-sourced cheatsheets to be used with cheat and similar applications.
Usage
Clone this repository in the cheat's cheatsheets root directory:
git clone https://git.disroot.org/ivanruvalcaba/cheat-cheatsheets.git personal
cheat configuration file
Finally, make sure that your cheat configuration file, conf.yml, contains something similar to the following:
# If you have personalized cheatsheets, list them last. They will take
# precedence over the more global cheatsheets.
- name: personal
path: C:\Users\user\AppData\Roaming\cheat\cheatsheets\personal\cheatsheets
tags: [ personal ]
readonly: false
Format
Cheatsheets are plain-text files that begin with an optional "front matter" header in YAML format. The header may be used to assign "tags" to a sheet, and to specify the sheet's syntax (bash, python, go, etc). See the languages.yml file for more information on a specific language.
When possible, cheatsheets should conform to this format:
---
syntax: bash
tags: [ vcs, development ]
---
# To stage all changes in the current directory:
git add --all
# To commit staged changes:
git commit -m <message>
As a guideline, it is preferred to use docopt syntax when specifying parameter placeholders. In edge-cases where that syntax may cause confusion, it is permissible to use placeholder values (foo.txt, example.com, etc.) as necessary.
License
Cheatsheets are licensed under GNU Free Documentation License GFDL 1.3. See LICENSE for the full license text.
GFDL © Iván Ruvalcaba