This repository that contains the code I've submitted for the course MA39014 - Operations Research Lab, IIT Kharagpur.
- Clone this repository
- Set this up in your shell configuration file (
~/.bashrc,~/.zshrc/or~/.fishrc). This code snippet can also be found inbashrc.sh file
export OR_LAB_REPO_PATH=/path/to/or_lab/
source $OR_LAB_REPO_PATH/or_lab.sh
- Restart your terminal, or just source your shell configuration file (say,
source ~/.bashrcfor bash shell)
All tweaks required can be made, by incorporating the changes in the or_lab.sh file
or_c: Single command to compile and execute the*.cfile. For example,or_c filename.cor_cpp: Single command to compile and execute the*.cppfile. For example,or_cpp filename.cppor_push: Command to commit and push your changes to the remote git repository. You may have to set your git remoteoriginproperly to point to a repository you have push access to. For example,or_push "Makes these changes".or_pull: Single command to commit and push your changes to the remote git repository. You may have to set your git remoteoriginproperly to point to a repository you have push access to. For example, simply useor_pullfrom the root directory of the git repository.or_cd: Command to directly change the directory to this path. Made for fellow developers, who might be lazy to type 6 extra characters. For example,or_cd.
Feel free to use any code present in this repository, without any restrictions.