frgt.dev is a terminal based cheatsheet helper for developers
/bin/bash -c "$(curl -fsSL https://gist.githubusercontent.com/cobanov/0a27716624b46461d9717b6c0509af41/raw/fce9ad243b1c3fb740c4223b6ee336bb9b1f5694/install.sh)"
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
- tmux
- vim
- create a github repository
- docker
- scp
- ffmpeg
- awk
- conda
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)
You can provide your custom or general cheatsheet.
- Create a gist
- Go to frgt.dev/add
- Done!
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.
Feel free to contribute.