This is where we'll put all of our work.
- Say no to Windows! Linux (64 bit) only.
- Always make sure to trim trailing white spaces, and say no to
CRLF
line endings (ensureLF
line endings). - All files must end with an
LF
character before anEOF
. - No hard tabs please, a soft tab with a tab width of 4 spaces is what is expected here.
It will be preferred to run the following BASH
commands before starting anything:
sudo apt update
sudo apt install -y git g++ gdb libboost-all-dev dos2unix
Then do:
git clone 'https://github.com/bharats97/buffer-cache.git'
cd buffer-cache/
touch tasks.txt
mkdir work_in_progress/
g++ -no-pie -fno-pie -std=gnu++14 -O3 -pthread -Wall -Wextra -Wpedantic -D LOCAL -g -o ExecutableName FileName
where we'll try to keep the ExecutableName and FileName (before extension) same, and try to keep it logical (or follow some good convention or structure).
For maintainers only:
git status
git add ./
git pull
git commit -m 'commit message'
git push
tasks.txt
andwork_in_progress/
are mentioned in.gitignore
and hence won't be staged for commits. So any notes you want to make should be in the filetasks.txt
and any code/work that you're doing and is not finalized should reside in the directorywork_in_progress/
.- Do not place any executable into the repository. If you want to compile and test code or generate executables, it should be done in
work_in_progress/
directory. Once finalized, the code should be moved to respective directory in the repository.
Rest anything useful will be updated here.