-
Configure Bash with these dotfiles.
-
Improve your workflow with the help of automated functions and aliases.
-
You must have the bash shell running on your machine. If you have Linux or Mac, it comes inbuilt. If you are running windows, you probably want to use WSL(Windows Subsystem for Linux) or Git Bash.
-
Install 'python3' and its package manager 'pip' on the bash shell if you haven't already.
sudo apt-get install python3 sudo apt-get install python3-pip
-
And some additional light-weight python modules.
pip3 install beautifulsoup4 pip3 install requests pip3 install lxml
-
Install git if you haven't already.
sudo apt-get install git
-
Clone this repository in your home directory. The bootstrap script will pull in the latest version and copy the files into your home directory.
cd ~ && git clone "https://github.com/SRI-PRIYAN/dotfiles.git" && cd dotfiles/Windows && source bootstrap.sh
-
Clone this repository in your home directory. The bootstrap script will pull in the latest version and copy the files into your home directory.
cd ~ && git clone "https://github.com/SRI-PRIYAN/dotfiles.git" && cd dotfiles/Mac && source bootstrap.sh
-
-
If you are taking part in a codeforces contest, then you might not want to waste your time in creating template code, input and output files.
-
To automate that process, I've written the
codeforces
function which makes use of thewebscraper.py
and gets the job done. -
The
webscraper.py
uses the BeautifulSoup library, parses the html page, gets the number of problems and creates folders for each problem with the template code, sample input and output files. -
All you have to do is,
codeforces <contest_id>
-
-
-
There are quite a few functions like
compile
,class
,comdep
,out
. -
Check them out in the
.functions
file for their usage.
-
- Mathias Bynens and his dotfiles repository.