Skip to content

cobanov/frgt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

frgt

frgt.dev

frgt.dev is a terminal based cheatsheet helper for developers

Install

/bin/bash -c "$(curl -fsSL https://gist.githubusercontent.com/cobanov/0a27716624b46461d9717b6c0509af41/raw/fce9ad243b1c3fb740c4223b6ee336bb9b1f5694/install.sh)"

Usage

Whenever you forget something just use this.

curl -L frgt.dev/tmux
# Window
CTRL + B C	create window
CTRL + B 0 … 9	select window by number
CTRL + B &	kill window

# Pane
CTRL + B %	vertical split
CTRL + B “	horizontal split
CTRL + B X	kill pane

# Session
tmux new -s sessionname	new session
tmux a -t sessionname attach session
tmux kill-session -t sessionname kill session
tmux ls	list all session

Cheatsheets

  • tmux
  • vim
  • create a github repository
  • docker
  • scp
  • ffmpeg
  • awk
  • conda

Terminal Shortcut

Firstly, make your command executable by using chmod

chmod u+x frgt.sh

Then make an alias in your .bashrc to make it persistent:

alias frgt='/path/to/frgt.sh'
frgt docker

# docker pull image_namem                                       Download an image, and all its parents, from the registry.
# docker start container_name                                   Start a container
# docker stop container_name                                    Stop a container
# docker kill $(docker ps -q)

Adding Cheatsheets

You can provide your custom or general cheatsheet.

Cheatsheet Template

The best way the format of cheatsheets are seperated with pipe symbol.

docker start container_name|Start a container
docker stop container_name|Stop a container
docker build image_name .|Build an image
docker image ls|List all images
docker ps|Manage containers using ps/kill

frgt.dev can properly display the data if is seperated with pipes but otherwise it will worked anyway.

To-Do's

Feel free to contribute.

License

MIT

About

super-easy cheatsheets for developers on terminal

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published