• Stars
    star
    206
  • Rank 189,347 (Top 4 %)
  • Language
    Go
  • License
    GNU General Publi...
  • Created about 10 years ago
  • Updated about 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Cheatsheets for command line, because, you know, life is too short to read manpages.

cheat

Reimplementation of Chris Lane's cheatsheet script in Go.

I'm mostly doing this as a means of learning Go as it seemed like a nice first project to start with.

Screenshot

Setup

Install: go get github.com/dufferzafar/cheat

Fetch cheatsheets: cheat fetch

Test: cheat show git

Usage

~/.cheatrc - A JSON based config file which stores basic configuration.

cheat show git - Show the git cheatsheet

cheat edit git - Edit the git sheet. A new one will be created if it doesn't already exist.

cheat show git --copy 12 - Copy the 12th cheat from the sheet

cheat fetch - When you feel like updating the sheets.

Todo

  • Autocomplete commands and available cheats for bash and zsh

  • Allow multiple cheat directories

  • cheat fetch command to fetch all the cheatsheets from a repo.

  • Or execute a command by, cheat git 12 ?

  • Colors on the AppHelpTemplate.

  • User's favorite editor, with support for command line parameters.

  • Wrap the output to a fit width? like 79 characters?

  • Update cheat sheets from chris' repo, cheat --update for updating it the safe way, and cheat --update --force for overwriting all the cheats with the downloaded version.

  • Should grep support be added? or can that be achived by grepping things?

Places that have sheets

Prior Art

More Repositories

1

netuse

Network Usage Monitoring for Linux.
Python
162
star
2

Userscripts

A collection of scripts that make spending time on the web easy.
JavaScript
62
star
3

Autohotkey-Scripts

Windows utilities written in Autohotkey. Mostly just proof-of-concepts.
AutoHotkey
59
star
4

pocketmon

Tag Pocket articles based on the time required to read them.
Python
44
star
5

what-to-watch

Python script to help you decide what movie to watch.
Python
34
star
6

Cmder

A fork of the Cmder Project - a terminal emulator package for Windows. Unmaintained.
Lua
29
star
7

interview-prep

CS Interviews: Preparations & Experiences
C++
28
star
8

pranks-and-all

Simple-ish scripts that can be used to play pranks on people. :)
AutoHotkey
23
star
9

tagtool

Mass Clean MP3 Tags
Python
23
star
10

notes

A miscellany of thoughts.
23
star
11

Soccer

Tired of searching the melange website for GSoC projects? Here's something that's visually pleasing and fast.
Python
15
star
12

dotfiles

~/.dotfiles: Configuration for various applications
Shell
14
star
13

Python-Scripts

Some scripts I've written in Python [UNMAINTAINED]
Python
14
star
14

loki

PyQt based file searcher (a frontend for locate tool)
Python
14
star
15

rekhta-dl

Rekhta EBooks Downloader
Jupyter Notebook
10
star
16

resume

My LaTeX based resume
TeX
9
star
17

machine-learning

IIT D - COL 774 - Machine Learning Assignments
Jupyter Notebook
8
star
18

sorting-hat

Sort files into folders based on their type. [Windows Only]
AutoHotkey
8
star
19

pdf-ano

Export PDF annotations to markdown
Python
8
star
20

.python

Little functions that live in my pythonpath.
Python
8
star
21

win-butler

An Autohotkey script to help me live my life.
AutoHotkey
8
star
22

ludo-bot

Super Intelligent Ludo Player (Assignment for COP 701 @ IIT Delhi)
Python
7
star
23

Lua-Scripts

A collection of libraries and functions for Lua.
Lua
6
star
24

substitute

Generate and analyse Substitution Boxes in Python.
Python
5
star
25

topdf

Convert anything to a beautiful PDF
Python
5
star
26

resuming

"Resume Upload Portal" built in a single day along with @kwikadi.
PHP
5
star
27

accelphone

Acoustic side-channel attacks via mobile motion sensors - Minor Project (COD 891) @ IIT Delhi
Jupyter Notebook
5
star
28

distributed-ledger

Simulate a Bitcoin-like network (Assignment for COP 701 @ IIT Delhi)
Python
5
star
29

keypirinha-chocolatey

Keypirinha plugin to install packages via Chocolatey
Python
5
star
30

src2tex

๐Ÿ“– Create beautiful PDFs of source code.
Python
4
star
31

cloud-computing

IIT D - COL 733 - Assignments for the Cloud Computing course.
Shell
4
star
32

repo-size

A userscript to show the size of a Github repo. Works on Chrome, Firefox and Safari.
JavaScript
4
star
33

pam

Scripts to backup files & config
Shell
4
star
34

backup-buddy

An AHK script to periodically compress and backup your folders.
AutoHotkey
4
star
35

pSych0.ravi.vbs

A virus written in VB Script that messes with your files. Created for a close friend.
Visual Basic
4
star
36

Project-Euler-Solutions

Soultions of Project Euler Problems in Lua
Lua
4
star
37

shell-scripts

Quick scripts that I've hacked together to do one-off tasks. [Unmaintained]
Shell
3
star
38

HackerRank.pdf

Download Category-wise HackerRank PDFs
Python
3
star
39

time-tracker

A script to track time of your activities. Development stopped.
AutoHotkey
3
star
40

a-better-web

A custom filters list for Ad block plus - make the web a beautiful place.
2
star
41

crypto-simulation

IIT D - COL 867 - A Discrete-event Simulator for a P2P Cryptocurrency Network.
Python
2
star
42

.js

My ~/.js folder that tweaks the web for me.
JavaScript
2
star
43

.css

My ~/.css folder that styles the web for me.
CSS
2
star
44

dufferzafar.github.com

My Jekyll based blog.
HTML
2
star
45

Ping

All your social media notifications in one place. Will be made with <3 using Node.js
JavaScript
2
star
46

Autoplay-Media-Studio

Some Autoplay Media Studio Projects
2
star
47

col-362-ta

TA work for "COL 362 / 632: Databases" taught by Prof. Maya Ramanath in early 2019
Python
2
star
48

book-bucket

Find pairs of books that usually occur together in a person's favorite list.
Python
2
star
49

github-analytics

GHTorrent + Hadoop + Spark + d3 + Bokeh (Assignment for COP 701 @ IIT Delhi)
Jupyter Notebook
2
star
50

compiler-design-lab

Automata Related Programs
C
1
star
51

ShaR

A Simple Cipher algorithm implemented in Lua.
Lua
1
star
52

solid-media

IIT D - COL 867 - Assignment: An Ethereum smart contract for licensed media distribution.
JavaScript
1
star
53

webgl-car

Car Demo using WebGL
Logos
1
star
54

metroMe

Personal Home Page using metroui.css
CSS
1
star
55

batch-heal

A batch file that used to fix common PC problems.
Shell
1
star
56

VRT-1000

Routing Simulation In Java. College Project.
Java
1
star
57

chatty.ahk

Custom chat application for @mzfr & I
AutoHotkey
1
star
58

oh-camel

IIT D - COL 765 - Introduction to Logic & Functional Programming by Sanjiva Prasad.
OCaml
1
star
59

adv-ds

IIT D - COL 702 - Advanced Data Strucutres and Algorithms by Sandeep Sen.
Python
1
star
60

IIT-D-Thesis-Template

Masters Thesis Template for IIT Delhi
TeX
1
star
61

dotfiles-windows

Configuration for various applications I use on Windows 10
PowerShell
1
star
62

picard-plugins-testing

GSoC (2014) - Building a JSON from a Github Repo of plugins and keeping the stats updated via an API.
Python
1
star
63

massren

Rename multiple files using your text editor.
Python
1
star
64

masters-thesis

IIT D Masters Thesis - "Improved security & performance of PoW Blockchains"
TeX
1
star
65

homepages

A collection of homepages that I've used over time.
CSS
1
star
66

sublime-text-3

My Sublime Text 3 config & some custom packages
Python
1
star
67

edmond

edm popularity classifier
Python
1
star
68

terminator

Fork and Mirror of GNOME Terminator.
Python
1
star
69

chotu

Helps me with all sorts of odd tasks.
Python
1
star