This is stuff that I found to be usefull for competitive programming and other not competitive stuff.
Just clone it in some folder and run source m/m.sh
and all my setup will be yours.
Using some of the scripts will overrides your ~/.vimrc file or your gedit setup
Important: Scripts work if you run from the directory wich contains m/ (this repo)
a.sh -> copy some (maybe) usefull aliases which are in STUFF/aliases into .bashrc so that they stay permanent
clonegithub.sh -> handy script to clone repos via https. (run anywhere gclone github-user/github-repo
after copying it for home folder and running a.sh)
g.sh -> gedit setup
v.sh -> vim setup (STUFF/.vimrc is a copy of my vimrc file)
n.sh -> not competitive setup (runs g.sh, v.sh, a.sh)
m.sh -> c++ competitive setup (clones cp.git, run all scripts and teleports)
b.sh -> benchmark made in c++ (run bash m/b.sh
)
-Run source m/n.sh
-Run source m/m.sh
-Code using x.cpp at competitive/ directory
-Compile x.cpp with make
command to compile until first error
-Run m
(this is an alias at a.sh) to run inputs that you must save at i file
-Reset x.cpp by running bash r.sh
at competitive folder (which you will be after teleports)
-There is a template named tmp.cpp (also a little python3 cheatsheet named pmp.py)