Skip to content

bharats97/buffer-cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Buffer Cache

This is where we'll put all of our work.

Some conventions that we'll follow

  • Say no to Windows! Linux (64 bit) only.
  • Always make sure to trim trailing white spaces, and say no to CRLF line endings (ensure LF line endings).
  • All files must end with an LF character before an EOF.
  • No hard tabs please, a soft tab with a tab width of 4 spaces is what is expected here.

How to start?

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/

How will we compile code?

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).

How to push code to GitHub?

For maintainers only:

git status
git add ./
git pull
git commit -m 'commit message'
git push

Points to Remember

  • tasks.txt and work_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 file tasks.txt and any code/work that you're doing and is not finalized should reside in the directory work_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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages